/* Product Page Styles */

/* Video Hero Section */
.video-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    overflow: hidden;
    margin-top: 80px;
}

.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(28, 46, 82, 0.4) 0%, rgba(28, 46, 82, 0.7) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}

.hero-overlay .hero-content {
    max-width: 800px;
    color: white;
}

.product-badge {
    display: inline-block;
    background: var(--accent);
    color: var(--primary);
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.video-hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.video-hero p {
    font-size: 22px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Product Intro Section */
.product-intro {
    padding: 100px 0;
    background: var(--white);
}

.intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content h2 {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 25px;
}

.intro-content .lead {
    font-size: 20px;
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 20px;
}

.intro-content p {
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.intro-features {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--gray-50);
    padding: 12px 20px;
    border-radius: 8px;
    font-weight: 500;
    color: var(--primary);
}

.feature-icon {
    font-size: 20px;
}

.intro-image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(28, 46, 82, 0.15);
}

/* Product Varieties Section */
.product-varieties {
    padding: 100px 0;
    background: var(--gray-50);
}

.section-title {
    font-size: 40px;
    color: var(--primary);
    text-align: center;
    margin-bottom: 60px;
}

.varieties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.variety-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.variety-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.variety-image {
    height: 250px;
    overflow: hidden;
}

.variety-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

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

.variety-content {
    padding: 30px;
}

.variety-content h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 15px;
}

.variety-content p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.variety-specs {
    list-style: none;
    border-top: 1px solid var(--gray-200);
    padding-top: 20px;
}

.variety-specs li {
    padding: 8px 0;
    color: var(--gray-700);
    font-size: 14px;
}

.variety-specs li strong {
    color: var(--primary);
}

/* Quality Section */
.product-quality {
    padding: 100px 0;
    background: var(--white);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    align-items: start;
}

.quality-content h2 {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.quality-content > p {
    color: var(--gray-600);
    font-size: 18px;
    margin-bottom: 40px;
}

.quality-list {
    list-style: none;
}

.quality-list li {
    display: flex;
    gap: 20px;
    padding: 20px 0;
    border-bottom: 1px solid var(--gray-200);
}

.quality-list li:last-child {
    border-bottom: none;
}

.quality-icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.quality-list li strong {
    display: block;
    color: var(--primary);
    font-size: 18px;
    margin-bottom: 5px;
}

.quality-list li p {
    color: var(--gray-600);
    font-size: 14px;
    margin: 0;
}

.quality-stats {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-card {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    color: white;
}

.stat-card .stat-number {
    display: block;
    font-size: 48px;
    font-weight: 700;
    color: var(--accent);
}

.stat-card .stat-label {
    font-size: 14px;
    opacity: 0.9;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.cta-content {
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 36px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 30px;
}

.cta-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-section .btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.cta-section .btn-primary:hover {
    background: var(--accent-light);
}

.cta-section .btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.cta-section .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* Products List Page */
.products-hero {
    padding: 140px 20px 80px;
    background: var(--white);
    text-align: center;
}

.products-hero h1 {
    font-size: 48px;
    color: var(--primary);
    margin-bottom: 20px;
}

.products-hero p {
    font-size: 20px;
    color: var(--gray-600);
    max-width: 600px;
    margin: 0 auto;
}

.products-grid-page {
    padding: 60px 0 100px;
    background: var(--gray-50);
}

.products-grid-large {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.product-card-large {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
}

.product-card-large:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.product-card-image {
    height: 220px;
    overflow: hidden;
    position: relative;
}

.product-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.product-card-large:hover .product-card-image img {
    transform: scale(1.1);
}

.product-card-content {
    padding: 25px;
}

.product-card-content h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 10px;
}

.product-card-content p {
    color: var(--gray-600);
    font-size: 14px;
    margin-bottom: 15px;
    line-height: 1.6;
}

.product-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
}

.product-card-link::after {
    content: "→";
}

/* Services Page */
.services-hero {
    position: relative;
    height: 60vh;
    min-height: 450px;
    overflow: hidden;
    margin-top: 80px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.services-hero h1 {
    font-size: 52px;
    margin-bottom: 20px;
}

.services-hero p {
    font-size: 20px;
    opacity: 0.9;
    max-width: 600px;
}

.services-section {
    padding: 100px 0;
}

.services-section:nth-child(even) {
    background: var(--gray-50);
}

.service-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.service-detail.reverse {
    direction: rtl;
}

.service-detail.reverse > * {
    direction: ltr;
}

.service-detail-content h2 {
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.service-detail-content h2 span {
    font-size: 48px;
}

.service-detail-content .lead {
    font-size: 18px;
    color: var(--gray-600);
    margin-bottom: 25px;
    line-height: 1.7;
}

.service-features-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-features-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--gray-700);
}

.service-features-list li::before {
    content: "✓";
    color: var(--accent);
    font-weight: bold;
}

.service-detail-image {
    position: relative;
}

.service-detail-image img {
    width: 100%;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
}

/* Responsive */
@media (max-width: 768px) {
    .video-hero {
        height: 50vh;
        min-height: 400px;
    }

    .video-hero h1 {
        font-size: 36px;
    }

    .video-hero p {
        font-size: 16px;
    }

    .intro-grid,
    .quality-grid,
    .service-detail {
        grid-template-columns: 1fr;
    }

    .intro-image {
        order: -1;
    }

    .intro-image img {
        height: 300px;
    }

    .section-title,
    .intro-content h2,
    .quality-content h2 {
        font-size: 32px;
    }

    .varieties-grid {
        grid-template-columns: 1fr;
    }

    .service-detail.reverse {
        direction: ltr;
    }

    .service-features-list {
        grid-template-columns: 1fr;
    }

    .products-hero h1 {
        font-size: 36px;
    }

    .chile-grid {
        grid-template-columns: 1fr;
    }

    .chile-image {
        order: -1;
    }

    .chile-content h2 {
        font-size: 32px;
    }
}

/* Chile Support Section */
.chile-support {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.chile-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.chile-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(28, 46, 82, 0.2);
}

.chile-content h2 {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 25px;
}

.chile-content .lead {
    font-size: 20px;
    color: var(--gray-700);
    line-height: 1.7;
    margin-bottom: 20px;
    font-weight: 500;
}

.chile-content p {
    color: var(--gray-600);
    margin-bottom: 30px;
    line-height: 1.8;
}

.chile-values {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.value-item {
    display: flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    padding: 15px 25px;
    border-radius: 12px;
    font-weight: 600;
    color: var(--primary);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.value-item:hover {
    border-color: var(--accent);
    transform: translateY(-3px);
}

.value-icon {
    font-size: 24px;
}

/* Static Hero Section (for products without video) */
.product-hero-static {
    position: relative;
    height: 50vh;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    margin-top: 80px;
    padding: 40px 20px;
}

.product-hero-static .hero-content {
    max-width: 800px;
    color: white;
}

.product-hero-static h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.product-hero-static p {
    font-size: 22px;
    opacity: 0.95;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Specs Section */
.product-specs-section {
    padding: 80px 0;
    background: var(--gray-50);
}

.product-specs-section .section-title {
    text-align: center;
    font-size: 36px;
    color: var(--primary);
    margin-bottom: 50px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.spec-card {
    background: var(--white);
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.spec-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.spec-icon {
    font-size: 40px;
    margin-bottom: 15px;
}

.spec-card h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 10px;
    font-weight: 600;
}

.spec-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

/* Featured Variety Card */
.variety-card-featured {
    grid-column: span 2;
}

.variety-card-featured .variety-image {
    height: 350px;
}

@media (max-width: 768px) {
    .product-hero-static {
        height: auto;
        min-height: 300px;
        padding: 60px 20px;
    }
    
    .product-hero-static h1 {
        font-size: 36px;
    }
    
    .product-hero-static p {
        font-size: 18px;
    }
    
    .specs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .variety-card-featured {
        grid-column: span 1;
    }
    
    .variety-card-featured .variety-image {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .specs-grid {
        grid-template-columns: 1fr;
    }
}
