/* ========================================
   Custom styles beyond Tailwind
   ======================================== */

html {
  scroll-behavior: smooth;
}

/* -- Header scroll effect -- */
.header-scrolled {
  background: rgba(10, 14, 26, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 rgba(0, 217, 126, 0.08);
}

/* -- Hamburger animation -- */
.menu-open span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}
.menu-open span:nth-child(2) {
  opacity: 0;
}
.menu-open span:nth-child(3) {
  transform: translateY(-4px) rotate(-45deg);
}

/* -- Scroll reveal -- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.revealed {
  opacity: 1;
  transform: translateY(0);
}

/* -- Portfolio card hover glow -- */
.portfolio-card {
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.portfolio-card:hover {
  border-color: rgba(0, 217, 126, 0.4);
  box-shadow: 0 0 24px rgba(0, 217, 126, 0.08);
}

/* -- Hero photo layout -- */
.hero-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 300px;
  height: 300px;
}
.hero-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: #00d97e;
}
.hero-img {
  position: relative;
  z-index: 10;
  width: 85%;
  height: 85%;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  display: block;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
}

@media (min-width: 640px) {
  .hero-photo-wrap {
    width: 380px;
    height: 380px;
  }
}

@media (min-width: 1024px) {
  .hero-photo-wrap {
    width: 440px;
    height: 440px;
  }
}

/* -- Hero photo fallback placeholder -- */
.hero-photo-wrap img[style*="display: none"] + .hero-circle {
  opacity: 0.6;
}

/* -- Booking form -- */
.booking-input:focus {
  box-shadow: 0 0 0 2px rgba(0, 217, 126, 0.15);
}
select.booking-input {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%239ca3b3' viewBox='0 0 24 24'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}
input[type="date"].booking-input::-webkit-calendar-picker-indicator {
  filter: invert(0.6);
  cursor: pointer;
}

/* -- Selection color -- */
::selection {
  background: rgba(0, 217, 126, 0.3);
  color: #ffffff;
}

/* -- Scrollbar (webkit) -- */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #0a0e1a;
}
::-webkit-scrollbar-thumb {
  background: #1e2640;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #2a3350;
}
