/* Products Range Section Styles */
.range-section {
    padding: 44px 8%;
    background-color: #fcfcfc;
    text-align: center;
}

.range-header {
    margin-bottom: 35px;
}

.range-header .subtitle {
    font-family: 'Playball', cursive;
    color: var(--accent-color, #E88D23);
    /* Matching hero theme color */
    font-size: 1.8rem;
    margin-bottom: 10px;
    display: block;
}

.range-header h2 {
    font-size: 3rem;
    color: var(--primary-color, #1B3565);
    margin-bottom: 20px;
}

/* Range Grid */
.range-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
}

.range-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: var(--transition);
}

.range-image-box {
    width: 100%;
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    position: relative;
    /* For the overlay */
}

.range-image-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.4);
    opacity: 0;
    transition: var(--transition);
    z-index: 2;
}

.range-image-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    z-index: 1;
}

.range-card h3 {
    font-size: 1.2rem;
    color: #1a1a1a;
    font-weight: 700;
    margin-top: 5px;
}

/* Hover Effects */
.range-card:hover .range-image-box::before {
    opacity: 1;
}

.range-card:hover {
    transform: translateY(-10px);
}

.range-card:hover img {
    transform: scale(1.1);
}

.range-card:hover h3 {
    color: var(--accent-color);
}

/* Responsive */
@media (max-width: 1200px) {
    .range-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    .range-header h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .range-section {
        padding: 40px 5%;
    }
}

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

    .range-header h2 {
        font-size: 2rem;
    }

    .range-image-box {
        aspect-ratio: 1/1;
        /* Square on mobile for better visibility */
    }
}