﻿:root {
    --agha-yellow: #fdf5e6;
    /* Softer Creamy Yellow */
    --agha-orange: #d4a017;
    /* Noble Gold instead of harsh orange */
    --agha-green: #f0f7e9;
    /* Very light soft green */
}

body {
    background-color: var(--bg-light);
}

.agha-hero {
    height: 70vh;
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.5)),
        url('../../../images/al_agha_mango.png');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 5%;
}

.agha-hero h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.brand-story {
    padding: 5rem 10%;
    display: flex;
    align-items: center;
    gap: 4rem;
    background: white;
}

.brand-story-text {
    flex: 1;
}

.brand-story-text h2 {
    color: var(--agha-orange);
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.brand-story-image {
    flex: 1;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(255, 87, 51, 0.2);
}

.brand-story-image img {
    width: 100%;
    display: block;
}

.product-showcase {
    padding: 5rem 5%;
    text-align: center;
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    justify-content: center;
}

.agha-product-card {
    background: white;
    padding: 2rem;
    border-radius: 25px;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

.agha-product-card:hover {
    border-color: var(--agha-yellow);
    transform: scale(1.03);
}

.agha-product-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 1.5rem;
}

.recipes-section {
    background: #fff;
    padding: 5rem 10%;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
    color: #2d5a27;
}

.recipes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.recipe-item {
    background: rgba(255, 255, 255, 0.4);
    padding: 2rem;
    border-radius: 20px;
}

@media (max-width: 768px) {
    .agha-product-card {
        display: flex;
        align-items: center;
        text-align: right;
        padding: 1rem;
        gap: 1.5rem;
        border-radius: 25px;
    }

    .agha-product-card img {
        width: 140px;
        height: 140px;
        margin-bottom: 0;
        flex-shrink: 0;
        border-radius: 15px;
        object-fit: contain;
        background: #fdfdfd;
    }

    .agha-product-card h3 {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        color: var(--agha-orange);
    }

    .agha-product-card p {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }

    .size-badge {
        font-size: 0.75rem;
        padding: 0.3rem 0.8rem;
        display: inline-block;
    }
}

.size-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--agha-yellow), var(--agha-orange));
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.9rem;
    margin-top: 1rem;
}

.product-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
}

.product-modal.active {
    display: block;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 30px;
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translate(-50%, -50%) scale(0.9);
    }

    to {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    cursor: pointer;
    font-size: 1.2rem;
    color: #333;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--agha-orange);
    color: white;
    transform: rotate(90deg);
}

.modal-body {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
}

.modal-image {
    background: linear-gradient(135deg, rgba(255, 195, 0, 0.1), rgba(255, 140, 0, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border-radius: 30px 0 0 30px;
}

.modal-image img {
    max-width: 100%;
    max-height: 400px;
    object-fit: contain;
    border-radius: 20px;
}

.modal-info {
    padding: 3rem;
}

.modal-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--agha-orange), #FF8C00);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.modal-info h2 {
    font-size: 2rem;
    color: #333;
    margin-bottom: 1rem;
}

.modal-description {
    font-size: 1.1rem;
    color: #666;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.modal-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin-bottom: 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 195, 0, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    color: var(--agha-orange);
}

.nutrition-info {
    background: #f9f9f9;
    padding: 1.5rem;
    border-radius: 15px;
    margin-bottom: 2rem;
}

.nutrition-info h4 {
    color: #333;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nutrition-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.nutrition-item {
    text-align: center;
}

.nutrition-item .value {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--agha-orange);
}

.nutrition-item .label {
    font-size: 0.85rem;
    color: #888;
}

.modal-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--agha-orange), #FF8C00);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255, 140, 0, 0.3);
}

.modal-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 140, 0, 0.4);
}

@media (max-width: 768px) {
    .modal-body {
        grid-template-columns: 1fr;
    }

    .modal-image {
        border-radius: 30px 30px 0 0;
        padding: 1.5rem;
    }

    .modal-info {
        padding: 2rem;
    }

    .modal-info h2 {
        font-size: 1.5rem;
    }

    .nutrition-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.5rem;
    }
}
