@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500&family=Playfair+Display:wght@400;500;600&display=swap');

:root {
    --color-bg: #EFEDE8;
    /* Creamy off-white background */
    --color-text: #111111;
    /* Very dark charcoal */
    --color-text-light: #F7F5F0;
    --color-text-muted: #555555;
    --color-border: #D8D5D0;
    --color-accent: #8A7A6A;
    --color-btn-hover: #E4E1DB;

    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 3rem;
    --spacing-xl: 5vw;
    --spacing-xxl: 8vw;

    --transition-smooth: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-fast: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Global Image Constraint to prevent blowouts */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Typography */
h1,
h2,
h3,
.serif-text {
    font-family: var(--font-serif);
    font-weight: 400;
}

h1 {
    font-size: clamp(2.2rem, 5vw, 4rem);
    line-height: 1.1;
    letter-spacing: -0.02em;
    margin-bottom: 1.5rem;
    word-break: break-word;
    overflow-wrap: break-word;
}

h2 {
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.15;
}

.offering-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
}

h3 {
    font-size: clamp(1.4rem, 2.5vw, 2.2rem);
    letter-spacing: 0.02em;
}

.subheading {
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-weight: 400;
    color: var(--color-text-muted);
}

.text-large {
    font-size: clamp(1rem, 1.2vw, 1.2rem);
    line-height: 1.8;
    font-weight: 300;
}

/* Links & Buttons */
a {
    color: inherit;
    text-decoration: none;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.6;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    font-family: var(--font-sans);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: var(--transition-fast);
    border: 1px solid transparent;
}

.btn-ghost {
    border-color: var(--color-text);
    background: transparent;
    color: var(--color-text);
}

.btn-ghost:hover {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-solid {
    background: var(--color-text);
    color: var(--color-bg);
}

.btn-solid:hover {
    background: #000;
}

/* Header */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    background: var(--color-bg);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /* very subtle border */
    transition: transform 0.4s ease;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem var(--spacing-xl);
}

.logo {
    display: inline-flex;
    align-items: center;
    max-height: 140px;
}

.logo img {
    height: clamp(60px, 10vw, 120px);
    width: auto;
    max-width: 300px;
    object-fit: contain;
}

.main-nav {
    display: flex;
    gap: 2.5rem;
}

.main-nav a {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

@media (max-width: 1200px) {
    .main-nav {
        gap: 1.25rem;
    }
}

.header-utils {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 500;
}

.header-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.8rem var(--spacing-xl);
}

.header-actions {
    display: flex;
    gap: 1rem;
}

/* Sections */
section {
    padding: var(--spacing-lg) var(--spacing-xl);
    position: relative;
    /* Add this to ensure z-indexing behaves and elements don't collapse */
    z-index: 1;
}

.video-section {
    padding: 0;
    margin-top: var(--spacing-lg);
    /* Add margin to separate from previous section */
    position: relative;
    z-index: 2;
    /* Ensure video stays on top of potential overlapping layers */
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    margin-top: 140px;
    /* Space for minimal header */
    margin-bottom: var(--spacing-xl);
    padding: 0;
    display: flex;
    flex-direction: column;
}

.hero-media {
    position: relative;
    width: 100%;
    height: 85vh;
    /* Large impactful hero like design */
    overflow: hidden;
}

.hero-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    padding: 0 var(--spacing-xl);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    color: white;
    text-align: right;
}

.hero-title {
    font-family: 'Avenir', 'Nunito Sans', var(--font-sans);
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 300;
    letter-spacing: 0.1em;
    margin: 0;
    width: auto;
    text-transform: uppercase;
}

.hero-subtitle {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
}

/* Intro Section */
.intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: var(--spacing-xl) var(--spacing-md);
}

.intro .subheading {
    margin-bottom: 2rem;
    display: block;
}

.intro h2 {
    margin-bottom: 3rem;
}

.intro p {
    margin-bottom: 3rem;
    color: var(--color-text-muted);
}

.intro-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Grid Layout for Sections (like the Restaurants in Figma) */
.grid-section {
    padding: var(--spacing-xl);
    max-width: 1600px;
    margin: 0 auto;
}

.grid-section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.grid-section-header .subheading {
    margin-bottom: 1rem;
}

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.venue-card {
    display: flex;
    flex-direction: column;
}

.venue-card .img-wrap {
    width: 100%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
    margin-bottom: 2rem;
}

.venue-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s ease;
}

.venue-card:hover img {
    transform: scale(1.03);
}

.venue-card h3 {
    font-size: 1.45rem;
    margin-bottom: 1.25rem;
}

.venue-card p {
    color: var(--color-text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}


/* Split Section (2-col Layout like Events) */
.split-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    align-items: center;
    max-width: 1600px;
    margin: 0 auto;
    padding: var(--spacing-xl);
}

.split-section.reverse .split-content {
    order: -1;
}

.split-media {
    width: 100%;
    height: 70vh;
}

.split-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.split-content {
    width: 100%;
}

.split-content .subheading {
    margin-bottom: 1rem;
    display: block;
}

.split-content h2 {
    margin-bottom: 2rem;
    line-height: 1.1;
}

.split-content p {
    margin-bottom: 2.5rem;
    color: var(--color-text-muted);
    font-size: 1rem;
    line-height: 1.8;
}

/* Staggered Redesign */
.split-section.staggered {
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
}

.stagger-media {
    display: flex;
    align-items: flex-end;
    gap: 2rem;
    width: 100%;
}

.stagger-media .img-small {
    flex: 0 0 40%;
    aspect-ratio: 4 / 5;
    overflow: hidden;
}

.stagger-media .img-big {
    flex: 0 0 55%;
    aspect-ratio: 3 / 4.5;
    overflow: hidden;
}

.stagger-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.stagger-media img:hover {
    transform: scale(1.05);
}

@media (max-width: 1024px) {
    .split-section.staggered {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .stagger-media {
        gap: 1.5rem;
    }
}


/* Carousel Section */
.carousel-section {
    background: var(--color-bg);
}

.carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 3rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    padding-bottom: 2rem;
    scrollbar-width: none;
    /* Firefox */
}

.carousel-track::-webkit-scrollbar {
    display: none;
    /* Chrome/Safari */
}

.carousel-item {
    min-width: 400px;
    flex: 0 0 auto;
}

.carousel-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    margin-bottom: 1.5rem;
    transition: transform 0.5s ease;
}

.img-wrap {
    overflow: hidden;
    margin-bottom: 1.5rem;
}

.carousel-item:hover img {
    transform: scale(1.03);
}

.carousel-item h3 {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.carousel-item .subheading {
    font-size: 0.65rem;
}

/* Footer */
.site-footer {
    border-top: 1px solid var(--color-border);
    padding: 0;
    margin-top: var(--spacing-xxl);
}

.newsletter-strip {
    background: var(--color-border);
    padding: var(--spacing-lg) var(--spacing-xl);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.newsletter-content h3 {
    margin-bottom: 0.5rem;
}

.newsletter-form {
    display: flex;
    border-bottom: 1px solid var(--color-text);
    padding-bottom: 0.5rem;
    width: 400px;
}

.newsletter-form input {
    background: transparent;
    border: none;
    outline: none;
    flex: 1;
    font-family: var(--font-sans);
    font-size: 0.8rem;
}

.newsletter-form button {
    background: transparent;
    border: none;
    cursor: pointer;
    font-family: var(--font-sans);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-main {
    display: grid;
    grid-template-columns: 2fr repeat(4, 1fr) 1.5fr;
    gap: 2rem;
    padding: var(--spacing-xxl) var(--spacing-xl);
}

.footer-col {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.footer-col:first-child {
    flex: 1.2;
}

.footer-col:last-child {
    flex: 1.5;
}

.footer-col ul li a, .footer-col ul li {
    font-size: 0.8rem; /* Smaller links to save space */
}

.footer-col:first-child {
    align-items: flex-start;
    text-align: left;
}

.social-links {
    display: flex;
    gap: 1.2rem;
    margin-top: 1rem;
}

.social-links a {
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.social-links a:hover {
    transform: translateY(-3px);
    opacity: 0.8;
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    transition: fill 0.3s ease;
}

.social-links a[aria-label="Instagram"] svg { color: #E1306C !important; fill: #E1306C !important; }
.social-links a[aria-label="Facebook"] svg { color: #1877F2 !important; fill: #1877F2 !important; }
.social-links a[aria-label="YouTube"] svg { color: #FF0000 !important; fill: #FF0000 !important; }

.footer-col h4 {
    font-family: var(--font-sans);
    font-size: 0.65rem; /* Slightly smaller for fit */
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-text-muted);
    margin-bottom: 1.5rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 1rem;
}

.footer-col a {
    font-size: 0.9rem;
    color: var(--color-text);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--spacing-md) var(--spacing-xl);
    border-top: 1px solid var(--color-border);
    font-size: 0.65rem;
    color: var(--color-text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.footer-main .logo {
    display: inline-flex;
    margin-bottom: 24px;
    max-height: none;
}

.footer-main .logo img {
    height: clamp(80px, 12vw, 150px);
    width: auto;
    max-width: 100%;
}

/* Adjustments for Animations */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
}

/* Mobile Menu Styles */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 10px;
}

.mobile-menu-btn span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: var(--color-text);
    transition: var(--transition-fast);
}

@media (max-width: 480px) {
    .btn {
        padding: 0.8rem 1.5rem;
        font-size: 0.7rem;
    }
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Responsive */
@media (max-width: 1024px) {
    .split-section {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .split-section.reverse .split-content {
        order: 0;
    }

    .split-media,
    .split-content {
        width: 100%;
        max-width: none;
    }

    .split-media {
        height: 60vh;
    }

    .split-content {
        padding-right: 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .card-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: var(--color-bg);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        opacity: 0;
        pointer-events: none;
        transition: var(--transition-smooth);
        z-index: 999;
    }

    .main-nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    .main-nav a {
        font-size: 1.5rem;
    }

    .footer-main {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
        text-align: left;
    }

    .footer-col:first-child {
        grid-column: span 2;
        margin-bottom: 1rem;
    }

    .footer-col {
        align-items: flex-start;
    }

    .footer-col h4 {
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 768px) {
    :root {
        --spacing-xl: 2rem;
        --spacing-xxl: 4rem;
    }

    .hero {
        margin-top: 80px;
    }

    .header-top {
        padding-left: var(--spacing-xl);
        padding-right: var(--spacing-xl);
    }

    .header-utils {
        display: none;
    }

    .card-grid {
        grid-template-columns: 1fr;
    }

    .hero-title {
        font-size: clamp(3rem, 15vw, 5rem);
    }

    .hero-media {
        aspect-ratio: auto;
        height: 60vh;
    }

    .split-media {
        height: 45vh;
    }

    .newsletter-strip {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }

    .newsletter-form {
        width: 100%;
    }

    .footer-main {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-col:first-child {
        grid-column: span 1;
    }

    .carousel-item {
        min-width: 300px;
    }

    .carousel-item img {
        height: 350px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

/* Extra Small Mobile Devices */
@media (max-width: 480px) {
    :root {
        --spacing-xl: 1.5rem;
    }

    .hero-title {
        font-size: clamp(2.5rem, 12vw, 3.5rem);
    }

    .main-nav a {
        font-size: 1.25rem;
    }

    .split-media,
    .hero-media {
        height: 50vh;
    }
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: transparent;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    z-index: 9999;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.25);
    opacity: 1;
}

.floating-whatsapp svg {
    width: 100%;
    height: 100%;
}

/* Gallery Grid Specific Styles */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* --- Consolidated Page Sections --- */

/* Slideshow Styles */
.slideshow {
    position: relative;
}

.slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.slideshow img.active {
    opacity: 1;
}

/* Offerings Pages (Main & Sub-pages) */
.offerings-header {
    padding-top: calc(140px + var(--spacing-xxl));
    padding-bottom: var(--spacing-xl);
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
}

.offering-section {
    padding: var(--spacing-xxl) var(--spacing-xl);
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.offering-section.reverse .offering-content {
    order: -1;
}

.offering-image {
    width: 100%;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    aspect-ratio: 4 / 3;
    position: relative;
}

.offering-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-family: var(--font-serif);
}

/* Events Page */
.events-section {
    padding-top: calc(140px + var(--spacing-xl));
    max-width: 1600px;
    margin: 0 auto;
    padding-left: var(--spacing-xl);
    padding-right: var(--spacing-xl);
}

.events-header {
    text-align: center;
    margin-bottom: 5rem;
}

.event-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
    transition: transform 0.4s ease;
}

.event-card .img-wrap {
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.event-content {
    padding: 2.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.event-meta {
    font-size: 0.75rem;
    color: var(--color-accent);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    font-weight: 500;
}

/* Map Section */
.map-section {
    width: 100%;
    margin-bottom: var(--spacing-xxl);
    overflow: hidden;
}

.map-section iframe {
    width: 100%;
    height: 600px;
    display: block;
    border: 0;
}

/* --- Responsive Overrides for New Sections --- */
@media (max-width: 1024px) {
    .offering-section {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }

    .offering-section.reverse .offering-content {
        order: 0;
    }

    .offerings-header {
        padding-top: calc(100px + var(--spacing-xl));
    }

    .events-section {
        padding-top: calc(100px + var(--spacing-xl));
    }
}

@media (max-width: 768px) {
    .map-section iframe {
        height: 450px;
    }
    
    .event-content {
        padding: 1.5rem;
    }
    
    .events-header {
        margin-bottom: 3rem;
    }
}

@media (max-width: 480px) {
    .map-section iframe {
        height: 350px;
    }
}