/* Основные стили и переменные */
:root {
    --primary-purple: #6B46C1;
    --primary-turquoise: #06B6D4;
    --primary-blue: #3B82F6;
    --dark-purple: #4C1D95;
    --light-turquoise: #67E8F9;
    --accent-pink: #EC4899;
    --text-dark: #1E293B;
    --text-light: #64748B;
    --bg-light: #F8FAFC;
    --white: #ffffff;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --shadow: 0 10px 30px rgba(107, 70, 193, 0.1);
    --shadow-hover: 0 20px 40px rgba(107, 70, 193, 0.2);
    --gradient-main: linear-gradient(135deg, #6B46C1 0%, #06B6D4 50%, #3B82F6 100%);
    --gradient-purple: linear-gradient(135deg, #6B46C1 0%, #4C1D95 100%);
    --gradient-turquoise: linear-gradient(135deg, #06B6D4 0%, #0891B2 100%);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
    background: var(--bg-light);
}

/* Современная типографика */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Премиум навигация с glassmorphism эффектом */
.navbar {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 8px 32px rgba(107, 70, 193, 0.15);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo img,
.nav-logo img {
    height: 45px;
    width: auto;
    filter: drop-shadow(0 4px 8px rgba(107, 70, 193, 0.2));
}

.logo-text {
    font-size: 1.8rem;
    font-weight: 800;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: width 0.3s ease;
}

.nav-menu a:hover {
    color: var(--primary-purple);
}

.nav-menu a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.btn-login {
    padding: 10px 24px;
    border: 2px solid var(--primary-purple);
    background: transparent;
    color: var(--primary-purple);
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-login:hover {
    background: var(--primary-purple);
    color: var(--white);
}

/* Hero секция премиум класса */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 70px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    right: -50%;
    width: 150%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    animation: floating 20s ease-in-out infinite;
}

/* Стили для анимации фона */
@keyframes floating {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(10deg); }
}

.hero-content {
    text-align: center;
    color: var(--white);
    z-index: 2;
    position: relative;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-shadow: 0 4px 16px rgba(0,0,0,0.2);
    line-height: 1.1;
}

.hero-title span {
    background: linear-gradient(to right, var(--light-turquoise), var(--white));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 3rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    margin-bottom: 4rem;
}

.btn {
    padding: 18px 45px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-purple);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(255, 255, 255, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.15);
    color: var(--white);
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: var(--white);
    transform: translateY(-3px);
}

/* Карточки туров премиум дизайна */
.tour-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
}

.tour-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.tour-card:hover::before {
    transform: scaleX(1);
}

.tour-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(107, 70, 193, 0.15);
}

.tour-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.tour-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tour-card:hover .tour-image img {
    transform: scale(1.1);
}

.tour-badges {
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    gap: 10px;
}

.badge {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.badge-discount {
    background: rgba(236, 72, 153, 0.9);
    color: var(--white);
}

.badge-hot {
    background: rgba(239, 68, 68, 0.9);
    color: var(--white);
    animation: pulse 2s infinite;
}

.badge-new {
    background: rgba(16, 185, 129, 0.9);
    color: var(--white);
}

.tour-content {
    padding: 2rem;
}

.tour-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.tour-location i {
    color: var(--primary-turquoise);
}

.tour-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tour-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 1.5rem;
}

.tour-feature {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-light);
}

.tour-feature i {
    color: var(--primary-purple);
    font-size: 1rem;
}

.tour-price {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.price-info {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.85rem;
    color: var(--text-light);
}

.price-current {
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.price-old {
    text-decoration: line-through;
    color: var(--text-light);
    font-size: 1.1rem;
}

.tour-actions {
    display: flex;
    gap: 12px;
}

.btn-details {
    flex: 1;
    padding: 14px;
    background: var(--gradient-main);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-details:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.3);
}

.btn-favorite {
    width: 50px;
    height: 50px;
    border: 2px solid #E5E7EB;
    background: var(--white);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-favorite:hover {
    border-color: var(--accent-pink);
    color: var(--accent-pink);
}

.btn-favorite.active {
    background: var(--accent-pink);
    border-color: var(--accent-pink);
    color: var(--white);
}

/* Секция поиска с расширенными фильтрами */
.search-section {
    padding: 80px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--white) 100%);
}

.search-container {
    background: var(--white);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 20px 50px rgba(107, 70, 193, 0.1);
}

.search-tabs {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid #E5E7EB;
}

.search-tab {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 0;
    font-weight: 600;
    color: var(--text-light);
    cursor: pointer;
    position: relative;
    transition: color 0.3s ease;
}

.search-tab.active {
    color: var(--primary-purple);
}

.search-tab.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--primary-purple);
}

.search-form {
    margin-bottom: 2rem;
}

.search-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)) auto;
    gap: 1.5rem;
    align-items: end;
}

.form-group {
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.1);
}

.btn-search {
    background: var(--gradient-main);
    color: var(--white);
    border: none;
    padding: 14px 32px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    min-width: 150px;
    justify-content: center;
}

.btn-search:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
}

.btn-search:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-purple);
    box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.1);
}

.advanced-filters {
    margin-top: 1.5rem;
}

.filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.filter-chip {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 10px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 50px;
    background: var(--white);
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.filter-chip:hover {
    border-color: var(--primary-purple);
    color: var(--primary-purple);
}

.filter-chip.active {
    background: var(--primary-purple);
    border-color: var(--primary-purple);
    color: var(--white);
}

/* Glassmorphism карточки для features */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--white);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.feature-card p {
    opacity: 0.9;
    line-height: 1.8;
}

/* Модальное окно для деталей тура */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    max-width: 1000px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-header {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 24px 24px 0 0;
}

.modal-header img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-header-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: var(--white);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--white);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
}

.tour-details-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.tour-info h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.tour-highlights {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2rem;
}

.highlight {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.9rem;
}

.highlight i {
    color: var(--primary-purple);
}

.tour-description {
    margin-bottom: 2rem;
}

.tour-description h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.tour-description p {
    color: var(--text-light);
    line-height: 1.8;
}

.tour-gallery {
    margin-bottom: 2rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.gallery-item {
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 150px;
    object-fit: cover;
}

.booking-card {
    background: var(--bg-light);
    border-radius: 20px;
    padding: 2rem;
    position: sticky;
    top: 20px;
}

.price-display {
    text-align: center;
    margin-bottom: 2rem;
}

.price-display .price-label {
    font-size: 0.9rem;
    color: var(--text-light);
}

.price-display .price-amount {
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.booking-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.btn-book-now {
    width: 100%;
    padding: 18px;
    background: var(--gradient-main);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book-now:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(107, 70, 193, 0.3);
}

/* Страница бронирования */
.booking-page {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

.booking-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.booking-main {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.08);
}

.booking-steps {
    display: flex;
    justify-content: space-between;
    margin-bottom: 3rem;
}

.step {
    display: flex;
    align-items: center;
    gap: 1rem;
    position: relative;
    flex: 1;
}

.step::after {
    content: '';
    position: absolute;
    top: 20px;
    left: calc(100% - 10px);
    width: calc(100% - 40px);
    height: 2px;
    background: #E5E7EB;
}

.step:last-child::after {
    display: none;
}

.step-number {
    width: 40px;
    height: 40px;
    background: #E5E7EB;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    color: var(--text-light);
    transition: all 0.3s ease;
}

.step.active .step-number {
    background: var(--gradient-main);
    color: var(--white);
}

.step.completed .step-number {
    background: var(--primary-turquoise);
    color: var(--white);
}

.step-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.step-info p {
    font-size: 0.85rem;
    color: var(--text-light);
}

.booking-section {
    margin-bottom: 2.5rem;
}

.booking-section h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.passenger-card {
    background: var(--bg-light);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
}

.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.payment-method {
    padding: 1.5rem;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-purple);
}

.payment-method.active {
    border-color: var(--primary-purple);
    background: rgba(107, 70, 193, 0.05);
}

.payment-method i {
    font-size: 2rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

/* Личный кабинет */
.account-page {
    padding: 120px 0 80px;
    background: var(--bg-light);
}

.account-container {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.account-sidebar {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.08);
    height: fit-content;
}

.account-user {
    text-align: center;
    margin-bottom: 2rem;
}

.user-avatar {
    width: 100px;
    height: 100px;
    background: var(--gradient-main);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--white);
    margin: 0 auto 1rem;
}

.account-menu {
    list-style: none;
}

.account-menu li {
    margin-bottom: 0.5rem;
}

.account-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    color: var(--text-dark);
    text-decoration: none;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.account-menu a:hover {
    background: var(--bg-light);
    color: var(--primary-purple);
}

.account-menu a.active {
    background: var(--gradient-main);
    color: var(--white);
}

.account-content {
    background: var(--white);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.08);
}

.bookings-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.booking-item {
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 2rem;
    align-items: center;
    transition: all 0.3s ease;
}

.booking-item:hover {
    border-color: var(--primary-purple);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.1);
}

.booking-status {
    padding: 6px 16px;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.status-confirmed {
    background: rgba(16, 185, 129, 0.1);
    color: #059669;
}

.status-pending {
    background: rgba(251, 191, 36, 0.1);
    color: #D97706;
}

.status-cancelled {
    background: rgba(239, 68, 68, 0.1);
    color: #DC2626;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .tour-details-grid {
        grid-template-columns: 1fr;
    }
    
    .booking-container {
        grid-template-columns: 1fr;
    }
    
    .account-container {
        grid-template-columns: 1fr;
    }
    
    .account-sidebar {
        display: none;
    }
}

/* Футер */
.footer {
    background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo img {
    height: 40px;
}

.footer-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.footer-section p {
    margin-bottom: 1rem;
    opacity: 0.8;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-section a:hover {
    opacity: 1;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-purple);
    transform: translateY(-3px);
}

.payment-methods {
    display: flex;
    gap: 1rem;
    font-size: 1.5rem;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

.footer-bottom a {
    color: var(--white);
    text-decoration: none;
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    margin: 3px 0;
    transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .tours-grid {
        grid-template-columns: 1fr;
    }
    
    .search-form {
        grid-template-columns: 1fr;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

/* Анимации и эффекты */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }
    to {
        transform: translateX(0);
    }
}

/* Дополнительные компоненты */
.loading-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #E5E7EB;
    border-top-color: var(--primary-purple);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.tooltip {
    position: relative;
}

.tooltip::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    padding: 8px 12px;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    border-radius: 8px;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.tooltip:hover::after {
    opacity: 1;
}

/* Уведомления */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    padding: 16px 24px;
    border-radius: 12px;
    color: white;
    font-weight: 500;
    transform: translateX(400px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9999;
    max-width: 400px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.notification.show {
    transform: translateX(0);
}

.notification-success {
    background: var(--gradient-turquoise);
}

.notification-info {
    background: var(--gradient-purple);
}

.notification-error {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
}

/* Страницы каталогов */
.page-hero {
    background: var(--gradient-main);
    padding: 120px 0 60px;
    color: var(--white);
    text-align: center;
}

.page-hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.page-hero p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Фильтры */
.filters-section {
    background: var(--white);
    padding: 30px 0;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.filters-wrapper {
    display: flex;
    gap: 1.5rem;
    align-items: flex-end;
}

.filter-group {
    flex: 1;
}

.filter-group label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.filter-select {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #E5E7EB;
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.filter-select:focus {
    outline: none;
    border-color: var(--primary-purple);
}

.btn-filter-apply {
    padding: 14px 30px;
    background: var(--gradient-main);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-filter-apply:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(107, 70, 193, 0.3);
}

.tours-section {
    padding: 60px 0;
}

.tours-section .section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

/* Секция авиабилетов */
.flights-grid {
    display: grid;
    gap: 1.5rem;
}

.flight-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(107, 70, 193, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
}

.flight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(107, 70, 193, 0.15);
}

.flight-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.flight-route {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.flight-city {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-dark);
}

.flight-code {
    font-size: 0.9rem;
    color: var(--text-light);
}

.flight-arrow {
    color: var(--primary-purple);
    font-size: 1.5rem;
}

.flight-price {
    text-align: right;
}

.flight-price .price-from {
    font-size: 0.9rem;
    color: var(--text-light);
}

.flight-price .price-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.flight-details {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    padding: 1.5rem 0;
    border-top: 1px solid #E5E7EB;
    border-bottom: 1px solid #E5E7EB;
}

.flight-detail {
    text-align: center;
}

.flight-detail i {
    color: var(--primary-turquoise);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.flight-detail span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-light);
}

.flight-detail strong {
    display: block;
    font-size: 1rem;
    color: var(--text-dark);
    margin-top: 0.25rem;
}

.flight-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn-select-flight {
    flex: 1;
    padding: 12px;
    background: var(--gradient-main);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-select-flight:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}

/* Секция отелей */
.hotels-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.hotel-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.08);
    transition: all 0.3s ease;
}

.hotel-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 35px rgba(107, 70, 193, 0.15);
}

.hotel-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.hotel-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotel-rating {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(255, 255, 255, 0.95);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 5px;
}

.hotel-rating i {
    color: #FFC107;
}

.hotel-content {
    padding: 2rem;
}

.hotel-name {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.hotel-location {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.hotel-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 1.5rem;
}

.amenity {
    padding: 5px 12px;
    background: var(--bg-light);
    border-radius: 50px;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.amenity i {
    color: var(--primary-purple);
}

.hotel-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hotel-price {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.hotel-price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--text-light);
}

.btn-book-hotel {
    padding: 12px 24px;
    background: var(--gradient-main);
    color: var(--white);
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-book-hotel:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(107, 70, 193, 0.3);
}

/* Активная ссылка в навигации */
.nav-menu a.active {
    color: var(--primary-purple);
    font-weight: 600;
}

.nav-menu a.active::after {
    width: 100%;
}

@media (max-width: 768px) {
    .filters-wrapper {
        flex-wrap: wrap;
    }
    
    .filter-group {
        flex: 100%;
    }
    
    .flights-grid,
    .hotels-grid {
        grid-template-columns: 1fr;
    }
    
    .page-hero h1 {
        font-size: 2rem;
    }
} 

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal.active {
    display: flex;
    opacity: 1;
    visibility: visible;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #000;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.modal-header {
    position: relative;
    display: flex;
    gap: 2rem;
    padding: 2rem;
    border-bottom: 1px solid #E5E7EB;
}

.modal-header img {
    width: 300px;
    height: 200px;
    object-fit: cover;
    border-radius: 12px;
}

.tour-header-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tour-header-info h2 {
    font-size: 1.8rem;
    color: var(--text-dark);
    margin: 0;
}

.tour-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-light);
    font-weight: 500;
}

.tour-brief {
    display: flex;
    gap: 2rem;
}

.tour-brief-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-dark);
    font-weight: 500;
}

.price-display {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-top: auto;
}

.price-display span {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-purple);
}

.modal-body {
    padding: 2rem;
}

.tour-details-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.tour-description h3,
.tour-includes h3,
.tour-gallery h3 {
    color: var(--text-dark);
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.tour-description p {
    color: var(--text-light);
    line-height: 1.6;
}

.tour-includes ul {
    list-style: none;
    padding: 0;
}

.tour-includes li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0;
    color: var(--text-dark);
}

.tour-includes li i {
    color: #10B981;
    font-size: 0.9rem;
}

.tour-gallery {
    grid-column: 1 / -1;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.gallery-item {
    cursor: pointer;
    overflow: hidden;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.05);
}

.gallery-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

/* Мобильная адаптация модального окна */
@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 1rem;
    }
    
    .modal-header {
        flex-direction: column;
        gap: 1rem;
    }
    
    .modal-header img {
        width: 100%;
        height: 200px;
    }
    
    .tour-details-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .price-display {
        flex-direction: column;
        align-items: stretch;
        gap: 1rem;
    }
    
    .price-display span {
        text-align: center;
    }
} 

/* Лайтбокс для галереи */
.lightbox {
    display: none;
    position: fixed;
    z-index: 99999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    align-items: center;
    justify-content: center;
}

.lightbox.active {
    display: flex;
    opacity: 1;
    visibility: visible;
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
}

.lightbox-close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
}

.lightbox-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

#lightbox-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
} 

/* Убираем подчёркивание только у ссылки логотипа */
a.logo,
a.logo span {
    text-decoration: none;
} 

/* Скрываем вкладку Круизы */
.search-tab[data-type="cruises"] {
    display: none !important;
} 

/* Скрываем старую сложную форму поиска на главной */
#search .search-tabs,
#search .search-form,
#search .advanced-filters,
#search .btn-search {
    display: none;
}

/* Простые опции выбора раздела */
.simple-search-options {
    display: flex;
    gap: 2rem;
    justify-content: center;
    margin-top: 1.5rem;
}

.search-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    padding: 2rem 3rem;
    border: 2px solid var(--primary-purple);
    border-radius: 16px;
    color: var(--text-dark);
    font-weight: 600;
    transition: all 0.3s ease;
}

.search-option i {
    font-size: 2.5rem;
    color: var(--primary-purple);
}

.search-option:hover {
    background: var(--gradient-main);
    color: var(--white);
}

.search-option:hover i {
    color: var(--white);
} 