﻿/* ================================
   GOOGLE FONTS & RESET
================================ */
@import url('https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,300;14..32,400;14..32,500;14..32,600;14..32,700;14..32,800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #ffffff;
    color: #1a2e1f;
}

/* ================================
   CONTAINER
================================ */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ================================
   SECTION TITLE
================================ */
.section-title {
    text-align: center;
    font-size: 42px;
    color: #8B6914;
    margin-bottom: 16px;
    font-weight: 800;
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    font-size: 18px;
    color: #6b5a2e;
    margin-bottom: 60px;
    font-weight: 400;
}

/* ================================
   SPLIT HERO SECTION
================================ */
.pgr-hero {
    padding: 80px 60px;
    background: linear-gradient(135deg, #FFF8E7 0%, #FFF3D6 100%);
    position: relative;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* LEFT CONTENT */
.hero-badge {
    display: inline-block;
    background: #D4A017;
    color: white;
    padding: 6px 16px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.5px;
    margin-bottom: 24px;
}

.hero-text h1 {
    font-size: 52px;
    line-height: 1.2;
    color: #8B6914;
    margin-bottom: 24px;
    font-weight: 800;
}

    .hero-text h1 span {
        color: #D4A017;
        display: block;
    }

.hero-text p {
    font-size: 18px;
    line-height: 1.7;
    color: #5a4e2e;
    margin-bottom: 32px;
    max-width: 90%;
}

/* STATS */
.hero-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 28px;
    font-weight: 800;
    color: #D4A017;
}

.stat-label {
    font-size: 14px;
    color: #7a6a3e;
    font-weight: 500;
}

/* HERO BUTTON */
.hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #D4A017;
    padding: 16px 36px;
    color: #fff;
    border-radius: 40px;
    text-decoration: none;
    font-weight: 700;
    font-size: 16px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 160, 23, 0.3);
}

    .hero-btn:hover {
        background: #B8860B;
        transform: translateY(-2px);
        box-shadow: 0 8px 25px rgba(212, 160, 23, 0.4);
    }

    .hero-btn i {
        transition: transform 0.3s;
    }

    .hero-btn:hover i {
        transform: translateX(5px);
    }

/* RIGHT IMAGE */
.hero-image {
    height: 480px;
    border-radius: 30px;
    background: url('/Content/Images/pgrcommon.jpg') center/cover no-repeat;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    position: relative;
}

/* Fallback if image doesn't exist */
.hero-image {
    background: linear-gradient(135deg, #D4A017, #8B6914);
    position: relative;
    overflow: hidden;
}

    .hero-image::before {
        content: '\f06c';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 80px;
        color: rgba(255, 255, 255, 0.3);
    }

/* ================================
   PRODUCTS SECTION - 3 COLUMN GRID
================================ */
.products-section {
    padding: 80px 0 100px;
    background: #ffffff;
}

/* GRID - EXACTLY 3 PRODUCTS PER ROW */
.product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

/* CARD - PROFESSIONAL WITH BIG IMAGE */
.product-card {
    background: #ffffff;
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.2, 0, 0, 1);
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.06);
    border: 1px solid #f5e6c8;
}

    .product-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
        border-color: #D4A017;
    }

/* IMAGE AREA - BIGGER AND BOLDER */
.product-img {
    position: relative;
    height: 320px;
    overflow: hidden;
    background: linear-gradient(135deg, #FFFDF5 0%, #FFF8E7 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 2px solid #f5e6c8;
}

    .product-img img {
        width: 85%;
        height: 85%;
        object-fit: contain;
        transition: transform 0.5s cubic-bezier(0.2, 0, 0, 1);
        filter: drop-shadow(0 8px 15px rgba(0, 0, 0, 0.1));
    }

.product-card:hover .product-img img {
    transform: scale(1.08);
}

/* BADGE STYLES */
.product-badge {
    position: absolute;
    top: 18px;
    left: 18px;
    background: #D4A017;
    color: #fff;
    padding: 6px 16px;
    font-size: 12px;
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

    .product-badge.green {
        background: #C4A035;
    }

    .product-badge.premium {
        background: #B8860B;
    }

/* BODY CONTENT */
.product-body {
    padding: 25px 22px 30px;
    text-align: center;
}

    .product-body h3 {
        color: #8B6914;
        font-size: 28px;
        font-weight: 800;
        margin-bottom: 12px;
        letter-spacing: -0.3px;
    }

.composition {
    color: #7a6a3e;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    line-height: 1.5;
    min-height: 42px;
}

/* PACKING INFO */
.packing {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #FFF8E7;
    padding: 12px 20px;
    border-radius: 50px;
    margin-top: 8px;
    width: auto;
    transition: all 0.3s ease;
}

.product-card:hover .packing {
    background: #FFF3D6;
}

.packing i {
    color: #D4A017;
    font-size: 14px;
}

.packing span {
    font-size: 13px;
    font-weight: 600;
    color: #6b5a2e;
    letter-spacing: 0.3px;
}

/* ================================
   RESPONSIVE DESIGN
================================ */
/* Tablet - 2 columns */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 span {
        display: inline;
    }

    .hero-text p {
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-image {
        height: 380px;
        max-width: 600px;
        margin: 0 auto;
    }

    .hero-btn {
        margin: 0 auto;
    }

    .pgr-hero {
        padding: 60px 40px;
    }

    .section-title {
        font-size: 36px;
    }

    /* 2 columns on tablet */
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }

    .product-img {
        height: 280px;
    }
}

/* Mobile - 1 column */
@media (max-width: 768px) {
    .pgr-hero {
        padding: 50px 25px;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-stats {
        gap: 25px;
        flex-wrap: wrap;
    }

    .stat-number {
        font-size: 24px;
    }

    .hero-image {
        height: 280px;
    }

    .products-section {
        padding: 60px 0;
    }

    .container {
        padding: 0 20px;
    }

    .section-title {
        font-size: 30px;
    }

    .section-subtitle {
        font-size: 15px;
        margin-bottom: 40px;
        padding: 0 10px;
    }

    /* 1 column on mobile */
    .product-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-img {
        height: 280px;
    }

    .product-body h3 {
        font-size: 24px;
    }

    .composition {
        font-size: 13px;
        min-height: auto;
    }

    .packing span {
        font-size: 12px;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 28px;
    }

    .hero-btn {
        padding: 12px 28px;
        font-size: 14px;
    }

    .hero-image {
        height: 220px;
    }

    .product-img {
        height: 240px;
    }

        .product-img img {
            width: 80%;
            height: 80%;
        }

    .product-body {
        padding: 20px 18px 25px;
    }

        .product-body h3 {
            font-size: 22px;
        }
}

/* Large Desktop - Keep 3 columns */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }

    .product-grid {
        gap: 45px;
    }

    .product-img {
        height: 350px;
    }
}

/* For 4 products - center the grid nicely */
@media (min-width: 1025px) {
    .product-grid {
        justify-content: center;
    }
}

/* ================================
   ANIMATIONS
================================ */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

    .product-card:nth-child(1) {
        animation-delay: 0.05s;
    }

    .product-card:nth-child(2) {
        animation-delay: 0.1s;
    }

    .product-card:nth-child(3) {
        animation-delay: 0.15s;
    }

    .product-card:nth-child(4) {
        animation-delay: 0.2s;
    }
