/* Advance Refrigeration Partners Section - Unique CSS */
:root {
    --adv-refrig-primary-blue: #0056b3;
    --adv-refrig-primary-dark: #004494;
    --adv-refrig-primary-light: #007bff;
    --adv-refrig-accent-teal: #20c997;
    --adv-refrig-dark-charcoal: #2c3e50;
    --adv-refrig-light-gray: #f8f9fa;
    --adv-refrig-medium-gray: #e9ecef;
    --adv-refrig-text-dark: #333;
    --adv-refrig-text-light: #6c757d;
    --adv-refrig-white: #ffffff;
    --adv-refrig-transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --adv-refrig-shadow-light: 0 2px 15px rgba(0, 0, 0, 0.08);
    --adv-refrig-shadow-medium: 0 5px 20px rgba(0, 0, 0, 0.12);
    --adv-refrig-border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: var(--adv-refrig-light-gray);
    color: var(--adv-refrig-text-dark);
    line-height: 1.6;
}

.adv-refrig-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Partners Section Styles */
.adv-refrig-partners-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--adv-refrig-white) 0%, var(--adv-refrig-light-gray) 100%);
}

.adv-refrig-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.adv-refrig-section-title {
    font-size: 36px;
    font-weight: 700;
    color: var(--adv-refrig-dark-charcoal);
    margin-bottom: 15px;
    position: relative;
}

.adv-refrig-section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--adv-refrig-primary-blue);
    border-radius: 2px;
}

.adv-refrig-section-subtitle {
    font-size: 18px;
    color: var(--adv-refrig-text-light);
    max-width: 600px;
    margin: 25px auto 0;
    line-height: 1.7;
}

/* Marquee Slider Styles */
.adv-refrig-partners-marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    margin-bottom: 60px;
}

.adv-refrig-partners-marquee::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, var(--adv-refrig-white) 0%, transparent 100%);
    z-index: 2;
}

.adv-refrig-partners-marquee::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, var(--adv-refrig-white) 100%);
    z-index: 2;
}

.adv-refrig-marquee-track {
    display: flex;
    animation: adv-refrig-marquee-scroll 30s linear infinite;
    gap: 60px;
    padding: 0 30px;
}

.adv-refrig-partner-item {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--adv-refrig-white);
    border-radius: var(--adv-refrig-border-radius);
    box-shadow: var(--adv-refrig-shadow-light);
    transition: var(--adv-refrig-transition);
    padding: 20px;
    border: 1px solid var(--adv-refrig-medium-gray);
}

.adv-refrig-partner-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--adv-refrig-shadow-medium);
    border-color: var(--adv-refrig-primary-blue);
}

.adv-refrig-partner-logo {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
}

.adv-refrig-partner-image {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--adv-refrig-transition);
}

.adv-refrig-partner-item:hover .adv-refrig-partner-image {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Marquee Animation */
@keyframes adv-refrig-marquee-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-200px * 5 - 60px * 5));
    }
}

/* Pause animation on hover */
.adv-refrig-partners-marquee:hover .adv-refrig-marquee-track {
    animation-play-state: paused;
}

/* Static Grid View */
.adv-refrig-partners-grid {
    display: none; /* Hidden by default, can be enabled for static view */
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 20px 0;
}

.adv-refrig-partner-grid-item {
    background: var(--adv-refrig-white);
    border-radius: var(--adv-refrig-border-radius);
    box-shadow: var(--adv-refrig-shadow-light);
    transition: var(--adv-refrig-transition);
    padding: 30px;
    border: 1px solid var(--adv-refrig-medium-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 140px;
}

.adv-refrig-partner-grid-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--adv-refrig-shadow-medium);
    border-color: var(--adv-refrig-primary-blue);
}

.adv-refrig-partner-grid-item .adv-refrig-partner-image {
    filter: grayscale(100%);
    opacity: 0.7;
    transition: var(--adv-refrig-transition);
}

.adv-refrig-partner-grid-item:hover .adv-refrig-partner-image {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .adv-refrig-partner-item {
        width: 180px;
        height: 110px;
    }
    
    @keyframes adv-refrig-marquee-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-180px * 5 - 60px * 5));
        }
    }
}

@media (max-width: 768px) {
    .adv-refrig-partners-section {
        padding: 60px 0;
    }
    
    .adv-refrig-section-title {
        font-size: 32px;
    }
    
    .adv-refrig-partner-item {
        width: 150px;
        height: 100px;
        padding: 15px;
    }
    
    .adv-refrig-marquee-track {
        gap: 40px;
    }
    
    @keyframes adv-refrig-marquee-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-150px * 5 - 40px * 5));
        }
    }
    
    .adv-refrig-partners-marquee::before,
    .adv-refrig-partners-marquee::after {
        width: 50px;
    }
}

@media (max-width: 480px) {
    .adv-refrig-section-title {
        font-size: 28px;
    }
    
    .adv-refrig-partner-item {
        width: 120px;
        height: 80px;
        padding: 10px;
    }
    
    .adv-refrig-marquee-track {
        gap: 30px;
    }
    
    @keyframes adv-refrig-marquee-scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-120px * 5 - 30px * 5));
        }
    }
}