/* ============================================
   Beijos Lounge — Custom Styles
   Color Palette: Emerald Green + Cream
   ============================================ */

:root {
    /* Emerald Green Scale */
    --emerald-50: #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-300: #6ee7b7;
    --emerald-400: #34d399;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;

    /* Cream Scale */
    --cream-50: #FFFBF0;
    --cream-100: #FFF8E7;
    --cream-200: #FEF3D6;
    --cream-300: #FDECB8;
    --cream-400: #F5D98A;
    --cream-500: #C9A84C;

    /* Neutrals */
    --neutral-50: #FAFAF9;
    --neutral-100: #F5F5F4;
    --neutral-200: #E7E5E4;
    --neutral-300: #D6D3D1;
    --neutral-400: #A8A29E;
    --neutral-500: #78716C;
    --neutral-600: #57534E;
    --neutral-700: #44403C;
    --neutral-800: #292524;
    --neutral-900: #1C1917;

    /* Typography */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

    /* Spacing */
    --section-padding: clamp(4rem, 10vw, 8rem);
    --container-max: 1200px;

    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.7;
    color: var(--neutral-800);
    background-color: var(--cream-50);
    overflow-x: hidden;
}

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

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

ul {
    list-style: none;
}

.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
}

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255, 251, 240, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(5, 150, 105, 0.08);
    transition: background var(--transition-medium), box-shadow var(--transition-medium);
}

.navbar.scrolled {
    background: rgba(255, 251, 240, 0.95);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.06);
}

.nav-container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--emerald-700);
}

.nav-logo span {
    letter-spacing: -0.01em;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--neutral-700);
    transition: color var(--transition-fast);
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--emerald-600) !important;
    color: var(--cream-50) !important;
    padding: 0.55rem 1.25rem;
    border-radius: 100px;
    font-size: 0.85rem !important;
    font-weight: 600 !important;
    transition: background var(--transition-fast), transform var(--transition-fast) !important;
}

.nav-cta::after {
    display: none !important;
}

.nav-cta:hover {
    background: var(--emerald-700) !important;
    transform: translateY(-1px);
}

/* Mobile Toggle */
.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
    z-index: 1001;
}

.nav-toggle-line {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--neutral-700);
    transition: transform var(--transition-medium), opacity var(--transition-fast);
    border-radius: 2px;
}

.nav-toggle.active .nav-toggle-line:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

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

.nav-toggle.active .nav-toggle-line:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================
   Hero
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(6, 78, 59, 0.72) 0%,
        rgba(6, 78, 59, 0.55) 40%,
        rgba(6, 78, 59, 0.78) 100%
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    padding: 0 clamp(1.25rem, 4vw, 3rem);
    padding-top: 72px;
}

.hero-tag {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-200);
    margin-bottom: 1.5rem;
}

.hero-headline {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 700;
    line-height: 1.1;
    color: var(--cream-50);
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.hero-headline em {
    font-style: italic;
    color: var(--emerald-300);
}

.hero-subheadline {
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.7;
    color: var(--cream-100);
    max-width: 600px;
    margin: 0 auto 2.5rem;
    font-weight: 300;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 600;
    transition: all var(--transition-fast);
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--emerald-600);
    color: var(--cream-50);
}

.btn-primary:hover {
    background: var(--emerald-500);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(5, 150, 105, 0.3);
}

.btn-secondary {
    background: transparent;
    color: var(--cream-50);
    border: 1.5px solid rgba(255, 251, 240, 0.5);
}

.btn-secondary:hover {
    background: rgba(255, 251, 240, 0.12);
    border-color: var(--cream-50);
    transform: translateY(-2px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1rem;
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--cream-200);
    font-size: 0.75rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    opacity: 0.7;
    animation: float 2s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(6px); }
}

/* ============================================
   Section Shared
   ============================================ */
.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--emerald-600);
    margin-bottom: 1rem;
    position: relative;
    padding-left: 2rem;
}

.section-tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1.25rem;
    height: 2px;
    background: var(--emerald-400);
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--neutral-900);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.section-title em {
    font-style: italic;
    color: var(--emerald-600);
}

.section-lead {
    font-size: clamp(1rem, 1.5vw, 1.15rem);
    color: var(--neutral-600);
    line-height: 1.7;
    max-width: 600px;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header .section-lead {
    margin: 0 auto;
}

/* ============================================
   About
   ============================================ */
.about {
    padding: var(--section-padding) 0;
    background: var(--cream-50);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 5vw, 5rem);
    align-items: center;
}

.about-images {
    position: relative;
}

.about-img-main {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.12);
}

.about-img-main img {
    width: 100%;
    height: 450px;
    object-fit: cover;
}

.about-img-secondary {
    position: absolute;
    bottom: -2rem;
    right: -1rem;
    width: 55%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 5px solid var(--cream-50);
}

.about-img-secondary img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.about-accent {
    position: absolute;
    top: -1rem;
    right: 2rem;
    width: 72px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 3s ease-in-out infinite;
}

.about-content {
    padding: 1rem 0;
}

.about-content .section-lead {
    margin-bottom: 1.25rem;
}

.about-content p {
    color: var(--neutral-600);
    margin-bottom: 1.25rem;
    line-height: 1.8;
}

.about-features {
    margin-top: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.about-feature {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.about-feature svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.about-feature strong {
    display: block;
    font-size: 0.95rem;
    color: var(--neutral-800);
    margin-bottom: 0.15rem;
}

.about-feature span {
    font-size: 0.875rem;
    color: var(--neutral-500);
}

/* ============================================
   Drinks / Menu
   ============================================ */
.drinks {
    padding: var(--section-padding) 0;
    background: linear-gradient(180deg, var(--emerald-50) 0%, var(--cream-50) 100%);
}

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

.menu-card {
    background: var(--cream-50);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
}

.menu-card-img {
    position: relative;
    overflow: hidden;
    height: 220px;
}

.menu-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.menu-card-category {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 251, 240, 0.92);
    backdrop-filter: blur(10px);
    padding: 0.3rem 0.75rem;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--emerald-700);
}

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

.menu-card-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 0.5rem;
}

.menu-card-body p {
    font-size: 0.9rem;
    color: var(--neutral-600);
    line-height: 1.65;
}

.menu-note {
    text-align: center;
    padding: 1.5rem 2rem;
    background: var(--emerald-100);
    border-radius: 16px;
    color: var(--emerald-800);
    font-size: 0.9rem;
}

/* ============================================
   Atmosphere
   ============================================ */
.atmosphere {
    padding: var(--section-padding) 0;
    background: var(--cream-50);
}

.atmosphere-header {
    text-align: center;
    margin-bottom: 4rem;
}

.atmosphere-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: clamp(1.5rem, 3vw, 3rem);
    align-items: center;
}

.atm-img {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.atm-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.atm-img.large {
    height: 400px;
}

.atm-img:not(.large) {
    height: 185px;
}

.atm-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    color: var(--neutral-900);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.atm-text p {
    color: var(--neutral-600);
    line-height: 1.8;
    margin-bottom: 1rem;
}

.atm-highlights {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-200);
}

.atm-highlight {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.atm-highlight-number {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--emerald-600);
}

.atm-highlight-label {
    font-size: 0.8rem;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

/* ============================================
   Visit / Contact
   ============================================ */
.visit {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    color: var(--cream-50);
}

.visit .section-tag {
    color: var(--emerald-300);
}

.visit .section-tag::before {
    background: var(--emerald-400);
}

.visit .section-title {
    color: var(--cream-50);
}

.visit .section-lead {
    color: var(--emerald-200);
}

.visit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(2rem, 4vw, 4rem);
    align-items: start;
}

.visit-details {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    margin: 2.5rem 0;
}

.visit-detail {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.visit-detail svg {
    flex-shrink: 0;
    margin-top: 2px;
}

.visit-detail strong {
    display: block;
    font-size: 0.95rem;
    color: var(--cream-50);
    margin-bottom: 0.25rem;
}

.visit-detail p,
.visit-detail a {
    font-size: 0.9rem;
    color: var(--emerald-200);
    line-height: 1.6;
}

.visit-detail a:hover {
    color: var(--cream-50);
    text-decoration: underline;
}

.visit-map {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.3);
    min-height: 400px;
}

.visit .btn-primary {
    background: var(--cream-100);
    color: var(--emerald-800);
}

.visit .btn-primary:hover {
    background: var(--cream-50);
    box-shadow: 0 8px 25px rgba(255, 251, 240, 0.25);
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--neutral-900);
    color: var(--neutral-400);
    padding: 4rem 0 2rem;
}

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

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--cream-50);
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--neutral-500);
}

.footer-links strong,
.footer-contact strong {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--neutral-300);
    margin-bottom: 1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a {
    font-size: 0.9rem;
    color: var(--neutral-500);
    transition: color var(--transition-fast);
}

.footer-links a:hover {
    color: var(--emerald-400);
}

.footer-contact p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--neutral-500);
}

.footer-contact a {
    color: var(--emerald-400);
    transition: color var(--transition-fast);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--neutral-800);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.8rem;
    color: var(--neutral-600);
}

/* ============================================
   Scroll Reveal (progressive enhancement)
   ============================================ */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
    }

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

    .reveal-delay-1 { transition-delay: 0.1s; }
    .reveal-delay-2 { transition-delay: 0.2s; }
    .reveal-delay-3 { transition-delay: 0.3s; }
}

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

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        height: 100vh;
        background: var(--cream-50);
        flex-direction: column;
        justify-content: center;
        gap: 1.5rem;
        padding: 2rem;
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.1);
        transition: right var(--transition-medium);
    }

    .nav-links.open {
        right: 0;
    }

    .nav-links a {
        font-size: 1.1rem;
    }

    .about-grid,
    .atmosphere-grid,
    .visit-grid {
        grid-template-columns: 1fr;
    }

    .about-images {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

    .about-img-main img {
        height: 350px;
    }

    .about-img-secondary {
        right: 0;
    }

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

    .atm-img.large {
        height: 280px;
    }

    .atm-img:not(.large) {
        height: 200px;
    }

    .atmosphere-grid {
        gap: 1.5rem;
    }

    .atm-highlights {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

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

    .hero-headline {
        font-size: clamp(2rem, 8vw, 3rem);
    }
}

@media (max-width: 480px) {
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

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

    .about-img-secondary {
        position: relative;
        bottom: auto;
        right: auto;
        width: 100%;
        margin-top: 1rem;
        border: none;
    }

    .about-img-main img,
    .about-img-secondary img {
        height: 280px;
    }
}
