/* ===================================
   PRODUCTS PAGE - STYLES
   =================================== */

/* ===================================
   TRANSPARENT NAVIGATION
   =================================== */

.navbar-transparent {
    background: rgb(79 5 6 / 0%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.navbar-transparent.scrolled {
    background: var(--burgundy);
}

/* ===================================
   PRODUCTS HERO SECTION
   =================================== */

.products-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.products-hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.products-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.3));
    z-index: 1;
}

.products-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
}

.products-hero-content .chicken-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    animation: float 3s ease-in-out infinite;
}

.products-hero-title {
    font-size: 72px;
    font-weight: 500;
    color: white;
    line-height: 1.1;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   PRODUCTS INTRODUCTION SECTION
   =================================== */

.products-intro {
    background: var(--off-white);
    padding: 80px 0;
}

.intro-content {
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.intro-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 25px;
    font-weight: 400;
}

/* ===================================
   PRODUCT CATEGORIES SECTION
   =================================== */

.product-categories {
    background: var(--off-white);
    padding: 0;
}

.fresh-categories {
    border-top: 3px solid var(--burgundy);
}

.categories-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0;
    max-width: 1400px;
    margin: 0 auto;
}

.category-card {
    padding: 80px 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 450px;
    position: relative;
}

/* Yellow Textured Cards with White Inner Cards */
.yellow-textured {
    background: var(--yellow);
    background-image: url('assets/texture-background.png');
    background-size: cover;
    background-position: center;
}

.category-inner-card {
    background: white;
    padding: 60px 40px;
    width: 100%;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: var(--transition);
}

.category-inner-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.category-inner-card h2 {
    font-size: 32px;
    font-weight: 600;
    color: var(--burgundy);
    line-height: 1.3;
}

/* Green Featured Card */
.green-featured {
    background: var(--green);
}

.category-content {
    text-align: center;
    color: var(--off-white);
    max-width: 400px;
}

.category-badge {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    position: absolute;
    top: 7%;
}

.category-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: float 6s ease-in-out infinite;
}

.category-content h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--off-white);
    margin-bottom: 25px;
    line-height: 1.2;
}

.category-content p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 30px;
    color: var(--off-white);
}

/* ===================================
   QUALITY SECTION
   =================================== */

.quality-section {
    background: var(--off-white);
    padding: 100px 0;
    text-align: center;
}

.quality-content {
    max-width: 900px;
    margin: 40px auto;
}

.quality-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

/* ===================================
   FROZEN FEATURE SECTION
   =================================== */

.frozen-feature {
    background: var(--burgundy);
    padding: 0;
    margin-bottom: 50px;
}

.frozen-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    max-width: 100%;
}

.frozen-text {
    padding: 80px 60px;
    color: var(--off-white);
}

.frozen-text .accent-line {
    width: 60px;
    height: 4px;
    background: var(--yellow);
    margin-bottom: 30px;
}

.frozen-text h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--yellow);
    margin-bottom: 30px;
    line-height: 1.2;
}

.frozen-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: var(--off-white);
}

.frozen-image {
    width: 100%;
    height: 100%;
    min-height: 600px;
}

.frozen-image img {
    width: 90%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
}

.frozen-image:hover img {
    transform: scale(1.05);
}

/* ===================================
   FRESHNESS SECTION
   =================================== */

.freshness-section {
    background: var(--off-white);
    padding: 100px 0;
    text-align: center;
}

.freshness-content {
    max-width: 900px;
    margin: 40px auto;
}

.freshness-content p {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
}

/* ===================================
   RESPONSIVE DESIGN - PRODUCTS PAGE
   =================================== */

@media (max-width: 1200px) {
    .products-hero-title {
        font-size: 56px;
    }
    
    .frozen-text {
        padding: 60px 40px;
    }
    
    .frozen-text h2 {
        font-size: 38px;
    }
}

@media (max-width: 968px) {
    .products-hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .products-hero-title {
        font-size: 42px;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .category-card {
        min-height: 350px;
        padding: 60px 30px;
    }
    
    .frozen-container {
        grid-template-columns: 1fr;
    }
    
    .frozen-image {
        min-height: 400px;
    }
}

@media (max-width: 768px) {
    .products-hero-title {
        font-size: 36px;
    }
    
    .intro-content p,
    .quality-content p,
    .freshness-content p {
        font-size: 16px;
    }
    
    .category-inner-card h2 {
        font-size: 24px;
    }
    
    .category-content h2 {
        font-size: 28px;
    }
    
    .frozen-text h2 {
        font-size: 32px;
    }
    
    .frozen-text {
        padding: 40px 30px;
    }
}

@media (max-width: 480px) {
    .products-hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .products-hero-title {
        font-size: 28px;
    }
    
    .category-card {
        padding: 40px 20px;
        min-height: 300px;
    }
    
    .category-inner-card {
        padding: 40px 20px;
    }
    
    .category-inner-card h2 {
        font-size: 20px;
    }
    
    .category-content h2 {
        font-size: 24px;
    }
    
    .frozen-text h2 {
        font-size: 24px;
    }
}

/* ===================================
   ANIMATIONS
   =================================== */

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-15px);
    }
}

/* Scroll animations for sections */
.products-intro,
.product-categories,
.quality-section,
.frozen-feature,
.freshness-section {
    animation: fadeIn 0.8s ease forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
