/* Home Page Specific Styles */
.home-page {
    /* Uses variables from base_layout.css (--bg-page, --brand-green, --brand-gold) */
    background-color: var(--bg-page); 
}

/* Utilities */
.text-gold { color: var(--brand-gold) !important; }
.bg-green { background-color: var(--brand-green) !important; }
.font-playfair { font-family: 'Playfair Display', serif; }
.italic-font { font-style: italic; font-family: 'Playfair Display', serif;}

.badge-gold-outline {
    font-size: 0.65rem;
    letter-spacing: 1.5px;
    padding: 6px 12px;
    border: 1px solid var(--brand-gold);
    color: var(--brand-gold);
    text-transform: uppercase;
    font-weight: 600;
}

/* 1. Hero Section */
.hero-title {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 4.5rem;
    line-height: 1.1;
    color: var(--brand-green);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-gray);
    max-width: 90%;
    line-height: 1.6;
}

.btn-outline-dark {
    padding: 12px 30px;
    border: 1px solid #ddd;
    color: var(--text-dark);
    text-decoration: none;
    font-size: 0.75rem;
    letter-spacing: 1.5px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-outline-dark:hover {
    background-color: var(--brand-green);
    border-color: var(--brand-green);
    color: white;
}

.stat-number {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.8rem;
    color: var(--text-dark);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.55rem;
    color: var(--text-gray);
    letter-spacing: 1px;
    font-weight: 600;
}

/* Hero Image Overlay */
.hero-img {
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.price-tag-overlay {
    position: absolute;
    bottom: -20px;
    right: 20px;
    background-color: white;
    padding: 1rem 1.5rem;
    min-width: 280px;
    border-radius: 4px;
}

.tag-label {
    font-size: 0.55rem;
    color: var(--brand-gold);
    letter-spacing: 1px;
}

.tag-title {
    font-size: 0.9rem;
    color: var(--text-dark);
}

.tag-price {
    font-size: 1.1rem;
    color: var(--brand-green);
}

/* 2. Brand Bar */
.brand-bar span {
    transition: color 0.3s ease;
    cursor: default;
}
.brand-bar span:hover {
    color: var(--brand-gold) !important;
}

/* 3. New Arrivals */
.section-title {
    font-family: 'Playfair Display', serif;
    color: var(--brand-green);
    font-weight: 600;
    font-size: 2.5rem;
}

.view-all-link {
    font-size: 0.7rem;
    letter-spacing: 1px;
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s;
}
.view-all-link:hover { color: var(--brand-gold); }

.product-card .img-wrapper {
    transition: transform 0.4s ease;
}

.product-card:hover .img-wrapper {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
}

.product-title {
    font-size: 0.95rem;
    font-weight: 600;
    margin-bottom: 0.2rem;
}

.product-price {
    font-size: 0.85rem;
}

/* 4. Promo Banner */


.btn-gold {
    background-color: var(--brand-gold);
    color: white;
    border: none;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: background-color 0.3s ease;
}
.btn-gold:hover {
    background-color: #8c7344;
    color: white;
}

/* 5. Reviews */
.review-text {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.6;
}
/* ===========================
FEATURED PRODUCT
=========================== */

.promo-banner {
    height: 480px;
    overflow: hidden;
    border-radius: 16px;
    display: flex; /* Ensures both sides line up perfectly as equal-height columns */
}

.promo-content {
    display: flex;
    flex-direction: column;
    justify-content: center; /* Centers the content vertically for a more balanced look */
    padding: 55px 50px;
    height: 100%;
    flex: 1; /* Automatically splits space equally if using a standard grid/flex layout */
}

.promo-title {
    font-size: 2.8rem; /* Slightly enhanced for premium editorial presence */
    line-height: 1.2;
    font-family: 'Playfair Display', serif; /* Keeps branding consistent */
}

.promo-desc {
    font-size: 15px;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 25px !important;
    max-width: 460px;
}

.btn-gold {
    padding: 12px 26px;
    border-radius: 4px;
    font-weight: 600;
}

/* FIX: Made the image container match the full banner height */
/* FIX: Made the image container match the full banner height and green theme */
.promo-image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%; /* Spans the full 480px height dynamically */
    background: #0a2d21; /* Matches your text panel background color perfectly */
    overflow: hidden;
    flex: 1;
}

/* FIX: Forces the image to display 100% of its content without any cropping */
.promo-image img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Displays the full image beautifully inside the container */
}
/* 6. Newsletter */
.placeholder-light::placeholder {
    color: rgba(255,255,255,0.7);
}
.placeholder-light:focus {
    background-color: rgba(255,255,255,0.9);
    color: var(--text-dark);
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 991px) {

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

    .promo-banner {
        flex-direction: column !important;
        min-height: auto;
    }

    .promo-content {
        padding: 35px 25px;
    }

    .promo-title {
        font-size: 2rem;
    }

    .promo-image {
        min-height: 300px;
    }

    .promo-image img {
        height: 300px;
    }

    .price-tag-overlay {
        bottom: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }
}
/* Helper class for button text spacing */
.letter-spacing-1 {
    letter-spacing: 1.5px;
}
.product-card{

    transition: 0.3s ease;
}

.product-card:hover{

    transform: translateY(-6px);
}

.product-image{

    height: 320px;

    object-fit: cover;

    transition: 0.4s ease;
}

.product-card:hover .product-image{

    transform: scale(1.05);
}

.img-wrapper{

    background: #f8f5ef;
}

.product-title{

    font-size: 22px;

    font-family: "Playfair Display", serif;

    margin-bottom: 10px;
}

.product-price{

    font-size: 18px;
}
/* ===========================
WHY CHOOSE FOODIFLY
=========================== */

.feature-card{

    background: #ffffff;

    padding: 40px 25px;

    border-radius: 16px;

    transition: all .35s ease;

    box-shadow: 0 8px 25px rgba(0,0,0,.05);

    border: 1px solid #f0ece4;
}

.feature-card:hover{

    transform: translateY(-8px);

    box-shadow: 0 18px 40px rgba(0,0,0,.12);
}

.feature-icon{

    width: 80px;

    height: 80px;

    margin: auto;

    margin-bottom: 25px;

    background: rgba(212,175,55,.12);

    border-radius: 50%;

    display: flex;

    align-items: center;

    justify-content: center;
}

.feature-icon i{

    font-size: 34px;

    color: var(--brand-gold);
}

.feature-card h5{

    color: var(--brand-green);

    font-family: "Playfair Display", serif;

    font-size: 24px;

    margin-bottom: 15px;
}

.feature-card p{

    color: #777;

    font-size: 15px;

    line-height: 1.8;

    margin: 0;
}