/* main.css - Стили для главной страницы */

/* Hero Section */
.hero {
    height: 70vh;
    min-height: 500px;
    position: relative;
    display: flex;
    align-items: center;
    padding: 40px 0;
    margin: 0;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
}

.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero p {
    font-size: clamp(1rem, 2.5vw, 1.3rem);
    margin-bottom: 2.5rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* About Section */
.about {
    background-color: var(--dark);
}

.about-content {
    display: flex;
    align-items: center;
    gap: 50px;
}

.about-text {
    flex: 1;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 20px;
}

.about-text p {
    margin-bottom: 20px;
    color: var(--gray);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.feature-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(0, 204, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
    flex-shrink: 0;
}

.feature-content h4 {
    margin-bottom: 5px;
}

.feature-content p {
    color: var(--gray);
    font-size: 0.9rem;
}

.about-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Vehicles Section */
.vehicles {
    background-color: var(--darker);
}

.vehicles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    justify-items: center;
}

.vehicle-card {
    max-width: 350px;
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--dark);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.vehicle-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.vehicle-image {
    height: 200px;
    overflow: hidden;
}

.vehicle-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.vehicle-content {
    padding: 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.vehicle-content h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.vehicle-specs {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    color: var(--gray);
    font-size: 0.9rem;
}

.vehicle-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.vehicle-buttons {
    margin-top: auto;
}

/* Routes Section */
.routes {
    background-color: var(--dark);
}

.routes-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 10px;
}

.route-tab {
    padding: 10px 25px;
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--light);
    border-radius: 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.route-tab.active {
    background-color: var(--primary);
}

.route-tab:hover {
    background-color: var(--primary);
}

.routes-content {
    display: none;
}

.routes-content.active {
    display: block;
}

.route-details {
    display: flex;
    gap: 40px;
    align-items: center;
}

.route-info {
    flex: 1;
}

.route-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
}

.route-info p {
    margin-bottom: 20px;
    color: var(--gray);
}

.route-specs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.route-spec {
    display: flex;
    align-items: center;
    gap: 10px;
}

.route-spec i {
    color: var(--primary);
    font-size: 1.2rem;
}

.route-image {
    flex: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.route-image img,
.route-image video {
    width: 100%;
    height: auto;
    display: block;
}

.route-image video {
    height: 700px;
    object-fit: cover;
}

.route-buttons {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* Conditions Section */
.conditions {
    background-color: var(--darker);
}

.conditions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.condition-card {
    padding: 30px;
    border-radius: 10px;
    border-left: 4px solid var(--primary);
    background-color: var(--dark);
    margin-bottom: 30px;
}

.condition-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.condition-card h3 i {
    color: var(--primary);
}

.condition-card ul {
    list-style: none;
}

.condition-card ul li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.condition-card ul li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
}

.condition-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 20px 0;
}

/* Safety Section */
.safety-content {
    background-color: var(--dark);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.safety-list, .rules-list {
    list-style: none;
    margin: 20px 0;
}

.safety-list li, .rules-list li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}

.safety-list li:before, .rules-list li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

/* Gift Certificates */
.gift-certificates {
    background-color: var(--dark);
    padding: 40px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.gift-card {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    color: white;
    margin: 20px 0;
}

.gift-card h3 {
    font-size: 2rem;
    margin-bottom: 15px;
}

.gift-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}

.gift-feature {
    text-align: center;
    padding: 20px;
}

.gift-feature i {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Gallery Section */
.gallery {
    background-color: var(--dark);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gallery-item {
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

/* Contacts Section */
.contacts {
    background-color: var(--dark);
}

.contacts-content {
    display: flex;
    gap: 50px;
}

.contact-info {
    flex: 1;
}

.contact-info h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.contact-info p {
    margin-bottom: 30px;
    color: var(--gray);
}

.contact-details {
    margin-bottom: 30px;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.contact-detail i {
    width: 40px;
    height: 40px;
    background-color: rgba(0, 204, 102, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.2rem;
}

.navigation-buttons {
    display: flex;
    gap: 15px;
    margin: 25px 0;
}

.nav-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 20px;
    background-color: var(--darker);
    border: 2px solid var(--primary);
    color: var(--light);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    flex: 1;
}

.nav-btn:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.nav-btn i {
    font-size: 1.2rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    background-color: var(--darker);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--light);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.booking-form {
    flex: 1;
    background-color: var(--darker);
    padding: 30px;
    border-radius: 10px;
}

.booking-form h3 {
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.map-container {
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* Testimonials Section */
.testimonials-slider {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-container {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial-slide {
    min-width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}

.testimonial {
    padding: 30px;
    position: relative;
    transition: transform 0.3s ease;
    background-color: var(--dark);
    border-radius: 10px;
    overflow: hidden;
}

.testimonial:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.testimonial:before {
    content: '"';
    font-size: 4rem;
    color: var(--primary);
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
    font-family: serif;
    line-height: 1;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: var(--gray);
    position: relative;
    z-index: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.author-info p {
    color: var(--gray);
    font-size: 0.9rem;
}

.slider-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-btn {
    background-color: var(--primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.slider-btn:hover {
    background-color: var(--primary-dark);
    transform: scale(1.1);
}

.slider-dots {
    display: flex;
    gap: 10px;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: var(--gray);
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-dot.active {
    background-color: var(--primary);
    transform: scale(1.2);
}




/* Таблицы цен */
.pricing-table {
    margin: 30px 0;
}

.pricing-table h4 {
    margin-bottom: 20px;
    color: var(--light);
    font-size: 1.3rem;
}

.price-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.price-card {
    padding: 25px;
    border-radius: 10px;
    border: 2px solid rgba(255,255,255,0.1);
    position: relative;
    transition: all 0.3s ease;
    text-align: center;
    background-color: var(--dark);
}

.price-card:hover {
    border-color: var(--primary);
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
}

.price-card.featured {
    border-color: var(--primary);
    position: relative;
}

.price-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--primary);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.price-header {
    text-align: center;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.price-header h5 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: var(--light);
}

.price {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
}

.price-features {
    list-style: none;
    margin: 0;
    padding: 0;
}

.price-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    position: relative;
    padding-left: 25px;
    text-align: left;
}

.price-features li:before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Преимущества */
.individual-features {
    margin: 30px 0;
}


/* FAQ раздел */
.faq-section {
    background-color: var(--dark);
}

.faq-container {

    margin: 0 auto;
}

/* CTA секция */
.cta-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    padding: 80px 0;
    text-align: center;
    color: white;
}

.cta-content h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: white;
}

.cta-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-buttons .btn {
    background-color: white;
    color: var(--primary);
    border: 2px solid white;
}

.cta-buttons .btn:hover {
    background-color: transparent;
    color: white;
}

/* Медиа-запросы */
/* Адаптивные стили для главной страницы */
@media (max-width: 992px) {
    .vehicles-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-content, .route-details, .contacts-content {
        flex-direction: column;
    }
    
    .conditions-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .price-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .vehicles-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .price-cards {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .ride-type-selector, .route-selector, .certificate-type-selector {
        flex-direction: column;
    }
    
    .compact-selector {
        grid-template-columns: 1fr;
    }

    .route-buttons {
        flex-direction: column;
    }

    .navigation-buttons {
        flex-direction: column;
    }
    
    /* Исправления для мобильной версии - главная страница */
    #safety .accordion-item,
    #safety .accordion-header,
    #safety .accordion-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    #safety .safety-content {
        padding: 20px 15px;
    }
    
    #safety .accordion-header {
        padding: 15px;
    }
    
    #safety .accordion-content {
        padding: 0 15px;
    }
    
    #safety .accordion-item.active .accordion-content {
        padding: 15px;
    }
    
    /* Исправление табов заездов */
    .routes-tabs {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 10px;
        margin-bottom: 20px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .routes-tabs::-webkit-scrollbar {
        display: none;
    }
    
    .route-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 15px;
        font-size: 0.9rem;
    }
    
    .route-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .route-specs {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Возвращаем исходное расположение табов заездов */
    .routes-tabs {
        flex-wrap: wrap;
        overflow-x: visible;
        justify-content: center;
        padding-bottom: 0;
        margin-bottom: 30px;
        gap: 8px;
    }
    
    .route-tab {
        flex: 0 0 auto;
        white-space: nowrap;
        padding: 10px 20px;
        font-size: 0.9rem;
        margin: 2px;
    }
    
    .route-details {
        flex-direction: column;
        gap: 20px;
    }
    
    .route-info, .route-image {
        width: 100%;
    }
    
    .route-specs {
        grid-template-columns: 1fr;
        gap: 10px;
    }
    
    /* Для средних мобильных экранов - три таба в строку */
    @media (max-width: 768px) and (min-width: 481px) {
        .route-tab {
            flex: 1 1 calc(33.333% - 10px);
            min-width: 130px;
        }
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .routes-tabs {
        gap: 5px;
    }
    
    .route-tab {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    #individual .price-cards {
        grid-template-columns: 1fr;
    }
    
    #individual .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* Для очень маленьких экранов настраиваем компактное отображение */
    .routes-tabs {
        gap: 5px;
    }
    
    .route-tab {
        padding: 8px 15px;
        font-size: 0.85rem;
        flex: 1 1 calc(50% - 10px);
        min-width: 120px;
        text-align: center;
    }
}

/* Оптимизация производительности - Critical CSS */
/* Стили для контента выше сгиба (above the fold) */
.hero,
.header-container,
.logo-social-container {
    will-change: transform;
}

/* Улучшение рендеринга шрифтов */
body {
    font-display: swap;
}

/* Оптимизация для медленных соединений */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-item {
        height: 200px;
    }
}

/* Поддержка темной темы ОС */
@media (prefers-color-scheme: dark) {
    .hero {
        background-blend-mode: overlay;
    }
}

/* Улучшение доступности для высококонтрастного режима */
@media (prefers-contrast: high) {
    .btn {
        border: 2px solid currentColor;
    }
    
    .social-icon {
        border: 2px solid currentColor;
    }
}


.hero {
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero {
    position: relative;
    overflow: hidden;
    color: var(--light); /* Убедитесь что текст белый */
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-background img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 15, 15, 0.3), rgba(15, 15, 15, 0.8));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2; /* Выше чем overlay */
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3); /* Легкая тень для лучшей читаемости */
}


/* Жесткое ограничение размеров контейнеров */
.route-image, 
.about-image {
    max-width: 100%;
    width: 100%;
}

.route-image img,
.about-image img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Специфичные ограничения для разных разрешений */
@media (max-width: 768px) {
    .route-image,
    .about-image {
        max-width: 541px; /* Конкретный размер для мобильных */
        margin: 0 auto;
    }
}

@media (min-width: 769px) {
    .route-image,
    .about-image {
        max-width: 560px; /* Конкретный размер для десктопа */
    }
}


/* Жесткое ограничение размеров всех контейнеров с изображениями */
.about-image,
.route-image,
.vehicle-image,
.gallery-item {
    max-width: 100%;
    width: 100%;
}

.about-image img,
.route-image img,
.vehicle-image img,
.gallery-item img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Специфичные ограничения для разных разрешений */
@media (max-width: 768px) {
    .about-image,
    .route-image {
        max-width: 541px;
        margin: 0 auto;
    }
    .vehicle-image,
    .gallery-item {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (min-width: 769px) {
    .about-image,
    .route-image {
        max-width: 560px;
    }
    .vehicle-image,
    .gallery-item {
        max-width: 400px;
    }
}

/* Ограничения для всех контейнеров изображений */
.hero-image,
.vehicle-image img,
.route-image img,
.about-image img,
.gallery-item img {
    max-width: 100%;
    height: auto;
    object-fit: cover;
}

/* Конкретные ограничения по секциям */
.vehicle-image { max-width: 400px; }
.route-image { max-width: 600px; }
.about-image { max-width: 600px; }
.gallery-item { max-width: 400px; }

/* Центрирование и отступы */
.vehicle-image,
.route-image,
.about-image,
.gallery-item {
    margin: 0 auto;
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .vehicle-image,
    .route-image,
    .about-image,
    .gallery-item {
        max-width: 100%;
    }
}
/* Добавьте в ваш main.css */
.hero-image,
.vehicle-image img,
.route-image img,
.about-image img,
.gallery-item img {
    max-width: 100%;
    height: auto;
}

/* Конкретные ограничения */
.vehicle-image { max-width: 400px; }
.route-image { max-width: 600px; }
.about-image { max-width: 600px; }
.gallery-item { max-width: 400px; }

/* Центрирование */
.vehicle-image,
.route-image,
.about-image,
.gallery-item {
    margin: 0 auto;
}

/* Добавьте в main.css - ЭТО КРИТИЧЕСКИ ВАЖНО */
.vehicle-image,
.route-image, 
.about-image,
.gallery-item {
    max-width: 100%;
    overflow: hidden;
}

/* Конкретные ограничения */
.vehicle-image { 
    max-width: 400px;
    margin: 0 auto;
}

.route-image { 
    max-width: 600px;
    margin: 0 auto;
}

.about-image { 
    max-width: 600px;
    margin: 0 auto;
}

.gallery-item { 
    max-width: 400px;
    margin: 0 auto;
}

/* Для мобильных */
@media (max-width: 768px) {
    .vehicle-image,
    .route-image,
    .about-image,
    .gallery-item {
        max-width: 100%;
    }
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.about-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}


/* Блок опыта на всю ширину */
.experience-block-full {
    margin-top: 1.5rem;
    background: rgba(0, 204, 102, 0.1);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--primary);
    margin-bottom: 3rem;
    width: 100%;
}

.experience-content h4 {
    color: var(--primary);
    margin-bottom: 1rem;
    font-size: 1.3rem;
    text-align: center;
}

.experience-content p {
    color: var(--light);
    margin-bottom: 1.5rem;
    text-align: center;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats {
    display: flex;
    justify-content: space-around;
    text-align: center;
    gap: 1rem;
}

.stat {
    flex: 1;
}

.stat-number {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 0.3rem;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.image-caption {
    margin-top: 1rem;
    padding: 1rem;
    background: var(--dark);
    border-radius: 6px;
    font-style: italic;
    color: var(--gray);
    text-align: center;
    border-left: 3px solid var(--primary);
}

/* Новый стиль для блока преимуществ */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.about-feature-card {
    background: var(--dark);
    border-radius: 8px;
    padding: 2rem;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

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

.about-feature-card h3 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.about-feature-card h3 i {
    color: var(--primary);
}

.about-feature-card ul {
    list-style: none;
}

.about-feature-card li {
    margin-bottom: 0.8rem;
    padding-left: 1.2rem;
    position: relative;
    color: var(--gray);
    line-height: 1.4;
}

.about-feature-card li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

/* Стили для видео */
.about-image video {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

@media (max-width: 768px) {
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-right-column {
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .about-features-grid {
        grid-template-columns: 1fr;
    }
   
    
    .experience-block-full {
        padding: 1.5rem;
    }
    
    .about-image video {
        height: 300px;
    }
}

@media (max-width: 480px) {
    .about-image video {
        height: 250px;
    }
}
.pricing-section {
    margin: 2rem 0;
}

.pricing-table-container {
    background: var(--dark);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0,0,0,0.3);
    margin-bottom: 1.5rem;
    overflow-x: auto;
}

.pricing-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px;
}

.pricing-table th {
    background: rgba(0, 204, 102, 0.1);
    color: var(--primary);
    font-weight: 600;
    padding: 1rem;
    text-align: center;
    border-bottom: 2px solid rgba(0, 204, 102, 0.3);
}

.pricing-table td {
    padding: 1.5rem 1rem;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.pricing-table .route-row:last-child td {
    border-bottom: none;
}

.pricing-table .route-row.featured {
    background: rgba(0, 204, 102, 0.05);
}

.pricing-table .route-row.featured td:first-child {
    border-left: 4px solid var(--primary);
}

/* Стили для колонок */
.route-col {
    width: 25%;
    text-align: left;
}

.distance-col, .time-col, .difficulty-col {
    width: 10%;
}

.price-col {
    width: 12%;
}

.action-col {
    width: 21%;
}

/* Стили контента */
.route-info {
    text-align: left;
}

.route-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 0.5rem;
}

.route-title {
    font-size: 1.1rem;
    color: var(--light);
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    padding: 2px 4px;
}

/* Оконтовка текста названий маршрутов по сложности */
.easy-route .route-title {
    text-shadow: 
     
    -webkit-text-stroke: 1px rgba(0, 204, 102, 0.6);
    text-stroke: 1px rgba(0, 204, 102, 0.6);
}

.medium-route .route-title {

    -webkit-text-stroke: 1px rgba(255, 193, 7, 0.6);
    text-stroke: 1px rgba(255, 193, 7, 0.6);
}

.hard-route .route-title {

    -webkit-text-stroke: 1px rgba(255, 87, 34, 0.6);
    text-stroke: 1px rgba(255, 87, 34, 0.6);
}

.extreme-route .route-title {
    
    -webkit-text-stroke: 1px rgba(156, 39, 176, 0.6);
    text-stroke: 1px rgba(156, 39, 176, 0.6);
}

.route-description {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.4;
}

.popular-badge {
    background: var(--primary);
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 600;
}

.difficulty-badge {
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    display: inline-block;
    min-width: 80px;
}

.difficulty-badge.easy {
    background: rgba(0, 204, 102, 0.2);
    color: var(--primary);
}

.difficulty-badge.medium {
    background: rgba(255, 193, 7, 0.2);
    color: #ffc107;
}

.difficulty-badge.hard {
    background: rgba(255, 87, 34, 0.2);
    color: #ff5722;
}

.difficulty-badge.extreme {
    background: rgba(156, 39, 176, 0.2);
    color: #9c27b0;
}

.price-amount {
    font-weight: 600;
    font-size: 1rem;
}

.group-price .price-amount {
    color: var(--primary);
}

.individual-price .price-amount {
    color: #4A90E2; /* Новый синий цвет вместо красного */
}

/* Стили кнопок */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    justify-content: center;
}

.btn {
    display: inline-block;
    padding: 0.35rem 0.8rem;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.8rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    cursor: pointer;
}

.btn-small {
    padding: 0.35rem 0.8rem;
    font-size: 0.8rem;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 204, 102, 0.3);
}

.btn-individual {
    background: transparent;
    border: 2px solid #4A90E2;
    color: #4A90E2;
}

.btn-individual:hover {
    background: rgba(74, 144, 226, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.pricing-notes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.note-group, .note-individual {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255,255,255,0.05);
    border-radius: 8px;
    font-size: 0.9rem;
}

.note-group i {
    color: var(--primary);
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

.note-individual i {
    color: #4A90E2; /* Новый синий цвет для иконки индивидуальных заездов */
    font-size: 1.1rem;
    margin-top: 0.1rem;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
    .pricing-table-container {
        background: transparent;
        box-shadow: none;
        border-radius: 0;
        overflow-x: visible;
    }
    
    .pricing-table {
        min-width: 100%;
        display: block;
    }
    
    .pricing-table thead {
        display: none;
    }
    
    .pricing-table tbody,
    .pricing-table tr,
    .pricing-table td {
        display: block;
        width: 100%;
    }
    
    .pricing-table tr {
        background: var(--dark);
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 0;
        box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    }
    
    .pricing-table td {
        padding: 1rem;
        text-align: left;
        border-bottom: 1px solid rgba(255,255,255,0.1);
        position: relative;
        padding-left: 40%;
    }
    
    .pricing-table td:before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        top: 50%;
        transform: translateY(-50%);
        font-weight: 600;
        font-size: 0.8rem;
        color: var(--gray);
        text-transform: uppercase;
        width: 35%;
    }
    
    .pricing-table .route-info {
        padding-left: 0;
        text-align: left;
    }
    
    .pricing-table .route-info:before {
        display: none;
    }
    
    .action-buttons {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .pricing-notes {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    

}

@media (max-width: 480px) {
    .pricing-table td {
        padding-left: 45%;
    }
    
    .pricing-table td:before {
        width: 40%;
    }
    
    .route-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .btn-small {
        padding: 0.4rem 0.8rem;
    }
}



@media (max-width: 768px) {
    .about-image video, .route-image video {
        height: 300px;
    }
}


.routes-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.route-item {
    padding: 15px;
    background: rgba(0,204,102,0.05);
    border-radius: 6px;
}

.participation-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin: 20px 0;
}

.participation-type {
    padding: 20px;
    background: rgba(255,255,255,0.03);
    border-radius: 8px;
}

.event-types {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.event-type {
    text-align: center;
    padding: 15px;
}

.safety-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 25px 0;
}

.safety-item {
    background: rgba(255,255,255,0.03);
    padding: 15px;
    border-radius: 6px;
    text-align: center;
}

.safety-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 8px;
}

.booking-methods {
    list-style: none;
    margin: 20px 0;
}

.booking-methods li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
}

.booking-methods li:before {
    content: '✓';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-weight: bold;
}

.location-info {
    background: rgba(0,204,102,0.05);
    padding: 25px;
    border-radius: 10px;
    border: 1px solid rgba(0,204,102,0.2);
}


.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}



.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
    margin-bottom: 3rem;
}

.about-right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Стили для страницы условий */
.condition-content {
    padding: 20px 0;
}

.rules-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.rules-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--gray);
    line-height: 1.6;
}

.rules-list li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.safety-rules {
    background-color: var(--darker);
}

.safety-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

.safety-section {
    background: var(--dark);
    border-radius: 10px;
    padding: 30px;
    border-left: 4px solid var(--primary);
}

.safety-section h3 {
    color: var(--light);
    margin-bottom: 20px;
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.safety-section h3 i {
    color: var(--primary);
}

.safety-text {
    color: var(--gray);
    line-height: 1.7;
}

.safety-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.safety-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--gray);
    line-height: 1.6;
}

.safety-list li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.equipment-info {
    background-color: var(--dark);
}

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

.equipment-card {
    text-align: center;
    padding: 30px 20px;
    background: var(--darker);
    border-radius: 10px;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 204, 102, 0.2);
}

.equipment-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.equipment-card h3 {
    color: var(--light);
    margin-bottom: 10px;
    font-size: 1.2rem;
}

.equipment-card p {
    color: var(--gray);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Стили для страницы договора */
.contract-content {
    background-color: var(--darker);
}

.contract-document {
    background: var(--dark);
    border-radius: 10px;
    padding: 40px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.contract-header {
    border-bottom: 2px solid var(--primary);
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.contract-meta {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.contract-meta p {
    color: var(--gray);
    margin: 0;
}

.contract-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.contract-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contract-section h3 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.5rem;
}

.contract-section h4 {
    color: var(--light);
    margin: 25px 0 15px;
    font-size: 1.2rem;
}

.contract-text {
    color: var(--gray);
    line-height: 1.7;
}

.contract-text p {
    margin-bottom: 15px;
}

.definition-list {
    margin: 20px 0;
}

.definition-item {
    margin-bottom: 25px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border-left: 3px solid var(--primary);
}

.definition-item h4 {
    color: var(--light);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.definition-item p {
    color: var(--gray);
    margin: 0;
    font-size: 0.95rem;
}

.contract-list {
    list-style: none;
    margin: 15px 0;
    padding: 0;
}

.contract-list li {
    margin-bottom: 12px;
    padding-left: 25px;
    position: relative;
    color: var(--gray);
    line-height: 1.6;
}

.contract-list li:before {
    content: '•';
    color: var(--primary);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.requisites-section {
    background-color: var(--dark);
}

.requisites-card {
    background: var(--darker);
    border-radius: 10px;
    padding: 40px;
    max-width: 800px;
    margin: 0 auto;
}

.requisites-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 30px;
}

.requisites-item {
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.requisites-item h4 {
    color: var(--primary);
    margin-bottom: 10px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.requisites-item p {
    color: var(--light);
    margin: 0;
    font-size: 1rem;
}

.requisites-notice {
    margin-top: 30px;
}

.section-subtitle {
    color: var(--gray);
    font-size: 1.1rem;
    margin-top: 10px;
    text-align: center;
}

/* Адаптивность */
@media (max-width: 768px) {
    .contract-document {
        padding: 20px;
    }
    
    .contract-section {
        margin-bottom: 30px;
        padding-bottom: 20px;
    }
    
    .contract-section h3 {
        font-size: 1.3rem;
    }
    
    .definition-item {
        padding: 15px;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .safety-section {
        padding: 20px;
    }
    
    .requisites-card {
        padding: 20px;
    }
    
    .requisites-content {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .equipment-grid {
        grid-template-columns: 1fr;
    }
    
    .contract-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .safety-section h3 {
        font-size: 1.2rem;
    }
}
/* ИСПРАВЛЕНИЕ ДЛЯ МОБИЛЬНОЙ ВЕРСИИ БЛОКА "О НАС" */
@media (max-width: 768px) {
    .mobile-fix {
        display: flex !important;
        flex-direction: column !important;
        width: 100% !important;
    }
    
    .about-content {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 2rem !important;
        width: 100% !important;
    }
    
    .about-text {
        width: 100% !important;
        max-width: 100% !important;
        order: 1;
    }
    
    .about-right-column {
        width: 100% !important;
        max-width: 100% !important;
        order: 2;
        display: flex !important;
        flex-direction: column !important;
        gap: 1.5rem !important;
    }
    
    .features-grid {
        order: 2;
        width: 100% !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .about-image {
        order: 3;
        width: 100% !important;
        margin: 0 auto !important;
    }
    
    .benefits-grid {
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 1.5rem !important;
        margin: 1.5rem 0 !important;
    }
    
    .benefit-card {
        width: 100% !important;
        margin-bottom: 1rem !important;
    }
}