/* Fresh Produce (Cnfood) Page Specific Styles */

/* Hero Section */
.cnfood-hero {
    position: relative;
    min-height: 600px;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
    padding: 100px 0;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #f0fdf4 0%, #e0f2fe 100%);
    z-index: 0;
    overflow: hidden;
}

.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 30% 40%, rgba(34, 197, 94, 0.2) 0%, transparent 60%),
        radial-gradient(ellipse at 70% 60%, rgba(251, 191, 36, 0.15) 0%, transparent 60%);
    z-index: 1;
}

.hero-bg::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: 
        linear-gradient(to top, rgba(139, 92, 246, 0.1) 0%, transparent 100%),
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(34, 197, 94, 0.05) 20px,
            rgba(34, 197, 94, 0.05) 40px
        );
    z-index: 1;
}

.hero-bg .kitchen-counter {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 45%;
    background: linear-gradient(to top, rgba(139, 92, 246, 0.15) 0%, rgba(139, 92, 246, 0.05) 100%);
    z-index: 2;
}

.hero-bg .produce-items {
    position: absolute;
    bottom: 10%;
    left: 5%;
    width: 90%;
    height: 30%;
    z-index: 3;
}

.hero-bg .produce-items::before {
    content: '🍌';
    position: absolute;
    bottom: 20%;
    left: 10%;
    font-size: 60px;
    opacity: 0.4;
    transform: rotate(-15deg);
}

.hero-bg .produce-items::after {
    content: '🥬';
    position: absolute;
    bottom: 15%;
    left: 30%;
    font-size: 50px;
    opacity: 0.4;
    transform: rotate(10deg);
}

.produce-items .pepper {
    position: absolute;
    bottom: 18%;
    left: 50%;
    font-size: 45px;
    opacity: 0.4;
    transform: rotate(-5deg);
}

.produce-items .tomato {
    position: absolute;
    bottom: 22%;
    left: 70%;
    font-size: 40px;
    opacity: 0.4;
    transform: rotate(15deg);
}

.hero-bg .phone-hand {
    position: absolute;
    bottom: 25%;
    right: 15%;
    width: 80px;
    height: 120px;
    background: linear-gradient(135deg, #1f2937 0%, #374151 100%);
    border-radius: 20px;
    z-index: 4;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.hero-bg .phone-hand::before {
    content: '📱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 50px;
    opacity: 0.8;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.cnfood-hero h1 {
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 25px;
    line-height: 1.2;
}

.hero-description {
    font-size: 20px;
    color: var(--text-gray);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-hero {
    padding: 16px 32px;
    font-size: 16px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-secondary {
    background: white;
    color: var(--primary-green);
    border: 2px solid var(--primary-green);
}

.btn-secondary:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.play-icon {
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    font-size: 12px;
}

.btn-secondary .play-icon {
    background: var(--primary-green);
}

.btn-secondary:hover .play-icon {
    background: white;
    color: var(--primary-green);
}

/* Section Header */
.section-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
}

.section-icon {
    font-size: 32px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    text-align: center;
    margin-bottom: 50px;
}

/* Overseas Industries Section */
.overseas-industries-cnfood {
    padding: 80px 0;
    background: white;
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Industries Carousel Styles */
.industries-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.industries-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.industries-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.industry-thumbnail.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.industry-thumbnail.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.industry-thumbnail {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    position: relative;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.industry-thumbnail:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.thumbnail-1 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.thumbnail-1::before {
    content: '🍽️';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.3;
}

.thumbnail-2 {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
}

.thumbnail-2::before {
    content: '🍷';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.3;
}

.thumbnail-3 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.thumbnail-3::before {
    content: '👨‍🍳';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.3;
}

.thumbnail-4 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.thumbnail-4::before {
    content: '🥢';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.3;
}

.thumbnail-5 {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
}

.thumbnail-5::before {
    content: '🍲';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.3;
}

.thumbnail-6 {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

.thumbnail-6::before {
    content: '🥩';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 80px;
    opacity: 0.3;
}

/* Quick Start Section */
.quick-start {
    padding: 80px 0;
    background: var(--bg-light);
}

.quick-start-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quick-start-left h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.quick-start-desc {
    font-size: 18px;
    color: var(--text-gray);
    margin-bottom: 30px;
    line-height: 1.7;
}

.quick-start-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-start-list li {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 0;
    font-size: 16px;
    color: var(--text-dark);
}

.check-icon {
    width: 24px;
    height: 24px;
    background: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.quick-start-illustration {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}

.quick-start-illustration::before {
    content: '';
    position: absolute;
    top: 10%;
    left: 10%;
    width: 80%;
    height: 80%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(255, 255, 255, 0.7) 100%);
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    z-index: 1;
}

.quick-start-illustration::after {
    content: '👤';
    position: absolute;
    top: 20%;
    left: 20%;
    font-size: 60px;
    opacity: 0.3;
    z-index: 2;
}

/* Features Grid Section */
.features-grid-section {
    padding: 80px 0;
    background: white;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

/* Features Carousel Styles */
.features-carousel-container {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 60px;
}

.features-carousel-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.features-carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    will-change: transform;
}

.feature-item.carousel-slide {
    min-width: 100%;
    flex-shrink: 0;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    pointer-events: none;
}

.feature-item.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.95);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 32px;
    color: var(--primary-green);
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.carousel-btn:hover {
    background: var(--primary-green);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.3);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
    flex-wrap: wrap;
}

.carousel-indicators .indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-indicators .indicator:hover {
    background: rgba(16, 185, 129, 0.5);
    transform: scale(1.2);
}

.carousel-indicators .indicator.active {
    background: var(--primary-green);
    width: 30px;
    border-radius: 6px;
}

.feature-item {
    background: var(--bg-light);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    background: white;
}

.feature-illustration {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.illustration-1 {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.illustration-1::before {
    content: '📦';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.illustration-2 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.illustration-2::before {
    content: '📱';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.illustration-3 {
    background: linear-gradient(135deg, #ddd6fe 0%, #c4b5fd 100%);
}

.illustration-3::before {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 120px;
    color: var(--primary-green);
    opacity: 0.3;
}

.illustration-4 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.illustration-4::before {
    content: '👥';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.illustration-5 {
    background: linear-gradient(135deg, #fecaca 0%, #fca5a5 100%);
}

.illustration-5::before {
    content: '📊';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.illustration-6 {
    background: linear-gradient(135deg, #fed7aa 0%, #fdba74 100%);
}

.illustration-6::before {
    content: '🛒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.illustration-7 {
    background: linear-gradient(135deg, #c7d2fe 0%, #a5b4fc 100%);
}

.illustration-7::before {
    content: '🔒';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.illustration-8 {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

.illustration-8::before {
    content: '🏢';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.illustration-9 {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.illustration-9::before {
    content: '💻';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.illustration-10 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.illustration-10::before {
    content: '💳';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.3;
}

.feature-content {
    padding: 30px;
}

.feature-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.feature-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin-bottom: 15px;
}

.feature-bullets {
    list-style: none;
    padding: 0;
    margin: 0;
}

.feature-bullets li {
    font-size: 14px;
    color: var(--text-gray);
    padding: 5px 0;
    padding-left: 20px;
    position: relative;
}

.feature-bullets li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--primary-green);
    font-weight: bold;
}

/* Success Cases Section */
.success-cases-cnfood {
    padding: 80px 0;
    background: var(--bg-light);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.case-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.case-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
}

.case-image-1 {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
}

.case-image-1::before {
    content: '👔';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-image-2 {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
}

.case-image-2::before {
    content: '💻';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-image-3 {
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
}

.case-image-3::before {
    content: '🥬';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 100px;
    opacity: 0.2;
}

.case-content {
    padding: 30px;
}

.case-content h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 15px;
}

.case-content p {
    font-size: 15px;
    color: var(--text-gray);
    line-height: 1.7;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 968px) {
    .cnfood-hero h1 {
        font-size: 36px;
    }

    .hero-description {
        font-size: 18px;
    }

    .quick-start-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .industries-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .industries-carousel-container {
        padding: 0 50px;
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-carousel-container {
        padding: 0 50px;
    }

    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }

    .cases-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .cnfood-hero {
        padding: 60px 0 80px;
        margin-top: 70px;
        min-height: 500px;
    }

    .cnfood-hero h1 {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .section-header h2,
    .section-title {
        font-size: 28px;
    }

    .quick-start-left h2 {
        font-size: 28px;
    }

    .industries-grid,
    .features-grid,
    .cases-grid {
        grid-template-columns: 1fr;
    }

    .industries-carousel-container {
        padding: 0 40px;
    }

    .features-carousel-container {
        padding: 0 40px;
    }

    .carousel-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .overseas-industries-cnfood,
    .quick-start,
    .features-grid-section,
    .success-cases-cnfood {
        padding: 60px 0;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn-hero {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .quick-start-illustration {
        height: 300px;
    }

    .feature-illustration {
        height: 150px;
    }

    .features-carousel-container {
        padding: 0 30px;
    }

    .carousel-btn {
        width: 30px;
        height: 30px;
        font-size: 20px;
    }
}
