/* ========================================
   Hott box — Classic & Elegant Café/Bar
   Palette: Forest Green + Off-White
   Fonts: Cormorant Garamond + Lato
   ======================================== */

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

:root {
    --forest: #1A3C28;
    --forest-deep: #0F2518;
    --forest-light: #2D5A3E;
    --forest-muted: #3D7A52;
    --cream: #F5F5F0;
    --cream-dark: #E8E8E0;
    --warm-white: #FAFAF7;
    --gold: #C8A96E;
    --gold-light: #D4BA85;
    --text-dark: #1A1A18;
    --text-muted: #5C5C54;
    --text-light: #8A8A82;
    --shadow-sm: 0 1px 3px rgba(26, 60, 40, 0.08);
    --shadow-md: 0 4px 20px rgba(26, 60, 40, 0.1);
    --shadow-lg: 0 8px 40px rgba(26, 60, 40, 0.12);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Lato', sans-serif;
    font-weight: 400;
    color: var(--text-dark);
    background-color: var(--cream);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    line-height: 1.2;
    color: var(--forest);
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ========== NAVBAR ========== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245, 245, 240, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(26, 60, 40, 0.08);
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(245, 245, 240, 0.97);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 600;
    color: var(--forest);
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-links a {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
}

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

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

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

/* ========== BUTTONS ========== */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    font-family: 'Lato', sans-serif;
    font-size: 0.8125rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
}

.btn--primary {
    background: var(--forest);
    color: var(--cream);
}

.btn--primary:hover {
    background: var(--forest-light);
    transform: translateY(-1px);
    box-shadow: var(--shadow-md);
}

.btn--outline {
    background: transparent;
    color: var(--cream);
    border: 1px solid rgba(245, 245, 240, 0.5);
}

.btn--outline:hover {
    background: rgba(245, 245, 240, 0.1);
    border-color: var(--cream);
}

.btn--nav {
    padding: 10px 22px;
    font-size: 0.75rem;
}

.btn--large {
    padding: 16px 36px;
    font-size: 0.875rem;
}

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

/* ========== MOBILE MENU ========== */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--forest);
    transition: var(--transition);
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== HERO ========== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: 
        linear-gradient(135deg, 
            var(--forest-deep) 0%, 
            var(--forest) 25%, 
            var(--forest-light) 50%, 
            #4A7C5F 75%, 
            var(--gold) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(ellipse at 20% 50%, rgba(26, 60, 40, 0.6) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(200, 169, 110, 0.15) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 80%, rgba(15, 37, 24, 0.5) 0%, transparent 50%);
    z-index: 1;
}

.hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    padding: 120px 24px 80px;
}

.hero-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 24px;
}

.hero-headline {
    font-size: clamp(2.25rem, 5vw, 4rem);
    color: var(--cream);
    font-weight: 600;
    margin-bottom: 24px;
    line-height: 1.15;
}

.hero-sub {
    font-size: clamp(1rem, 1.5vw, 1.1875rem);
    color: rgba(245, 245, 240, 0.75);
    max-width: 560px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero-actions .btn--outline {
    color: var(--cream);
    border-color: rgba(245, 245, 240, 0.4);
}

.hero-actions .btn--outline:hover {
    background: rgba(245, 245, 240, 0.12);
    border-color: var(--cream);
}

/* ========== SECTIONS ========== */
.section {
    padding: 100px 0;
}

.section-header {
    margin-bottom: 64px;
}

.section-tag {
    display: inline-block;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--forest-muted);
    margin-bottom: 16px;
    position: relative;
    padding-left: 28px;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 1px;
    background: var(--gold);
}

.section-title {
    font-size: clamp(1.75rem, 3.5vw, 2.75rem);
    color: var(--forest);
    margin-bottom: 20px;
}

.section-subtitle {
    font-size: 1.0625rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.8;
}

.text-center {
    text-align: center;
}

.text-center .section-tag {
    padding-left: 0;
}

.text-center .section-tag::before {
    display: none;
}

.text-center .section-subtitle {
    margin: 0 auto;
}

/* ========== ABOUT ========== */
.about {
    background: var(--warm-white);
}

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

.about-image-wrapper {
    position: relative;
}

.about-image-wrapper img {
    border-radius: var(--radius-lg);
    width: 100%;
    height: 100%;
    object-fit: cover;
    box-shadow: var(--shadow-lg);
}

.about-image-accent {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 120px;
    height: 120px;
    border: 2px solid var(--gold);
    border-radius: var(--radius-lg);
    z-index: -1;
}

.about-content .lead {
    font-size: 1.125rem;
    color: var(--text-dark);
    line-height: 1.85;
    margin-bottom: 20px;
}

.about-content p {
    color: var(--text-muted);
    margin-bottom: 16px;
}

.about-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 16px;
}

.feature-icon {
    width: 20px;
    height: 20px;
    color: var(--gold);
    flex-shrink: 0;
}

.feature-item span {
    font-size: 0.9375rem;
    color: var(--text-dark);
}

/* ========== MENU ========== */
.menu {
    background: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.menu-card {
    background: var(--warm-white);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(26, 60, 40, 0.06);
    transition: var(--transition);
}

.menu-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(26, 60, 40, 0.12);
}

.menu-card--accent {
    background: var(--forest);
    border-color: transparent;
}

.menu-card--accent .menu-card-title {
    color: var(--cream);
}

.menu-card--accent .menu-card-desc {
    color: rgba(245, 245, 240, 0.7);
}

.menu-card--accent .menu-list li span {
    color: rgba(245, 245, 240, 0.8);
}

.menu-card--accent .menu-list li span:last-child {
    color: rgba(245, 245, 240, 0.45);
}

.menu-card-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-md);
    background: rgba(26, 60, 40, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
}

.menu-card--accent .menu-card-icon {
    background: rgba(245, 245, 240, 0.12);
}

.menu-card-icon svg {
    width: 24px;
    height: 24px;
    color: var(--forest);
}

.menu-card--accent .menu-card-icon svg {
    color: var(--gold-light);
}

.menu-card-title {
    font-size: 1.5rem;
    margin-bottom: 12px;
}

.menu-card-desc {
    font-size: 0.9375rem;
    color: var(--text-muted);
    margin-bottom: 24px;
    line-height: 1.7;
}

.menu-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.menu-list li {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(26, 60, 40, 0.06);
}

.menu-card--accent .menu-list li {
    border-bottom-color: rgba(245, 245, 240, 0.08);
}

.menu-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.menu-list li span:first-child {
    font-size: 0.9375rem;
    color: var(--text-dark);
    font-weight: 400;
}

.menu-list li span:last-child {
    font-size: 0.8125rem;
    color: var(--text-light);
    font-style: italic;
}

/* ========== AMBiance ========== */
.ambiance {
    background: var(--warm-white);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 20px;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px 20px 16px;
    background: linear-gradient(to top, rgba(15, 37, 24, 0.8), transparent);
    color: var(--cream);
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 600;
    opacity: 0;
    transition: var(--transition);
}

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

.gallery-item--large {
    grid-column: 1 / 8;
    grid-row: 1 / 2;
    min-height: 400px;
}

.gallery-item:nth-child(2) {
    grid-column: 8 / 13;
    grid-row: 1 / 2;
    min-height: 400px;
}

.gallery-item:nth-child(3) {
    grid-column: 1 / 6;
    grid-row: 2 / 3;
    min-height: 280px;
}

.gallery-item:nth-child(4) {
    grid-column: 6 / 13;
    grid-row: 2 / 3;
    min-height: 280px;
}

.gallery-item--wide {
    grid-column: 1 / 13;
    grid-row: 3 / 4;
    min-height: 260px;
}

/* ========== VISIT ========== */
.visit {
    background: var(--cream);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.visit-details {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 28px;
    margin: 36px 0;
}

.visit-detail {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.visit-detail svg {
    width: 20px;
    height: 20px;
    color: var(--forest);
    flex-shrink: 0;
    margin-top: 4px;
}

.visit-detail strong {
    display: block;
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--forest);
    margin-bottom: 4px;
}

.visit-detail p {
    color: var(--text-muted);
    font-size: 0.9375rem;
    line-height: 1.7;
}

.visit-detail a {
    color: var(--forest-muted);
    transition: var(--transition);
}

.visit-detail a:hover {
    color: var(--forest);
}

.visit-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.visit-map img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 400px;
}

/* ========== CONTACT ========== */
.contact {
    background: var(--forest);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: start;
}

.contact-content .section-tag {
    color: var(--gold-light);
}

.contact-content .section-tag::before {
    background: var(--gold-light);
}

.contact-content .section-title {
    color: var(--cream);
}

.contact-content .section-subtitle {
    color: rgba(245, 245, 240, 0.65);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(245, 245, 240, 0.55);
}

.form-group input,
.form-group textarea {
    background: rgba(245, 245, 240, 0.07);
    border: 1px solid rgba(245, 245, 240, 0.15);
    border-radius: var(--radius-sm);
    padding: 14px 16px;
    font-family: 'Lato', sans-serif;
    font-size: 0.9375rem;
    color: var(--cream);
    transition: var(--transition);
    outline: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(245, 245, 240, 0.3);
}

.form-group input:focus,
.form-group textarea:focus {
    border-color: var(--gold);
    background: rgba(245, 245, 240, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-success {
    display: none;
    text-align: center;
    padding: 16px;
    background: rgba(200, 169, 110, 0.15);
    border: 1px solid rgba(200, 169, 110, 0.3);
    border-radius: var(--radius-sm);
    color: var(--gold-light);
    font-size: 0.9375rem;
}

.form-success.show {
    display: block;
}

/* ========== FOOTER ========== */
.footer {
    background: var(--forest-deep);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(245, 245, 240, 0.08);
}

.footer-brand .logo {
    color: var(--cream);
    font-size: 1.5rem;
}

.footer-tagline {
    font-size: 0.8125rem;
    color: var(--gold);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-desc {
    font-size: 0.9375rem;
    color: rgba(245, 245, 240, 0.5);
    max-width: 280px;
    line-height: 1.7;
}

.footer-nav h4,
.footer-contact h4 {
    font-family: 'Lato', sans-serif;
    font-size: 0.6875rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 20px;
}

.footer-nav {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-nav a {
    font-size: 0.9375rem;
    color: rgba(245, 245, 240, 0.55);
    transition: var(--transition);
}

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

.footer-contact p {
    font-size: 0.9375rem;
    color: rgba(245, 245, 240, 0.55);
    line-height: 1.8;
    margin-bottom: 4px;
}

.footer-contact a {
    color: rgba(245, 245, 240, 0.55);
    transition: var(--transition);
}

.footer-contact a:hover {
    color: var(--cream);
}

.footer-bottom {
    padding: 24px 0;
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8125rem;
    color: rgba(245, 245, 240, 0.3);
}

/* ========== SCROLL REVEAL (below fold only, progressive enhancement) ========== */
.reveal {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
    .about-grid,
    .visit-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        max-width: 500px;
    }

    .menu-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin: 0 auto;
    }

    .gallery-item--large,
    .gallery-item:nth-child(2),
    .gallery-item:nth-child(3),
    .gallery-item:nth-child(4),
    .gallery-item--wide {
        grid-column: 1 / -1;
        grid-row: auto;
        min-height: 260px;
    }

    .gallery-item:nth-child(2) {
        min-height: 300px;
    }

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

@media (max-width: 768px) {
    .section {
        padding: 72px 0;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        background: rgba(245, 245, 240, 0.98);
        backdrop-filter: blur(12px);
        flex-direction: column;
        padding: 32px 24px;
        gap: 24px;
        border-bottom: 1px solid rgba(26, 60, 40, 0.08);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: var(--transition);
    }

    .nav-links.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }

    .hero-content {
        padding: 100px 24px 60px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }

    .about-image-accent {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .section {
        padding: 56px 0;
    }

    .menu-card {
        padding: 28px 24px;
    }
}
