/* tourism.css - Полные стили для страницы водного туризма */

/* Hero секция туризма в стиле news-hero */
.tourism-hero {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    color: #ffffff;
    padding: 4rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.tourism-hero::before {
    content: '';
    position: absolute;
    top: 45px;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 100" fill="%23ffffff" opacity="0.1"><polygon points="0,100 100,0 200,50 300,0 400,80 500,20 600,60 700,0 800,40 900,0 1000,30 1000,100"/></svg>') repeat-x;
    animation: float 20s ease-in-out infinite;
}

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

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

.tourism-hero h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.tourism-hero p {
    font-size: 1.25rem;
    font-weight: 300;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.tourism-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.tourism-stat {
    text-align: center;
    transition: transform 0.3s ease;
}

.tourism-stat:hover {
    transform: scale(1.05);
}

.tourism-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.tourism-stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Иконки для туризма */
.tourism-icon-water {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.tourism-icon-booking {
    background: linear-gradient(135deg, #10b981, #059669);
}

/* Карточки программ */
.tourism-programs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.program-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.program-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
    border-color: rgba(59, 130, 246, 0.3);
}

.program-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #10b981);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.program-card:hover::before {
    transform: scaleX(1);
}

.program-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.program-card:hover .program-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.4);
}

.program-content {
    padding: 0 1.5rem 1.5rem;
}

.program-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.program-card:hover .program-content h3 {
    color: #3b82f6;
}

.program-details {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.program-duration,
.program-difficulty {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.program-duration {
    background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
    color: #0369a1;
    border: 1px solid #bae6fd;
}

.difficulty-easy { background: linear-gradient(135deg, #dcfce7, #bbf7d0); color: #065f46; border: 1px solid #86efac; }
.difficulty-medium { background: linear-gradient(135deg, #fef3c7, #fde68a); color: #92400e; border: 1px solid #fcd34d; }
.difficulty-hard { background: linear-gradient(135deg, #fee2e2, #fecaca); color: #991b1b; border: 1px solid #f87171; }

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

.program-features {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.3s ease;
}

.program-card:hover .feature {
    transform: translateY(-2px);
}

.feature i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.feature span {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Водные активности */
.water-activities-section {
    padding: 3rem 0;
}

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

.activity-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.1);
    position: relative;
}

.activity-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.activity-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #f59e0b, #10b981, #3b82f6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.activity-card:hover::before {
    transform: scaleX(1);
}

.activity-icon {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 1.5rem auto 1rem;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.activity-card:hover .activity-icon {
    transform: scale(1.15) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

.activity-content {
    padding: 0 1.5rem 1.5rem;
}

.activity-content h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
    text-align: center;
    transition: color 0.3s ease;
}

.activity-card:hover .activity-content h3 {
    color: #3b82f6;
}

.activity-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.activity-tag {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.3s ease;
}

.activity-card:hover .activity-tag {
    transform: scale(1.05);
}

.tag-extreme { background: linear-gradient(135deg, #ef4444, #dc2626); color: white; }
.tag-speed { background: linear-gradient(135deg, #f59e0b, #d97706); color: white; }
.tag-fun { background: linear-gradient(135deg, #10b981, #059669); color: white; }
.tag-relax { background: linear-gradient(135deg, #8b5cf6, #7c3aed); color: white; }
.tag-individual { background: linear-gradient(135deg, #6366f1, #4f46e5); color: white; }
.tag-group { background: linear-gradient(135deg, #ec4899, #db2777); color: white; }
.tag-balance { background: linear-gradient(135deg, #06b6d4, #0891b2); color: white; }

.activity-highlights {
    display: flex;
    justify-content: space-around;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
}

.highlight-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    transition: transform 0.3s ease;
}

.activity-card:hover .highlight-item {
    transform: translateY(-3px);
}

.highlight-item i {
    color: #3b82f6;
    font-size: 1.2rem;
}

.highlight-item span {
    font-size: 0.8rem;
    color: #64748b;
    font-weight: 500;
}

/* Безопасность */
.safety-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.safety-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1.5rem;
    background: linear-gradient(135deg, #fef2f2, #fee2e2);
    border-radius: 12px;
    border-left: 4px solid #ef4444;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.safety-item::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.6s ease;
}

.safety-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.1);
    border-left-width: 6px;
}

.safety-item:hover::before {
    left: 100%;
}

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

.safety-item:hover .safety-icon {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.3);
}

.safety-content h4 {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.safety-item:hover .safety-content h4 {
    color: #ef4444;
}

.safety-content p {
    color: #6b7280;
    line-height: 1.5;
    margin: 0;
    font-size: 0.9rem;
}

/* Форма записи */
.tourism-form {
    background: linear-gradient(135deg, #f8fafc, #f1f5f9);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tourism-form:hover{
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.tourism-form::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(59,130,246,0.05) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.tourism-form .form-group {
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.tourism-form label {
    display: block;
    font-size: 0.9rem;
    font-weight: 600;
    color: #374151;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.tourism-form input[type="tel"],
.tourism-form input[type="text"],
.tourism-form select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid #e5e7eb;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f9fafb;
    font-family: inherit;
    position: relative;
    z-index: 1;
}

.tourism-form input[type="tel"]:focus,
.tourism-form input[type="text"]:focus,
.tourism-form select:focus {
    outline: none;
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

/* Специальные стили для select */
.tourism-form select {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 3rem;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}

.tourism-form select:focus {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233b82f6' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e");
}

.tourism-form select option {
    background: white;
    color: #374151;
    padding: 0.5rem;
}

.tourism-form select:invalid,
.tourism-form select[value=""] {
    color: #9ca3af;
}

.tourism-form select:valid {
    color: #374151;
}

.tourism-form select option[value=""] {
    color: #9ca3af;
    font-style: italic;
}

.tourism-form select:hover {
    border-color: #3b82f6;
    background-color: #f8fafc;
}

.tourism-btn-submit {
    background: linear-gradient(135deg, #10b981, #059669);
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border: none;
    border-radius: 10px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    position: relative;
    z-index: 1;
    overflow: hidden;
}

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

.tourism-btn-submit:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

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

.tourism-btn-submit:active {
    transform: translateY(0);
}

/* Градиенты для разных секций */
.tourism-intro {
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
    border-left: 4px solid #06b6d4;
    transition: all 0.3s ease;
}

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

.tourism-safety {
    background: linear-gradient(135deg, #fef2f2 0%, #fee2e2 100%);
    border-left: 4px solid #ef4444;
    transition: all 0.3s ease;
}

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

.tourism-booking {
    background: linear-gradient(135deg, #f0fdf4 0%, #dcfce7 100%);
    border-left: 4px solid #10b981;
    transition: all 0.3s ease;
}

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

/* Карта и контактная информация */
.map-section {
    transition: all 0.3s ease;
}

.map-section:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.map-container {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
}

.map-container:hover {
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Новые стили для contact-info-grid */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
    padding: 0;
}

.contact-info-item {
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border-radius: 16px;
    padding: 1.75rem;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.contact-info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #3b82f6, #10b981, #059669);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.contact-info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-color: rgba(59, 130, 246, 0.3);
}

.contact-info-item:hover::before {
    opacity: 1;
}


/* Стили для новой секции партнёров */
/* Добавить в tourism.css или tourism3.css */

.partners-section {
    padding: 3rem 0;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.partner-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.partner-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #1d4ed8);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.partner-card:hover::before {
    transform: scaleX(1);
}

.partner-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.partner-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.4);
}

/* Разные цвета для иконок партнёров */
.partner-card:nth-child(1) .partner-icon {
    background: linear-gradient(135deg, #10b981, #059669);
}

.partner-card:nth-child(2) .partner-icon {
    background: linear-gradient(135deg, #f59e0b, #d97706);
}

.partner-card:nth-child(3) .partner-icon {
    background: linear-gradient(135deg, #8b5cf6, #7c3aed);
}

.partner-card:nth-child(4) .partner-icon {
    background: linear-gradient(135deg, #06b6d4, #0891b2);
}

.partner-card:nth-child(5) .partner-icon {
    background: linear-gradient(135deg, #84cc16, #65a30d);
}

.partner-card:nth-child(6) .partner-icon {
    background: linear-gradient(135deg, #ec4899, #db2777);
}

.partner-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.partner-card:hover .partner-name {
    color: #3b82f6;
}

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

.partner-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.partner-card:hover .partner-link {
    gap: 1rem;
}

.partner-link i {
    transition: transform 0.3s ease;
}

.partner-card:hover .partner-link i {
    transform: translateX(5px);
}

/* Адаптивность */
@media (max-width: 768px) {
    .partners-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .partner-card {
        padding: 1.5rem;
    }
    
    .partner-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .partner-name {
        font-size: 1.1rem;
    }
    
    .partner-description {
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .partners-section {
        padding: 2rem 0;
    }
    
    .partners-grid {
        gap: 1rem;
    }
    
    .partner-card {
        padding: 1.25rem;
    }
    
    .partner-icon {
        width: 50px;
        height: 50px;
        font-size: 1.3rem;
    }
    
    .partner-name {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .partner-description {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .partner-link {
        font-size: 0.9rem;
    }
}

/* Анимация появления карточек */
.partner-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

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

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

/* Убираем анимации для пользователей с ограниченными возможностями */
@media (prefers-reduced-motion: reduce) {
    .partner-card {
        animation: none !important;
        opacity: 1 !important;
    }
    
    .partner-card,
    .partner-card::before,
    .partner-icon,
    .partner-link i {
        transition: none !important;
    }
}