/* =====================================================================
   Captain Franks Hotdog Emporium — index.css
   Homepage-only styles. Shared styles live in main.css.
   ===================================================================== */

/* ---------------------------------------------------------------------
   HERO
   --------------------------------------------------------------------- */
#hero {
    display: grid;
    grid-template-columns: 1fr;
    padding-top: 0 !important;
}

.hero-left {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.25rem;
    padding: 4rem 6%;
    background: var(--white);
    border-radius: 25px;
}

.hero-eyebrow {
    font-family: var(--font-label);
    font-size: 1.25rem;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--captain-orange-deep);
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 300;
    line-height: 1.1;
    color: var(--ink);
}

.hero-title em { font-style: italic; color: var(--captain-orange-deep); }

.hero-subtitle {
    font-size: clamp(0.9rem, 1.2vw, 1.05rem);
    color: var(--ink);
    line-height: 1.7;
    max-width: 420px;
}

.hero-cta-row {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.hero-right {
    height: 600px;
    overflow: hidden;
}

.hero-right img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    border: var(--captain-orange) 4px solid;
    border-radius: 25px;
    display: block;
}

/* ---------------------------------------------------------------------
   BUTTONS
   --------------------------------------------------------------------- */
.btn-primary {
    background: var(--captain-orange);
    color: var(--ink);
    padding: 0.7rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.btn-primary:hover { opacity: 0.9; }

.btn-secondary {
    border: 1.5px solid var(--ink);
    color: var(--ink);
    padding: 0.7rem 1.75rem;
    border-radius: 50px;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: inline-block;
}

.btn-secondary:hover { background: var(--ink); color: var(--white); }

.btn-cta-event {
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 0.75rem;
    flex-wrap: wrap;
    margin-top: 2rem;
    width: 100%;
}

/* ---------------------------------------------------------------------
   CARDS  (why-us + catering)
   --------------------------------------------------------------------- */
.cards-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-top: 2rem;
}

.card {
    background: var(--white);
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    padding: 1.5rem;
}

.card-img-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--beige);
    border: var(--captain-orange) 3px solid;
    border-radius: 12px;
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.card-img-wrapper:hover .card-image { transform: scale(1.1); }

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

.card h3 { font-size: 1.3rem; font-weight: 800; color: var(--ink); margin: 0.75rem 0 0.4rem; }
.card-subtitle { font-family: var(--font-label); font-size: 0.8rem; font-weight: 700; letter-spacing: 0.1em; color: var(--captain-orange-deep); margin-bottom: 0.75rem; }
.card p { font-size: 0.88rem; color: var(--ink); line-height: 1.6; }

/* ---------------------------------------------------------------------
   REVIEWS
   --------------------------------------------------------------------- */
.review-card {
    background: var(--white);
    border: 1px solid #f4c89a;
    border-radius: 12px;
    padding: 1.5rem;
}

.stars { color: var(--captain-orange-deep); margin-bottom: 0.5rem; font-size: 1.25rem; }
.review-card p { font-size: 0.88rem; font-style: italic; color: var(--ink); line-height: 1.6; margin-bottom: 0.75rem; }
.reviewer { font-size: 0.78rem; color: #707070; }

/* ---------------------------------------------------------------------
   FACEBOOK CTA BANNER  (uses .btn-facebook / .fb-icon from main.css)
   --------------------------------------------------------------------- */
.facebook-cta {
    background: #1877F2;
    color: var(--white);
    text-align: center;
    padding: 4rem 5%;
    border-radius: 25px;
    margin: 2rem 4%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
}

.facebook-cta h2 {
    font-size: clamp(1.6rem, 3.2vw, 2.6rem);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -0.01em;
    max-width: 680px;
}

.facebook-cta h2 em {
    font-style: normal;
    font-weight: 800;
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 3px;
}

.facebook-cta p {
    max-width: 46ch;
}

.facebook-cta .btn-facebook {
    font-weight: 800;
    padding: 1.05rem 2.75rem;
    font-size: 1.15rem;
}

/* ---------------------------------------------------------------------
   GALLERY
   --------------------------------------------------------------------- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 2rem;
}

.gallery-grid img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}

/* ══════════════════════════════════════════════
   RESPONSIVE — TABLET  (≤ 900px)
══════════════════════════════════════════════ */
@media (max-width: 900px) {

    .hero-right {
        height: 320px;
    }

    .hero-right img {
        border-radius: 0;
        border-left: none;
        border-right: none;
    }

    .hero-left {
        padding: 3rem 6%;
    }

    /* Cards: 2 columns */
    .cards-3 {
        grid-template-columns: repeat(2, 1fr);
    }

    /* Gallery: 2 columns */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .facebook-cta {
        margin: 2rem 0;
        border-radius: 16px;
    }
}

/* ══════════════════════════════════════════════
   RESPONSIVE — MOBILE  (≤ 600px)
══════════════════════════════════════════════ */
@media (max-width: 600px) {

    /* ── HERO ── */
    .hero-left {
        padding: 2.5rem 5%;
        gap: 1rem;
    }

    .hero-eyebrow { font-size: 0.85rem; }

    .hero-right {
        height: 240px;
        order: -1; /* Image on top on mobile */
    }

    .hero-right img {
        border-radius: 0;
        border: none;
        border-bottom: 4px solid var(--captain-orange);
    }

    /* ── CARDS: single column ── */
    .cards-3 {
        grid-template-columns: 1fr;
    }

    .card-img-wrapper { height: 220px; }

    /* ── GALLERY: 2 columns on mobile (keep visual interest) ── */
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 6px;
    }

    /* ── FACEBOOK CTA BANNER ── */
    .facebook-cta {
        padding: 2.5rem 5%;
        margin: 1.5rem 0;
        border-radius: 16px;
        gap: 1rem;
    }

    /* ── BUTTONS ── */
    .hero-cta-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }
}
