:root {
  --bg: #F9F7F2;
  --surface: #FFFFFF;
  --primary: #C58965;
  --text-main: #2C2C2C;
  --text-muted: #666666;
  --border-subtle: rgba(0, 0, 0, 0.08);
  --shadow-card: 0 10px 30px -5px rgba(0, 0, 0, 0.05);
  --shadow-hover: 0 20px 40px -5px rgba(0, 0, 0, 0.1);
  --radius-lg: 16px;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Inter', sans-serif;
}

* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg);
  color: var(--text-main);
  font-family: var(--font-sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, .logo {
  font-family: var(--font-serif);
  font-weight: 600;
  margin-top: 0;
  color: var(--text-main);
}

a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* --- Animations --- */
@keyframes popIn {
  0% { opacity: 0; transform: scale(0.95) translateY(10px); }
  100% { opacity: 1; transform: scale(1) translateY(0); }
}
.fade-in { animation: popIn 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) forwards; }

.scroll-reveal { opacity: 0; transform: translateY(30px); transition: all 0.8s ease-out; }
.scroll-reveal.visible { opacity: 1; transform: translateY(0); }

/* --- Navigation --- */
nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  padding: 1rem 5%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
}

.logo { font-size: 1.5rem; letter-spacing: -0.5px; margin: 0; position: relative; z-index: 1002; }

/* Desktop Nav */
.nav-links { display: flex; align-items: center; }
.nav-links a { margin-left: 2rem; font-size: 0.95rem; color: var(--text-muted); font-weight: 500; }
.nav-links a:hover { color: var(--primary); }

/* Hamburger Icon (Hidden on Desktop) */
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; z-index: 1002; }
.hamburger span { display: block; width: 25px; height: 2px; background-color: var(--text-main); transition: 0.3s; }

/* --- Mobile Menu Styles --- */
@media (max-width: 768px) {
  .hamburger { display: flex; }
  
  .nav-links {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100vh;
    background: var(--bg);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    transform: translateY(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1001;
  }
  
  .nav-links.active { transform: translateY(0); }
  
  .nav-links a { margin: 0; font-size: 1.5rem; font-family: var(--font-serif); }
  
  /* Hamburger Animation */
  .hamburger.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .hamburger.active span:nth-child(2) { opacity: 0; }
  .hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
}

/* --- Buttons --- */
.btn {
  display: inline-block;
  background-color: var(--text-main);
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  white-space: nowrap;
}
.btn:hover { background-color: var(--primary); transform: translateY(-2px); box-shadow: 0 10px 20px rgba(197, 137, 101, 0.3); }

.btn-outline { background: transparent; border: 1px solid var(--text-main); color: var(--text-main); box-shadow: none; }
.btn-outline:hover { background: var(--text-main); color: white; border-color: var(--text-main); }

/* --- Layouts --- */
section { padding: 5rem 5%; position: relative; }

/* Fluid Typography using clamp() */
.display-text { 
  font-size: clamp(2.5rem, 5vw, 4rem); 
  line-height: 1.1; 
  margin-bottom: 1.5rem; 
}
.lead-text { 
  font-size: clamp(1rem, 2vw, 1.15rem); 
  color: var(--text-muted); 
  margin-bottom: 2.5rem; 
  max-width: 500px; 
}

/* Split Section */
.split-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  gap: 4rem;
}
.split-content { flex: 1; }
.split-image { flex: 1; }
.split-image img { width: 100%; border-radius: var(--radius-lg); box-shadow: var(--shadow-hover); }

/* --- Mobile Stack Logic --- */
@media (max-width: 900px) {
  section { padding: 3rem 5%; }
  
  .split-section { 
    flex-direction: column; /* Stack vertically */
    gap: 2rem; 
    text-align: center;
    padding-top: 2rem;
  }
  
  /* Ensure images visually come first on mobile for engagement */
  .split-section > .split-image { order: -1; }
  
  .lead-text { margin-left: auto; margin-right: auto; }
  .split-content div { justify-content: center; } /* Centers button groups */
}

/* --- Cards --- */
.grid-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 3rem auto 0;
}

.ornament-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--border-subtle);
    height: 100%;
}
.step-number { 
    font-family: var(--font-serif); font-size: 3rem; color: var(--primary); 
    opacity: 0.3; display: block; margin-bottom: 0.5rem; line-height: 1; 
}

/* --- Booking Form --- */
.booking-container {
    display: flex;
    flex-wrap: wrap; 
    background: var(--surface);
    box-shadow: var(--shadow-hover);
    border-radius: 24px;
    overflow: hidden;
    margin: 2rem auto;
    max-width: 1100px;
    border: 1px solid var(--border-subtle);
}

.booking-visual {
    flex: 1 1 400px; /* Grow, Shrink, Basis */
    background: url('https://images.unsplash.com/photo-1570172619644-dfd03ed5d881?ixlib=rb-4.0.3&auto=format&fit=crop&w=800&q=80') center/cover no-repeat;
    position: relative;
    padding: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: white;
    min-height: 250px;
}
.booking-visual::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(0,0,0,0.6), transparent); }
.booking-visual h2, .booking-visual p { position: relative; z-index: 2; text-shadow: 0 2px 5px rgba(0,0,0,0.3); }

.booking-form-wrapper {
    flex: 1 1 400px;
    padding: 3rem;
}

/* Mobile Adjustments for Form */
@media (max-width: 600px) {
  .booking-visual { padding: 2rem; }
  .booking-form-wrapper { padding: 1.5rem; }
}

/* Inputs */
label { display: block; font-size: 0.8rem; text-transform: uppercase; letter-spacing: 1px; color: var(--text-muted); margin-bottom: 0.5rem; font-weight: 700; margin-top: 1.5rem; }
input, select { 
    width: 100%; padding: 15px; border: 1px solid transparent; 
    background-color: #F4F4F4; border-radius: 8px; font-size: 16px; /* 16px prevents iOS zoom */
    font-family: var(--font-sans); appearance: none;
}
input:focus, select:focus { outline: none; background: white; border-color: var(--primary); }

/* Footer */
footer { background: #1a1a1a; color: white; padding: 4rem 5%; text-align: center; margin-top: auto; }