﻿/* === VARIABLES === */
:root {
    --primary-green: #2e7d32;
    --secondary-green: #388e3c;
    --light-green: #e8f5e9;
    --dark-green: #1b5e20;
    --gold: #ffc107;
    --orange: #ff9800;
    --white: #ffffff;
    --light-bg: #f8fdf2;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    --shadow-hover: 0 10px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
}

/* === BASE STYLES === */
.wheat-products-page {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* === HERO SECTION === */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-green) 100%);
    color: var(--white);
    padding: 80px 0;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    animation: fadeInUp 0.8s ease;
}

.hero-subtitle {
    font-size: 1.8rem;
    color: var(--gold);
    margin-bottom: 20px;
    font-weight: 600;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 15px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
}

    .feature-item i {
        color: var(--gold);
    }

.hero-image {
    animation: fadeInRight 0.8s ease 0.4s both;
}

    .hero-image img {
        width: 100%;
        border-radius: 15px;
        box-shadow: var(--shadow);
    }

/* === PRODUCTS SECTION === */
.products-section {
    padding: 80px 0;
    background: var(--light-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

    .section-header h2 {
        font-size: 2.5rem;
        color: var(--dark-green);
        margin-bottom: 10px;
        font-weight: 700;
    }

    .section-header p {
        font-size: 1.1rem;
        color: var(--text-light);
    }

/* === PRODUCT CARD === */
.product-card {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 60px;
    box-shadow: var(--shadow);
    position: relative;
    animation: slideInUp 0.6s ease;
}

    .product-card:nth-child(even) {
        animation: slideInUp 0.6s ease 0.2s both;
    }

.product-badge {
    position: absolute;
    top: 25px;
    right: 25px;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

.best-seller {
    background: var(--gold);
    color: var(--dark-green);
}

.new-arrival {
    background: var(--orange);
    color: var(--white);
}

/* Product Main Section */
.product-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-bottom: 40px;
}

.product-image-large {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: var(--shadow);
}

    .product-image-large img {
        width: 100%;
        height: 850px;
        object-fit: cover;
        transition: var(--transition);
    }

    .product-image-large:hover img {
        transform: scale(1.02);
    }

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-header {
    margin-bottom: 30px;
}

    .product-header h3 {
        font-size: 2.2rem;
        color: var(--dark-green);
        margin-bottom: 5px;
        font-weight: 700;
    }

    .product-header h4 {
        font-size: 1.6rem;
        color: var(--text-light);
        margin-bottom: 15px;
        font-weight: 600;
    }

.product-code {
    display: inline-block;
    background: var(--light-green);
    color: var(--secondary-green);
    padding: 8px 16px;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
}

.specifications {
    margin-bottom: 30px;
}

.spec-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
}

    .spec-row:last-child {
        border-bottom: none;
    }

.spec-label {
    color: var(--text-light);
    font-weight: 500;
    flex: 1;
}

.spec-value {
    color: var(--text-dark);
    font-weight: 600;
    text-align: right;
    flex: 1;
}

.highlight {
    color: var(--secondary-green);
    font-weight: 700;
}

.product-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px 10px;
    background: var(--light-bg);
    border-radius: 10px;
    transition: var(--transition);
}

    .feature:hover {
        background: var(--light-green);
        transform: translateY(-5px);
        box-shadow: var(--shadow);
    }

    .feature i {
        font-size: 1.8rem;
        color: var(--secondary-green);
        margin-bottom: 10px;
    }

    .feature span {
        font-size: 0.9rem;
        font-weight: 600;
        line-height: 1.3;
    }

/* === CATALOG SECTION === */
.catalog-section {
    margin: 40px 0;
    padding: 30px;
    background: var(--light-bg);
    border-radius: 15px;
    border: 2px dashed var(--secondary-green);
}

.catalog-title {
    color: var(--dark-green);
    margin-bottom: 25px;
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
}

.catalog-images-full {
    display: flex;
    justify-content: center;
}

.catalog-image-full {
    max-width: 800px;
    text-align: center;
}

    .catalog-image-full img {
        width: 100%;
        max-width: 100%;
        border-radius: 10px;
        box-shadow: var(--shadow);
        transition: var(--transition);
    }

    .catalog-image-full:hover img {
        transform: scale(1.01);
        box-shadow: var(--shadow-hover);
    }

.image-caption {
    margin-top: 15px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* === DOWNLOAD SECTION === */
.download-section {
    text-align: center;
    margin-top: 40px;
    padding-top: 40px;
    border-top: 2px solid var(--light-green);
}

.download-btn {
    background: linear-gradient(135deg, var(--secondary-green), var(--primary-green));
    color: var(--white);
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 12px;
    box-shadow: var(--shadow);
}

    .download-btn:hover {
        transform: translateY(-3px);
        box-shadow: var(--shadow-hover);
        background: linear-gradient(135deg, var(--primary-green), var(--dark-green));
        color: var(--white);
        text-decoration: none;
    }

.download-note {
    margin-top: 15px;
    color: var(--text-light);
    font-size: 0.95rem;
}

/* === GLOBAL DOWNLOAD SECTION === */
.global-download-section {
    padding: 80px 0;
    background: var(--white);
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.download-card {
    background: var(--light-bg);
    padding: 40px 30px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

    .download-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-hover);
        border-color: var(--gold);
    }

.download-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    box-shadow: var(--shadow);
}

    .download-icon i {
        font-size: 2rem;
        color: var(--secondary-green);
    }

.download-card h3 {
    color: var(--dark-green);
    font-size: 1.4rem;
    margin-bottom: 15px;
    font-weight: 700;
}

.download-card p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.download-link {
    background: var(--secondary-green);
    color: var(--white);
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .download-link:hover {
        background: var(--primary-green);
        color: var(--white);
        text-decoration: none;
        transform: translateY(-2px);
    }

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 968px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .product-main {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-features {
        grid-template-columns: repeat(2, 1fr);
    }

    .download-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-section {
        padding: 60px 0;
    }

    .products-section {
        padding: 60px 0;
    }

    .global-download-section {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 2rem;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .section-header h2 {
        font-size: 2rem;
    }

    .product-card {
        padding: 25px;
    }

    .product-header h3 {
        font-size: 1.8rem;
    }

    .hero-features {
        justify-content: center;
    }

    .catalog-section {
        padding: 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .product-header h3 {
        font-size: 1.6rem;
    }

    .product-features {
        grid-template-columns: 1fr;
    }

    .download-btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .spec-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }

    .spec-value {
        text-align: left;
    }
}
