/* Index Page Specific Styles */

/* Hero Section */
.hero {
    height: 60vh;
    min-height: 400px;
    background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.7)), url('../images/hero.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding-top: 80px;
    /* Offset header */
}

.hero-content {
    text-align: center;
    margin: 0 auto;
    max-width: 800px;
    animation: fadeInDown 1s ease-out;
}

.hero-title {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 1rem;
    letter-spacing: -1px;
    text-transform: uppercase;
    text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    font-weight: 500;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.9);
    text-transform: uppercase;
    letter-spacing: 2px;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

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

/* Pricing Grid Section */
.pricing-section {
    padding: var(--spacing-xl) 0;
    background-color: #fff;
    text-align: center;
}

.section-title {
    color: var(--primary);
    font-size: 2.5rem;
    margin-bottom: 3rem;
    font-weight: 700;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.pricing-card {
    padding: 2rem;
    background: var(--light);
    border-radius: 8px;
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.pricing-image {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 8px;
    margin: 0 auto 1rem;
}

.pricing-image-small-pizza {
    object-position: center center;
}

.pricing-image-xl-pizza {
    object-position: 45% 45%;
}

.pricing-image-large-pizza {
    object-position: 52% 42%;
}

.pricing-image-two-pizzas {
    object-position: 60% 55%;
}

.pricing-image-single-pizza {
    object-position: 42% 58%;
}

.pricing-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(230, 57, 70, 0.2);
}

.pricing-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.pricing-card p {
    color: var(--text-muted);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.pricing-card .price {
    font-family: var(--font-display);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary);
}

/* Promotional Image Boxes */
.promo-section {
    padding: var(--spacing-xl) 0;
    background-color: var(--light);
}

.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--spacing-lg);
}

.promo-card {
    text-align: center;
    overflow: hidden;
    border-radius: 12px;
    background: #fff;
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-normal);
}

.promo-card:hover {
    transform: translateY(-10px);
}

.promo-card .img-wrapper {
    overflow: hidden;
    height: 250px;
}

.promo-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.promo-card:hover img {
    transform: scale(1.05);
}

.promo-card h4 {
    font-size: 1.5rem;
    color: var(--primary);
    padding: 1.5rem;
    margin: 0;
    font-weight: 600;
}

/* Info Banner Section */
.info-banner {
    background-color: var(--dark);
    color: #fff;
    padding: var(--spacing-lg) 0;
    text-align: center;
}

.info-banner h2 {
    color: #fff;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.info-banner .status {
    color: var(--secondary);
    font-weight: 700;
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin-top: 1rem;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .pricing-grid {
        grid-template-columns: repeat(2, 1fr);
    }

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

@media (max-width: 600px) {

    .pricing-grid,
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: 400px;
    }
}
