/* ==========================================================================
   Base Design System & Variables
   ========================================================================== */
:root {
    /* Colors */
    --color-primary: #1A1A1A; /* Charcoal/Almost Black */
    --color-secondary: #4A4A4A; /* Dark Gray */
    --color-accent: #C5A059; /* Elegant Gold/Champagne */
    --color-accent-light: #E8D8B0;
    --color-background: #FCFAF8; /* Soft Warm White */
    --color-surface: #FFFFFF; /* Pure White for cards/sections */
    --color-border: #E0DCD3;
    --color-text: #333333;
    --color-text-light: #666666;

    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 6rem;
    --spacing-xxl: 8rem;

    /* layout */
    --container-width: 1200px;
    --border-radius: 4px; /* Subtle radius for an elegant look */
    --transition-speed: 0.3s;
}

/* ==========================================================================
   Reset & Base Styles
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    overflow-x: hidden;
}

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    color: var(--color-text);
    background-color: var(--color-background);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
    line-height: 1.2;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.25rem; }

p {
    margin-bottom: var(--spacing-sm);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) ease;
}

a:hover {
    color: var(--color-accent);
}

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

ul {
    list-style-position: inside;
}

/* ==========================================================================
   Layout & Utilities
   ========================================================================== */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 var(--spacing-sm);
}

.section {
    padding: var(--spacing-xl) 0;
}

.section-bg-light {
    background-color: var(--color-surface);
}

.section-bg-dark {
    background-color: var(--color-primary);
    color: var(--color-surface);
}

.section-bg-dark h1, .section-bg-dark h2, .section-bg-dark h3, .section-bg-dark h4 {
    color: var(--color-surface);
}

.text-center { text-align: center; }
/* Darken gold text on light backgrounds for WCAG AA contrast */
.text-accent { color: #9E7A31; }

.grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: var(--spacing-md);
}

/* Typography Utilities */
.text-lg { font-size: 1.25rem; }
.text-xl { font-size: 1.75rem; }
.text-xxl { font-size: 2.5rem; }
.text-uppercase { text-transform: uppercase; }
.font-medium { font-weight: 500; }
.text-light { color: var(--color-text-light); }

/* Spacing Utilities */
.pt-xxl { padding-top: var(--spacing-xxl); }
.pt-xl { padding-top: var(--spacing-xl); }
.pb-sm { padding-bottom: var(--spacing-sm); }
.pb-0 { padding-bottom: 0; }
.mb-0 { margin-bottom: 0; }
.mb-xs { margin-bottom: 0.25rem; }
.mb-sm { margin-bottom: var(--spacing-sm); }
.mb-md { margin-bottom: var(--spacing-md); }
.mb-lg { margin-bottom: var(--spacing-lg); }
.mb-xl { margin-bottom: var(--spacing-xl); }
.mt-sm { margin-top: var(--spacing-sm); }
.mt-md { margin-top: var(--spacing-md); }
.mt-lg { margin-top: var(--spacing-lg); }
.mt-xl { margin-top: var(--spacing-xl); }
.mx-auto { margin-left: auto; margin-right: auto; }
.mr-sm { margin-right: var(--spacing-sm); }

/* Sizing & Layout */
.w-full { width: 100%; }
.max-w-600 { max-width: 600px; }
.max-w-800 { max-width: 800px; }

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-grow { flex-grow: 1; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.items-stretch { align-items: stretch; }
.justify-center { justify-content: center; }

/* Grid Utilities */
.gap-sm { gap: var(--spacing-sm); }
.gap-lg { gap: var(--spacing-lg); }
.gap-xl { gap: 4rem; }
.gap-1 { gap: 1rem; }
.gap-1-5 { gap: 1.5rem; }
.gap-2 { gap: 2rem; }
.gap-2-5 { gap: 2.5rem; }
.gap-3 { gap: 3rem; }

.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-auto-200 { grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.grid-auto-250 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }
.grid-auto-300 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-auto-320 { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.grid-auto-350 { grid-template-columns: repeat(auto-fit, minmax(350px, 1fr)); }

.col-span-5 { grid-column: span 5; }
.col-span-6 { grid-column: span 6; }
.col-span-7 { grid-column: span 7; }

/* ==========================================================================
   Components
   ========================================================================== */

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.6rem;
    font-family: var(--font-body);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.82rem;
    border: 1px solid transparent;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all var(--transition-speed) ease;
}

.btn-primary {
    background-color: var(--color-accent);
    color: var(--color-surface);
    border-color: var(--color-accent);
}

.btn-primary:hover {
    background-color: transparent;
    color: var(--color-accent);
}

.btn-outline {
    background-color: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

.btn-outline:hover {
    background-color: var(--color-primary);
    color: var(--color-surface);
}

.btn-outline-light {
    background-color: transparent;
    color: var(--color-surface);
    border-color: var(--color-surface);
}

.btn-outline-light:hover {
    background-color: var(--color-surface);
    color: var(--color-primary);
}

/* Header & Navigation */
.site-header {
    background-color: var(--color-surface);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    width: 100%;
    max-width: 100%;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    text-decoration: none;
}

.nav-logo {
    display: block;
    width: 180px;
    height: auto;
    max-height: 86px;
    object-fit: contain;
}



.nav-links {
    display: flex;
    gap: var(--spacing-md);
    align-items: center;
    flex-wrap: nowrap;
}

.nav-links a {
    font-weight: 500;
    text-transform: uppercase;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
}

.nav-links a.active {
    color: var(--color-accent);
}

.nav-cta {
    white-space: nowrap !important;
    flex-shrink: 0 !important;
    min-width: max-content;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: auto;
    flex-shrink: 0;
}

.mobile-nav-cta-container {
    display: none;
}


/* Mobile Menu Toggle */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-primary);
    flex-shrink: 0;
    line-height: 1;
    padding: 0.25rem;
    margin-right: 0;
}

/* Hero Section */
.hero {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--color-surface);
    background-color: var(--color-primary);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    transform: scale(1.02);
    z-index: 1;
}

.hero-bg.active {
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: var(--spacing-md);
}

.hero h1 {
    color: var(--color-surface);
    margin-bottom: var(--spacing-sm);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero p {
    font-size: 1.25rem;
    margin-bottom: var(--spacing-md);
}

/* Cards (Packages, Amenities, etc) */
.card {
    background-color: var(--color-surface);
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    padding: var(--spacing-md);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.card-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: var(--border-radius);
    margin-bottom: var(--spacing-sm);
}

.img-rounded {
    border-radius: var(--border-radius);
}

.shadow-md {
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.card-borderless {
    border: none;
    box-shadow: none;
    padding: 0;
    background-color: transparent;
}

.card-borderless:hover {
    box-shadow: none;
    transform: translateY(-5px); /* Maintain slight hover if desired, or keep flat */
}

.card-featured {
    box-shadow: 0 15px 40px rgba(0,0,0,0.08);
    border-color: transparent;
}

.card-highlight {
    border-color: var(--color-accent);
    box-shadow: 0 10px 30px rgba(197, 160, 89, 0.15);
    transform: translateY(-10px);
}

.card-highlight:hover {
    transform: translateY(-15px);
}

.card-dark {
    background-color: var(--color-primary);
    color: var(--color-surface);
    border-color: var(--color-primary);
}

.card-dark h1, .card-dark h2, .card-dark h3, .card-dark h4 {
    color: var(--color-surface);
}

.card-badge {
    background-color: var(--color-accent);
    color: white;
    text-align: center;
    padding: 0.5rem;
    margin: -2rem -2rem 1.5rem -2rem;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
    font-weight: 500;
    font-size: 0.9rem;
}

/* Package Pricing */

.package-title {
    margin-bottom: 0.45rem;
}

.package-subtitle {
    font-size: 0.95rem;
    line-height: 1.55;
    margin-bottom: 1.35rem;
}

.package-price {
    margin-bottom: 1.5rem;
}
.price-plus {
    display: inline-block;
    font-size: 0.4em;
    opacity: 0.5;
    margin-left: -0.02em;
    position: relative;
    top: -0.08em;
    vertical-align: baseline;
  }
  
.price-plus--dark {
    color: #fff;
    opacity: 0.6;
}

/* Contact Form */
.form-group {
    margin-bottom: var(--spacing-sm);
}

.form-label {
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}

.form-control {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid var(--color-border);
    border-radius: var(--border-radius);
    font-family: var(--font-body);
    font-size: 1rem;
    background-color: var(--color-surface);
    transition: border-color var(--transition-speed) ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
}

/* Footer */
.site-footer {
    background-color: var(--color-primary);
    color: var(--color-surface);
    padding: var(--spacing-xl) 0 var(--spacing-md);
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-lg);
}

.footer-logo {
    height: 150px;
    width: auto;
    display: block;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: #DDDDDD;
}

.footer-links a:hover {
    color: var(--color-accent);
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: var(--spacing-md);
    font-size: 0.9rem;
    color: #AAAAAA;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--color-surface);
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.social-links svg {
    width: 24px;
    height: 24px;
}

.social-icon-tiktok {
    display: block;
    width: 21px;
    height: 21px;
}

.social-links a:hover {
    color: var(--color-accent);
}

/* ==========================================================================
   Responsive Design
   ========================================================================== */
/* Header & Navigation Collapse Breakpoint (Pre-empts CTA text wrapping) */
@media (max-width: 1050px) {
    .nav-links {
        display: none; /* Hidden by default on mobile */
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: var(--color-surface);
        flex-direction: column;
        padding: var(--spacing-md) 0 var(--spacing-lg) 0;
        box-shadow: 0 4px 6px rgba(0,0,0,0.1);
        max-height: calc(100dvh - 80px); /* Use dynamic viewport height to fix mobile Safari toolbar cutoffs */
        overflow-y: auto; /* Allow nav links to scroll */
        -webkit-overflow-scrolling: touch; /* Smooth iOS momentum scrolling */
    }
    .nav-container {
        gap: 1rem;
    }
    .nav-links.active {
        display: flex;
    }
    .mobile-menu-btn {
        display: block;
    }
    .desktop-nav-cta {
        display: none !important;
    }
    .mobile-nav-cta-container {
        display: block;
        margin-top: 1.5rem;
        padding-top: 1.5rem;
        border-top: 1px solid var(--color-border);
        width: 80%;
        text-align: center;
    }
    .mobile-nav-cta {
        display: inline-block;
        width: 100%;
        max-width: 300px;
    }
}

/* General Mobile Breakpoint */
@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .grid {
        grid-template-columns: 1fr;
    }
    .nav-logo {
        width: 140px;
        max-height: 68px;
    }
}

.vendor-highlight {
  position: relative;
  overflow: hidden;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #111;
}

.vendor-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
  transform: scale(1.02);
}

.vendor-bg.active {
  opacity: 1;
}

.vendor-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  z-index: 1;
}

.vendor-content {
  position: relative;
  z-index: 2;
  color: #fff;
  max-width: 760px;
  padding: 5rem 1.5rem;
}

.vendor-eyebrow {
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  color: #d4af67;
}

.vendor-highlight h2 {
  color: #fff;
  margin-bottom: 1.25rem;
}

.vendor-copy {
  max-width: 640px;
  margin: 0 auto 2rem auto;
  font-size: 1.1rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .vendor-highlight {
    min-height: 440px;
  }

  .vendor-content {
    padding: 4rem 1.25rem;
  }

  .vendor-copy {
    font-size: 1rem;
  }
}

/* Gallery Grid */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-md);
}

.gallery-item {
    overflow: hidden;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.gallery-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform var(--transition-speed) ease;
}

.gallery-item img.object-position-top {
    object-position: center top;
}

.gallery-item:hover img {
    transform: scale(1.03);
}

/* FAQ Styles */
.faq-item {
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--color-border);
}

.faq-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.faq-item h3 {
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.amenities-cta-group {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
  }
  
  .amenities-cta-group .btn {
    margin: 0;
  }
  
  @media (max-width: 768px) {
    .amenities-cta-group {
      flex-direction: column;
    }
  
    .amenities-cta-group .btn {
      width: 100%;
      max-width: 320px;
    }
  }