:root {
    --gold: #c9a14a;
    --dark: #0b0b0b;
    --light: #ffffff;
    --primary-gold: #C59D5F;
    /* Legacy support if needed */
    --text-gold: #d4af37;
    --font-heading: 'Cinzel', serif;
    --font-body: 'Poppins', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: url('../images/global-bg.jpg') no-repeat center center fixed;
    background-size: cover;
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

/* Typography */
h1,
h2,
h3,
h4,
.section-title {
    font-family: var(--font-heading);
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 40px;
    background: linear-gradient(to right, #C59D5F, #8E6A3A);
    color: #000;
    text-decoration: none;
    font-weight: 600;
    border-radius: 5px;
    transition: all .3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(201, 161, 74, 0.4);
}

.btn-gold {
    /* Legacy class mapped to new style */
    background: var(--gold);
    color: #000;
}

.btn-card {
    display: inline-block;
    padding: 10px 0;
    width: 100%;
    text-align: center;
    border: 1px solid var(--gold);
    color: var(--gold);
    font-family: var(--font-heading);
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-top: 15px;
    border-radius: 5px;
}

.btn-card:hover {
    background: var(--gold);
    color: #000;
}

/* HERO SECTION */
.hero-section {
    min-height: 70vh;
    background: transparent url('../images/hero-bg.png');
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 40px 20px;
    position: relative;
    border-bottom: 2px solid var(--gold);
}

.hero-section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle, rgba(0, 0, 0, 0.2) 20%, rgba(0, 0, 0, 0.9) 100%);
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo img {
    height: 320px;
    margin: 0 auto 0;
    mix-blend-mode: screen;
    /* Makes black background transparent */
    filter: drop-shadow(0 0 15px rgba(201, 161, 74, 0.3));
}

.hero-section h1.main-title {
    font-size: 4.5rem;
    color: var(--light);
    /* The main text is whiteish in the reference */
    margin-top: -80px;
    margin-bottom: 5px;
    letter-spacing: 4px;
    font-weight: 700;
}

.hero-section p.subtitle {
    font-size: 1.1rem;
    color: var(--gold);
    /* Subtitle is gold in reference */
    opacity: 1;
    margin-bottom: 30px;
    font-family: var(--font-body);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* PRODUCTS SECTION */
.products-section {
    padding: 80px 8% 60px;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin: 0 auto 40px;
}

.view-all-wrapper {
    text-align: center;
    margin-top: 60px;
}

.btn-view-all {
    display: inline-block;
    padding: 8px 25px;
    background: var(--gold);
    color: #000;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.9rem;
    border-radius: 4px;
    letter-spacing: 1px;
}

.btn-view-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(201, 161, 74, 0.3);
}

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.product-card {
    background: transparent;
    border: 1px solid rgba(201, 161, 74, 0.4);
    border-radius: 2px;
    padding: 0;
    text-align: center;
    transition: all .4s ease;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-18px) scale(1.03);
    box-shadow: 0 0 40px rgba(201, 161, 74, 0.25);
}

.card-image-wrapper {
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 14px;
    margin-bottom: 20px;
}

.card-image-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-card h3 {
    font-size: 1.1rem;
    margin-bottom: 0;
    padding: 10px 0;
    color: var(--light);
}

.cta-section {
    background: transparent;
    text-align: center;
    padding: 40px 20px 100px;
    border-top: 1px solid rgba(201, 161, 74, 0.1);
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.cta-content p {
    opacity: 0.85;
    margin-bottom: 30px;
    font-size: 1.1rem;
}

/* FOOTER */
.site-footer {
    background: rgba(0, 0, 0, 0.5);
    border-top: 1px solid rgba(201, 161, 74, 0.25);
    padding: 60px 8%;
    text-align: center;
}

.footer-content h3 {
    margin-bottom: 20px;
}

.footer-content p {
    font-size: 0.95rem;
    opacity: 0.85;
    margin: 8px 0;
}

.footer-content i {
    color: var(--gold);
    margin-right: 10px;
}

/* PRODUCT DETAIL SECTION */
.product-detail-section {
    padding: 100px 8%;
    min-height: 80vh;
}

.detail-page-container {
    max-width: 1200px;
    margin: 0 auto;
}

.detail-card {
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(201, 161, 74, 0.2);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: center;
}

.detail-image-box {
    background: rgba(201, 161, 74, 0.05);
    border-radius: 15px;
    overflow: hidden;
    padding: 20px;
    border: 1px solid rgba(201, 161, 74, 0.1);
}

.main-product-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    object-fit: contain;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
    transition: transform 0.5s ease;
}

.detail-image-box:hover .main-product-img {
    transform: scale(1.05);
}

.detail-product-title {
    font-size: 3rem;
    margin-bottom: 10px;
}

.product-meta {
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(201, 161, 74, 0.2);
}

.product-type {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(201, 161, 74, 0.1);
    color: var(--gold);
    border-radius: 20px;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
}

.product-price {
    font-size: 1.5rem;
    color: var(--light);
    font-weight: 500;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.spec-item {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.75rem;
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.spec-value {
    font-size: 1.1rem;
    color: var(--light);
    font-weight: 400;
}

.fssai-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 20px;
    background: rgba(255, 255, 255, 0.05);
    border-left: 4px solid #1a73e8;
    /* FSSAI Blue */
    border-radius: 4px;
    margin-bottom: 40px;
}

.fssai-badge i {
    color: #1a73e8;
    font-size: 1.2rem;
}

.detail-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 25px;
    border: 1px solid rgba(201, 161, 74, 0.5);
    color: var(--gold);
    border-radius: 5px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: rgba(201, 161, 74, 0.1);
    transform: translateX(-5px);
}

.spec-item.full-width {
    grid-column: 1 / -1;
    margin-bottom: 10px;
}

.pasta-types-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 10px;
}

.pasta-tag {
    padding: 6px 15px;
    background: rgba(201, 161, 74, 0.15);
    border: 1px solid rgba(201, 161, 74, 0.3);
    color: var(--gold);
    border-radius: 5px;
    font-size: 0.9rem;
    font-weight: 500;
}

/* RESPONSIVE */
@media(max-width: 992px) {
    .detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .detail-card {
        padding: 30px;
    }

    .detail-product-title {
        font-size: 2.5rem;
    }
}

@media(max-width: 768px) {
    .hero-section {
        min-height: 60vh;
        padding: 20px;
    }

    .hero-logo img {
        height: 200px;
    }

    .hero-section h1.main-title {
        font-size: 2.8rem;
        margin-top: -40px;
        letter-spacing: 2px;
    }

    .hero-section p.subtitle {
        font-size: 0.95rem;
    }

    .products-section {
        padding: 50px 5%;
    }

    .section-title {
        font-size: 1.8rem;
        margin-bottom: 30px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .cta-content h2 {
        font-size: 1.8rem;
    }

    .footer-content {
        padding: 0 10px;
    }

    .detail-actions {
        flex-direction: column;
        align-items: stretch;
    }
}

@media(max-width: 480px) {
    .hero-section h1.main-title {
        font-size: 2.2rem;
    }

    .hero-logo img {
        height: 150px;
    }

    .detail-product-title {
        font-size: 2rem;
    }
}