/* ========================================
   Uptown Ego Lounge — Custom Styles
   Palette: Emerald Green + Cream
   ======================================== */

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

:root {
    --emerald-50:  #ecfdf5;
    --emerald-100: #d1fae5;
    --emerald-200: #a7f3d0;
    --emerald-500: #10b981;
    --emerald-600: #059669;
    --emerald-700: #047857;
    --emerald-800: #065f46;
    --emerald-900: #064e3b;
    --cream-50:    #fefdf8;
    --cream-100:   #fdf9f0;
    --cream-200:   #f9f0db;
    --cream-300:   #f0e4c0;
    --text-dark:   #1a2e26;
    --text-mid:    #374e43;
    --text-light:  #6b8f7e;
    --white:       #ffffff;
    --shadow-sm:   0 1px 4px rgba(6, 78, 59, 0.08);
    --shadow-md:   0 4px 16px rgba(6, 78, 59, 0.10);
    --shadow-lg:   0 8px 32px rgba(6, 78, 59, 0.14);
    --radius-sm:   8px;
    --radius-md:   16px;
    --radius-lg:   24px;
    --radius-full: 9999px;
    --transition:  0.3s ease;
}

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

body {
    font-family: 'DM Sans', sans-serif;
    color: var(--text-dark);
    background-color: var(--cream-50);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
}

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

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

ul {
    list-style: none;
}

/* ─── SKIP LINK ─── */
.skip-link {
    position: absolute;
    top: -100%;
    left: 1rem;
    background: var(--emerald-700);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: var(--radius-sm);
    z-index: 200;
    font-weight: 600;
}
.skip-link:focus {
    top: 1rem;
}

/* ─── CONTAINER ─── */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ─── BADGE ─── */
.badge {
    display: inline-block;
    background: var(--emerald-100);
    color: var(--emerald-800);
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 0.4rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1rem;
}

/* ─── BUTTONS ─── */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    font-family: 'DM Sans', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.8rem 1.75rem;
    border-radius: var(--radius-full);
    border: 2px solid transparent;
    cursor: pointer;
    transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
    white-space: nowrap;
}
.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}
.btn:active {
    transform: translateY(0);
}
.btn-primary {
    background: var(--emerald-700);
    color: var(--white);
    border-color: var(--emerald-700);
}
.btn-primary:hover {
    background: var(--emerald-800);
    border-color: var(--emerald-800);
}
.btn-secondary {
    background: var(--white);
    color: var(--emerald-700);
    border-color: var(--emerald-700);
}
.btn-secondary:hover {
    background: var(--emerald-50);
}

/* ========================================
   HEADER
   ======================================== */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(254, 253, 248, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--cream-200);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-800);
}
.logo-icon {
    font-size: 1.5rem;
}

#primary-navigation ul {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}
#primary-navigation a {
    display: block;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-full);
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-mid);
    transition: color var(--transition), background var(--transition);
}
#primary-navigation a:hover {
    color: var(--emerald-700);
    background: var(--emerald-50);
}

/* Hamburger */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 2.5rem;
    height: 2.5rem;
    position: relative;
    border-radius: var(--radius-sm);
}
.hamburger,
.hamburger::before,
.hamburger::after {
    display: block;
    width: 1.25rem;
    height: 2px;
    background: var(--emerald-800);
    border-radius: 2px;
    transition: transform var(--transition), opacity var(--transition);
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}
.hamburger { top: 50%; margin-top: -1px; }
.hamburger::before { content: ''; top: -7px; }
.hamburger::after { content: ''; bottom: -7px; }

.mobile-menu-btn[aria-expanded="true"] .hamburger {
    background: transparent;
}
.mobile-menu-btn[aria-expanded="true"] .hamburger::before {
    transform: rotate(45deg);
    top: 0;
}
.mobile-menu-btn[aria-expanded="true"] .hamburger::after {
    transform: rotate(-45deg);
    bottom: 0;
}

/* ========================================
   HERO
   ======================================== */
.hero {
    background: linear-gradient(135deg, var(--cream-100) 0%, var(--emerald-50) 100%);
    padding: 4rem 0;
    overflow: hidden;
}

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

.hero-content {
    max-width: 520px;
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.15;
    color: var(--emerald-900);
    margin-bottom: 1.25rem;
}

.hero p {
    font-size: 1.1rem;
    color: var(--text-mid);
    margin-bottom: 2rem;
    max-width: 460px;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.hero-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 6 / 7;
}

/* ========================================
   ABOUT
   ======================================== */
.about {
    padding: 5rem 0;
    background: var(--white);
}

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

.about-image {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 5 / 4;
}

.about-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: 1.25rem;
    line-height: 1.2;
}

.about-content p {
    color: var(--text-mid);
    font-size: 1.05rem;
    margin-bottom: 1rem;
}

.features-list {
    margin-top: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.features-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-weight: 500;
    color: var(--text-dark);
}
.feature-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--emerald-100);
    border-radius: var(--radius-sm);
    font-size: 1.1rem;
    flex-shrink: 0;
}

/* ========================================
   PRODUCTS
   ======================================== */
.products {
    padding: 5rem 0;
    background: var(--cream-50);
}

.section-header {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 3rem;
}
.section-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--emerald-900);
    margin-bottom: 0.75rem;
}
.section-header p {
    color: var(--text-mid);
    font-size: 1.05rem;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.product-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: transform var(--transition), box-shadow var(--transition);
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.product-image {
    overflow: hidden;
    aspect-ratio: 4 / 3;
}
.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.product-card:hover .product-image img {
    transform: scale(1.05);
}

.product-card h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--emerald-800);
    padding: 1.25rem 1.25rem 0;
}
.product-card p {
    color: var(--text-mid);
    font-size: 0.95rem;
    padding: 0.5rem 1.25rem 1.25rem;
    line-height: 1.6;
}

/* ========================================
   VISIT
   ======================================== */
.visit {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--emerald-800) 0%, var(--emerald-900) 100%);
    color: var(--white);
}

.visit-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.visit-info .badge {
    background: rgba(255, 255, 255, 0.15);
    color: var(--emerald-100);
}

.visit-info h2 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    font-weight: 700;
    color: var(--white);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.visit-info address {
    font-style: normal;
    color: var(--emerald-100);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.phone-link {
    color: var(--emerald-200);
    font-weight: 600;
    transition: color var(--transition);
}
.phone-link:hover {
    color: var(--white);
}

.cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.cta-buttons .btn-primary {
    background: var(--white);
    color: var(--emerald-800);
    border-color: var(--white);
}
.cta-buttons .btn-primary:hover {
    background: var(--cream-100);
    border-color: var(--cream-100);
}
.cta-buttons .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}
.cta-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.12);
}

.visit-map {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}
.visit-map iframe {
    width: 100%;
    height: 400px;
    display: block;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--emerald-900);
    color: var(--emerald-200);
    padding: 3rem 0 1.5rem;
}

.footer-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.footer-brand .logo-icon {
    font-size: 2rem;
}
.footer-brand strong {
    font-family: 'Playfair Display', serif;
    font-size: 1.25rem;
    color: var(--white);
}
.footer-brand p {
    font-size: 0.9rem;
    color: var(--emerald-300);
}

.footer-contact p {
    font-size: 0.9rem;
    margin-bottom: 0.25rem;
}
.footer-contact a {
    color: var(--emerald-200);
    transition: color var(--transition);
}
.footer-contact a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1.25rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--emerald-300);
}

/* ========================================
   SCROLL REVEAL (progressive enhancement)
   ======================================== */
@media (prefers-reduced-motion: no-preference) {
    .reveal {
        opacity: 0;
        transform: translateY(24px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    .reveal.revealed {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 900px) {
    .hero-container,
    .about-container,
    .visit-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hero-image {
        order: -1;
        max-width: 500px;
        margin: 0 auto;
    }

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

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

    #primary-navigation {
        position: fixed;
        top: 3.5rem;
        left: 0;
        right: 0;
        background: rgba(254, 253, 248, 0.97);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        padding: 1rem 1.5rem 1.5rem;
        border-bottom: 1px solid var(--cream-200);
        box-shadow: var(--shadow-md);
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform var(--transition), opacity var(--transition);
    }
    #primary-navigation.open {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    #primary-navigation ul {
        flex-direction: column;
        gap: 0.25rem;
        width: 100%;
    }
    #primary-navigation a {
        width: 100%;
        text-align: center;
        padding: 0.75rem 1rem;
    }

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

    .hero {
        padding: 2.5rem 0;
    }
    .hero-actions {
        flex-direction: column;
    }
    .hero-actions .btn {
        width: 100%;
    }

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

    .visit-map iframe {
        height: 280px;
    }

    .cta-buttons {
        flex-direction: column;
    }
    .cta-buttons .btn {
        width: 100%;
    }
}
