/* css/style.css */
:root {
    --primary: #2E7D32;
    --primary-dark: #1B5E20;
    --primary-light: #4CAF50;
    --secondary: #FF9800;
    --accent: #2196F3;
    --text-dark: #333;
    --text-light: #666;
    --background: #f8f9fa;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
    --shadow: 0 5px 15px rgba(0,0,0,0.1);
    --shadow-hover: 0 10px 25px rgba(0,0,0,0.15);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
}

.logo img {
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 5px 10px;
    border-radius: 5px;
}

.nav a:hover {
    color: var(--primary);
    background: rgba(46, 125, 50, 0.1);
}

.header-contacts .phone {
    text-decoration: none;
    color: var(--primary);
    font-weight: 600;
    font-size: 1.1em;
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 150px 0 80px;
    text-align: center;
    margin-top: 70px;
}

.hero h1 {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero h2 {
    font-size: 1.5em;
    margin-bottom: 30px;
    font-weight: 300;
    opacity: 0.9;
}

.hero-image {
    margin: 40px 0;
}

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

.hero-image img:hover {
    transform: translateY(-5px);
}

.btn {
    display: inline-block;
    background: var(--secondary);
    color: var(--white);
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.btn:hover {
    background: #F57C00;
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* Sections */
section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

section.visible {
    opacity: 1;
    transform: translateY(0);
}

h2 {
    text-align: center;
    font-size: 2.5em;
    margin-bottom: 50px;
    color: var(--primary-dark);
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--secondary);
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2em;
    color: var(--text-light);
    margin-bottom: 50px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Specs */
.specs {
    background: var(--white);
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    max-width: 800px;
    margin: 0 auto;
}

.spec-item {
    background: var(--background);
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    border-left: 4px solid var(--primary);
}

.spec-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.spec-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
    font-size: 1.1em;
}

/* Features */
.features {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.features-list {
    columns: 2;
    gap: 30px;
    max-width: 800px;
    margin: 0 auto;
}

.features-list li {
    background: var(--white);
    padding: 15px 20px;
    margin-bottom: 15px;
    border-radius: 8px;
    box-shadow: var(--shadow);
    break-inside: avoid;
    border-left: 4px solid var(--primary-light);
    transition: all 0.3s ease;
}

.features-list li:hover {
    transform: translateX(5px);
    border-left-color: var(--secondary);
}

.features-visual {
    text-align: center;
    margin-bottom: 40px;
}

/* Options */
.options-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.option-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient);
}

.option-item:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-hover);
}

.option-number {
    position: absolute;
    top: 15px;
    right: 15px;
    background: var(--secondary);
    color: var(--white);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9em;
}

.option-icon {
    font-size: 3em;
    margin-bottom: 15px;
}

.option-item h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
    font-size: 1.3em;
}

/* Program */
.program {
    background: var(--gradient);
    color: var(--white);
}

.program-content {
    display: grid;
    gap: 50px;
    align-items: start;
}

.program h2 {
    color: var(--white);
}

.program h2::after {
    background: var(--secondary);
}

.contact-card {
    background: var(--white);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    box-shadow: var(--shadow-hover);
}

.contact-card strong {
    display: block;
    font-size: 1.5em;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Dealers */
.dealers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.dealer-item {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
    text-align: center;
    transition: all 0.3s ease;
}

.dealer-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.dealer-logo {
    margin-bottom: 20px;
}

.dealer-logo img {
    border-radius: 10px;
}

.dealer-item h3 {
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.dealer-phone a,
.dealer-email a,
.dealer-website a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.dealer-phone a:hover,
.dealer-email a:hover,
.dealer-website a:hover {
    color: var(--secondary);
}

.become-dealer {
    text-align: center;
    background: var(--white);
    padding: 40px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

/* Contacts */
.contacts-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.contact-info h3 {
    color: var(--primary-dark);
    margin-bottom: 20px;
}

.contact-phone a {
    font-size: 1.5em;
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.contact-details {
    margin: 30px 0;
    padding: 20px;
    background: var(--background);
    border-radius: 10px;
}

.social-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 12px 25px;
    background: var(--primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.social-link.whatsapp { background: #25D366; }
.social-link.email { background: #EA4335; }
.social-link.phone { background: var(--primary); }

.social-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.contact-form {
    background: var(--white);
    padding: 30px;
    border-radius: 15px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1em;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.form-notice {
    font-size: 0.9em;
    color: var(--text-light);
    margin-top: 15px;
    text-align: center;
}

/* Footer */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding: 50px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.footer-logo img {
    margin-bottom: 15px;
}

.footer-contacts a {
    color: var(--white);
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--secondary);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 20px;
    text-align: center;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom a {
    color: var(--secondary);
    text-decoration: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: flex;
    }
    
    .nav {
        display: none;
    }
    
    .header-contacts {
        display: none;
    }
    
    .hero h1 {
        font-size: 2em;
    }
    
    .hero h2 {
        font-size: 1.2em;
    }
    
    h2 {
        font-size: 2em;
    }
    
    .features-list {
        columns: 1;
    }
    
    .program-content,
    .contacts-content,
    .footer-content {
        grid-template-columns: 1fr;
    }
    
    .options-grid {
        grid-template-columns: 1fr;
    }
    
    .dealers-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 10px;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    section {
        padding: 50px 0;
    }
    
    .hero {
        padding: 120px 0 50px;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .option-item,
    .dealer-item,
    .contact-form {
        padding: 20px;
    }
}

/* Стили для сравнения цветов */
.color-comparison-section {
    padding: 80px 0;
    background: #f8f9fa;
}

.color-comparison {
    position: relative;
    max-width: 900px;
    height: 500px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    cursor: col-resize;
}

.color-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

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

.overlay-color {
    clip-path: polygon(0 0, 50% 0, 50% 100%, 0 100%);
}

/* Вертикальный разделитель */
.color-divider {
    position: absolute;
    top: 0;
    height: 100%;
    z-index: 3;
    display: flex;
    align-items: center;
    transform: translateX(-50%);
}

.divider-line {
    width: 2px;
    height: 100%;
    background: white;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.divider-handle {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    border: 2px solid #2E7D32;
    cursor: grab;
    transition: all 0.2s ease;
}

.divider-handle:hover {
    background: #2E7D32;
    transform: translate(-50%, -50%) scale(1.1);
}

.divider-handle:active {
    cursor: grabbing;
}

.divider-handle svg {
    color: #2E7D32;
    transition: color 0.2s ease;
}

.divider-handle:hover svg {
    color: white;
}

/* Адаптивность для сравнения цветов */
@media (max-width: 768px) {
    .color-comparison {
        height: 400px;
    }
}

@media (max-width: 480px) {
    .color-comparison {
        height: 300px;
    }
    
    .divider-handle {
        width: 35px;
        height: 35px;
    }
}

/* Адаптивность для переключателя языка */
@media (max-width: 768px) {
    .language-switcher {
        display: none;
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .language-switcher.active {
        display: flex;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
}

/* Исправления для мобильного меню */
@media (max-width: 768px) {
    .language-switcher {
        display: none;
        margin-left: 0;
        margin-top: 15px;
        width: 100%;
        justify-content: center;
    }
    
    .nav.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--white);
        box-shadow: var(--shadow-hover);
        padding: 20px;
        gap: 15px;
    }
    
    .language-switcher.active {
        display: flex;
        position: absolute;
        top: calc(100% + 120px);
        left: 0;
        width: 100%;
        background: var(--white);
        padding: 15px 20px;
        box-shadow: var(--shadow-hover);
        z-index: 1001;
    }
    
    .header-content {
        flex-wrap: wrap;
    }

    /* Анимация для кнопки меню */
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }

    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .mobile-menu-toggle span {
        transition: 0.3s;
    }
}

/* Галерея */
.gallery {
    background: var(--white);
    padding: 80px 0;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.gallery-item {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* Модальное окно галереи */
.gallery-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.gallery-modal.active {
    display: flex;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.modal-content img {
    max-width: 100%;
    max-height: 90vh;
    border-radius: 10px;
}

.modal-close {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 2em;
    cursor: pointer;
    padding: 5px;
}

.modal-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
}

.modal-nav button {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 2em;
    padding: 10px 15px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.modal-nav button:hover {
    background: rgba(255,255,255,0.4);
}

@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 15px;
    }

    .modal-nav button {
        font-size: 1.5em;
        padding: 5px 10px;
    }
}

/* Центрирование всех изображений и видео */
.hero-image,
.hero-image img,
.video-container,
.video-container iframe,
.gallery-slider,
.gallery-slide img,
.dealer-logo,
.dealer-logo img,
.footer-logo,
.footer-logo img,
.color-comparison,
.color-comparison img,
.features-visual,
.features-visual img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

/* Специально для видео контейнеров */
.video-container {
    text-align: center;
    margin: 40px auto;
    max-width: 800px;
    width: 100%;
}

.video-container iframe {
    width: 100%;
    max-width: 800px;
    border-radius: 10px;
    box-shadow: var(--shadow);
}

/* Центрирование изображений в преимуществах */
.features-visual {
    margin-bottom: 40px;
}

/* Центрирование логотипов */
.dealer-logo,
.footer-logo {
    text-align: center;
}

/* Центрирование галереи */
.gallery-slider {
    margin: 0 auto;
}

/* Центрирование сравнения цветов */
.color-comparison-section .container {
    text-align: center;
}

/* Центрирование дилерской информации */
.dealer-item {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.dealer-logo img {
    margin: 0 auto 20px;
}

/* Анимации для сайта */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Анимации для элементов при скролле */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

.animate-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.animate-left.animated {
    opacity: 1;
    transform: translateX(0);
}

.animate-right {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
}

.animate-right.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Анимация для кнопок */
.btn-animated {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-animated::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.btn-animated:hover::before {
    left: 100%;
}

/* Анимация для карточек */
.option-item,
.dealer-item,
.spec-item {
    transition: all 0.4s ease;
}

.option-item:hover,
.dealer-item:hover,
.spec-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* Анимация для логотипа */
.logo img {
    transition: all 0.5s ease;
}

.logo img:hover {
    animation: pulse 1s ease-in-out;
}

/* Анимация для навигации */
.nav a {
    position: relative;
    overflow: hidden;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--primary);
    transition: left 0.3s ease;
}

.nav a:hover::after {
    left: 0;
}

/* Анимация для счетчиков */
.option-number {
    animation: float 3s ease-in-out infinite;
}

/* Анимация для героя */
.hero h1 {
    animation: fadeInUp 1s ease-out;
}

.hero h2 {
    animation: fadeInUp 1s ease-out 0.3s both;
}

.hero .btn {
    animation: fadeInUp 1s ease-out 0.6s both;
}

/* Адаптивность для центрированных элементов */
@media (max-width: 768px) {
    .video-container iframe {
        height: 300px;
    }
    
    .color-comparison {
        margin: 0 10px;
    }
    
    .animate-left,
    .animate-right {
        transform: translateX(0);
    }
}

@media (max-width: 480px) {
    .video-container iframe {
        height: 250px;
    }
}

/* Стили для галереи-слайдера */
.gallery-slider {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    overflow: hidden;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.gallery-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.gallery-slide {
    min-width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease;
    display: none;
}

.gallery-slide.active {
    opacity: 1;
    display: block;
}

.slide-content {
    position: relative;
    width: 100%;
}

.slide-content img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    display: block;
}

.slide-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: white;
    padding: 20px;
    text-align: center;
    font-size: 1.1em;
}

/* Стрелки навигации */
.gallery-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.gallery-arrow:hover {
    background: white;
    transform: translateY(-50%) scale(1.1);
}

.gallery-arrow-prev {
    left: 20px;
}

.gallery-arrow-prev svg {
    transform: rotate(180deg);
}

.gallery-arrow-next {
    right: 20px;
}

.gallery-arrow svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

/* Пагинация */
.gallery-pagination {
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 10px;
    z-index: 10;
}

.gallery-bullet {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.gallery-bullet.active,
.gallery-bullet:hover {
    background: white;
    transform: scale(1.2);
}

/* Счетчик */
.gallery-counter {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0,0,0,0.7);
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    font-size: 0.9em;
    z-index: 10;
}

/* Адаптивность галереи */
@media (max-width: 768px) {
    .gallery-slider {
        margin: 0 10px;
    }
    
    .slide-content img {
        height: 300px;
    }
    
    .gallery-arrow {
        width: 40px;
        height: 40px;
    }
    
    .gallery-arrow-prev {
        left: 10px;
    }
    
    .gallery-arrow-next {
        right: 10px;
    }
    
    .slide-caption {
        padding: 15px;
        font-size: 1em;
    }
}

@media (max-width: 480px) {
    .slide-content img {
        height: 250px;
    }
    
    .gallery-arrow {
        width: 35px;
        height: 35px;
    }
    
    .gallery-arrow svg {
        width: 16px;
        height: 16px;
    }
}