/* index.css — homepage-only styles.
   Shared tokens and components live in base.css. */

/* Hero — full-bleed storefront photo */
.hero--storefront {
    position: relative;
    width: 100vw;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    margin-bottom: 3rem;
    min-height: min(88vh, 720px);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
    color: #fff8f1;
    text-align: center;
    border-radius: 0;
    box-shadow: none;
    background: #2a1814;
}

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

.hero-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 60%;
    display: block;
    transform: scale(1.04);
    animation: hero-kenburns 18s ease-out forwards;
}

@keyframes hero-kenburns {
    from { transform: scale(1.08); }
    to { transform: scale(1.02); }
}

.hero-veil {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(
            180deg,
            rgba(42, 24, 20, 0.15) 0%,
            rgba(42, 24, 20, 0.35) 45%,
            rgba(42, 24, 20, 0.82) 100%
        );
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    width: min(920px, 100%);
    padding: 4.5rem 1.5rem 3.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.hero-logo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 248, 241, 0.95);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35);
    opacity: 0;
    animation:
        hero-fade 0.9s ease-out 0.05s forwards,
        float 3s ease-in-out infinite;
}

@keyframes hero-fade {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

.hero-brand {
    margin: 0;
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 800;
    letter-spacing: 0.02em;
    line-height: 1.15;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.45);
    opacity: 0;
    animation: hero-rise 0.9s ease-out 0.2s forwards;
}

.hero--storefront h1 {
    margin: 0;
    font-size: clamp(1.35rem, 3.2vw, 2rem);
    font-weight: 600;
    line-height: 1.3;
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.4);
    opacity: 0;
    animation: hero-rise 0.9s ease-out 0.35s forwards;
}

.hero-lead {
    margin: 0 0 0.5rem;
    max-width: 36rem;
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.55;
    opacity: 0;
    animation: hero-rise 0.9s ease-out 0.5s forwards;
}

.hero-buttons {
    display: flex;
    gap: 0.85rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: hero-rise 0.9s ease-out 0.65s forwards;
}

.hero-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    padding: 0.9rem 1.6rem;
    border-radius: 999px;
    background: rgba(255, 248, 241, 0.94);
    color: #6b4842;
    text-decoration: none;
    font-weight: 700;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22);
}

.hero-btn--primary {
    background: #f0c27a;
    color: #4a2f28;
}

.hero-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
    background: #fff;
}

.hero-btn--primary:hover {
    background: #f6d29a;
}

@keyframes hero-rise {
    from {
        opacity: 0;
        transform: translateY(22px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-photo,
    .hero-logo,
    .hero-brand,
    .hero--storefront h1,
    .hero-lead,
    .hero-buttons {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

/* Homepage news preview — compact variant */
.news-card-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card:hover .news-card-content h3 {
    color: var(--accent-color);
}

.news-card-content p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-content small {
    color: var(--text-color);
    opacity: 0.7;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    margin-top: 0.5rem;
}

.news-card-compact {
    height: 340px;
}

.news-card-compact .news-card-media {
    height: 160px;
}

/* Featured dish inner link — keeps card shell underline-free */
.item-card-link {
    display: block;
    padding: 1.5rem;
    text-decoration: none;
    color: var(--text-color);
}

.item-card-link:hover,
.item-card-link:focus,
.item-card-link:visited,
.item-card-link:active {
    text-decoration: none;
    color: var(--text-color);
}

.item-card-link h3,
.item-card-link p,
.item-card-link .price,
.item-card-link:visited h3,
.item-card-link:visited p {
    text-decoration: none;
}

/* Google Reviews section */
.reviews-section {
    padding: 4rem 0;
    background: var(--bg-color);
}

.reviews-intro {
    text-align: center;
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.google-maps-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.map-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.map-wrapper {
    width: 100%;
    height: 450px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow);
    background: var(--card-bg);
}

.map-wrapper iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    border-radius: 10px;
}

.map-address {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-color);
    line-height: 1.5;
    font-weight: 600;
}

.map-address i {
    color: var(--primary-color);
    margin-top: 0.15rem;
}

.map-directions-btn {
    width: 100%;
}

.google-maps-container .review-summary-sidebar {
    max-width: none;
    margin: 0;
    height: 100%;
}

.review-summary {
    gap: 1.5rem;
    margin-bottom: 0;
}

.rating-overview {
    text-align: center;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.rating-score .score {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    display: block;
    line-height: 1;
}

.review-count {
    color: var(--text-color);
    opacity: 0.8;
    margin-top: 0.5rem;
}

.review-highlights {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: var(--bg-color);
    border-radius: 8px;
    transition: var(--transition);
}

.highlight-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px var(--shadow);
}

.highlight-item i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

.highlight-item span {
    color: var(--text-color);
    font-weight: 600;
    font-size: 0.9rem;
}

.write-review-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    text-align: center;
    background: var(--card-bg);
    color: var(--text-color);
    border: 2px solid var(--border-color);
}

.write-review-btn:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.review-card {
    padding: 1.5rem;
}

.review-header {
    margin-bottom: 1rem;
}

.reviewer-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.reviewer-avatar {
    width: 50px;
    height: 50px;
    background: var(--nav-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.reviewer-info h4 {
    color: var(--text-color);
    margin-bottom: 0.25rem;
}

.review-text {
    color: var(--text-color);
    line-height: 1.6;
    opacity: 0.9;
    font-style: italic;
}

@media (max-width: 968px) {
    .google-maps-container {
        grid-template-columns: 1fr;
    }

    .map-wrapper {
        height: 350px;
    }
}

@media (max-width: 768px) {
    .hero--storefront {
        min-height: min(78vh, 620px);
    }

    .hero-content {
        padding: 3.25rem 1.15rem 2.75rem;
    }

    .hero-logo {
        width: 110px;
        height: 110px;
    }

    .hero-photo {
        object-position: 45% 55%;
    }

    .hero-buttons {
        width: 100%;
    }

    .hero-btn {
        width: 100%;
    }

    .review-highlights {
        grid-template-columns: 1fr;
    }

    .sample-reviews {
        grid-template-columns: 1fr;
    }
}
