:root {
    --primary: #00234b;
    /* Deep Navy */
    --accent: #c5a059;
    /* Gold */
    --gold: #c5a059;
    --text: #333;
    --white: #ffffff;
    --light-bg: #f8f9fa;
    --transition: all 0.3s ease;
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loader-container {
    text-align: center;
    color: var(--white);
}

.boat-svg-container {
    width: 120px;
    height: 60px;
    margin: 0 auto;
    color: var(--accent);
    animation: float 1.5s ease-in-out infinite;
}

.minimal-boat {
    width: 100%;
    height: 100%;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0) rotate(0);
    }

    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

.waves {
    position: relative;
    width: 200px;
    height: 40px;
    margin: 20px auto;
}

.wave {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50% 50% 0 0;
}

.wave:nth-child(1) {
    animation: wave 1.5s linear infinite;
}

.wave:nth-child(2) {
    animation: wave 1.5s linear infinite 0.2s;
    opacity: 0.5;
    bottom: 5px;
}

.wave:nth-child(3) {
    animation: wave 1.5s linear infinite 0.4s;
    opacity: 0.3;
    bottom: 10px;
}

@keyframes wave {
    0% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(1.2);
    }

    100% {
        transform: scaleX(1);
    }
}

.loader-container p {
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 2px;
    margin-top: 20px;
    text-transform: uppercase;
}

#preloader.fade-out {
    opacity: 0;
    visibility: hidden;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    color: var(--text);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
header {
    padding: 15px 0;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: transparent;
    transition: all 0.4s ease;
}

header.scrolled {
    background: rgba(0, 35, 75, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
    /* Slightly smaller on scroll */
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--white);
    letter-spacing: 2px;
}

.logo span {
    font-weight: 300;
    color: var(--accent);
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

/* Hamburger default state (Desktop) */
.hamburger {
    display: none;
}

nav ul li a {
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 1px;
    transition: var(--transition);
}

nav ul li a:hover {
    color: var(--accent);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(rgba(0, 20, 45, 0.6), rgba(0, 20, 45, 0.4)), url('../img/65f0c274b23b29ff19f9bd20c99a2714.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -150%;
    width: 60%;
    height: 100%;
    background: linear-gradient(to right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.4) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: skewX(-25deg);
    animation: shimmer 2s infinite ease-in-out;
}

@keyframes shimmer {
    0% {
        left: -150%;
    }

    100% {
        left: 150%;
    }
}

.hero-content h1 {
    font-size: 64px;
    margin-bottom: 20px;
    max-width: 800px;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 20px;
    margin-bottom: 40px;
    font-weight: 300;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: #b08e4d;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.btn-outline {
    background-color: transparent;
    color: var(--white);
    padding: 15px 40px;
    text-decoration: none;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-radius: 5px;
    border: 1px solid var(--accent);
    transition: var(--transition);
}

.btn-outline:hover {
    background-color: var(--accent);
    color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.hero-ctas {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-top: 40px;
    flex-wrap: wrap;
}

/* Event Banner in Hero */
.event-banner {
    display: none;
    margin-top: 30px;
    padding: 15px 30px;
    border-radius: 50px;
    background: rgba(197, 160, 89, 0.25) !important;
    /* Slightly more opaque gold */
    border: 1px solid var(--gold) !important;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    animation: goldPulse 2s infinite;
    cursor: pointer;
    font-weight: 500;
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

@keyframes goldPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(197, 160, 89, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(197, 160, 89, 0);
    }
}

/* Services Section */
.services {
    padding: 100px 0;
    background-color: var(--light-bg);
}

.section-title {
    text-align: center;
    font-size: 48px;
    margin-bottom: 60px;
    color: var(--primary);
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.card {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.card-img {
    height: 250px;
    background-size: cover;
    background-position: center;
}

.card-body {
    padding: 30px;
}

.card-body h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.card-body p {
    color: #666;
    margin-bottom: 20px;
}

.price {
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 25px;
    font-size: 18px;
}

.btn-reserve {
    width: 100%;
    padding: 12px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 5px;
    font-weight: 600;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: var(--transition);
}

.btn-reserve:hover {
    background: var(--accent);
}

footer {
    padding: 80px 0;
    text-align: center;
    background: var(--primary);
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#total-price {
    font-weight: 700;
    color: var(--accent);
    font-size: 24px;
}

/* Modals */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 20, 40, 0.85);
    backdrop-filter: blur(8px);
    overflow-y: auto;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    margin: 50px auto;
    padding: 50px;
    border-radius: 30px;
    width: 95%;
    max-width: 550px;
    position: relative;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-modal {
    position: absolute;
    right: 30px;
    top: 25px;
    font-size: 32px;
    font-weight: 300;
    color: var(--primary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-modal:hover {
    color: var(--accent);
    transform: rotate(90deg);
}

.modal-body {
    margin-top: 30px;
}

.modal h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 10px;
    text-align: center;
}

#modal-desc {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

/* Forms */
.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--primary);
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    font-family: inherit;
    font-size: 16px;
    outline: none;
    transition: var(--transition);
    background: #fdfdfd;
}

.form-group input:focus,
.form-group select:focus {
    border-color: var(--accent);
    background: #fff;
    box-shadow: 0 5px 15px rgba(197, 160, 89, 0.15);
}

/* Date Picker */
.date-picker-container {
    margin-bottom: 30px;
}

#calendar-input {
    width: 100%;
    padding: 18px;
    border: 1px solid #e1e1e1;
    border-radius: 12px;
    cursor: pointer;
    background: #fff;
    font-weight: 500;
    text-align: center;
    font-size: 18px;
    color: var(--primary);
}

/* Price Summary */
.price-summary {
    background: linear-gradient(135deg, var(--primary), #003a7d);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    margin-top: 30px;
    box-shadow: 0 15px 30px rgba(0, 35, 75, 0.2);
}

.price-summary p {
    font-size: 18px;
    margin-bottom: 20px;
    opacity: 0.9;
}

.price-summary #total-price {
    display: block;
    font-size: 36px;
    margin-bottom: 15px;
}

/* Success Content */
.success-content {
    text-align: center;
}

.success-icon {
    width: 80px;
    height: 80px;
    background: #4CAF50;
    color: white;
    font-size: 40px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.btn-cta {
    display: inline-block;
    background: #25D366;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    margin-top: 20px;
    transition: var(--transition);
}

.btn-cta:hover {
    background: #128C7E;
    transform: scale(1.05);
}

.military-note {
    font-size: 14px;
    color: var(--primary);
    background: rgba(0, 35, 75, 0.05);
    padding: 10px;
    border-radius: 8px;
    text-align: center;
    margin-bottom: 20px;
    font-weight: 500;
}

.time-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 10px;
}

.limit-note {
    font-size: 13px;
    color: #cc0000;
    font-style: italic;
    text-align: center;
    margin-bottom: 20px;
}

/* Floating Badge Enhancement */
.floating-badge {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: linear-gradient(135deg, var(--primary), #003a7d);
    color: var(--white);
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 15px 35px rgba(0, 35, 75, 0.4);
    cursor: pointer;
    z-index: 900;
    transition: var(--transition);
    border: 2px solid var(--accent);
}

.bounce-animation {
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

.badge-icon-container {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.diamond-svg {
    width: 28px;
    height: 28px;
    color: var(--accent);
    z-index: 2;
    filter: drop-shadow(0 0 5px rgba(212, 175, 55, 0.5));
}

.badge-waves {
    position: absolute;
    bottom: -8px;
    width: 40px;
    height: 10px;
    display: flex;
    justify-content: center;
}

.badge-waves span {
    position: absolute;
    width: 100%;
    height: 2px;
    background: var(--accent);
    opacity: 0.8;
    border-radius: 5px;
}

.badge-waves span:nth-child(1) {
    bottom: 0;
    animation: wave-simple 1s infinite;
}

.badge-waves span:nth-child(2) {
    bottom: 3px;
    animation: wave-simple 1s infinite 0.2s;
}

@keyframes wave-simple {

    0%,
    100% {
        transform: scaleX(1);
    }

    50% {
        transform: scaleX(1.3);
    }
}

.legal-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 25px;
}

.legal-links a {
    font-size: 13px;
    color: #888;
    text-decoration: underline;
    transition: var(--transition);
}

.legal-links a:hover {
    color: var(--accent);
}

/* Roulette Styles */
.roulette-content {
    text-align: center;
    max-width: 450px;
}

.roulette-container {
    position: relative;
    width: 320px;
    height: 320px;
    margin: 30px auto;
}

.roulette-pointer {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 35px;
    color: var(--accent);
    z-index: 30;
    filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.4));
}

.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid var(--primary);
    position: relative;
    overflow: hidden;
    transition: transform 5s cubic-bezier(0.1, 0, 0.1, 1);
    box-shadow: 0 10px 40px rgba(0, 35, 75, 0.3);
    background: var(--white);
}

.segment {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    clip-path: polygon(50% 50%, 29.3% 0%, 70.7% 0%);
    display: flex;
    justify-content: center;
    align-items: flex-start;
    padding-top: 35px;
    /* Spacing from the edge */
}

.segment span {
    font-weight: 800;
    font-size: 14px;
    text-transform: uppercase;
    color: var(--primary);
    transform: rotate(0deg);
    display: block;
    width: 80px;
    text-align: center;
    line-height: 1.2;
}

/* 8 slices: 360 / 8 = 45deg. Each segment starts centered at top if rotate is 0 */
.segment:nth-child(1) {
    transform: rotate(0deg);
    background: #ffffff;
}

.segment:nth-child(2) {
    transform: rotate(45deg);
    background: var(--accent);
}

.segment:nth-child(3) {
    transform: rotate(90deg);
    background: #f8f8f8;
}

.segment:nth-child(4) {
    transform: rotate(135deg);
    background: #eeeeee;
}

.segment:nth-child(5) {
    transform: rotate(180deg);
    background: #ffffff;
}

.segment:nth-child(6) {
    transform: rotate(225deg);
    background: #f8f8f8;
}

.segment:nth-child(7) {
    transform: rotate(270deg);
    background: #eeeeee;
}

.segment:nth-child(8) {
    transform: rotate(315deg);
    background: #f2f2f2;
}

.segment.highlight span {
    color: var(--white);
}

.segment:nth-child(2) span {
    color: var(--white);
}

.win-text {
    color: var(--accent);
    margin-top: 20px;
    font-family: 'Playfair Display', serif;
}

#roulette-result p {
    margin: 10px 0 20px;
}

.summary-details-box {
    background: rgba(0, 35, 75, 0.05);
    padding: 25px;
    border-radius: 15px;
    margin: 20px 0;
    line-height: 1.8;
    color: var(--primary);
}

.summary-details-box strong {
    color: var(--accent);
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 40px;
    }

    /* Mobile Navigation */
    nav ul {
        display: flex;
        position: absolute;
        right: 0px;
        top: 100%;
        /* Positions it directly below the header */
        height: 100vh;
        /* Full viewport height */
        background-color: var(--primary);
        flex-direction: column;
        align-items: center;
        width: 50%;
        transform: translateX(100%);
        transition: transform 0.5s ease-in;
        z-index: 1000;
        padding-top: 50px;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.2);
        /* Shadow for depth */
    }

    nav ul.nav-active {
        transform: translateX(0%);
    }

    nav ul li {
        opacity: 0;
        margin-left: 0;
        margin-bottom: 30px;
    }

    @keyframes navLinkFade {
        from {
            opacity: 0;
            transform: translateX(50px);
        }

        to {
            opacity: 1;
            transform: translateX(0);
        }
    }

    /* Hamburger Menu */
    .hamburger {
        display: block;
        cursor: pointer;
    }

    .hamburger .bar {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
        margin: 5px auto;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }

    .hamburger.toggle .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.toggle .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.toggle .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }

    .time-grid {
        grid-template-columns: 1fr;
    }
}

/* Gallery Dots on Cards */
.gallery-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 6px;
    z-index: 2;
}

.gallery-dots span {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease;
}

.gallery-dots span.active {
    background: var(--gold);
    width: 15px;
    border-radius: 10px;
}

/* Full-screen Gallery Modal */
.gallery-modal {
    background-color: rgba(0, 0, 0, 0.95) !important;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.gallery-viewport {
    width: 80%;
    height: 80%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

#gallery-images-container {
    display: flex;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
}

.gallery-image {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-image img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

.close-gallery {
    position: absolute;
    top: 30px;
    right: 40px;
    color: white;
    font-size: 50px;
    cursor: pointer;
    z-index: 1010;
    transition: 0.3s;
    line-height: 1;
}

.close-gallery:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.gallery-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 30px;
    padding: 20px 15px;
    cursor: pointer;
    z-index: 1010;
    border-radius: 8px;
    transition: 0.3s;
    backdrop-filter: blur(5px);
}

.gallery-nav:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--gold);
    color: var(--gold);
}

.gallery-nav.prev {
    left: 40px;
}

.gallery-nav.next {
    right: 40px;
}

.gallery-counter {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    font-family: 'Playfair Display', serif;
    font-size: 18px;
    letter-spacing: 2px;
}

/* Disabled Dates in Calendar */
.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: rgba(255, 0, 0, 0.4) !important;
    background: transparent !important;
    cursor: not-allowed;
    text-decoration: line-through;
}

/* --- Language Switcher Styling --- */
.lang-switch {
    display: flex;
    align-items: center;
    gap: 15px;
}

.lang-switch img {
    width: 32px;
    height: auto;
    cursor: pointer;
    border-radius: 4px;
    opacity: 0.6;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid transparent;
    filter: grayscale(40%);
}

.lang-switch img:hover {
    opacity: 1;
    transform: translateY(-2px);
    filter: grayscale(0%);
}

/* NUCLEAR FIX FOR ROGUE HERO DOTS */
.hero>div:not(.hero-content):not(#preloader),
.gallery-dots,
.hero .gallery-dots {
    display: none !important;
}

.lang-switch img.active {
    opacity: 1;
    border: 2px solid var(--gold);
    box-shadow: 0 0 15px rgba(197, 160, 89, 0.5);
    transform: scale(1.15);
    filter: grayscale(0%);
}