/* ── RESET & BASE ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
    --navy:   #1a3c5e;
    --navy-d: #122b45;
    --gold:   #c4a35a;
    --gold-l: #d4b870;
    --cream:  #f8f5f0;
    --sand:   #ede8e0;
    --text:   #333333;
    --text-l: #666666;
    --white:  #ffffff;
    --transition: 0.35s ease;
}

html { scroll-behavior: smooth; }

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: var(--text);
    background: var(--white);
    overflow-x: hidden;
}

img { display: block; max-width: 100%; height: auto; }
a  { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ── TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4 { font-family: 'Playfair Display', serif; line-height: 1.2; }

h1 { font-size: clamp(2.6rem, 6vw, 5rem); font-weight: 700; color: var(--white); }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 600; color: var(--navy); }
h3 { font-size: 1.2rem; font-weight: 600; color: var(--navy); margin-bottom: .5rem; }

p  { line-height: 1.75; color: var(--text-l); }

.section-label {
    display: inline-block;
    font-family: 'Lato', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1rem;
}

.section-header {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 3.5rem;
}

.section-header h2  { margin-bottom: 1rem; }
.section-header p   { font-size: 1.05rem; }
.section-header.light h2,
.section-header.light p { color: var(--white); }
.section-header.light .section-label { color: var(--gold-l); }

/* ── LAYOUT ────────────────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section         { padding: 6rem 0; }
.section-light   { background: var(--cream); }
.section-dark    { background: var(--navy-d); }

/* ── BUTTONS ───────────────────────────────────────────── */
.btn-hero {
    display: inline-block;
    margin-top: 2rem;
    padding: .9rem 2.4rem;
    background: var(--gold);
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    transition: background var(--transition), color var(--transition);
}
.btn-hero:hover { background: transparent; color: var(--gold); }

.btn-secondary {
    display: inline-block;
    margin-top: 1.75rem;
    padding: .8rem 2rem;
    border: 2px solid var(--navy);
    color: var(--navy);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: background var(--transition), color var(--transition);
}
.btn-secondary:hover { background: var(--navy); color: var(--white); }

.btn-reserve {
    padding: .6rem 1.5rem;
    background: var(--gold);
    color: var(--white) !important;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: background var(--transition);
    border-radius: 2px;
}
.btn-reserve:hover { background: var(--gold-l); }

.btn-submit {
    display: inline-block;
    padding: 1rem 3rem;
    background: var(--gold);
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}
.btn-submit:hover { background: var(--gold-l); transform: translateY(-2px); }

/* ── HEADER / NAV ──────────────────────────────────────── */
#header {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 1000;
    background: transparent;
    transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}

#header.scrolled {
    background: rgba(18, 43, 69, 0.97);
    box-shadow: 0 2px 20px rgba(0,0,0,.35);
}

.nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.6rem 2rem;
    transition: padding var(--transition);
}

#header.scrolled .nav-inner { padding: 1rem 2rem; }

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--white);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-left, .nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-left a, .nav-right a:not(.btn-reserve) {
    color: rgba(255,255,255,.85);
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.nav-left a:hover, .nav-right a:not(.btn-reserve):hover { color: var(--gold); }

.hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1100;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition);
}

.mobile-menu {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--navy-d);
    max-height: 0;
    overflow: hidden;
    transition: max-height .4s ease, padding .4s ease;
}

.mobile-menu.open {
    max-height: 400px;
    padding: 2rem;
}

.mobile-menu a {
    color: rgba(255,255,255,.9);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

/* ── HERO SLIDER ───────────────────────────────────────── */
#hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}

.slider {
    position: relative;
    width: 100%;
    height: 100%;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1.2s ease;
    will-change: opacity;
}

.slide.active { opacity: 1; }

.slider-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(10, 28, 48, .35) 0%,
        rgba(10, 28, 48, .55) 60%,
        rgba(10, 28, 48, .8)  100%
    );
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.hero-content {
    text-align: center;
    padding: 0 1rem;
    max-width: 780px;
    animation: fadeUp .9s .3s both;
}

.hero-sub {
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 1.2rem;
}

.hero-content h1 { text-shadow: 0 2px 20px rgba(0,0,0,.4); }

.hero-desc {
    margin-top: 1.2rem;
    font-size: 1.1rem;
    color: rgba(255,255,255,.85);
    font-weight: 300;
    line-height: 1.7;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
    color: var(--white);
    font-size: 2.5rem;
    line-height: 1;
    width: 52px;
    height: 52px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background var(--transition), border-color var(--transition);
    backdrop-filter: blur(4px);
}
.slider-btn:hover { background: rgba(196, 163, 90, .7); border-color: var(--gold); }
.slider-btn.prev { left: 2rem; }
.slider-btn.next { right: 2rem; }

.slider-dots {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: .6rem;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,.4);
    border: 1px solid rgba(255,255,255,.6);
    cursor: pointer;
    transition: background var(--transition), transform var(--transition);
}

.dot.active {
    background: var(--gold);
    border-color: var(--gold);
    transform: scale(1.3);
}

/* ── ABOUT ─────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.about-text h2 { margin-bottom: 1.5rem; }
.about-text p  { margin-bottom: 1rem; }

.about-image {
    position: relative;
}

.about-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    object-position: center;
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    left: -1.5rem;
    background: var(--navy);
    color: var(--white);
    padding: 1.2rem 1.5rem;
    text-align: center;
    box-shadow: 0 8px 30px rgba(0,0,0,.2);
}

.badge-rating {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}

.badge-text {
    display: block;
    font-size: .7rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
    margin-top: .3rem;
}

/* ── QUOTE ─────────────────────────────────────────────── */
.quote-section {
    background: var(--navy);
    padding: 5rem 0;
    text-align: center;
}

.quote-section blockquote {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: rgba(255,255,255,.9);
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.6;
    padding: 0 2rem;
}

.quote-section blockquote::before {
    content: '\201C';
    font-size: 4rem;
    line-height: 0;
    vertical-align: -.4em;
    color: var(--gold);
    margin-right: .15em;
}

/* ── MENU CARDS ────────────────────────────────────────── */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.menu-card {
    background: var(--white);
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform var(--transition), box-shadow var(--transition);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,.14);
}

.menu-card-img {
    overflow: hidden;
    height: 230px;
}

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

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

.menu-card-body {
    padding: 1.4rem 1.5rem 1.6rem;
}

.menu-card-body h3 { margin-bottom: .5rem; font-size: 1.1rem; }
.menu-card-body p  { font-size: .9rem; }

/* ── GALLERY ───────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    height: 260px;
}

.gallery-item.tall { grid-row: span 2; height: auto; }
.gallery-item.wide { grid-column: span 2; }

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
}

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

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(18,43,69,.45);
    display: flex;
    align-items: flex-end;
    padding: 1.2rem 1.4rem;
    opacity: 0;
    transition: opacity var(--transition);
}

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

.gallery-overlay span {
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.05rem;
    font-style: italic;
    text-shadow: 0 1px 4px rgba(0,0,0,.5);
}

/* ── BOOKING FORM ──────────────────────────────────────── */
#booking-form {
    max-width: 760px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .5rem;
}

.form-group:last-child:not(.form-row .form-group) {
    margin-bottom: 1.5rem;
}

label {
    font-size: .78rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255,255,255,.7);
}

input, select, textarea {
    font-family: 'Lato', sans-serif;
    font-size: .95rem;
    color: var(--text);
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.2);
    padding: .85rem 1rem;
    outline: none;
    transition: border-color var(--transition), background var(--transition);
    -webkit-appearance: none;
    appearance: none;
    width: 100%;
}

input::placeholder, textarea::placeholder { color: rgba(255,255,255,.35); }

input:focus, select:focus, textarea:focus {
    border-color: var(--gold);
    background: rgba(255,255,255,.1);
}

select { color: rgba(255,255,255,.7); cursor: pointer; }
select option { background: var(--navy-d); color: var(--white); }

textarea { resize: vertical; min-height: 110px; }

.form-submit {
    text-align: center;
    margin-top: 2rem;
}

.form-success {
    text-align: center;
    padding: 3rem 2rem;
    color: var(--white);
}

.form-success.hidden { display: none; }

.success-icon {
    font-size: 3rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.form-success h3 {
    font-size: 1.6rem;
    color: var(--white);
    margin-bottom: .8rem;
}

.form-success p { color: rgba(255,255,255,.8); }

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

.contact-block {
    background: var(--white);
    padding: 2.5rem 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,.07);
    text-align: center;
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-block h3 {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.contact-block p {
    margin-bottom: .5rem;
    font-size: .95rem;
}

.contact-block a { color: var(--navy); transition: color var(--transition); }
.contact-block a:hover { color: var(--gold); }

.map-link {
    display: inline-block;
    margin-top: .75rem;
    color: var(--gold) !important;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.hours-list { text-align: left; }

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    padding: .5rem 0;
    border-bottom: 1px solid var(--sand);
    font-size: .88rem;
}

.hours-list li:last-child { border-bottom: none; }

.hours-list span:first-child { font-weight: 700; color: var(--navy); }
.hours-list span:last-child  { color: var(--text-l); }
.hours-list .closed          { color: #c0392b; font-weight: 700; }

.map-embed { border-radius: 2px; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,.1); }

/* ── FOOTER ─────────────────────────────────────────────── */
#footer {
    background: var(--navy-d);
    padding: 4rem 0 1.5rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 2fr;
    gap: 3rem;
    align-items: start;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: .2em;
    color: var(--white);
    margin-bottom: .75rem;
}

.footer-brand p { font-size: .875rem; color: rgba(255,255,255,.5); line-height: 1.7; }

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: .8rem;
}

.footer-nav a {
    color: rgba(255,255,255,.6);
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    transition: color var(--transition);
}

.footer-nav a:hover { color: var(--gold); }

.footer-contact p {
    font-size: .875rem;
    color: rgba(255,255,255,.5);
    margin-bottom: .5rem;
}

.footer-contact a { color: rgba(255,255,255,.5); transition: color var(--transition); }
.footer-contact a:hover { color: var(--gold); }

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
}

.footer-bottom p {
    font-size: .78rem;
    color: rgba(255,255,255,.3);
    letter-spacing: .05em;
}

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

.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease;
}

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

/* ── SOCIAL ICONS ──────────────────────────────────────── */
.social-links {
    display: flex;
    gap: .75rem;
    margin-top: 1.2rem;
    justify-content: center;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--sand);
    color: var(--navy);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.social-link:hover {
    background: var(--navy);
    color: var(--white);
    transform: translateY(-3px);
}

.footer-social {
    display: flex;
    gap: .75rem;
    margin-top: 1.1rem;
}

.footer-social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
    color: rgba(255,255,255,.55);
    transition: background var(--transition), color var(--transition), transform var(--transition);
}

.footer-social-link:hover {
    background: var(--gold);
    color: var(--white);
    transform: translateY(-3px);
}

/* ── LANGUAGE TOGGLE ───────────────────────────────────── */
.lang-toggle {
    display: flex;
    align-items: center;
    gap: .35rem;
}

.lang-sep {
    color: rgba(255,255,255,.35);
    font-size: .75rem;
    line-height: 1;
}

.lang-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-family: 'Lato', sans-serif;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    color: rgba(255,255,255,.5);
    padding: .2rem .1rem;
    transition: color var(--transition);
    line-height: 1;
}

.lang-btn:hover  { color: rgba(255,255,255,.9); }
.lang-btn.active { color: var(--gold); }

.mobile-lang {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin: .25rem 0;
}

.mobile-lang .lang-btn { font-size: .8rem; color: rgba(255,255,255,.6); }
.mobile-lang .lang-sep { color: rgba(255,255,255,.3); }
.mobile-lang .lang-btn.active { color: var(--gold); }

/* ── RESPONSIVE ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .menu-grid    { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-item.tall { grid-row: span 1; height: 260px; }
    .gallery-item.wide { grid-column: span 1; }
    .about-grid   { gap: 3rem; }
    .footer-top   { grid-template-columns: 1fr 1fr; }
    .footer-nav   { display: none; }
}

@media (max-width: 768px) {
    .nav-left, .nav-right { display: none; }
    .hamburger { display: flex; }
    .mobile-menu { display: flex; }
    .logo { position: static; transform: none; }

    .about-grid      { grid-template-columns: 1fr; }
    .about-image img { height: 320px; }
    .about-badge     { left: .5rem; bottom: .5rem; }

    .contact-grid { grid-template-columns: 1fr; }
    .form-row     { grid-template-columns: 1fr; }
    .footer-top   { grid-template-columns: 1fr; gap: 2rem; }

    .slider-btn.prev { left: 1rem; }
    .slider-btn.next { right: 1rem; }

    .section { padding: 4rem 0; }

    /* ── Swipeable carousels ── */
    #menu .container,
    #gallery .container {
        padding-left: 0;
        padding-right: 0;
        overflow: visible;
    }

    #menu .section-header,
    #gallery .section-header {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }

    .menu-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding: 0.5rem 1.5rem 1.5rem;
    }
    .menu-grid::-webkit-scrollbar { display: none; }

    .menu-card {
        flex: 0 0 78vw;
        scroll-snap-align: start;
        /* keep hover lift for tap feedback */
    }

    .gallery-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 1rem;
        padding: 0.5rem 1.5rem 1.5rem;
    }
    .gallery-grid::-webkit-scrollbar { display: none; }

    .gallery-item,
    .gallery-item.tall,
    .gallery-item.wide {
        flex: 0 0 75vw;
        height: 240px;
        grid-row: unset;
        grid-column: unset;
        scroll-snap-align: start;
    }
}

@media (max-width: 480px) {
    .menu-card   { flex: 0 0 85vw; }
    .gallery-item,
    .gallery-item.tall,
    .gallery-item.wide { flex: 0 0 85vw; height: 210px; }
    h1 { font-size: 2.2rem; }
}
