@import url('https://fonts.googleapis.com/css2?family=Literata:opsz,wght@7..72,300;7..72,400;7..72,500;7..72,600&family=Jost:wght@300;400;500;600&family=Great+Vibes&display=swap');

:root {
    --primary: #8b5e3c; /* wood-brown */
    --secondary: #d67c5e; /* terracotta */
    --bg-color: #f5ebdd; /* warm-cream */
    --bg-light: #fff9f0; /* soft-white */
    --text-dark: #2a2a2a;
    --accent: #7a8450; /* sage-green */
    
    --font-heading: 'Literata', serif;
    --font-body: 'Jost', sans-serif;
}
/* ── MIDNIGHT MODE (Manual Toggle) ── */
body.dark-mode {
    --bg-light: #0a0a0a;
    --bg-color: #141414;
    --text-dark: #e9d5b0;
    --primary: #d4a96a;
    --secondary: #d67c5e;
    --accent: #9fb381;
    background-color: #0a0a0a !important;
    color: #e9d5b0;
}

body.dark-mode header {
    background: rgba(10, 10, 10, 1) !important;
    border-bottom: 1px solid rgba(212, 169, 106, 0.1);
}

body.dark-mode header.scrolled {
    background: rgba(5, 5, 5, 0.98);
}

body.dark-mode header.scrolled .nav-links a,
body.dark-mode header.scrolled .lang-switcher,
body.dark-mode .nav-links a,
body.dark-mode .mode-toggle {
    color: var(--primary) !important;
}

body.dark-mode header .logo img {
    filter: brightness(0) saturate(100%) invert(80%) sepia(20%) saturate(800%) hue-rotate(345deg) brightness(95%) contrast(90%) !important;
}

body.dark-mode .palm-leaf {
    opacity: 0.25;
    filter: brightness(0) saturate(100%) invert(71%) sepia(26%) saturate(836%) hue-rotate(344deg) brightness(90%) contrast(89%);
}

body.dark-mode .reservation::before {
    filter: brightness(0) saturate(100%) invert(80%) sepia(20%) saturate(800%) hue-rotate(345deg) brightness(95%) contrast(90%);
    opacity: 0.55 !important;
    mix-blend-mode: normal;
}

body.dark-mode .exp-card {
    background: linear-gradient(145deg, #1a1a1a, #0d0d0d) !important;
    border: 1px solid rgba(212, 169, 106, 0.25) !important;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6) !important;
    position: relative;
    overflow: hidden;
}

body.dark-mode .exp-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 151px; height: 151px;
    background: radial-gradient(circle, rgba(212, 169, 106, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

body.dark-mode .exp-icon {
    background: rgba(212, 169, 106, 0.1) !important;
    border: 1px solid rgba(212, 169, 106, 0.25) !important;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4) !important;
}

body.dark-mode .exp-icon img {
    filter: brightness(0) saturate(100%) invert(80%) sepia(20%) saturate(800%) hue-rotate(345deg);
}

body.dark-mode .exp-card h3 {
    color: var(--primary);
}

body.dark-mode .exp-card p {
    color: #e9d5b0;
    opacity: 0.8;
}

body.dark-mode .footer {
    background: #000;
    color: var(--primary);
    border-top: 1px solid rgba(212, 169, 106, 0.1);
}

body.dark-mode .footer h4, 
body.dark-mode .footer a, 
body.dark-mode .footer p {
    color: var(--primary) !important;
}

body.dark-mode .footer-logo {
    color: var(--primary) !important;
}

body.dark-mode .footer-logo svg {
    color: var(--primary) !important;
}

body.dark-mode .footer-bottom {
    border-top: 1px solid rgba(212, 169, 106, 0.1);
    color: rgba(212, 169, 106, 0.6) !important;
}

body.dark-mode .section-title {
    color: var(--primary);
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

body.dark-mode .section-subtitle {
    color: var(--primary);
    opacity: 0.9;
}

body.dark-mode .form-container {
    background: #0d0d0d;
    border: 1px solid rgba(212, 169, 106, 0.4) !important;
    box-shadow: 0 40px 80px rgba(0,0,0,0.8);
}

body.dark-mode .form-group label {
    color: #e9d5b0 !important;
    font-weight: 500;
    opacity: 1 !important;
}

body.dark-mode .form-group input, 
body.dark-mode .form-group select, 
body.dark-mode .form-group textarea {
    color: #fff;
    border-bottom-color: rgba(212, 169, 106, 0.5);
}

body.dark-mode .form-group input::placeholder, 
body.dark-mode .form-group textarea::placeholder {
    color: rgba(233, 213, 176, 0.35);
}

body.dark-mode .hero h1 svg {
    color: var(--primary) !important;
}

body.dark-mode .signature,
body.dark-mode .stars,
body.dark-mode .gallery-follow a,
body.dark-mode .footer-bottom p a,
body.dark-mode .faq-question:hover,
body.dark-mode .lang-btn:hover,
body.dark-mode .lang-btn.active {
    color: var(--primary) !important;
}

/* Base Utility for the Toggle */
.mode-toggle {
    background: none;
    border: none;
    color: var(--secondary); /* Matched to Terracotta Sun in Logo */
    cursor: pointer;
    margin-left: 1.5rem;
    padding: 5px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

/* Scrolled state visibility */
header.scrolled .mode-toggle {
    color: var(--secondary); /* Terracotta when scrolled */
}

.mode-toggle:hover {
    color: var(--secondary);
    transform: rotate(15deg) scale(1.1);
}

.mode-icon {
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Mobile Adjustments for the Toggle */
@media (max-width: 768px) {
    .mode-toggle {
        margin-left: auto;
        margin-right: 1.5rem;
        color: var(--secondary) !important; /* Forced Terracotta on mobile */
    }
    
    .nav-right {
        gap: 0.5rem;
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-weight: 300;
    color: var(--text-dark);
    background-color: var(--bg-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── PREMIUM GRAIN OVERLAY ── */
.grain-overlay {
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    z-index: 9999;
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/7/76/1k_Stop_Sign_Grain_Noise.png'); /* Subtle noise pattern */
    opacity: 0.045;
    pointer-events: none;
    animation: grain-dance 8s steps(10) infinite;
}

@keyframes grain-dance {
    0%, 100% { transform: translate(0, 0); }
    10% { transform: translate(-5%, -10%); }
    20% { transform: translate(-15%, 5%); }
    30% { transform: translate(7%, -25%); }
    40% { transform: translate(-5%, 25%); }
    50% { transform: translate(-15%, 10%); }
    60% { transform: translate(15%, 0%); }
    70% { transform: translate(0%, 15%); }
    80% { transform: translate(3%, 35%); }
    90% { transform: translate(-10%, 10%); }
}

/* ── CUSTOM ELEGANT SCROLLBAR ── */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-light);
}
::-webkit-scrollbar-thumb {
    background: #d67c5e;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #8b5e3c;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 500;
}

/* Typography elements */
.section-title {
    font-size: 3.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
    text-align: center;
    line-height: 1.1;
}

/* Palm Leaf Background Elements */
.about, .experience, .gallery, .reservation {
    position: relative; /* Ensure children can be absolute */
    overflow: hidden; /* Keep leaves from causing scrollbars */
}

.palm-leaf {
    position: absolute;
    background-image: url('images/palm-leaf.png');
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.4; /* Unified high-visibility watermark */
    pointer-events: none;
    z-index: 0;
    transition: all 0.6s ease;
    animation: leaf-sway 10s infinite ease-in-out alternate;
}

@keyframes leaf-sway {
    0% { transform: translate(0,0) rotate(135deg); }
    100% { transform: translate(15px, 10px) rotate(138deg); }
}

.leaf-tr { animation-delay: -2s; animation-name: leaf-sway-tr; }
.leaf-bl { animation-delay: -5s; animation-name: leaf-sway-bl; }
.leaf-br { animation-delay: -7s; animation-name: leaf-sway-br; }

@keyframes leaf-sway-tr {
    0% { transform: translate(0,0) rotate(-135deg); }
    100% { transform: translate(-15px, 10px) rotate(-132deg); }
}
@keyframes leaf-sway-bl {
    0% { transform: translate(0,0) rotate(45deg); }
    100% { transform: translate(15px, -10px) rotate(48deg); }
}
@keyframes leaf-sway-br {
    0% { transform: translate(0,0) rotate(-45deg); }
    100% { transform: translate(-15px, -10px) rotate(-42deg); }
}

/* Base sizing */
.leaf-lg { width: 450px; height: 600px; }
.leaf-md { width: 350px; height: 460px; }
.leaf-sm { width: 220px; height: 300px; }
.leaf-xs { width: 140px; height: 180px; } /* For spam */

/* Positions & Rotations (Corner Emergence) */
.leaf-tl { top: -100px; left: -100px; transform: rotate(-45deg); }
.leaf-tr { top: -100px; right: -100px; transform: rotate(45deg); }
.leaf-bl { bottom: -100px; left: -100px; transform: rotate(-135deg); }
.leaf-br { bottom: -100px; right: -100px; transform: rotate(135deg); }

/* Tropical Spam Layout for Reservations (Removed opacity override) */
.leaf-spam {
    transform-origin: center;
}

/* Mobile refinement */
@media (max-width: 768px) {
    .palm-leaf {
        opacity: 0.3; /* Adjusted for mobile high-visibility */
        width: 150px;
        height: 200px;
    }
    .leaf-tl { top: -60px; left: -60px; }
    .leaf-br { bottom: -60px; right: -60px; }
    .leaf-xs { width: 100px; height: 130px; }
}

.section-subtitle {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #b8956a; /* warm sandy-gold — green kept for UI elements only */
    text-align: center;
    margin-bottom: 4rem;
}

/* Utilities & Decorative Borders */
.corner-framed {
    position: relative;
    padding: 3rem 2rem;
    background: 
        linear-gradient(to right, var(--secondary) 1px, transparent 1px) 0 0,
        linear-gradient(to bottom, var(--secondary) 1px, transparent 1px) 0 0,
        linear-gradient(to left, var(--secondary) 1px, transparent 1px) 100% 0,
        linear-gradient(to bottom, var(--secondary) 1px, transparent 1px) 100% 0,
        linear-gradient(to right, var(--secondary) 1px, transparent 1px) 0 100%,
        linear-gradient(to top, var(--secondary) 1px, transparent 1px) 0 100%,
        linear-gradient(to left, var(--secondary) 1px, transparent 1px) 100% 100%,
        linear-gradient(to top, var(--secondary) 1px, transparent 1px) 100% 100%;
    background-repeat: no-repeat;
    background-size: 25px 25px; /* Length of the corner brackets */
}

/* Fading borders to separate sections softly */
.elegant-border-top { position: relative; }
.elegant-border-top::before {
    content: ''; 
    position: absolute;
    top: 0; 
    left: 10%; 
    width: 80%; 
    height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    opacity: 0.6;
    z-index: 20;
}

.elegant-border-bottom { position: relative; }
.elegant-border-bottom::after {
    content: ''; position: absolute;
    bottom: 0; left: 10%; width: 80%; height: 1px;
    background: linear-gradient(to right, transparent, var(--secondary), transparent);
    opacity: 0.3;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 5%;
}

.btn {
    display: inline-block;
    padding: 1.2rem 2.8rem;
    background-color: var(--primary);
    color: var(--bg-light);
    text-decoration: none;
    font-family: var(--font-body);
    font-weight: 400;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid var(--primary);
    border-radius: 30px;
}

.btn:hover {
    background-color: transparent;
    color: var(--primary);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 20px rgba(139, 94, 60, 0.15);
}

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

.btn.secondary:hover {
    background-color: var(--secondary);
    color: var(--bg-light);
}

/* Header & Nav (Glassmorphism) */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.4s ease;
    padding: 1.5rem 0;
}

header.scrolled {
    background: rgba(255, 249, 240, 0.85); /* Frosty bg-light */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5%;
}

/* Logo left on desktop, centered on mobile (see media query) */
.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    transition: all 0.4s ease;
}

header:not(.scrolled) .logo img {
    filter: brightness(0) invert(1); /* white on transparent */
}

header.scrolled .logo img {
    filter: brightness(0) saturate(100%) invert(42%) sepia(28%) saturate(1089%) hue-rotate(334deg) brightness(95%) contrast(88%); /* wood brown/terracotta */
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-links {
    display: flex;
    gap: 3rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: color 0.3s ease;
    position: relative;
}

header.scrolled .nav-links a {
    color: var(--text-dark);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

header:not(.scrolled) .nav-links a:hover {
    color: rgba(255,255,255,0.7);
}
header.scrolled .nav-links a:hover {
    color: var(--secondary);
}


.lang-switcher {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 1px;
    color: #fff;
    opacity: 0.8;
}

header.scrolled .lang-switcher {
    color: var(--text-dark);
}

.lang-btn {
    cursor: pointer;
    transition: color 0.3s ease;
}

.lang-btn:hover, .lang-btn.active {
    color: var(--secondary);
    opacity: 1;
}

.lang-separator {
    opacity: 0.3;
}



@media (max-width: 1024px) {
    .nav-links {
        gap: 1.5rem;
    }
    .nav-right {
        gap: 1.5rem;
    }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001; /* Above mobile nav */
}

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    position: relative;
    transition: all 0.3s;
}
header.scrolled .hamburger { background: var(--text-dark); }

.hamburger::before, .hamburger::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: inherit;
    transition: all 0.3s;
}

.hamburger::before { top: -8px; }
.hamburger::after { top: 8px; }

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 600px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 110%; /* Extra height for parallax */
    background: url('images/hero.JPG') center/cover no-repeat;
    z-index: 1;
    transform: translateY(0) scale(1);
    will-change: transform;
    animation: subtleZoom 30s infinite alternate ease-in-out;
}

@keyframes subtleZoom {
    0% { transform: translateY(0) scale(1); }
    100% { transform: translateY(-2%) scale(1.08); }
}

/* Overlay gradient for legibility */
.hero::after {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.2) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    color: #fff;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-subtitle {
    font-size: 0.9rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp 1s ease 0.2s backwards;
}

.hero h1 {
    font-size: clamp(4rem, 8vw, 7rem);
    line-height: 1;
    letter-spacing: 4px;
    margin-bottom: 2rem;
    font-weight: 400;
    animation: fadeUp 1s ease 0.4s backwards;
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    animation: fadeUp 1s ease 0.6s backwards;
    opacity: 0.9;
}

.hero .btn {
    animation: fadeUp 1s ease 0.8s backwards;
}

/* Sections Base */
section {
    padding: 8rem 0;
}

/* About Section */
.about {
    background-color: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6rem;
    align-items: center;
}

.about-images {
    position: relative;
    height: 700px;
}

.about-img-1, .about-img-2 {
    position: absolute;
    background-size: cover;
    background-position: center;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-radius: 2px;
}

.about-img-1 {
    width: 75%;
    height: 80%;
    top: 0;
    right: 0;
    background-image: url('images/about.jpg');
    z-index: 1;
}

.about-img-2 {
    width: 55%;
    height: 60%;
    bottom: 0;
    left: 0;
    background-image: url('images/about2.jpg'); /* fallback if missing */
    background-color: var(--bg-color); /* placeholder if missing */
    z-index: 2;
}

.about-text {
    padding-right: 2rem;
}

.about-text p {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.signature {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    font-style: italic;
    color: var(--secondary);
    margin-top: 2rem;
    display: inline-block;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    position: relative;
    cursor: pointer;
}
.signature:hover {
    transform: scale(1.02);
    color: var(--primary);
}
.signature::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
}

/* ── STEP 1: One-time intro animation on scroll reveal ── */
.reveal.active .signature:not(.done)::after {
    transform: scaleX(1);
    transform-origin: left;
    transition: transform 1.6s cubic-bezier(0.25, 1, 0.5, 1);
    transition-delay: 0.5s;
}

/* ── STEP 2: After intro done (.done class added by JS), switch to hover-only ── */
.signature.done::after {
    transition: transform 1.4s cubic-bezier(0.25, 1, 0.5, 1);
    transform: scaleX(0);
    transform-origin: right;
}
.signature.done:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}
.signature.done:not(:hover)::after {
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 1.1s cubic-bezier(0.25, 1, 0.5, 1);
}


/* Experience Section */
.experience {
    background-color: var(--bg-color);
}

.exp-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 4rem;
    max-width: 1100px;
    margin: 0 auto;
}

@media (max-width: 1024px) {
    .exp-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

.exp-card {
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.95), rgba(255, 249, 240, 0.6));
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3.5rem 2rem;
    text-align: center;
    border-radius: 24px;
    border: 1px solid rgba(139, 94, 60, 0.15);
    box-shadow: 0 15px 35px rgba(139, 94, 60, 0.06);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s;
}

/* Beautiful overlapping decorative highlight */
.exp-card::before {
    content: '';
    position: absolute;
    top: -50px; right: -50px;
    width: 150px; height: 150px;
    background: radial-gradient(circle, rgba(214, 124, 94, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    z-index: 0;
    pointer-events: none;
}

.exp-card * {
    position: relative;
    z-index: 1;
}

/* Elegant bottom accent bar visible always for mobile beauty */
.exp-card::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0; right: 0; height: 5px;
    background: linear-gradient(to right, var(--secondary), var(--primary));
    opacity: 0.9;
}

@media (min-width: 1025px) {
    .exp-card:hover {
        transform: translateY(-12px);
        box-shadow: 0 30px 60px rgba(139, 94, 60, 0.12);
        border-color: rgba(214, 124, 94, 0.3);
    }
}

.exp-icon {
    width: 85px;
    height: 85px;
    margin: 0 auto 1.5rem;
    background: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 22px;
    box-shadow: 0 10px 25px rgba(139, 94, 60, 0.08); /* Floating icon effect */
    transition: transform 0.5s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.5s ease;
}

@media (min-width: 1025px) {
    .exp-card:hover .exp-icon {
        transform: scale(1.1) rotate(5deg);
        box-shadow: 0 15px 35px rgba(214, 124, 94, 0.15);
    }
}

.exp-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: brightness(0) saturate(100%) invert(56%) sepia(35%) saturate(738%) hue-rotate(334deg) brightness(91%) contrast(85%);
    transition: opacity 0.5s ease;
}

.exp-card h3 {
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.exp-card p {
    font-size: 0.95rem;
    color: var(--text-dark);
    opacity: 0.85;
    line-height: 1.7;
}

/* Mobile precision refinements */
@media (max-width: 768px) {
    .exp-card {
        padding: 2.5rem 1.5rem;
        border-radius: 20px;
    }
    .exp-card h3 {
        font-size: 1.5rem;
    }
    .exp-icon {
        width: 70px;
        height: 70px;
        padding: 18px;
    }
}

/* Gallery Section */
.gallery {
    padding: 8rem 0;
    background-color: var(--bg-light);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    aspect-ratio: 4/5;
    border-radius: 16px;
    cursor: pointer;
}

.gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

/* Social link in gallery */
.gallery-follow {
    text-align: center;
    margin-top: 4rem;
}

.gallery-follow a {
    color: var(--secondary);
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 2px;
    font-size: 0.9rem;
    font-weight: 500;
    position: relative;
}

.gallery-follow a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 1px;
    background: currentColor;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.gallery-follow a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}


/* Reservation Section */
.reservation {
    background-color: var(--bg-color);
    position: relative;
    overflow: hidden;
}

.reservation::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('images/palmLeavesBackground.png');
    background-size: 1000px; /* Optimized for sharp resolution */
    background-repeat: repeat;
    background-position: center;
    opacity: 0.15; /* Subtle yet distinct */
    mix-blend-mode: multiply; /* Integrates leaves into the warm cream bg */
    z-index: 0;
    pointer-events: none;
}

.reservation .container {
    position: relative;
    z-index: 1;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-light);
    padding: 5rem;
    box-shadow: 0 30px 60px rgba(0,0,0,0.03);
    border-radius: 16px;
    border: 1px solid rgba(139, 94, 60, 0.15);
}

.form-row {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-group {
    flex: 1;
    position: relative;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(139, 94, 60, 0.3);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--text-dark);
    transition: all 0.3s;
}

.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--secondary);
}

.form-group label {
    position: absolute;
    top: 1rem;
    left: 0;
    font-size: 0.9rem;
    color: rgba(42,42,42,0.6);
    pointer-events: none;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Floating labels */
.form-group input:focus ~ label,
.form-group input:valid ~ label,
.form-group select:focus ~ label,
.form-group select:valid ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:valid ~ label {
    top: -12px;
    font-size: 0.75rem;
    color: var(--secondary);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
    margin-top: 1rem;
}

.submit-btn {
    width: 100%;
    border: none;
    cursor: pointer;
    margin-top: 2rem;
    background-color: var(--primary);
    color: var(--bg-light);
}

.submit-btn:hover {
    background-color: var(--secondary);
    color: var(--bg-light);
}

/* Contact / Footer Section */
.footer {
    background: #111;
    color: var(--bg-color);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 4rem;
    max-width: 1200px;
    margin: 0 auto 4rem;
    padding: 0 5%;
}

.footer-col h4 {
    color: var(--bg-light);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-col p, .footer-col a {
    color: rgba(245, 235, 221, 0.7);
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.8;
    display: block;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-col a:hover {
    color: var(--secondary);
}

.footer-logo {
    font-family: var(--font-heading);
    font-size: 3rem;
    color: var(--bg-light);
    line-height: 1;
    margin-bottom: 1rem;
}

.footer-bottom {
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 2rem;
    margin-top: 2rem;
    font-size: 0.85rem;
    color: rgba(245, 235, 221, 0.5);
}

/* Menu Highlights Section */
.menu-highlights {
    background-color: var(--bg-light);
    padding: 8rem 0;
}

.menu-carousel {
    display: flex;
    overflow-x: auto;
    gap: 2rem;
    padding: 1rem 0 3rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
}

.menu-card {
    flex: 0 0 calc(33.333% - 1.35rem);
    min-width: 300px;
    background: var(--bg-color);
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.menu-nav-btn {
    background: none;
    border: 1px solid var(--secondary);
    color: var(--secondary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.menu-nav-btn:hover {
    background: var(--secondary);
    color: #fff;
}

.menu-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.menu-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
}

.menu-img-wrapper {
    height: 250px;
    overflow: hidden;
}

.menu-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.menu-card:hover .menu-img-wrapper img {
    transform: scale(1.05);
}

.menu-info {
    padding: 2rem;
    text-align: center;
}

.menu-info h4 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.menu-info p {
    font-size: 0.95rem;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.menu-info .price {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--secondary);
    font-weight: 600;
}

.menu-swipe-indicator {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.85rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Testimonials */
.testimonials {
    background-color: var(--bg-color);
    padding: 8rem 0;
    text-align: center;
}

.testimonial-box {
    background: var(--bg-light);
    max-width: 900px;
    margin: 0 auto;
    padding: 5rem 4rem;
    border: 1px solid rgba(139, 94, 60, 0.2);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(139, 94, 60, 0.05);
    position: relative;
    z-index: 10;
}

.testimonial-slider {
    position: relative;
    width: 100%;
    min-height: 280px;
}

.testimonial-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transform: translateX(20px);
    transition: all 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.testimonial-slide.active {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

.stars {
    color: var(--secondary);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 5px;
}

.quote {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-style: italic;
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 2rem;
}

.author {
    font-size: 1rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.slider-controls {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.testi-btn {
    background: transparent;
    border: 1px solid var(--primary);
    color: var(--primary);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.testi-btn.prev-btn {
    transform: rotate(180deg);
}

.testi-btn:hover {
    background: var(--primary);
    color: var(--bg-light);
}

/* Instagram Feed Placeholder */
.instagram-feed {
    background-color: var(--bg-color);
    padding: 8rem 0;
}

.ig-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.ig-marquee-track {
    display: flex;
    width: max-content;
    animation: scroll-left 40s linear infinite;
}

.ig-marquee-track:hover {
    animation-play-state: paused;
}

.ig-item {
    position: relative;
    width: 300px;
    height: 300px;
    overflow: hidden;
    display: block;
    flex-shrink: 0;
}

@keyframes scroll-left {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.ig-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}

.ig-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.ig-overlay img {
    width: 32px;
    height: 32px;
}

.ig-item:hover img {
    transform: scale(1.05);
}

.ig-item:hover .ig-overlay {
    opacity: 1;
}

/* FAQs Section */
.faq {
    background-color: var(--bg-light);
    padding: 8rem 0;
}

.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid rgba(139, 94, 60, 0.2);
}

.faq-question {
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    padding: 2rem 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s;
}

.faq-question:hover {
    color: var(--secondary);
}

.faq-icon {
    font-family: var(--font-body);
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding-bottom: 2rem;
}

.faq-answer p {
    color: var(--text-dark);
    opacity: 0.8;
}

/* Animations Triggered by JS */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.25, 1, 0.5, 1), transform 1.2s cubic-bezier(0.25, 1, 0.5, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 992px) {
    .about-grid, .form-row {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    .about-images {
        height: 500px;
        order: -1;
    }
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero h1 {
        font-size: 4rem;
    }
}

@media (max-width: 768px) {
    .mobile-menu-btn {
        display: block;
    }
    .nav-links {
        position: fixed;
        top: 0; left: 0; width: 100%; height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 2rem;
        transform: translateY(-100%);
        transition: transform 0.4s ease;
        z-index: 1000;
    }
    .nav-links.active {
        transform: translateY(0);
    }
    .nav-links a {
        color: var(--primary);
        font-size: 1.5rem;
    }
    header.scrolled .hamburger, .nav-links.active ~ .mobile-menu-btn .hamburger {
        background: var(--primary);
    }
    .nav-links.active ~ .mobile-menu-btn .hamburger::before {
        transform: rotate(45deg); top: 0; background: var(--primary);
    }
    .nav-links.active ~ .mobile-menu-btn .hamburger::after {
        transform: rotate(-45deg); top: 0; background: var(--primary);
    }
    .nav-links.active ~ .mobile-menu-btn .hamburger {
        background: transparent !important;
    }
    

    .nav-right {
        order: -1;
        gap: 1rem;
    }
    .nav-container {
        justify-content: flex-start;
        gap: 1rem;
    }
    .mobile-menu-btn {
        margin-left: auto;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .form-container {
        padding: 3rem 1.5rem;
    }
    .ig-item {
        width: 180px;
        height: 180px;
    }
    .quote {
        font-size: 1.4rem;
    }
    .menu-card {
        flex: 0 0 280px;
    }
}

/* ====== NEW OVERRIDES START ====== */
.mobile-only { display: none; }
.hide-mobile { display: inline; }

@media (max-width: 768px) {
    /* Mobile-only text toggles */
    .mobile-only { display: inline; }
    .hide-mobile { display: none; }

    /* Lang switcher up and down */
    .lang-switcher {
        flex-direction: column;
        gap: 0.2rem;
    }
    .lang-separator {
        display: none;
    }

    /* Hamburger brown color */
    .hamburger, .hamburger::before, .hamburger::after {
        background-color: var(--primary) !important;
    }
    .nav-links.active ~ .mobile-menu-btn .hamburger {
        background-color: transparent !important;
    }

    /* Remove arrows in menu highlights */
    .menu-controls {
        display: none;
    }

    /* Fix testimonial arrows overlap */
    .testimonial-box {
        padding: 3rem 1.5rem;
    }
    .quote {
        font-size: 1.15rem;
    }

    /* Target all Section Titles to be uniformly smaller */
    .section-title {
        font-size: 2.2rem;
    }

    /* Title size reduction for instagram */
    .instagram-feed .section-title {
        font-size: 1.8rem;
    }

    /* Form title sizes and prevent overlap */
    .form-group label {
        font-size: 0.72rem;
    }
    .form-group input:focus ~ label,
    .form-group input:valid ~ label,
    .form-group select:focus ~ label,
    .form-group select:valid ~ label,
    .form-group textarea:focus ~ label,
    .form-group textarea:valid ~ label {
        top: -20px;
        font-size: 0.6rem;
    }

    /* Greek Discover button size */
    html[lang="el"] .hero .btn {
        font-size: 0.75rem;
        padding: 1rem 2rem;
    }

    /* Home page restructuring for phones */
    .hero {
        align-items: stretch;
    }
    .hero-content {
        display: flex;
        flex-direction: column;
        height: 100%;
        width: 100%;
        padding-top: 100px;
        padding-bottom: 50px;
        box-sizing: border-box;
    }
    /* Subtitle stays near the top */
    .hero-subtitle {
        margin-top: 0;
        margin-bottom: 0;
    }
    /* Logo (h1) shifts to the center of the screen */
    .hero h1 {
        margin-top: auto;
        margin-bottom: 0.5rem;
    }
    /* Description sits under logo */
    .hero-description {
        margin-bottom: 0;
    }
    /* Button pushed to the very bottom */
    .hero .btn {
        margin-top: auto;
        align-self: center;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0.9rem 2rem;
        font-size: 0.78rem;
    }

    /* Center logo in navbar on mobile - shifting back slightly left to 54% */
    .logo {
        position: absolute;
        left: 54%; /* Adjusted from 58% as requested */
        transform: translateX(-50%);
        z-index: 10;
    }

    /* Hide toggle when menu is active */
    header.menu-open .mode-toggle {
        opacity: 0;
        pointer-events: none;
        visibility: hidden;
    }
}

@media (max-width: 480px) {
    /* SALOON gets smaller in narrow view */
    .hero h1 {
        font-size: 2.8rem;
    }
}
/* ====== NEW OVERRIDES END ====== */

/* ── LUXURY UPGRADES ── */

/* --- Splash Screen --- */
.splash-screen {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: var(--bg-light);
    z-index: 99999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
body.dark-mode .splash-screen {
    background: var(--bg-light);
}
.splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}
.splash-content {
    text-align: center;
    z-index: 2;
    padding: 0 20px;
    width: 100%;
}
.splash-welcome {
    font-family: 'Great Vibes', cursive;
    font-size: 48px;
    color: var(--primary);
    margin-bottom: -10px;
    transform: translateY(20px);
    opacity: 0;
    animation: splashFadeUp 1s ease forwards 0.3s;
}
body.dark-mode .splash-welcome {
    color: var(--secondary);
}
.splash-logo {
    font-family: var(--font-heading);
    font-size: clamp(40px, 12vw, 58px);
    font-weight: 300;
    color: var(--primary);
    letter-spacing: 3px;
    white-space: nowrap;
    transform: scale(0.9);
    opacity: 0;
    animation: splashZoomIn 1.2s ease forwards 0.8s;
}
body.dark-mode .splash-logo {
    color: var(--secondary);
}
.splash-logo svg {
    margin: 0 5px;
    animation: gentlePulse 2s infinite ease-in-out;
}
.splash-view {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50vh; /* Allow plenty of room for waves to rise without clipping */
    overflow: hidden; 
    z-index: 1;
    pointer-events: none;
}
.splash-water {
    position: absolute;
    background: rgba(139, 94, 60, 0.15); /* var(--primary) with opacity */
    width: 4000px;
    height: 4000px;
    left: 50%;
    margin-left: -2000px;
    bottom: -3960px;
    border-radius: 40%;
    animation: tideRot 30s infinite linear;
}
body.dark-mode .splash-water {
    background: rgba(212, 169, 106, 0.15); /* var(--secondary) with opacity */
}
.splash-water:nth-child(2) {
    background: rgba(139, 94, 60, 0.08);
    bottom: -3930px;
    border-radius: 43%;
    animation: tideRot 35s infinite linear;
}
body.dark-mode .splash-water:nth-child(2) {
    background: rgba(212, 169, 106, 0.08);
}
.splash-water:nth-child(3) {
    background: rgba(139, 94, 60, 0.04); 
    bottom: -3900px;
    border-radius: 45%;
    animation: tideRot 40s infinite linear;
}
body.dark-mode .splash-water:nth-child(3) {
    background: rgba(212, 169, 106, 0.04);
}
@keyframes tideRot {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
@keyframes splashFadeUp {
    to { opacity: 1; transform: translateY(0); }
}
@keyframes splashZoomIn {
    to { opacity: 1; transform: scale(1); }
}
@keyframes splashPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}
@keyframes gentlePulse {
    0%, 100% { opacity: 0.8; transform: scale(0.95); }
    50% { opacity: 1; transform: scale(1.05); }
}

/* Custom Luxury Cursor */
.cursor-dot {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 100000;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background-color 0.3s;
}
.cursor-ring {
    width: 36px;
    height: 36px;
    border: 1px solid rgba(139, 94, 60, 0.5);
    border-radius: 50%;
    position: fixed;
    top: 0; left: 0;
    pointer-events: none;
    z-index: 99999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, border-color 0.3s, opacity 0.3s;
}
body.dark-mode .cursor-ring {
    border-color: rgba(212, 169, 106, 0.5);
}

/* Hover state for custom cursor */
body.hovering .cursor-dot {
    width: 8px;
    height: 8px;
    background-color: var(--secondary);
}
body.hovering .cursor-ring {
    width: 50px;
    height: 50px;
    border-color: var(--secondary);
    opacity: 0.5;
}
/* Hide default cursor on desktop */
@media (min-width: 1024px) {
    body, a, button, .gallery-item {
        cursor: none !important;
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 10;
    opacity: 0.8;
}
.scroll-text {
    font-family: var(--font-body);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: #fff;
    margin-bottom: 15px;
    animation: gentlePulse 2s infinite ease-in-out;
}
.scroll-line {
    width: 1px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    position: relative;
    overflow: hidden;
}
.scroll-line::before {
    content: '';
    position: absolute;
    top: -100%; left: 0; width: 100%; height: 100%;
    background: #fff;
    animation: scrollDrop 2s infinite cubic-bezier(0.77, 0, 0.175, 1);
}
@keyframes scrollDrop {
    0% { top: -100%; }
    100% { top: 100%; }
}

/* Enhanced Glassmorphism for Experience Cards */
.exp-card {
    backdrop-filter: blur(12px) saturate(180%);
    -webkit-backdrop-filter: blur(12px) saturate(180%);
    background: rgba(255, 249, 240, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 15px 35px rgba(139, 94, 60, 0.05);
}
body.dark-mode .exp-card {
    background: rgba(20, 20, 20, 0.6) !important;
    border: 1px solid rgba(212, 169, 106, 0.15) !important;
}

/* Enhancing Gallery Hover for Magnetic Effect */
.gallery-item {
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease;
}
.gallery-item:hover {
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    z-index: 2;
}
