/* styles.css */
/* Base styles and variables */
:root {
    --primary-blue: #0a3d62;
    --secondary-blue: #1e5799;
    --gold-accent: #d4af37;
    --sandy-beige: #f5f5dc;
    --crisp-white: #ffffff;
    --dark-text: #333333;
    --light-text: #f0f0f0;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
    /* This stops the navbar from covering the section titles when you scroll! */
}

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

body {
    font-family: 'Open Sans', sans-serif;
    line-height: 1.6;
    color: var(--dark-text);
    background-color: var(--crisp-white);
}

h1,
h2,
h3,
h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-blue);
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 3px;
    background: var(--gold-accent);
    margin: 0.5rem auto;
}

/* Navbar styles */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    /* Changed these two lines: */
    background-color: rgba(10, 61, 98, 0.85);
    backdrop-filter: blur(10px);
    /* Keep the rest: */
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-logo .logo-text {
    color: var(--crisp-white);
    font-size: 1.8rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    list-style: none;
}

.nav-link {
    color: var(--crisp-white);
    text-decoration: none;
    padding: 0.5rem 1rem;
    transition: var(--transition);
    font-weight: 600;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0px;
    left: 10%;
    width: 80%;
    height: 2px;
    background-color: var(--gold-accent);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s ease;
}

.nav-link:hover,
.nav-link.active-section {
    color: var(--gold-accent);
    background-color: transparent;
}

.nav-link:hover::after,
.nav-link.active-section::after {
    transform: scaleX(1);
}

.nav-cta {
    background: none;
    border: none;
    font: inherit;
    font-weight: 600;
    cursor: pointer;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    border: none;
    padding: 0;
    z-index: 1002;
}

.bar {
    width: 25px;
    height: 3px;
    background-color: var(--crisp-white);
    margin: 3px 0;
    transition: var(--transition);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-left: 0.5rem;
}

.lang-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    font-size: 1.15rem;
    border: 2px solid transparent;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    cursor: pointer;
    padding: 0;
    transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    line-height: 1;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.18);
    transform: scale(1.15);
}

.lang-btn:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 2px;
}

.lang-btn.active {
    border-color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 8px rgba(255, 255, 255, 0.15);
}

/* Hero section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--crisp-white);
    margin-top: 70px;
    overflow: hidden;
}

.hero-bg-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
            rgba(0, 0, 0, 0.10) 0%,
            transparent 40%,
            rgba(0, 0, 0, 0.35) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 4rem 5rem;
    background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.15) 50%, transparent 75%);
}

.hero-title {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    font-size: 4.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    letter-spacing: 0.04em;
    color: #fde8c8;
    text-shadow:
        0 2px 12px rgba(0, 0, 0, 0.6),
        0 4px 24px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    font-weight: 300;
    letter-spacing: 0.02em;
    text-shadow:
        0 1px 8px rgba(0, 0, 0, 0.5),
        0 2px 16px rgba(0, 0, 0, 0.25);
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    text-decoration: none;
    border-radius: 40px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.btn-primary {
    background-color: rgba(253, 232, 200, 0.1);
    /* transparent champagne */
    color: #fde8c8;
    border: 1px solid rgba(253, 232, 200, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.btn-primary:hover {
    background-color: rgba(253, 232, 200, 0.85);
    /* near solid on hover */
    color: #000;
    border-color: #fde8c8;
    transform: translateY(-4px);
    box-shadow: 0 8px 25px rgba(253, 232, 200, 0.25);
}

.btn-outline {
    background-color: transparent;
    color: var(--crisp-white);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--crisp-white);
    transform: translateY(-4px);
}

/* About section */
.about {
    padding: 5rem 0;
    background-color: var(--sandy-beige);
}

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

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.8;
}

.about-image img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Menu section */
.menu {
    padding: 5rem 0;
    background-color: var(--crisp-white);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.menu-item {
    background-color: var(--sandy-beige);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
}

.menu-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.menu-item img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.menu-item h3 {
    padding: 1.5rem 1rem 0.5rem;
    font-size: 1.5rem;
}

.menu-item p {
    padding: 0 1rem 1.5rem;
    color: #666;
}

/* Footer */
.footer {
    background-color: var(--primary-blue);
    color: var(--light-text);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-info h3 {
    color: var(--gold-accent);
    margin-bottom: 1rem;
}

.footer-info p {
    margin-bottom: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icons img {
    width: 30px;
    height: 30px;
    opacity: 0.8;
    transition: var(--transition);
}

.social-icons img:hover {
    opacity: 1;
    transform: scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====== BOOKING MODAL ====== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.modal.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    cursor: pointer;
}

.modal-content {
    position: relative;
    z-index: 1;
    background-color: var(--primary-blue);
    border: 1px solid rgba(253, 232, 200, 0.2);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    padding: 3rem 2.5rem;
    text-align: center;
    transform: scale(1);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal.hidden .modal-content {
    transform: scale(0.95) translateY(10px);
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 20px;
    background: transparent;
    border: none;
    color: rgba(253, 232, 200, 0.6);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s ease;
    padding: 0;
}

.modal-close:hover {
    color: #fde8c8;
}

.modal-header .modal-icon {
    display: block;
    font-size: 2rem;
    color: #fde8c8;
    margin-bottom: 0.5rem;
}

.modal-header h2 {
    font-family: 'Playfair Display', 'Cormorant Garamond', serif;
    color: #fde8c8;
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.modal-body p {
    color: var(--crisp-white);
    opacity: 0.85;
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.modal-actions .btn-large {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Responsive design */
@media screen and (max-width: 768px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: var(--primary-blue);
        width: 100%;
        text-align: center;
        transition: var(--transition);
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .lang-switcher {
        margin-left: auto;
        margin-right: 15px;
        gap: 2px;
    }

    .lang-btn {
        width: 28px;
        height: 28px;
        font-size: 1rem;
    }

    .nav-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

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

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

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media screen and (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

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