/* ==========================
   JEEP GIVEAWAY SECTION STYLES
   ========================== */

/* Main Section Container */
.jeep-giveaway-section {
    width: 100%;
    background: #1a1a1a;
    overflow: hidden;
}

/* Main Static Image */
.jeep-main-image {
    width: 100%;
    position: relative;
    overflow: hidden;
}

.jeep-main-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

/* Sliding Carousel Container */
.jeep-carousel-container {
    width: 100%;
    overflow: hidden;
    background: #000;
    padding: 0;
    position: relative;
}

.jeep-carousel-track {
    display: flex;
    gap: 0;
    animation: slideCarousel 30s linear infinite;
    width: fit-content;
}

/* Pause animation on hover */
.jeep-carousel-container:hover .jeep-carousel-track {
    animation-play-state: paused;
}

@keyframes slideCarousel {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.jeep-carousel-item {
    flex: 0 0 25%;
    min-width: 25%;
    height: 300px;
    position: relative;
    overflow: hidden;
}

.jeep-carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Reviews Section */
.jeep-reviews-section {
    background: #2a2a2a;
    padding: 80px 0;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.review-card {
    background: #1a1a1a;
    border-radius: 12px;
    padding: 40px 30px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.review-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.review-stars {
    margin-bottom: 20px;
}

.review-stars .star {
    color: #f4c430;
    font-size: 24px;
    margin: 0 2px;
}

.review-text {
    color: #e0e0e0;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    min-height: 120px;
}

.review-author {
    color: #fff;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Additional Info Section */
.jeep-info-section {
    background: #1a1a1a;
    padding: 80px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

.info-item {
    text-align: center;
}

.info-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: rgba(236, 48, 40, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.info-icon svg {
    color: #EC3028;
    transition: all 0.3s ease;
}

.info-item:hover .info-icon {
    background: #EC3028;
    transform: scale(1.1);
}

.info-item:hover .info-icon svg {
    color: #fff;
}

.info-item h3 {
    color: #fff;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-item p {
    color: #b0b0b0;
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-button {
    display: inline-block;
    padding: 12px 30px;
    background: #f4c430;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 14px;
    border-radius: 30px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.info-button:hover {
    background: #fff;
    color: #EC3028;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(244, 196, 48, 0.3);
}

/* Mobile Responsiveness */
@media screen and (max-width: 1024px) {
    .jeep-carousel-item {
        flex: 0 0 33.333%;
        min-width: 33.333%;
        height: 250px;
    }
    
    .reviews-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .info-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }
    
    .jeep-reviews-section {
        padding: 60px 20px;
    }
    
    .jeep-info-section {
        padding: 60px 20px;
    }
}

@media screen and (max-width: 768px) {
    .jeep-carousel-item {
        flex: 0 0 50%;
        min-width: 50%;
        height: 200px;
    }
    
    @keyframes slideCarousel {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(-50%);
        }
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .review-card {
        padding: 30px 20px;
    }
    
    .review-text {
        font-size: 15px;
        min-height: auto;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .info-icon {
        width: 70px;
        height: 70px;
    }
    
    .info-icon svg {
        width: 40px;
        height: 40px;
    }
    
    .info-item h3 {
        font-size: 20px;
    }
    
    .info-item p {
        font-size: 15px;
    }
    
    .jeep-reviews-section {
        padding: 50px 15px;
    }
    
    .jeep-info-section {
        padding: 50px 15px;
    }
}

@media screen and (max-width: 480px) {
    .jeep-carousel-item {
        flex: 0 0 100%;
        min-width: 100%;
        height: 180px;
    }
    
    .review-card {
        padding: 25px 15px;
    }
    
    .review-stars .star {
        font-size: 20px;
    }
    
    .review-text {
        font-size: 14px;
    }
    
    .review-author {
        font-size: 14px;
    }
    
    .info-icon {
        width: 60px;
        height: 60px;
    }
    
    .info-icon svg {
        width: 35px;
        height: 35px;
    }
    
    .info-item h3 {
        font-size: 18px;
    }
    
    .info-item p {
        font-size: 14px;
    }
    
    .info-button {
        padding: 10px 25px;
        font-size: 12px;
    }
}

/* Smooth Scrolling */
.jeep-carousel-track {
    will-change: transform;
}

/* Dark theme consistency */
.jeep-giveaway-section * {
    box-sizing: border-box;
}
