
@media (max-width: 768px) {
    .entertainment-categories {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .category-header {
        padding: 1.25rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .category-icon {
        margin: 0 auto;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .activity-item {
        padding: 0.75rem 1rem;
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .activity-item .activity-icon {
        margin: 0 auto;
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .partner-services-compact {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }
    
    .partner-info-card,
    .locations-info-card {
        padding: 1.5rem;
    }
    
    .partner-header,
    .locations-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .contact-info {
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .entertainment-categories {
        gap: 0.75rem;
    }
    
    .category-header {
        padding: 1rem;
    }
    
    .category-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .category-info h3 {
        font-size: 1.1rem;
    }
    
    .category-info p {
        font-size: 0.85rem;
    }
    
    .activity-item {
        padding: 0.5rem 0.75rem;
    }
    
    .activity-info h4 {
        font-size: 0.95rem;
    }
    
    .activity-info p {
        font-size: 0.8rem;
    }
    
    .partner-info-card,
    .locations-info-card {
        padding: 1rem;
    }
    
    .partner-details h4 {
        font-size: 1.2rem;
    }
    
    .locations-header h3 {
        font-size: 1.1rem;
    }
    
    .service-tag {
        padding: 0.5rem;
        flex-direction: column;
        text-align: center;
        gap: 0.25rem;
    }
    
    .service-tag span {
        font-size: 0.8rem;
    }
}

/* Анимации для новой структуры */
.entertainment-category {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.entertainment-category:nth-child(1) { animation-delay: 0.1s; }
.entertainment-category:nth-child(2) { animation-delay: 0.2s; }
.entertainment-category:nth-child(3) { animation-delay: 0.3s; }
.entertainment-category:nth-child(4) { animation-delay: 0.4s; }

.activity-item {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.activity-item:nth-child(1) { animation-delay: 0.1s; }
.activity-item:nth-child(2) { animation-delay: 0.2s; }
.activity-item:nth-child(3) { animation-delay: 0.3s; }

.service-tag {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.service-tag:nth-child(1) { animation-delay: 0.1s; }
.service-tag:nth-child(2) { animation-delay: 0.2s; }
.service-tag:nth-child(3) { animation-delay: 0.3s; }
.service-tag:nth-child(4) { animation-delay: 0.4s; }

.location-compact {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.location-compact:nth-child(1) { animation-delay: 0.1s; }
.location-compact:nth-child(2) { animation-delay: 0.2s; }
.location-compact:nth-child(3) { animation-delay: 0.3s; }

/* Убираем анимации для пользователей с ограниченными возможностями */
@media (prefers-reduced-motion: reduce) {
    .entertainment-category,
    .category-icon,
    .activity-item,
    .service-tag,
    .location-compact,
    .partner-logo,
    .locations-icon {
        animation: none !important;
        transition: none !important;
    }
}/* Стили для морской подготовки и походов - добавить в tourism.css */

/* Секция морской подготовки */
.marine-training-section {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border-left: 4px solid #1e40af;
    transition: all 0.3s ease;
}

.marine-training-section:hover {
    border-left-width: 6px;
    transform: translateX(3px);
}

.marine-training-content {
    margin-top: 1.5rem;
}

.training-intro {
    text-align: center;
    margin-bottom: 2rem;
    padding: 1rem;
    background: rgba(30, 64, 175, 0.05);
    border-radius: 8px;
}

.training-intro p {
    color: #475569;
    line-height: 1.6;
    margin: 0;
    font-size: 1rem;
}

/* Программы обучения */
.training-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.training-program {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.training-program::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(30,64,175,0.1), transparent);
    transition: left 0.6s ease;
}

.training-program:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(30, 64, 175, 0.3);
}

.training-program:hover::before {
    left: 100%;
}

.program-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.program-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af, #3b82f6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.training-program:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 4px 15px rgba(30, 64, 175, 0.3);
}

.program-header h3 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
    transition: color 0.3s ease;
}

.training-program:hover .program-header h3 {
    color: #1e40af;
}

.program-description {
    position: relative;
    z-index: 1;
}

.program-description p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.program-description strong {
    color: #1e293b;
    font-weight: 600;
}

.program-features {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.feature-tag {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #475569;
    border: 1px solid #cbd5e1;
    transition: all 0.3s ease;
}

.feature-tag:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    border-color: #1e40af;
    transform: scale(1.05);
}

.feature-tag i {
    color: #1e40af;
    font-size: 0.8rem;
}

/* Секция экспедиций */
.marine-.expeditions-benefits .benefit-item span {
    color: #4b5563;
    font-size: 0.9rem;
    line-height: 1.4;
    font-weight: 500;
}

/* Адаптивность для морских секций */
@media (max-width: 768px) {
    .training-programs {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .training-program {
        padding: 1.25rem;
    }
    
    .program-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
    
    .program-icon {
        margin: 0 auto;
        width: 45px;
        height: 45px;
        font-size: 1.2rem;
    }
    
    .program-header h3 {
        font-size: 1.1rem;
    }
    
    .expeditions-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .expedition-card {
        padding: 1.25rem;
        text-align: center;
    }
    
    .expedition-icon {
        margin: 0 auto 1rem auto;
        width: 55px;
        height: 55px;
        font-size: 1.3rem;
    }
    
    .expedition-details {
        justify-content: center;
        gap: 0.5rem;
    }
    
    .benefits-row {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .expeditions-benefits {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .training-intro {
        padding: 0.75rem;
    }
    
    .training-intro p {
        font-size: 0.9rem;
    }
    
    .training-program {
        padding: 1rem;
    }
    
    .program-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .program-header h3 {
        font-size: 1rem;
    }
    
    .program-description p {
        font-size: 0.85rem;
    }
    
    .feature-tag {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .expedition-card {
        padding: 1rem;
    }
    
    .expedition-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .expedition-content h4 {
        font-size: 1.1rem;
    }
    
    .expedition-content p {
        font-size: 0.85rem;
    }
    
    .expedition-details span {
        font-size: 0.7rem;
        padding: 0.2rem 0.4rem;
    }
    
    .expeditions-benefits h4 {
        font-size: 1.1rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .expeditions-benefits .benefit-item {
        padding: 0.5rem;
    }
    
    .expeditions-benefits .benefit-item span {
        font-size: 0.85rem;
    }
}

/* Анимации для морских секций */
.training-program {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.training-program:nth-child(1) { animation-delay: 0.1s; }
.training-program:nth-child(2) { animation-delay: 0.2s; }

.expedition-card {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.expedition-card:nth-child(1) { animation-delay: 0.1s; }
.expedition-card:nth-child(2) { animation-delay: 0.2s; }
.expedition-card:nth-child(3) { animation-delay: 0.3s; }
.expedition-card:nth-child(4) { animation-delay: 0.4s; }

.expeditions-benefits .benefit-item {
    opacity: 0;
    animation: slideInUp 0.6s ease forwards;
}

.expeditions-benefits .benefit-item:nth-child(1) { animation-delay: 0.1s; }
.expeditions-benefits .benefit-item:nth-child(2) { animation-delay: 0.2s; }
.expeditions-benefits .benefit-item:nth-child(3) { animation-delay: 0.3s; }
.expeditions-benefits .benefit-item:nth-child(4) { animation-delay: 0.4s; }
.expeditions-benefits .benefit-item:nth-child(5) { animation-delay: 0.5s; }
.expeditions-benefits .benefit-item:nth-child(6) { animation-delay: 0.6s; }

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

/* Убираем анимации для пользователей с ограниченными возможностями */
@media (prefers-reduced-motion: reduce) {
    .training-program,
    .program-icon,
    .expedition-card,
    .expedition-icon,
    .expeditions-benefits .benefit-item,
    .feature-tag,
    .expedition-details span {
        animation: none !important;
        transition: none !important;
    }
}

/* Дополнительные стили для улучшения UX */
.marine-training-section .card-title,
.marine-expeditions-section .card-title {
    background: linear-gradient(135deg, #1e40af, #0891b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover эффекты для секций */
.marine-training-section:hover .card-icon,
.marine-expeditions-section:hover .card-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Стили для прокрутки */
.marine-training-content,
.expeditions-grid {
    scroll-behavior: smooth;
}

/* Фокусные состояния для доступности */
.training-program:focus,
.expedition-card:focus,
.expeditions-benefits .benefit-item:focus {
    outline: 2px solid #1e40af;
    outline-offset: 2px;
}

/* Стили для печати */
@media print {
    .marine-training-section,
    .marine-expeditions-section {
        background: white !important;
        box-shadow: none !important;
        border: 1px solid #000 !important;
    }
    
    .training-program,
    .expedition-card {
        break-inside: avoid;
    }
}
.marine-expeditions-section {
    background: linear-gradient(135deg, #ecfeff 0%, #cffafe 100%);
    border-left: 4px solid #0891b2;
    transition: all 0.3s ease;
}

.marine-expeditions-section:hover {
    border-left-width: 6px;
    transform: translateX(3px);
}

.expeditions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.expedition-card {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.expedition-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(8,145,178,0.1), transparent);
    transition: left 0.6s ease;
}

.expedition-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(8, 145, 178, 0.3);
}

.expedition-card:hover::before {
    left: 100%;
}

.expedition-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #0891b2, #06b6d4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
}

.expedition-card:hover .expedition-icon {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 6px 20px rgba(8, 145, 178, 0.3);
}

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

.expedition-content h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.75rem;
    transition: color 0.3s ease;
}

.expedition-card:hover .expedition-content h4 {
    color: #0891b2;
}

.expedition-content p {
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.expedition-content strong {
    color: #1e293b;
    font-weight: 600;
}

.expedition-details {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.expedition-details span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    padding: 0.25rem 0.5rem;
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    border-radius: 12px;
    font-size: 0.75rem;
    color: #0369a1;
    border: 1px solid #bae6fd;
    transition: all 0.3s ease;
}

.expedition-details span:hover {
    background: linear-gradient(135deg, #dbeafe, #bfdbfe);
    transform: scale(1.05);
}

.expedition-details i {
    color: #0891b2;
    font-size: 0.8rem;
}

/* Преимущества экспедиций */
.expeditions-benefits {
    background: #f8fafc;
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.expeditions-benefits:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.expeditions-benefits h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
}

.benefits-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.benefit-column {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.expeditions-benefits .benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    background: white;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.expeditions-benefits .benefit-item:hover {
    transform: translateX(5px);
    border-color: #0891b2;
    box-shadow: 0 2px 8px rgba(8, 145, 178, 0.1);
}

.expeditions-benefits .benefit-item i {
    color: #0891b2;
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.expeditions-benefits .benefit-item:hover i {
    transform: scale(1.2);
}


/* Секция размещения */
.accommodation-section {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #059669;
    transition: all 0.3s ease;
}

.accommodation-section:hover {
    border-left-width: 6px;
    transform: translateX(3px);
}

.accommodation-content {
    margin-top: 1.5rem;
}

.accommodation-intro {
    margin-bottom: 2rem;
    text-align: center;
}

.accommodation-intro h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    position: relative;
}

.accommodation-intro h3::after {
    content: '';
    position: absolute;
    bottom: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #059669, #10b981);
    border-radius: 2px;
}

.accommodation-intro p {
    color: #64748b;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
}
