:root {
    --bg: #f8f9fa;
    --bg-accent: #ffffff;
    --text-primary: #1a1a1c;
    --text-secondary: #6c757d;
    --border: rgba(0, 0, 0, 0.05);
    --border-bright: rgba(0, 0, 0, 0.1);
    --accent: #212529;
    --accent-hover: #000000;
    --glass: rgba(255, 255, 255, 0.3);
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Outfit', sans-serif;
    --transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

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

html {
    scroll-behavior: smooth;
}

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


/* ---- NAVBAR ---- */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 1.5rem 5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: transparent !important;
    border-bottom: none !important;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 1rem 5rem;
    background: rgba(255, 255, 255, 0.05) !important;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(0, 0, 0, 0.05) !important;
    box-shadow: var(--glass-shadow);
}

.logo {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem;
    font-family: var(--font-body);
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 4px;
    color: var(--text-primary);
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.logo:hover {
    transform: scale(1.02);
}

.navbar-logo-img {
    height: 40px;
    width: auto;
    object-fit: contain;
    transition: var(--transition);
}

.logo:hover .navbar-logo-img {
    transform: scale(1.1);
}

.nav-links {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #ffffff !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -10px 0 50px rgba(0, 0, 0, 0.15);
    z-index: 10000 !important;
    margin: 0;
    padding: 0;
    list-style: none;
    pointer-events: none;
}

.nav-links.active {
    transform: translateX(0) !important;
    pointer-events: auto;
}

/* MENU TOGGLE (HAMBURGER) */
.menu-toggle {
    display: flex; /* Always visible */
    flex-direction: column;
    justify-content: space-between;
    width: 25px;
    height: 18px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.menu-toggle span {
    width: 100%;
    height: 2px;
    background-color: var(--text-primary);
    border-radius: 10px;
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px);
}

.menu-toggle.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.nav-links a {
    color: #111 !important;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--text-primary);
}

/* Base Responsive Typography */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(2.5rem, 10vw, 4rem) !important;
        line-height: 1.1 !important;
    }

    h2 {
        font-size: clamp(2rem, 8vw, 3rem) !important;
    }

    .navbar {
        padding: 1rem 1.5rem !important;
    }

    .navbar.scrolled {
        padding: 0.8rem 1.5rem !important;
    }

    .logo {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }
    /* MOBILE MENU ACTIVE STATE */
    .navbar {
        padding: 1rem 1.5rem !important;
    }

    .navbar.scrolled {
        padding: 0.8rem 1.5rem !important;
    }

    .hero p {
        font-size: 0.8rem !important;
        letter-spacing: 3px !important;
    }
}

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

/* ---- HERO ---- */
.hero {
    margin-top: 80px;
    /* Offset to push video below navbar */
    height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    overflow: hidden;
    background-color: var(--bg); /* Fallback background */
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    object-fit: cover;
    z-index: 1; /* Behind overlay but above hero bg */
    will-change: transform, opacity;
    transform: translate3d(-50%, -50%, 0);
    /* Force GPU acceleration */
    opacity: 1 !important; /* Force visibility */
    transition: opacity 1.5s ease-out;
}

.hero-actions {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.sound-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 255, 255, 0.9);
    /* Almost solid white for high contrast */
    border: 2px solid #fff;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #111;
    /* Dark text for readability on white */
    font-size: 15px;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.sound-toggle-btn:hover {
    background: #ffffff;
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    color: #00cec9;
    /* Teal accent on hover */
}

/* Specific style for Mute button if it needs to be different */
#unmute-btn {
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.2);
}

#unmute-btn.active {
    background: rgba(45, 212, 191, 0.9);
    border-color: #2dd4bf;
    color: #fff;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.3) !important;
    /* Light overlay for black text */
    z-index: 2; /* ABOVE video, BELOW content */
    transition: background 0.1s ease-out;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 5%;
    pointer-events: none;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s ease-out, opacity 0.1s ease-out;
}

.hero-content > * {
    pointer-events: auto;
}

.hero-label {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: #000000;
    margin-bottom: 2rem;
    opacity: 0;
    animation: fadeIn 1s ease forwards 0.1s;
}

.hero-content h1 {
    font-family: var(--font-accent);
    font-size: clamp(3rem, 8vw, 7rem);
    font-weight: 700;
    letter-spacing: -1px;
    color: #000000;
    line-height: 0.9;
    margin-bottom: 2.5rem;
    opacity: 0;
    transform: translateY(40px);
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards 0.3s;
    -webkit-font-smoothing: antialiased;
}

.hero-content p {
    font-size: 0.85rem;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--accent);
    opacity: 0;
    animation: fadeIn 1s ease forwards 1s;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-top: 5rem;
    color: #111;
    opacity: 0;
    animation: fadeIn 1s ease forwards 1.2s;
}

.scroll-indicator span {
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    opacity: 0.8;
}

.scroll-indicator svg {
    width: 32px;
    height: 32px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
    40% {transform: translateY(-10px);}
    60% {transform: translateY(-5px);}
}

@keyframes scrollDown {
    0% { transform: translateY(-100%); }
    100% { transform: translateY(150%); }
}

/* ---- HOME PORTAL (STANDALONE VIEW) ---- */
#main-content {
    transition: opacity 0.6s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 1;
    transform: scale(1);
}

#main-content.hidden {
    opacity: 0;
    transform: scale(0.98);
    pointer-events: none;
    height: 100vh;
    overflow: hidden;
}

.home-portal.standalone-view {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 15000;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.home-portal.standalone-view.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    width: 100%;
    max-width: 1300px;
}

.portal-card {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 3.5rem 2rem;
    border-radius: 32px;
    text-align: center;
    cursor: pointer;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 10px 40px rgba(0,0,0,0.02);
}

.portal-card:hover {
    transform: translateY(-15px) scale(1.02);
    background: #ffffff;
    border-color: #111;
    box-shadow: 0 30px 60px rgba(0,0,0,0.08);
}

.portal-icon {
    width: 70px;
    height: 70px;
    background: #f0f0f0;
    border-radius: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #111;
    transition: all 0.4s ease;
}

.portal-card:hover .portal-icon {
    background: #111;
    color: #fff;
    transform: rotate(-10deg) scale(1.1);
}

.portal-card h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: #111;
    margin: 0;
    letter-spacing: -0.5px;
}

.portal-card p {
    font-size: 1rem;
    color: #666;
    margin: 0;
    line-height: 1.6;
    font-weight: 300;
}

/* responsive */
@media (max-width: 1024px) {
    .portal-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .home-portal {
        padding: 5rem 5%;
        min-height: auto;
    }
    .portal-grid {
        gap: 1.5rem;
    }
    .portal-card {
        padding: 2.5rem 1.5rem;
        border-radius: 24px;
    }
    .portal-card h3 {
        font-size: 1.3rem;
    }
    .portal-card p {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .portal-grid {
        grid-template-columns: 1fr;
    }
    .portal-card {
        flex-direction: row;
        text-align: left;
        padding: 1.5rem;
        gap: 1.2rem;
    }
    .portal-icon {
        width: 50px;
        height: 50px;
        flex-shrink: 0;
    }
    .portal-card p {
        display: none;
    }
}

/* ---- SECTION LABEL ---- */
.section-label {
    padding: 8rem 5rem 3rem;
    text-align: center;
}

.section-label span {
    font-size: 0.7rem;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: var(--accent);
    font-weight: 600;
}

/* ---- DESTINATIONS ---- */
.destinations {
    padding: 0 5vw 10rem;
}

/* Each card: image + text side by side */
.dest-card {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    min-height: auto;
    margin-bottom: 6rem;
    gap: 3rem;
    align-items: center;
}

@media (max-width: 900px) {
    .dest-card {
        grid-template-columns: 1fr;
        gap: 2rem;
        margin-bottom: 4rem;
    }
    
    .dest-card--reverse {
        direction: ltr; /* Reset direction on mobile to keep image on top */
    }
}

.dest-card--reverse {
    direction: rtl;
    /* flips the column order */
}

.dest-card--reverse>* {
    direction: ltr;
    /* restore text direction inside */
}

/* Image side */
.dest-image {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 16/9;
    background: #e9ecef;
    box-shadow: var(--glass-shadow);
    border: 1px solid var(--border);
    border-radius: 4px;
}

.dest-image img {
    width: 100%;
    height: 110%;
    /* Extra height for parallax */
    object-fit: cover;
    display: block;
    transition: transform 0.1s linear;
    /* Smooth parallax tracking */
}

.dest-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 70%, rgba(255, 255, 255, 0.2));
    pointer-events: none;
}

.dest-badge {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: var(--glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 0.6rem 1.2rem;
    border: 1px solid var(--border-bright);
    border-radius: 50px;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--text-primary);
    z-index: 10;
    box-shadow: var(--glass-shadow);
}

/* Text side */
.dest-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

@media (max-width: 768px) {
    .dest-info {
        padding: 1rem 0;
    }
}

.dest-tag {
    font-size: 0.7rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.dest-info h2 {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 5vw, 5rem);
    font-weight: 700;
    letter-spacing: -1px;
    line-height: 1;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.feature-badges {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.feature-badge {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.5rem 1rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: #bfa14e;
    /* Refined golden/bronze tone */
    font-size: 0.65rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 4px;
}

.feature-badge--buffet::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23bfa14e' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 20h20'/%3E%3Cpath d='M20 20v-5c0-4.4-3.6-8-8-8s-8 3.6-8 8v5'/%3E%3Cpath d='M12 7V4'/%3E%3Cpath d='M11 4h2'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-badge--secondary {
    background: rgba(55, 135, 212, 0.08);
    /* Sophisticated subtle blue */
    border: 1px solid rgba(55, 135, 212, 0.15);
    color: #4e86bf;
}

.feature-badge--secondary::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234e86bf' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 9l9-7 9 7v11a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpolyline points='9 22 9 12 15 12 15 22'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-badge--extra {
    background: rgba(55, 212, 135, 0.08);
    /* Sophisticated subtle green/mint */
    border: 1px solid rgba(55, 212, 135, 0.15);
    color: #4ebf86;
}

.feature-badge--extra::before {
    content: '';
    width: 16px;
    /* Slightly larger for visibility */
    height: 16px;
    /* Clearer Jet Ski / Speedboat icon */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 17c.6.5 1 .7 1.6.7 1.2 0 1.8-1 2.4-2s1.2-2 2.4-2c1.2 0 1.8 1 2.4 2s1.2 2 2.4 2 1.8-1 2.4-2 1.2-2 2.4-2c.6 0 1 .2 1.6.7'/%3E%3Cpath d='M8 10l-1-2-4 1 2 4h10l3-5-10 2z'/%3E%3Cpath d='M11 8l1-3h2l-1 3'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.feature-badge--seats {
    background: rgba(220, 53, 69, 0.08);
    /* Subtle red */
    border: 1px solid rgba(220, 53, 69, 0.15);
    color: #dc3545;
}

.feature-badge--seats::before {
    content: '';
    width: 14px;
    height: 14px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23dc3545' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M20 21a8 8 0 0 0-16 0'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
}

.buy-seats-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    padding: 1.2rem 3rem;
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    margin-top: 1.5rem;
    transition: var(--transition);
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.buy-seats-btn svg {
    transition: transform 0.4s ease;
}

.buy-seats-btn:hover svg {
    transform: translateX(3px);
}

@media (max-width: 768px) {
    .buy-seats-btn {
        padding: 1.2rem 2.5rem;
        font-size: 0.75rem;
        letter-spacing: 2px;
        width: 100%; /* Full width on mobile for better tap target */
    }
}

.center-cta {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-top: 4rem;
    padding: 2rem 0;
}

.cta-group {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

/* Center elements on desktop */
@media (min-width: 901px) {
    .cta-group {
        align-items: flex-start;
        max-width: 460px;
    }
}

.buy-seats-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.dest-info p {
    font-size: 1.05rem;
    line-height: 1.8;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 460px;
    margin-bottom: 3rem;
}

.dest-link {
    font-size: 0.75rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    position: relative;
    display: inline-block;
    padding: 1rem 0;
    border: none;
    background: none;
    text-align: left;
}

.dest-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.dest-link:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

/* ---- EXPERIENCE SECTION ---- */
.content-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: var(--bg-accent);
}

.footer-cta {
    justify-content: center;
    text-align: center;
    min-height: 70vh;
    background: var(--bg);
}

/* ---- TEXT BLOCKS ---- */
.text-block {
    max-width: 650px;
}

.text-block.center {
    max-width: 700px;
    margin: 0 auto;
}

.text-block h2 {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 400;
    letter-spacing: -2px;
    margin-bottom: 2rem;
    line-height: 1.1;
    color: var(--text-primary);
}

.text-block p {
    font-size: 1.1rem;
    line-height: 1.9;
    font-weight: 300;
    color: var(--text-secondary);
}

/* ---- REVEAL ANIMATION ---- */
.reveal,
.dest-card {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1),
        transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible,
.dest-card.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ---- CTA BUTTON ---- */
.cta-button {
    background: var(--accent);
    color: #fff;
    border: none;
    padding: 1.2rem 4rem;
    font-family: var(--font-body);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
    cursor: none;
    margin-top: 3rem;
    transition: var(--transition);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.cta-button:hover {
    background: var(--accent-hover);
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

/* ---- KEYFRAMES ---- */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

@keyframes scrollDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(250%);
    }
}

/* ---- DESTINATION DETAILS OVERLAY ---- */
.details-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg);
    z-index: 200;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.details-overlay.active {
    opacity: 1;
    visibility: visible;
}

#world-canvas {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: -1;
    opacity: 0.2;
    pointer-events: none;
}

.details-content {
    max-width: 1100px;
    width: 90%;
    padding: 6rem 2rem;
    text-align: center;
    transform: translateY(60px);
    transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    max-height: 90vh;
    overflow-y: auto;
    scrollbar-width: none;
}

@media (max-width: 768px) {
    .details-content {
        padding: 4rem 1.5rem;
        width: 100%;
    }
}

.details-overlay.active .details-content {
    transform: translateY(0);
}

.details-tag {
    font-size: 0.8rem;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--accent);
    display: block;
    margin-bottom: 2rem;
    font-weight: 700;
}

#details-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 6rem);
    font-weight: 400;
    letter-spacing: -2px;
    line-height: 1;
    margin-bottom: 2.5rem;
    color: var(--text-primary);
}

.details-body {
    font-size: 1.2rem;
    line-height: 1.9;
    font-weight: 300;
    color: var(--text-secondary);
    max-width: 800px;
    margin: 0 auto 5rem;
}

/* ---- ENRICHED GALLERY ---- */
.details-gallery {
    display: flex;
    gap: 20px;
    margin-bottom: 5rem;
    overflow-x: auto;
    padding-bottom: 20px;
    scrollbar-width: none;
    /* Hide scrollbar Firefox */
}

.details-gallery::-webkit-scrollbar {
    display: none;
    /* Hide scrollbar Chrome/Safari */
}

.details-gallery img {
    height: 300px;
    object-fit: cover;
    border-radius: 4px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

@media (max-width: 768px) {
    .details-gallery img {
        flex: 0 0 280px;
        height: 200px;
    }
}

/* ---- INFO GRID ---- */
.details-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    text-align: left;
    border-top: 1px solid var(--border);
    padding-top: 4rem;
    margin-top: 2rem;
}

.info-item h3 {
    font-size: 0.8rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.info-item ul {
    list-style: none;
}

.info-item ul li {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 0.8rem;
    font-weight: 300;
    position: relative;
    padding-left: 1.5rem;
}

.info-item ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    width: 6px;
    height: 1px;
    background: var(--text-secondary);
}

.info-item p {
    font-size: 1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    font-weight: 300;
}

.close-details {
    position: absolute;
    top: 3rem;
    right: 5rem;
    background: none;
    border: none;
    font-size: 3rem;
    font-weight: 200;
    color: var(--text-primary);
    cursor: pointer;
    line-height: 1;
    padding: 1rem;
    z-index: 210;
    transition: transform 0.3s ease;
}

.close-details:hover {
    transform: rotate(90deg);
}

/* Update dest-link to button reset */
button.dest-link {
    background: none;
    border: none;
    padding: 0;
    padding-bottom: 3px;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
}

@media (max-width: 900px) {
    .details-info-grid {
        grid-template-columns: 1fr !important;
        gap: 2rem !important;
        padding-top: 2rem !important;
    }

    .details-gallery img {
        flex: 0 0 300px;
        height: 200px;
    }

    .details-content {
        padding: 5rem 1.5rem;
    }
}

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .navbar {
        padding: 1rem 1.5rem;
        background: rgba(255, 255, 255, 0.9);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
    }

    .hero {
        margin-top: 60px;
        height: calc(100vh - 60px);
    }

    .hero-content h1 {
        font-size: 2.5rem;
        padding: 0 1rem;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
        padding: 0 2rem;
        gap: 10px;
    }

    .sound-toggle-btn {
        width: 100%;
        justify-content: center;
    }

    .section-label {
        padding: 3rem 1.5rem 1.5rem;
    }

    .destinations {
        padding: 0 0 5rem;
    }

    .dest-card {
        grid-template-columns: 1fr;
        grid-template-rows: 60vw auto;
        direction: ltr !important;
    }

    .dest-image {
        height: 60vw;
    }

    .dest-info {
        padding: 2.5rem 1.5rem 3rem;
    }

    .feature-badges {
        flex-wrap: wrap;
    }

    .content-section {
        padding: 4rem 1.5rem;
    }

    .close-details {
        top: 1rem;
        right: 1rem;
        width: 44px;
        height: 44px;
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-content h1 {
        font-size: 2rem;
    }

    .hero-label {
        font-size: 0.8rem;
    }

    .dest-info h2 {
        font-size: 1.5rem;
    }
}

/* ---- HOTEL OVERLAY ---- */
.hotel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hotel-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.hotel-modal {
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    /* Ensure it fits the screen */
    background: var(--glass);
    border: 1px solid var(--border-bright);
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    transform: translateY(40px);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
}

.hotel-overlay.active .hotel-modal {
    transform: translateY(0) scale(1);
}

.hotel-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    border: 1px solid var(--border-dim);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.hotel-close:hover {
    transform: rotate(90deg);
    background: #000;
    color: #fff;
}

.hotel-content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 550px;
    /* Balanced height for desktop */
}

.hotel-gallery {
    height: 100%;
    background: #000;
    position: relative;
    overflow: hidden;
}

.hotel-active-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 0.5s ease;
}

.gallery-nav {
    position: absolute;
    bottom: 1.5rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.8rem;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1rem;
    border-radius: 20px;
}

.nav-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: var(--transition);
}

.nav-dot.active {
    background: #000;
    transform: scale(1.2);
}

/* Gallery Arrows Styling */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #000;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    padding-bottom: 5px;
    /* Visual centering of chevron */
}

.gallery-arrow:hover {
    background: #4ebf86;
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.prev-arrow,
.snorkel-prev,
.jetski-prev,
.boattour-prev,
.kayak-prev,
.buffet-prev {
    left: 1.5rem;
}

.next-arrow,
.snorkel-next,
.jetski-next,
.boattour-next,
.kayak-next,
.buffet-next {
    right: 1.5rem;
}

.hotel-details {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    /* Allow reading long text */
    max-height: 100%;
}

.hotel-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #bfa14e;
    margin-bottom: 1rem;
}

.hotel-details h2 {
    font-family: var(--font-heading);
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.hotel-description {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.hotel-location {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    font-size: 0.9rem;
    color: var(--text-primary);
}

.hotel-location svg {
    width: 20px;
    height: 20px;
    color: #bfa14e;
}

.hotel-map-btn {
    align-self: flex-start;
    padding: 1rem 2rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.hotel-map-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
    .hotel-content-grid {
        grid-template-columns: 1fr;
    }

    .hotel-gallery {
        height: 300px;
    }

    .hotel-details {
        padding: 2.5rem;
    }
}

/* ---- ACTIVITIES OVERLAY ---- */
.activities-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.activities-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.activities-modal {
    width: 90%;
    max-width: 800px;
    background: var(--glass);
    border: 1px solid var(--border-bright);
    border-radius: 20px;
    padding: 4rem;
    position: relative;
    transform: translateY(30px) scale(0.98);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.activities-overlay.active .activities-modal {
    transform: translateY(0) scale(1);
}

.activities-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    border: 1px solid var(--border-dim);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.activities-close:hover {
    transform: rotate(90deg);
    background: #000;
    color: #fff;
}

.activities-header {
    margin-bottom: 3rem;
}

.activities-tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #4ebf86;
    margin-bottom: 1rem;
    display: block;
}

.activities-header h2 {
    font-family: var(--font-heading);
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.activities-header p {
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.activities-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.activity-sticker-btn {
    background: white;
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    cursor: pointer;
    transition: var(--transition);
    width: 100%;
}

.activity-sticker-btn:hover {
    transform: translateY(-10px) rotate(2deg);
    border-color: #4ebf86;
    box-shadow: 0 20px 40px rgba(78, 191, 134, 0.1);
}

.sticker-icon {
    width: 48px;
    height: 48px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.activity-sticker-btn span {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.activities-footer {
    display: flex;
    justify-content: center;
}

.contact-agent-btn {
    padding: 1rem 2.5rem;
    background: #000;
    color: #fff;
    border: none;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--transition);
}

.contact-agent-btn:hover {
    transform: scale(1.05);
}

/* Icons SVG Data for Activities */
.icon-snorkel {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M14 2v15a4 4 0 0 1-4 4H8'/%3E%3Cpath d='M14 5h2a2 2 0 0 1 2 2v2a2 2 0 0 1-2 2h-2'/%3E%3Cpath d='M10 9a3 3 0 1 0 0 6'/%3E%3C/svg%3E");
}

.icon-jetski {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 17c2-1 4-1 6 0s4 1 6 0 4-1 6 0'/%3E%3Cpath d='M4 14l1-4h3l2-2h4l1 2h2l1 4H4z'/%3E%3Cpath d='M10 8V6h2v2'/%3E%3C/svg%3E");
}

.icon-boat {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10a6 6 0 0 1-6 6H8a6 6 0 0 1-6-6'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M12 2v8'/%3E%3Cpath d='M12 2l6 4-6 4'/%3E%3C/svg%3E");
}

.icon-kayak {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 2l-1 9 1 9'/%3E%3Cpath d='M6 8l3 3-3 3'/%3E%3Cpath d='M18 8l-3 3 3 3'/%3E%3Cpath d='M3 12h18'/%3E%3C/svg%3E");
}

/* ---- SNORKEL OVERLAY ---- */
.snorkel-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 20000;
    /* Above activities overlay */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.snorkel-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.snorkel-modal {
    width: 95%;
    max-width: 1100px;
    max-height: 90vh;
    /* Ensure it fits the screen */
    background: var(--glass);
    border: 1px solid var(--border-bright);
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transform: translateY(40px) scale(0.95);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 50px 120px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
}

.snorkel-overlay.active .snorkel-modal {
    transform: translateY(0) scale(1);
}

.snorkel-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    border: 1px solid var(--border-dim);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.snorkel-close:hover {
    transform: rotate(90deg) scale(1.1);
    background: #4ebf86;
    color: white;
    border-color: #4ebf86;
}

.snorkel-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    height: 550px;
    /* Matching hotel height for consistency */
}

.snorkel-media-viewer {
    position: relative;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    overflow: hidden;
}

#snorkel-media-container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-start;
    /* Changed from center to flex-start */
    justify-content: center;
}

.snorkel-active-media {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
    /* Ensure focus is on the top part */
    transition: opacity 0.6s ease;
}

.snorkel-nav {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.8rem 1.2rem;
    border-radius: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.snorkel-dot,
.jetski-dot,
.boattour-dot,
.kayak-dot,
.buffet-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.snorkel-dot.active,
.jetski-dot.active,
.boattour-dot.active,
.kayak-dot.active,
.buffet-dot.active {
    background: #4ebf86;
    transform: scale(1.4);
    box-shadow: 0 0 15px rgba(78, 191, 134, 0.5);
}

.snorkel-info {
    padding: 4rem 5rem;
    /* Adjusted top padding */
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    /* Fix: Start from top to prevent cut-off */
    background: rgba(255, 255, 255, 0.6);
    overflow-y: auto;
    max-height: 100%;
}

.snorkel-tag {
    font-family: var(--font-accent);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #4ebf86;
    margin-bottom: 1.5rem;
}

.snorkel-info h2 {
    font-family: var(--font-heading);
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1rem;
    font-weight: 500;
}

.snorkel-short-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    /* Reduced from 2rem */
    font-weight: 300;
}

.snorkel-info p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-secondary);
    font-weight: 300;
    margin-bottom: 3rem;
}

.snorkel-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.snorkel-features span {
    padding: 0.6rem 1.2rem;
    background: white;
    border: 1px solid var(--border-dim);
    border-radius: 40px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

/* ---- MARINE SPECIES BADGES ---- */
.snorkel-marine-species {
    margin-top: 1rem;
    /* Reduced from 2rem */
    padding-top: 1rem;
    /* Reduced from 1.5rem */
    border-top: 1px solid var(--border-dim);
}

.species-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.species-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1.2rem;
    background: white;
    border: 1px solid var(--border-dim);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.species-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    border-color: #4ebf86;
}

.species-icon {
    width: 32px;
    height: 32px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.species-item span {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* High-Fidelity Fish Icons (Multi-colored SVGs) */
.icon-angel {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M35 20c0-8-6-15-15-15S5 12 5 20s6 15 15 15 15-7 15-15z' fill='%232c3e50'/%3E%3Cpath d='M20 5c-8 0-15 7-15 15s7 15 15 15S35 28 35 20 28 5 20 5z' fill='%233498db'/%3E%3Cpath d='M20 5c-8 0-15 7-15 15s7 15 15 15' fill='%232980b9'/%3E%3Cpath d='M30 15c-3 0-5 2-5 5s2 5 5 5 5-2 5-5-2-5-5-5z' fill='%23f1c40f'/%3E%3Cpath d='M10 18c-1 0-2 1-2 2s1 2 2 2 2-1 2-2-1-2-2-2z' fill='%23ecf0f1'/%3E%3Ccircle cx='10.5' cy='20' r='0.8' fill='%23000'/%3E%3C/svg%3E");
}

.icon-butterfly {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M5 20s8-12 15-12 15 12 15 12-8 12-15 12S5 20 5 20z' fill='%23f1c40f'/%3E%3Ccircle cx='12' cy='20' r='2' fill='%23000'/%3E%3Cpath d='M30 15c1.5 0 2.5 2 2.5 5s-1 5-2.5 5-2.5-2-2.5-5 1-5 2.5-5z' fill='%23000' opacity='0.2'/%3E%3Cpath d='M30 20l5-3v6z' fill='%23e67e22'/%3E%3C/svg%3E");
}

.icon-puffer {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Ccircle cx='20' cy='20' r='14' fill='%23d35400'/%3E%3Ccircle cx='20' cy='22' r='12' fill='%23f39c12'/%3E%3Cpath d='M20 10c-5.5 0-10 4.5-10 10s4.5 10 10 10' fill='%23f1c40f' opacity='0.5'/%3E%3Ccircle cx='28' cy='18' r='1.5' fill='%23fff'/%3E%3Ccircle cx='28.5' cy='18' r='0.6' fill='%23000'/%3E%3Cpath d='M15 12l-1-2M25 12l1-2M15 28l-1 2M25 28l1 2M10 20l-2-1M30 20l2-1' stroke='%23fff' stroke-width='1.5'/%3E%3C/svg%3E");
}

.icon-damselfish {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cpath d='M5 20c8-6 22-6 30 0s-22 6-30 0z' fill='%232980b9'/%3E%3Cpath d='M8 18c-1 0-2 1-2 2s1 2 2 2 2-1 2-2-1-2-2-2z' fill='%23ecf0f1'/%3E%3Ccircle cx='8.5' cy='20' r='0.6' fill='%23000'/%3E%3Cpath d='M25 15l8-5v10z' fill='%233498db'/%3E%3C/svg%3E");
}

.icon-safety {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 22s8-4 8-10V5l-8-3-8 3v7c0 6 8 10 8 10z'/%3E%3C/svg%3E");
}

/* Boat Tour Icons */
.icon-boat-v2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 10a6 6 0 0 1-6 6H8a6 6 0 0 1-6-6'/%3E%3Cpath d='M2 10h20'/%3E%3Cpath d='M12 2v8'/%3E%3Cpath d='M12 2l6 4-6 4'/%3E%3C/svg%3E");
}

.icon-captain {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='8' r='5'/%3E%3Cpath d='M3 21v-2a7 7 0 0 1 7-7h4a7 7 0 0 1 7 7v2'/%3E%3C/svg%3E");
}

/* Kayak Icons */
.icon-kayak-v2 {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 12s2-2 10-2 10 2 10 2l-2 4H4l-2-4z'/%3E%3Cpath d='M6 10V8s0-2 2-2h8s2 0 2 2v2'/%3E%3C/svg%3E");
}

.icon-paddle {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M19 5l-14 14'/%3E%3Cpath d='M4 17l3 3'/%3E%3Cpath d='M17 4l3 3'/%3E%3C/svg%3E");
}

.feature-badge--buffet {
    background: rgba(212, 175, 55, 0.1) !important;
    border: 1px solid rgba(212, 175, 55, 0.2) !important;
    color: #bfa14e !important;
    cursor: pointer;
    transition: all 0.3s ease;
}

.feature-badge--buffet:hover {
    background: rgba(212, 175, 55, 0.2) !important;
    transform: translateY(-2px);
}

/* Buffet Icons */
.icon-coffee {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M18 8h1a4 4 0 0 1 0 8h-1'/%3E%3Cpath d='M2 8h16v9a4 4 0 0 1-4 4H6a4 4 0 0 1-4-4V8z'/%3E%3Cline x1='6' y1='1' x2='6' y2='4'/%3E%3Cline x1='10' y1='1' x2='10' y2='4'/%3E%3Cline x1='14' y1='1' x2='14' y2='4'/%3E%3C/svg%3E");
}

.icon-fruit {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%234ebf86' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='8'/%3E%3Cpath d='M12 4V2'/%3E%3Cpath d='M10 2h4'/%3E%3C/svg%3E");
}

@media (max-width: 900px) {
    .snorkel-content {
        grid-template-columns: 1fr;
        grid-template-rows: 400px auto;
    }

    .snorkel-info {
        padding: 3rem 2rem;
    }

    .snorkel-info h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 600px) {
    .activities-modal {
        padding: 2.5rem 1.5rem;
    }

    .activities-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* ---- BUS SELECTION OVERLAY ---- */
.bus-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9); /* More opaque for better contrast */
    backdrop-filter: blur(10px); /* Slightly less blur for performance and clarity */
    -webkit-backdrop-filter: blur(10px);
    z-index: 9999; /* High but reasonable */
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.bus-overlay.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.bus-modal {
    width: 95%;
    max-width: 1400px;
    height: 92vh;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    overflow: hidden;
    position: relative;
    z-index: 1000000 !important; /* Higher than overlay backdrop */
    transform: translateY(40px) scale(0.98);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.5);
}

.bus-overlay.active .bus-modal {
    transform: translateY(0) scale(1);
}

.close-modal {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    border: 1px solid #eee;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    color: #333;
    font-size: 24px;
    cursor: pointer;
    z-index: 1001;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.close-modal:hover {
    transform: rotate(90deg) scale(1.1);
    background: #000;
    color: #fff;
    border-color: #000;
}

.bus-iframe {
    width: 100%;
    height: 100%;
    border: none;
}
/* --- FINAL MOBILE OVERRIDES (SINGLE ROW FIX) --- */
@media (max-width: 600px) {
    .hero-actions {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 5px !important;
        width: 100% !important;
        padding: 0 10px !important;
    }

    .sound-toggle-btn {
        padding: 12px 18px !important;
        font-size: 13px !important;
        gap: 8px !important;
        flex: 1 !important;
        min-width: 0 !important;
        max-width: 48% !important; /* Larger for 2 items in a row */
        white-space: nowrap !important;
        border-radius: 12px !important;
        justify-content: center !important;
        font-weight: 800 !important;
        letter-spacing: 1px !important;
    }

    .sound-toggle-btn span {
        display: block !important;
    }

    .sound-toggle-btn svg {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0 !important;
    }
}

/* ---- ADMIN VIEW (GLASSMORPHISM PREMIUM) ---- */
.admin-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0f1115;
    z-index: 20000;
    display: none; /* Hidden by default */
    grid-template-columns: 280px 1fr;
    font-family: 'Inter', sans-serif;
    color: #fff;
}

.admin-overlay.active {
    display: grid;
}

/* Sidebar */
.admin-sidebar {
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    display: flex;
    flex-direction: column;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 3rem;
}

.admin-logo img {
    height: 40px;
}

.admin-logo span {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 1px;
}

.admin-nav {
    list-style: none;
    flex-grow: 1;
}

.admin-nav li {
    padding: 1rem;
    margin-bottom: 0.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(255, 255, 255, 0.6);
}

.admin-nav li:hover, .admin-nav li.active {
    background: rgba(45, 212, 191, 0.1);
    color: #2dd4bf;
}

.admin-logout {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 1rem;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.admin-logout:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Main Content Area */
.admin-main {
    padding: 2rem 4rem;
    overflow-y: auto;
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.admin-header h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 2rem;
    margin: 0;
}

.admin-user {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: #2dd4bf;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    color: #000;
}

/* Stats */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 3rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 24px;
}

.stat-card h3 {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    font-family: 'Outfit', sans-serif;
    margin: 0;
}

.stat-label {
    font-size: 0.8rem;
    color: #2dd4bf;
}

/* Tab Content */
.admin-tab-content {
    display: none;
}

.admin-tab-content.active {
    display: block;
    animation: fadeInAdmin 0.5s ease;
}

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

/* Tables */
.admin-section h2 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.01);
    border-radius: 20px;
    overflow: hidden;
}

.admin-table th, .admin-table td {
    padding: 1.2rem;
    text-align: left;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.admin-table th {
    background: rgba(255, 255, 255, 0.02);
    font-size: 0.8rem;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.4);
}

.status-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
}

.status-badge.paid { background: rgba(52, 211, 153, 0.1); color: #34d399; }
.status-badge.pending { background: rgba(251, 191, 36, 0.1); color: #fbbf24; }

.btn-icon {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    font-size: 1.1rem;
    opacity: 0.5;
    transition: opacity 0.3s;
}

.btn-icon:hover { opacity: 1; }

@media (max-width: 1024px) {
    .admin-overlay {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none; /* Mobile admin needs a different nav or simpler view */
    }
    .admin-main {
        padding: 2rem;
    }
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
