/**
 * Home page for Restaurant Demo
 * Modern American restaurant design.
 */

:root {
    --cream: #fff8ef;
    --soft: #fff1df;
    --dark: #17100c;
    --text: #21160f;
    --muted: #735f50;
    --brand: #b9411f;
    --brand-dark: #872d18;
    --gold: #e5a22f;
    --white: #ffffff;
    --line: rgba(91, 56, 33, 0.14);
    --shadow: 0 22px 60px rgba(67, 35, 19, 0.16);
    --radius: 26px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

    background-color: #c89a61;
    background-image:
        linear-gradient(
            rgba(255, 248, 239, 0.18),
            rgba(255, 248, 239, 0.18)
        ),
        url('../img/fondohome.png');

    background-repeat: repeat;
    background-size: 900px auto;
    background-position: top left;
    background-attachment: fixed;

    color: var(--text);
}

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

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 22px;
    background: rgba(23, 16, 12, 0.90);
    backdrop-filter: blur(16px);
    color: var(--white);
}

.brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    text-decoration: none;
    min-width: 215px;
}

.brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--brand), var(--gold));
    font-weight: 950;
}

.brand strong,
.brand small {
    display: block;
}

.brand small {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.78rem;
}

.top-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    scrollbar-width: none;
}

.top-nav::-webkit-scrollbar {
    display: none;
}

.top-nav a {
    flex: 0 0 auto;
    color: rgba(255, 255, 255, 0.88);
    text-decoration: none;
    font-weight: 850;
    font-size: 0.92rem;
    padding: 10px 13px;
    border-radius: 999px;
}

.top-nav a:hover {
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.nav-button {
    background: var(--brand);
    color: var(--white) !important;
}

/* Hero video */
.hero {
    position: relative;
    min-height: 720px;
    display: grid;
    place-items: center;
    overflow: hidden;
    text-align: center;
    color: var(--white);
    background: var(--dark);
}

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        radial-gradient(circle at center, rgba(229, 162, 47, 0.20), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.22), rgba(0, 0, 0, 0.70));
}

.hero-content {
    position: relative;
    z-index: 3;
    width: min(980px, calc(100% - 32px));
    padding: 70px 0;
}

.kicker {
    display: inline-flex;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-weight: 950;
    font-size: 0.82rem;
    margin-bottom: 14px;
}

.hero h1 {
    margin: 0;
    font-size: clamp(3.3rem, 9vw, 7.4rem);
    line-height: 0.88;
    letter-spacing: -0.07em;
    text-shadow: 0 18px 45px rgba(0, 0, 0, 0.46);
}

.hero p {
    margin: 22px auto 0;
    max-width: 720px;
    color: rgba(255, 255, 255, 0.90);
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.55;
}

.hero-actions {
    margin-top: 28px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.hero-actions.left {
    justify-content: flex-start;
}

.btn-primary,
.btn-secondary,
.btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    padding: 14px 24px;
    font-weight: 950;
    text-decoration: none;
}

.btn-primary {
    color: var(--white);
    background: linear-gradient(135deg, var(--brand), var(--brand-dark));
    box-shadow: 0 16px 36px rgba(185, 65, 31, 0.32);
}

.btn-secondary {
    color: var(--white);
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
}

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

/* Sections */
.section {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 82px 0;
}

main {
    background: transparent !important;
}

.section {
    background: transparent !important;
}

.section-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 34px;
}

.section h2,
.about-card h2,
.info-card h2 {
    margin: 0;
    font-size: clamp(2.1rem, 5vw, 4.2rem);
    line-height: 0.98;
    letter-spacing: -0.055em;
}

.section p,
.about-card p,
.info-card p {
    color: var(--muted);
    line-height: 1.65;
    font-size: 1.03rem;
}

/* Featured specials */
.special-grid,
.popular-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.feature-card,
.popular-card,
.about-card,
.info-card,
.empty-box {
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(2px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    overflow: hidden;
}

.feature-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background:
        radial-gradient(circle at center, rgba(255, 207, 116, .55), transparent 32%),
        linear-gradient(135deg, #30150b, #ba4a20);
}

.feature-content {
    padding: 22px;
}

.feature-content span,
.popular-card span {
    color: var(--brand);
    text-transform: uppercase;
    font-size: .78rem;
    letter-spacing: .12em;
    font-weight: 950;
}

.feature-card h3,
.popular-card h3 {
    margin: 7px 0 8px;
    font-size: 1.35rem;
}

/* About */
.about-card {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 22px;
    padding: 34px;
}

.about-box {
    background: linear-gradient(135deg, var(--dark), var(--brand-dark));
    color: var(--white);
    border-radius: 24px;
    padding: 26px;
    display: grid;
    align-content: center;
    gap: 12px;
}

.about-box strong {
    font-size: 1.5rem;
}

.about-box span {
    color: rgba(255, 255, 255, .84);
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
}

/* Categories */
.category-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.category-card {
    text-decoration: none;
    color: var(--text);
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 22px;
    padding: 22px;
    box-shadow: 0 12px 30px rgba(67, 35, 19, .08);
    transition: transform .2s ease, box-shadow .2s ease;
}

.category-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.category-card strong,
.category-card span {
    display: block;
}

.category-card span {
    color: var(--muted);
    margin-top: 6px;
}

/* Popular */
.popular-card img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    background: var(--soft);
}

.popular-card div {
    padding: 22px;
}

.popular-card strong {
    display: inline-flex;
    color: var(--brand);
    background: var(--soft);
    border-radius: 999px;
    padding: 8px 13px;
    font-weight: 950;
}

.center {
    text-align: center;
    margin-top: 28px;
}

.empty-box {
    text-align: center;
    padding: 28px;
}

/* Hours and contact */
.hours-contact {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.info-card {
    padding: 28px;
}

.hours-list {
    list-style: none;
    padding: 0;
    margin: 22px 0 0;
}

.hours-list li {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 14px 0;
    border-bottom: 1px solid var(--line);
}

.hours-list span {
    color: var(--muted);
}

.hours-list strong {
    text-align: right;
}

/* Footer */
.footer {
    padding: 32px;
    text-align: center;
    background: var(--dark);
    color: rgba(255, 255, 255, .72);
}

/* Back top */
.back-top {
    position: fixed;
    right: 18px;
    bottom: 18px;
    z-index: 65;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    text-decoration: none;
    color: var(--white);
    background: var(--dark);
    border-radius: 50%;
    font-weight: 950;
    box-shadow: var(--shadow);
}

/* Responsive */
@media (max-width: 980px) {
    .site-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .top-nav {
        width: 100%;
    }

    .special-grid,
    .popular-grid,
    .hours-contact,
    .about-card {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 560px) {
    .site-header {
        padding: 12px;
    }

    .hero {
        min-height: 640px;
    }

    .hero h1 {
        font-size: clamp(3rem, 18vw, 5.4rem);
    }

    .section {
        width: min(100% - 22px, 1180px);
        padding: 58px 0;
    }

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

    .popular-card img,
    .feature-card img {
        height: 210px;
    }
}


/* =====================================================
   Floating WEB Info Button
   This block must stay OUTSIDE any @media block.
===================================================== */

.floating-web-info {
    position: fixed;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9999;
    width: 190px;
    text-decoration: none;
    color: #ffffff;
    background: linear-gradient(135deg, #b9411f, #872d18);
    border-radius: 22px;
    padding: 16px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .28);
    transition: all .25s ease;
}

.floating-web-info:hover {
    transform: translateY(-50%) translateX(-4px);
}

.floating-web-info strong,
.floating-web-info span {
    display: block;
}

.floating-web-info strong {
    font-size: 1.05rem;
    font-weight: 900;
}

.floating-web-info span {
    margin-top: 5px;
    font-size: .86rem;
    color: rgba(255, 255, 255, .86);
}

@media (max-width: 768px) {
    .floating-web-info {
        top: auto;
        bottom: 85px;
        right: 15px;
        transform: none;
        width: 165px;
        padding: 14px;
    }

    .floating-web-info:hover {
        transform: translateY(-2px);
    }
}

@media (max-width: 560px) {
    .floating-web-info {
        left: 14px;
        right: 76px;
        width: auto;
        border-radius: 18px;
    }
}

html,
body {
    background-color: #c89a61 !important;
    background-image:
    linear-gradient(
        rgba(255,255,255,0.20),
        rgba(255,255,255,0.20)
    ),
    url('../img/fondohome.png') !important;
    background-repeat: repeat !important;
    background-size: 700px auto !important;
    background-position: top left !important;
    background-attachment: fixed !important;
}

main,
.section {
    background: transparent !important;
}