/* Custom styles for BASWOOL website - цветовая гамма оригинала */

:root {
    /* Основные цвета сайта */
    --primary-color: #4c761a;        /* Основной зеленый */
    --primary-dark: #3d5e15;         /* Темный зеленый */
    --accent-color: #ff4f14;         /* Оранжевый акцент */
    --accent-dark: #e64a19;          /* Темный оранжевый */
    --danger-color: #e74c3c;         /* Красный */
    --text-dark: #333;               /* Темный текст */
    --text-gray: #666;               /* Серый текст */
    --bg-light: #f8f9fa;             /* Светлый фон */
    --white: #fff;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
}

/* Компактный Header */
.site-header {
    background-color: var(--white) !important;
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s ease;
}

@media (min-width: 992px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: rgba(255, 255, 255, 0.95) !important;
        backdrop-filter: blur(10px);
    }
}

/* Мобильная версия header */
.navbar-brand-mobile {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
    white-space: nowrap;
}

.navbar-brand-mobile:hover {
    color: var(--primary-dark) !important;
}

/* Мобильное меню */
.mobile-menu {
    max-height: calc(100vh - 60px);
    overflow-y: auto;
    padding: 0.5rem 0;
}

.mobile-menu .nav-link {
    padding: 0.75rem 1.5rem !important;
    color: var(--text-dark) !important;
    font-weight: 500;
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.mobile-menu .nav-link:hover {
    background-color: var(--bg-light);
    color: var(--primary-color) !important;
    padding-left: 2rem;
}

.mobile-menu .nav-link i {
    width: 24px;
    text-align: center;
}

/* Верхняя панель (десктоп) */
.top-bar {
    font-size: 0.9rem;
    border-bottom: 1px solid #e9ecef;
}

.top-bar .input-group {
    max-width: 300px;
}

.top-bar .form-control-sm {
    border-color: #dee2e6;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color) !important;
    text-decoration: none;
}

.navbar-brand:hover {
    color: var(--primary-dark) !important;
}

.navbar-nav .nav-link {
    color: var(--text-dark) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

/* Ограничение ширины меню для больших экранов */
@media (min-width: 992px) {
    .navbar-expand-lg #navbarNavDesktop {
        max-width: 1000px;
        margin: 0 auto;
    }
    
    .navbar-nav-desktop {
        justify-content: space-around;
    }
}

@media (min-width: 1400px) {
    .navbar-expand-lg #navbarNavDesktop {
        max-width: 1200px;
    }
}

.navbar-nav .nav-link:hover {
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.navbar-nav .nav-link:hover::after {
    width: 80%;
}

/* Dropdown меню */
.dropdown-menu {
    border: none;
    box-shadow: 0 5px 15px var(--shadow);
    border-radius: 0.5rem;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background-color: var(--primary-color);
    color: var(--white) !important;
}

/* Кнопки в header */
header .btn-primary {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--white);
    font-weight: 600;
}

header .btn-primary:hover {
    background-color: var(--accent-dark);
    border-color: var(--accent-dark);
    transform: translateY(-2px);
}

header .btn-outline-primary {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

header .btn-outline-primary:hover {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Hero Section - в стиле оригинала */
.hero {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    min-height: 500px;
    display: flex;
    align-items: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

/* Cards */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: none;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.1) !important;
}

/* Buttons - в стиле оригинала */
.btn {
    border-radius: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
}

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

.btn-primary:hover {
    background-color: var(--accent-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 79, 20, 0.3);
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background-color: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Footer */
footer {
    margin-top: auto;
}

footer a {
    text-decoration: none;
}

footer a:hover {
    text-decoration: underline;
}

/* Responsive images */
img {
    max-width: 100%;
    height: auto;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Utilities */
.shadow-sm {
    box-shadow: 0 .125rem .25rem rgba(0,0,0,.075)!important;
}

/* Product cards */
.product-card {
    height: 100%;
}

.product-card img {
    height: 200px;
    object-fit: cover;
}

/* Forms */
.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(76, 118, 26, 0.25);
}

/* Cards - улучшенный стиль */
.card {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 0.75rem;
}

.card-title {
    color: var(--primary-color);
    font-weight: 600;
}

/* Адаптивное меню для мобильных */
@media (max-width: 991px) {
    .site-header {
        position: sticky;
        top: 0;
        z-index: 1000;
        background-color: var(--white) !important;
    }

    .navbar-toggler {
        border: 1px solid #dee2e6 !important;
        border-radius: 0.25rem;
        padding: 0.4rem 0.6rem;
        background-color: transparent;
    }

    .navbar-toggler:focus {
        box-shadow: 0 0 0 0.2rem rgba(76, 118, 26, 0.25);
    }

    .navbar-toggler-icon {
        width: 1.3em;
        height: 1.3em;
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
    }

    .mobile-menu {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        box-shadow: 0 5px 15px var(--shadow);
        z-index: 999;
        max-height: calc(100vh - 60px);
        overflow-y: auto;
    }
    
    .navbar-collapse {
        background-color: var(--white);
        padding: 0;
        border-radius: 0;
        margin-top: 0;
        box-shadow: 0 5px 15px var(--shadow);
    }
    
    .navbar-nav {
        gap: 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1.5rem !important;
        border-radius: 0;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: var(--bg-light);
    }
    
    header .btn {
        width: 100%;
    }
}

/* Hero Section - улучшенный слайдер */
.hero-section {
    min-height: 700px;
    position: relative;
    overflow: hidden;
}

.hero-section .carousel-item {
    min-height: 700px;
}

.hero-slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}

/* Слайд ПВХ - сине-голубые оттенки с фоновым изображением */
.hero-slide-pvc {
    background: linear-gradient(135deg, 
        rgba(25, 118, 210, 0.88) 0%, 
        rgba(33, 150, 243, 0.85) 25%,
        rgba(66, 165, 245, 0.82) 50%,
        rgba(100, 181, 246, 0.85) 75%,
        rgba(144, 202, 249, 0.88) 100%),
        url('/images/catalog/products/vent_fasad/vent_fasad_100_100.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: multiply;
    position: relative;
}

.hero-slide-pvc::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 10% 30%, rgba(144, 202, 249, 0.4) 0%, transparent 60%),
        radial-gradient(ellipse at 90% 70%, rgba(66, 165, 245, 0.3) 0%, transparent 60%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.03) 2px,
            rgba(255, 255, 255, 0.03) 4px
        );
    z-index: 0;
}

.hero-overlay-pvc {
    background: linear-gradient(90deg, 
        rgba(25, 118, 210, 0.75) 0%, 
        rgba(33, 150, 243, 0.65) 40%, 
        rgba(66, 165, 245, 0.55) 70%,
        rgba(100, 181, 246, 0.5) 100%);
}

/* Слайд BASWOOL (бывший первый) */
.hero-slide-1 {
    background: linear-gradient(135deg, rgba(61, 94, 21, 0.85) 0%, rgba(76, 118, 26, 0.85) 50%, rgba(90, 138, 31, 0.85) 100%),
                url('/images/catalog/products/ВентФасад/Вент фасад 100 100.jpg');
    background-size: cover;
    background-position: center;
}

/* Слайд О компании - темный корпоративный */
.hero-slide-company {
    background: linear-gradient(135deg, 
        rgba(44, 62, 80, 0.95) 0%, 
        rgba(52, 73, 94, 0.9) 50%,
        rgba(44, 62, 80, 0.95) 100%),
        url('/images/catalog/products/ВентФасад/Вент фасад 100 100.jpg');
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
}

.hero-slide-company::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 30% 40%, rgba(255, 193, 7, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 193, 7, 0.08) 0%, transparent 50%);
    z-index: 0;
}

.hero-overlay-company {
    background: linear-gradient(90deg, 
        rgba(44, 62, 80, 0.9) 0%, 
        rgba(52, 73, 94, 0.85) 50%, 
        rgba(44, 62, 80, 0.8) 100%);
}

/* Стили для изображений в hero-секции на больших экранах */
.hero-image-wrapper {
    position: relative;
    padding: 20px;
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease-out;
}

.hero-image-wrapper.animate-slide-left {
    opacity: 1;
    transform: translateX(0);
}

.hero-image-wrapper img {
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: transform 0.3s ease;
}

.hero-image-wrapper:hover img {
    transform: scale(1.05);
}

/* Адаптация hero-секции для больших экранов */
@media (min-width: 992px) {
    .hero-section {
        min-height: 800px;
    }
    
    .hero-section .carousel-item {
        min-height: 800px;
    }
    
    .hero-overlay {
        background: linear-gradient(90deg, rgba(61, 94, 21, 0.9) 0%, rgba(76, 118, 26, 0.7) 50%, rgba(76, 118, 26, 0.5) 100%);
    }
    
    .hero-text {
        padding-right: 2rem;
        max-width: 100%;
    }
    
    .hero-title {
        font-size: clamp(2rem, 5vw, 3.5rem);
        max-width: 100%;
    }
    
    .hero-title span {
        white-space: normal;
        overflow-wrap: break-word;
        word-break: break-word;
    }
}

/* Анимация для изображений при смене слайда */
.carousel-item.active .hero-image-wrapper {
    opacity: 1;
    transform: translateX(0);
}

/* Волнистые линии на фоне */
.hero-slide-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><path d="M0,100 Q50,50 100,100 T200,100" stroke="rgba(255,255,255,0.15)" stroke-width="2" fill="none"/><path d="M0,150 Q50,100 100,150 T200,150" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/><path d="M0,50 Q50,0 100,50 T200,50" stroke="rgba(255,255,255,0.1)" stroke-width="2" fill="none"/></svg>');
    background-size: 400px 400px;
    background-repeat: repeat;
    opacity: 0.6;
    animation: waveMove 20s linear infinite;
}

@keyframes waveMove {
    0% { transform: translateX(0) translateY(0); }
    50% { transform: translateX(-50px) translateY(-20px); }
    100% { transform: translateX(0) translateY(0); }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.25);
    z-index: 1;
}

.hero-text {
    position: relative;
    z-index: 2;
    word-wrap: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    max-width: 100%;
}

.hero-title {
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.2;
    max-width: 100%;
}

.hero-title span {
    display: block;
    word-break: break-word;
    white-space: normal;
}

.hero-subtitle {
    font-size: 0.95rem;
    font-weight: 400;
    opacity: 0.95;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.hero-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.hero-brand {
    font-size: clamp(2.2rem, 4.5vw, 3.5rem);
    color: #fff;
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.4);
}

.hero-description {
    font-size: clamp(0.95rem, 1.5vw, 1.05rem);
    line-height: 1.5;
    opacity: 0.95;
    max-width: 95%;
}

.btn-hero {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 1.1rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    border-radius: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 79, 20, 0.4);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-hero:hover {
    background-color: var(--accent-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(255, 79, 20, 0.5);
    color: white;
}

/* Индикаторы карусели */
.hero-indicators {
    bottom: 40px;
    margin-bottom: 0;
    z-index: 3;
}

.hero-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: 2px solid transparent;
    margin: 0 6px;
    transition: all 0.3s ease;
    opacity: 1;
}

.hero-indicators button.active {
    background-color: white;
    width: 30px;
    border-radius: 15px;
    border-color: white;
}

.hero-indicators button:hover {
    background-color: rgba(255, 255, 255, 0.8);
}

/* Навигация карусели - убраны стрелки, оставлены только индикаторы */

/* Анимации появления */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out;
}

.animate-slide-up {
    animation: slideUp 0.8s ease-out forwards;
    opacity: 0;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-brand {
        font-size: 4rem;
    }
    
    .hero-description {
        font-size: 1.1rem;
    }
}

@media (max-width: 768px) {
    .hero-section,
    .hero-section .carousel-item {
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-brand {
        font-size: 3rem;
    }
    
    .hero-description {
        font-size: 1rem;
        max-width: 100%;
    }
    
    .btn-hero {
        padding: 0.9rem 2rem;
        font-size: 1rem;
    }
    
    .hero-indicators {
        bottom: 20px;
    }
}

/* Быстрые ссылки */
.quick-links {
    border-bottom: 1px solid #e9ecef;
}

.quick-link-item {
    padding: 1rem;
    border-radius: 0.5rem;
    transition: all 0.3s ease;
}

.quick-link-item:hover {
    background-color: var(--bg-light);
    transform: translateY(-2px);
}

.quick-link-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

/* Секция дилеров */
.dealers-section {
    background: linear-gradient(135deg, #5a4a3a 0%, #3d2f20 100%);
    position: relative;
    overflow: hidden;
}

.dealers-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 10px, rgba(0,0,0,0.1) 10px, rgba(0,0,0,0.1) 20px),
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="%233d2f20"/><path d="M0,0 L100,100 M100,0 L0,100" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></svg>');
    opacity: 0.3;
    z-index: 1;
}

.dealer-card {
    transition: all 0.3s ease;
    min-height: 150px;
}

.dealer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-dealer {
    background-color: var(--accent-color);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
}

.btn-dealer-outline {
    background-color: transparent;
    color: white;
    border: 2px solid white;
    padding: 0.75rem 2rem;
}

.btn-dealer-outline:hover {
    background-color: white;
    color: var(--primary-color);
}

/* Новинка продукта */
.new-product-section {
    background: linear-gradient(to bottom, #f8f9fa 0%, #ffffff 100%);
}

.new-product-image img {
    transition: transform 0.3s ease;
}

.new-product-image:hover img {
    transform: scale(1.05);
}

/* Виды утепления */
.insulation-card {
    transition: all 0.3s ease;
    overflow: hidden;
}

.insulation-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
}

.card-img-wrapper {
    position: relative;
    overflow: hidden;
}

/* Продукты с акциями */
.product-card-sale {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.product-card-sale:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.product-image-wrapper {
    background: #f8f9fa;
    border-radius: 0.5rem 0.5rem 0 0;
}

/* О компании (дилер) */
.about-company {
    position: relative;
    overflow: hidden;
}

.about-company::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="200" height="200" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="company" width="200" height="200" patternUnits="userSpaceOnUse"><rect width="200" height="200" fill="%232c3e50"/><path d="M0,100 L200,100 M100,0 L100,200" stroke="rgba(255,255,255,0.05)" stroke-width="1"/></pattern></defs><rect width="200" height="200" fill="url(%23company)"/></svg>');
    opacity: 0.3;
    z-index: 0;
    pointer-events: none;
}

.about-company .container {
    position: relative;
    z-index: 2;
}

.company-stats .stat-item {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    backdrop-filter: blur(10px);
}

.dealer-badge {
    border-left: 4px solid var(--primary-color);
}

/* Боковые панели */
.side-panels {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 999;
}

.side-panel {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    pointer-events: auto;
}

.side-panel-left {
    left: 20px;
}

.side-panel-right {
    right: 20px;
}

.side-panel-item {
    width: 50px;
    height: 50px;
    background-color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    text-decoration: none;
}

.side-panel-item:hover {
    background-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(76, 118, 26, 0.4);
}

/* Кнопка "Наверх" */
.btn-scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    display: none;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-scroll-top:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(76, 118, 26, 0.5);
}

.btn-scroll-top.show {
    display: flex;
}

/* Mobile optimizations */
@media (max-width: 768px) {
    .hero-section {
        min-height: 400px;
    }
    
    .display-3 {
        font-size: 2rem;
    }
    
    .side-panel {
        display: none;
    }
    
    .btn-scroll-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .dealers-carousel-wrapper .row {
        flex-wrap: nowrap;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .dealers-carousel-wrapper .col-md-3 {
        flex: 0 0 80%;
        max-width: 80%;
    }
}
