/* ================================================
   WARREN CAFE & BRUNCH — Styles
   Palette: cream, espresso, sage, gold
   ================================================ */

:root {
    --cream: #FAF7F2;
    --cream-dark: #F0EAE0;
    --espresso: #2C1A0E;
    --brown: #5C3D2E;
    --brown-light: #8B6555;
    --sage: #7A9E7E;
    --sage-light: #A8C5AB;
    --gold: #C9963D;
    --gold-dark: #A6791F;
    --white: #FFFFFF;
    --text: #2C1A0E;
    --text-muted: #7A6055;
    --radius: 12px;
    --radius-lg: 20px;
    --shadow: 0 4px 24px rgba(44, 26, 14, 0.10);
    --shadow-lg: 0 12px 40px rgba(44, 26, 14, 0.16);
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--cream);
    color: var(--text);
    line-height: 1.6;
    overflow-x: hidden;
}

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

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

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

.section {
    padding: 100px 0;
}

/* ── Language Toggle ── */
.lang-btn {
    position: fixed;
    top: 18px;
    right: 18px;
    z-index: 1000;
    background: var(--white);
    border: none;
    border-radius: 50%;
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.lang-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-lg);
}

/* ── Navigation ── */
.nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 900;
    padding: 20px 24px;
    transition: background var(--transition), padding var(--transition), box-shadow var(--transition);
}

.nav-scrolled {
    background: rgba(250, 247, 242, 0.95);
    backdrop-filter: blur(12px);
    padding: 12px 24px;
    box-shadow: 0 2px 20px rgba(44, 26, 14, 0.08);
}

.nav-inner {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--espresso);
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.nav-logo-sub {
    font-size: 0.8rem;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    color: var(--brown-light);
    letter-spacing: 0.02em;
}

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

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

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--gold);
    transform: scaleX(0);
    transition: transform var(--transition);
    transform-origin: left;
}

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

.nav-links a:hover::after {
    transform: scaleX(1);
}

/* ── Hero ── */
.hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-image-wrap {
    position: absolute;
    inset: 0;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.05);
    animation: heroZoom 20s ease-in-out infinite alternate;
}

@keyframes heroZoom {
    from {
        transform: scale(1.05);
    }

    to {
        transform: scale(1.12);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right,
            rgba(44, 26, 14, 0.72) 0%,
            rgba(44, 26, 14, 0.45) 50%,
            rgba(44, 26, 14, 0.15) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 48px;
    max-width: 680px;
    animation: fadeUp 1s ease both;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(32px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-badge {
    display: inline-block;
    background: rgba(201, 150, 61, 0.9);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(4rem, 9vw, 7rem);
    font-weight: 700;
    color: var(--white);
    line-height: 0.95;
    letter-spacing: -0.02em;
}

.hero-sub-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 400;
    font-style: italic;
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 28px;
}

.hero-tagline {
    font-size: clamp(1.1rem, 2vw, 1.35rem);
    font-weight: 600;
    color: var(--white);
    margin-bottom: 12px;
}

.hero-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.78);
    max-width: 480px;
    margin-bottom: 36px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-primary {
    background: var(--gold);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--gold-dark);
}

.btn-ghost {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 1.5px solid rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(4px);
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.25);
}

.hero-scroll {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-mouse {
    width: 26px;
    height: 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 100px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}

.scroll-dot {
    width: 4px;
    height: 8px;
    background: rgba(255, 255, 255, 0.7);
    border-radius: 100px;
    animation: scrollBounce 1.8s ease-in-out infinite;
}

@keyframes scrollBounce {

    0%,
    100% {
        transform: translateY(0);
        opacity: 1;
    }

    50% {
        transform: translateY(10px);
        opacity: 0.3;
    }
}

/* ── About Strip ── */
.about-strip {
    background: var(--espresso);
    padding: 22px 24px;
    overflow: hidden;
}

.strip-items {
    max-width: 1120px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.strip-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--cream);
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.strip-icon {
    font-size: 1rem;
}

.strip-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold);
    flex-shrink: 0;
}

/* ── Section Labels ── */
.section-label {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 14px;
}

.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--espresso);
    line-height: 1.15;
    margin-bottom: 16px;
}

.section-sub {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 560px;
    line-height: 1.7;
    margin-bottom: 56px;
}

/* ── Scroll Reveal ── */
.section-label,
.section-title,
.section-sub,
.menu-card,
.delivery-card,
.location-card,
.about-strip {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

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

.menu-card:nth-child(2) {
    transition-delay: 0.1s;
}

.menu-card:nth-child(3) {
    transition-delay: 0.2s;
}

.menu-card:nth-child(4) {
    transition-delay: 0.3s;
}

.delivery-card:nth-child(2) {
    transition-delay: 0.1s;
}

.delivery-card:nth-child(3) {
    transition-delay: 0.2s;
}

.delivery-card:nth-child(4) {
    transition-delay: 0.3s;
}

/* ── Menu ── */
.menu {
    background: var(--cream);
}

.menu-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.menu-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    display: flex;
    flex-direction: column;
    color: inherit;
}

.menu-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

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

.menu-card-img-wrap img {
    height: 100%;
    transition: transform 0.5s ease;
}

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

.menu-card-body {
    padding: 20px 22px 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.menu-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--espresso);
}

.menu-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    flex: 1;
}

.menu-card-link {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 8px;
    transition: color var(--transition);
}

.menu-card:hover .menu-card-link {
    color: var(--gold-dark);
}

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

/* ── Delivery ── */
.delivery {
    background: var(--cream-dark);
}

.delivery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 16px;
}

.delivery-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius-lg);
    background: var(--white);
    box-shadow: var(--shadow);
    cursor: pointer;
    transition: transform var(--transition), box-shadow var(--transition);
}

.delivery-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.delivery-icon {
    font-size: 1.8rem;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.delivery-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.delivery-info strong {
    font-size: 1rem;
    font-weight: 700;
    color: var(--espresso);
}

.delivery-info span {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.delivery-arrow {
    font-size: 1.1rem;
    color: var(--text-muted);
    transition: transform var(--transition), color var(--transition);
}

.delivery-card:hover .delivery-arrow {
    transform: translate(3px, -3px);
    color: var(--gold);
}

.delivery-card.pedidosya .delivery-icon {
    background: #FA0050;
}

.delivery-card.rappi .delivery-icon {
    background: #FF441B;
}

.delivery-card.instagram .delivery-icon {
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.delivery-card.facebook .delivery-icon {
    background: #1877F2;
}

.delivery-card .delivery-icon {
    color: white;
}

/* ── Locations ── */
.locaciones {
    background: var(--cream);
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.location-card {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: transform var(--transition), box-shadow var(--transition);
    background: var(--white);
}

.location-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
}

.location-img-wrap {
    position: relative;
    height: 220px;
}

.location-img-wrap img {
    height: 100%;
}

.location-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 40%, rgba(44, 26, 14, 0.5));
}

.location-body {
    padding: 22px 24px 26px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.location-barrio {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--espresso);
}

.location-address {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.location-link {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--gold);
    margin-top: 6px;
    transition: color var(--transition);
}

.location-card:hover .location-link {
    color: var(--gold-dark);
}

/* ── Footer ── */
.footer {
    background: var(--espresso);
    padding: 60px 0 40px;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--cream);
}

.footer-logo-sub {
    font-size: 0.85rem;
    color: var(--brown-light);
    font-style: italic;
    margin-left: 8px;
}

.footer-tagline {
    font-size: 0.9rem;
    color: rgba(250, 247, 242, 0.6);
    font-style: italic;
}

.footer-socials {
    display: flex;
    gap: 20px;
    margin-top: 8px;
}

.footer-socials a {
    color: rgba(250, 247, 242, 0.6);
    transition: color var(--transition), transform var(--transition);
}

.footer-socials a:hover {
    color: var(--gold);
    transform: translateY(-3px);
}

.footer-copy {
    font-size: 0.8rem;
    color: rgba(250, 247, 242, 0.45);
    margin-top: 8px;
}

.footer-copy a {
    color: var(--gold);
    font-weight: 600;
    transition: color var(--transition);
}

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

/* ── Responsive ── */
@media (max-width: 768px) {
    .hero-content {
        padding: 0 24px;
    }

    .nav-links {
        display: none;
    }

    .section {
        padding: 70px 0;
    }

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

    .strip-dot {
        display: none;
    }

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

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

@media (max-width: 480px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }

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

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

    .hero-actions {
        flex-direction: column;
    }

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