@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&family=Playfair+Display:wght@600;700;800&display=swap');

:root {
  --bg: #f8fafc;
  --surface: #ffffff;
  --surface-soft: #f3f4f6;
  --ink: #111827;
  --muted: #4b5563;
  --brand: #e6c172;
  --brand-deep: #cba24d;
  --forest: #030712;
  --line: rgba(17,24,39,0.08);
  --shadow: 0 20px 50px rgba(0,0,0,0.05);
  --gold-glow: rgba(230,193,114,0.25);
  --glass-border: rgba(255,255,255,0.2);
}

* { box-sizing: border-box; }

html, body {
  scroll-behavior: smooth;
  overflow-x: hidden;
  width: 100%;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  background-image: radial-gradient(at 0 0, rgba(197,160,89,0.08) 0, transparent 50%), radial-gradient(at 100% 100%, rgba(30,41,59,0.04) 0, transparent 50%);
  background-attachment: fixed;
  padding-bottom: 88px;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
  transition: .3s ease;
}

img {
  display: block;
  max-width: 100%;
  background-color: var(--surface-soft);
}

h1, h2, h3, h4 {
  margin: 0;
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

.muted { color: var(--muted); }

.skip-link {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: absolute;
  top: 16px;
  left: 16px;
  width: auto;
  height: auto;
  margin: 0;
  padding: 12px 20px;
  background: #fff;
  color: var(--ink);
  z-index: 9999;
  border-radius: 8px;
  clip: auto;
  overflow: visible;
  white-space: normal;
  box-shadow: var(--shadow);
}

.wrap {
  max-width: 1220px;
  margin: 0 auto;
  padding: 0 24px;
}

.hero, .page-hero { padding: 24px 0 72px; }
.page-hero { padding-bottom: 40px; }
.section, .contact-section { padding: 50px 0; }

.top, .hero-grid, .page-hero-grid, .hero-stats, .package-grid, .offer-grid, .service-grid, .gallery-grid, .contact-grid, .footer-grid, .booking-layout, .stats-grid {
  display: grid;
  gap: 30px;
}

.top {
  grid-template-columns: auto 1fr auto;
  align-items: center;
  transition: padding .3s ease, background .3s ease, box-shadow .3s ease;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.brand h1 { font-size: 1.7rem; }

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  font-family: 'Inter', sans-serif;
}

.logo {
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--ink) 0, #1e293b 100%);
  color: var(--brand);
  font-weight: 800;
  font-size: 1.2rem;
  box-shadow: var(--shadow);
  border: 1px solid var(--brand);
  transition: .4s ease;
}

.brand:hover .logo, .brand:active .logo {
  transform: rotate(5deg) scale(1.1);
  box-shadow: 0 0 25px var(--brand);
}

.nav {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.nav a {
  position: relative;
  padding: 11px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}

.nav a:hover {
  color: var(--brand);
  background: #fff;
  box-shadow: 0 10px 25px rgba(0,0,0,0.03);
}

.nav a.active {
  color: var(--brand);
  font-weight: 700;
  background: transparent;
  box-shadow: none;
}

.nav a.active::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 16px;
  right: 16px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
}

.top.scrolled {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 16px 5%;
  box-shadow: 0 10px 30px rgba(0,0,0,0.05);
  border-bottom: 1px solid var(--line);
  animation: slideDown .4s ease-out forwards;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.top-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 24px;
  border-radius: 999px;
  background: var(--brand);
  color: #fff;
  font-weight: 600;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: .3s;
}

.btn.primary {
  background: var(--brand);
  color: #fff;
  box-shadow: 0 10px 20px rgba(197,160,89,0.2);
}

.btn.primary:hover {
  transform: translateY(-2px);
  background: var(--brand-deep);
}

.btn.secondary {
  background: #fff;
  color: var(--ink);
  border: 1px solid var(--line);
}

.btn.secondary:hover {
  border-color: var(--brand);
  color: var(--brand);
}

.hero-shell, .page-shell {
  margin-top: 26px;
  padding: 50px;
  border-radius: 36px;
  color: #fff;
  background: linear-gradient(135deg, rgba(30,41,59,0.96) 0, rgba(15,23,42,0.99) 100%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 30px 60px rgba(0,0,0,0.12);
  backdrop-filter: blur(20px);
}

.hero-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 50px;
}

.hero-copy { padding-right: 20px; }

.hero-copy h2 {
  font-size: clamp(2.2rem, 8vw, 4.5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.lead {
  color: #cbd5e1;
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 60ch;
  margin-bottom: 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.image-container {
  border-radius: 32px;
  overflow: hidden;
  height: 350px;
  box-shadow: var(--shadow);
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  transform: scale(1.03);
}

.hero-contact {
  background: #fff;
  padding: 24px 32px;
  border-radius: 24px;
  color: var(--ink);
  box-shadow: var(--shadow);
}

.hero-contact .numbers {
  display: flex;
  gap: 16px;
  margin-top: 10px;
  font-weight: 700;
  color: var(--ink);
}

.page-hero-grid {
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
}

.page-photo {
  height: 400px;
  width: 100%;
  object-fit: cover;
  border-radius: 28px;
}

.page-hero-grid .contact-card {
  color: var(--ink);
  background: #ffffff;
}

.page-hero-grid .contact-card h3, .page-hero-grid .contact-card p:not(.eyebrow), .page-hero-grid .contact-card a {
  color: var(--ink);
}

.section-head {
  margin-bottom: 40px;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(2rem, 6vw, 3.5rem);
  margin: 0 auto 16px;
}

.package-grid, .service-grid, .contact-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.card, .package-card, .offer-card, .service-card, .contact-card, .form-shell, .footer-panel {
  background: #ffffff;
  border: 1px solid rgba(15,23,42,0.04);
  box-shadow: 0 10px 30px rgba(0,0,0,0.03);
}

.package-card, .service-card, .contact-card {
  padding: 40px;
  border-radius: 28px;
  transition: all .5s cubic-bezier(0.23, 1, 0.32, 1);
}

.package-card:hover, .service-card:hover {
  transform: translateY(-8px) scale(1.02);
  border: 1px solid var(--brand);
  box-shadow: 0 25px 50px var(--gold-glow);
}

.package-card h3, .service-card h3, .contact-card h3 {
  margin-bottom: 12px;
  font-size: 1.4rem;
}

.contact-card a:hover, .hero-contact a:hover { color: var(--brand); }

.service-card strong {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--brand);
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  text-transform: uppercase;
  font-size: .8rem;
  letter-spacing: 1px;
}

.stars {
  color: var(--brand);
  font-size: 1.5rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-author {
  margin-top: 16px;
  font-size: .95rem;
  font-weight: 700;
  color: var(--ink);
  font-family: 'Inter', sans-serif;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all .8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.gallery-card {
  overflow: hidden;
  padding: 0;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
  transition: all .5s cubic-bezier(0.23, 1, 0.32, 1);
  border: 1px solid transparent;
}

.gallery-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand);
  box-shadow: 0 25px 50px var(--gold-glow);
}

.gallery-copy { padding: 24px; }

@media (min-width: 900px) {
  .gallery-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
  .gallery-card:nth-child(1) {
    grid-column: span 1;
    height: auto;
  }
  .gallery-card:nth-child(n+2) {
    grid-column: span 1;
  }
  .gallery-card img {
    height: 280px !important;
    width: 100%;
    object-fit: cover;
  }
}

.booking-layout {
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.form-shell {
  background: #fff;
  padding: 40px;
  border-radius: 32px;
  border: 1px solid var(--line);
}

.booking-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.field {
  display: grid;
  gap: 8px;
}

.field.full { grid-column: 1 / -1; }

.field label {
  color: var(--ink);
  font-size: .9rem;
  font-weight: 600;
}

/* Base Form Inputs (With max-width to stop standard overflow) */
.field input, .field select, .field textarea {
  width: 100%;
  min-width: 0; 
  max-width: 100%; 
  padding: 16px;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  outline: none;
  font: inherit;
  background: #f8fafc;
  transition: .3s;
}

.field textarea {
  min-height: 120px;
  resize: vertical;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--brand);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(197,160,89,0.1);
}

/* =========================================
   APPLE iOS DATE & TIME OVERFLOW FIX
   ========================================= */
.field input[type="date"], 
.field input[type="time"] {
    -webkit-appearance: none;
    appearance: none;
    display: block;
    width: 100%;
    box-sizing: border-box;
    min-width: 0;
    min-height: 56px; 
    padding: 16px;
    font-family: inherit;
}

.field input[type="date"]::-webkit-date-and-time-value,
.field input[type="time"]::-webkit-date-and-time-value {
    text-align: left;
    min-height: 1.5em; 
}

.form-actions {
  display: flex;
  gap: 16px;
  margin-top: 10px;
}

.map-container {
  width: 100%;
  height: 350px;
  border-radius: 28px;
  overflow: hidden;
  margin-top: 40px;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.footer {
  padding: 60px 0 40px;
  background: #fff;
  margin-top: 40px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 40px;
}

.footer-panel h4 {
  margin-bottom: 16px;
  font-size: 1.3rem;
}

.footer-links {
  display: grid;
  gap: 12px;
}

.footer-links a:hover, .footer-panel p a:hover { color: var(--brand); }

.footer-bottom {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  text-align: center;
  font-size: .9rem;
}

.whatsapp-float {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 50;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0, #128C7E 100%);
  color: #fff;
  box-shadow: 0 12px 35px rgba(37,211,102,0.35), inset 0 2px 4px rgba(255,255,255,0.4);
  border: 2px solid rgba(255,255,255,0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.whatsapp-float:hover {
  transform: translateY(-6px) scale(1.05);
  box-shadow: 0 20px 45px rgba(37,211,102,0.45), inset 0 2px 4px rgba(255,255,255,0.6);
  border-color: #ffffff;
}

.whatsapp-float svg {
  width: 34px;
  height: 34px;
  fill: currentColor;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

@media (max-width: 899px) {
  .top, .hero-grid, .page-hero-grid, .booking-layout, .footer-grid {
    grid-template-columns: 1fr;
  }
  .hero-shell, .page-shell {
    padding: 30px;
  }
  .booking-form {
    grid-template-columns: 1fr;
  }
  .field.full {
    grid-column: auto;
  }
  .form-shell {
    padding: 24px;
    border-radius: 24px;
  }
  .gallery-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
  .gallery-card img {
    height: 250px !important;
  }
}

.service-card img, .package-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  object-position: top center !important;
  border-radius: 12px;
  margin-bottom: 20px;
}

/* Mobile Gallery Image Fix */ 
@media (max-width: 899px) { 
  .gallery-card img { 
    width: 100% !important; 
    height: 250px !important; 
    object-fit: cover !important; 
  } 
}