/* Перенесенные стили из Design.php */

:root {
    --header-bg: #ffffff;
    --header-border: #e5e7eb;
    --text-primary: #111827;
    --text-secondary: #6b7280;
    --accent-color: #3b82f6;
    --accent-hover: #2563eb;
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text-primary);
    background: #f9fafb;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.site-header {
    background: var(--header-bg);
    border-bottom: 1px solid var(--header-border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    background: rgba(255, 255, 255, 0.95);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    height: 64px;
    position: relative;
    width: 100%;
}

/* Логотип */
.logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 24px;
    gap: 8px;
    flex-shrink: 0;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.logo-text span:first-child {
    font-weight: 800;
    letter-spacing: -0.5px;
}

.logo-text span:last-child {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-top: 2px;
}

/* Навигация */
.main-nav {
    flex: 1;
    margin: 0 40px;
    display: flex;
    justify-content: center;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 16px;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}

.nav-list::-webkit-scrollbar {
    display: none;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    padding: 6px 10px;
    border-radius: 6px;
    transition: all 0.2s;
    position: relative;
    white-space: nowrap;
    flex-shrink: 0;
}

.nav-link:hover {
    color: var(--accent-color);
    background: rgba(59, 130, 246, 0.05);
}

.nav-link.active {
    color: var(--accent-color);
    background: rgba(59, 130, 246, 0.1);
    font-weight: 600;
}

.nav-link i {
    font-size: 16px;
    flex-shrink: 0;
}

/* Действия */
.header-actions {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-shrink: 0;
}

.search-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    text-decoration: none;
}

.search-btn:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.search-btn i {
    font-size: 16px;
}

/* Быстрые действия на главной странице */
.search-quick-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 20px;
}

.search-quick-actions .search-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.search-quick-actions .search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 20px;
    cursor: pointer;
    padding: 8px;
    flex-shrink: 0;
}

/* Мобильное меню */
.mobile-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 2000;
    padding: 20px;
    overflow-y: auto;
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.mobile-menu-close {
    background: none;
    border: none;
    font-size: 24px;
    color: var(--text-primary);
    cursor: pointer;
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    text-decoration: none;
    color: var(--text-primary);
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
    background: #f9fafb;
}

.mobile-nav-link.active {
    background: var(--accent-color);
    color: white;
}

/* Основной контент */
.main-content {
    flex: 1;
    width: 100%;
}

/* Герой-секция */
.hero-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?w=1920&auto=format&fit=crop&q=80') center/cover;
    opacity: 0.1;
}

/* Эмодзи с параллакс эффектом */
.hero-emojis {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    overflow: hidden;
    z-index: 0;
}

.hero-emoji {
    position: absolute;
    font-size: 82px;
    opacity: 0.6;
    user-select: none;
    transition: transform 0.1s ease-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
    text-shadow: 0 4px 12px rgba(255, 255, 255, 0.45);
}

.hero-emoji.foreground {
    font-size: 68px;
    opacity: 0.75;
    filter: drop-shadow(0 5px 12px rgba(0, 0, 0, 0.35));
    z-index: 3;
}

.hero-emoji.background {
    font-size: 130px;
    opacity: 0.45;
    filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.3));
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 20px;
}

.gradient-text {
    background: linear-gradient(90deg, #60a5fa, #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 600px;
}

.search-form-wrapper {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    margin-bottom: 30px;
}

.search-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 0;
}

.search-tab {
    background: #f1f5f9;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-weight: 600;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-tab.active {
    background: var(--accent-color);
    color: white;
}

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

@media (max-width: 768px) {
    .search-grid {
        grid-template-columns: 1fr;
    }
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
    color: #334155;
    font-size: 14px;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    color: #94a3b8;
    font-size: 16px;
    pointer-events: none;
}

.form-control, .select-control {
    width: 100%;
    padding: 12px 16px 12px 44px;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.2s;
    background: white;
}

.form-control:focus, .select-control:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.date-range {
    display: flex;
    align-items: center;
    gap: 10px;
}

.date-separator {
    color: #94a3b8;
    font-weight: 600;
}

.nights-select {
    display: flex;
    gap: 8px;
}

.nights-btn {
    flex: 1;
    padding: 12px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.nights-btn.active {
    background: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

.people-select {
    display: flex;
    flex-direction: row;
    gap: 12px;
    width: 100%;
    flex-wrap: wrap;
}

.people-summary {
    display: none; /* Скрываем summary, так как счетчики теперь в ряд */
}

.people-counter {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: #f8fafc;
    border-radius: 10px;
    flex-wrap: nowrap;
}

.counter-btn {
    width: 32px;
    height: 32px;
    border: 2px solid #e2e8f0;
    background: white;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
}

.counter-btn:hover {
    border-color: var(--accent-color);
}

.counter-value {
    font-weight: 700;
    font-size: 20px;
    min-width: 30px;
    text-align: center;
    color: #1e293b;
    display: inline-block;
}

.counter-label {
    font-size: 14px;
    color: #64748b;
    white-space: nowrap;
    margin-left: 4px;
}

.search-button-group {
    grid-column: span 2;
}

@media (max-width: 768px) {
    .search-button-group {
        grid-column: span 1;
    }
}

.search-btn-large {
    width: 100%;
    padding: 16px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.search-btn-large:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.4);
}

.hero-features {
    display: flex;
    gap: 30px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.feature i {
    color: #34d399;
}

/* Секции */
.hot-tours-section, .directions-section, .about-section {
    padding: 80px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.section-title-wrapper {
    flex: 1;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #e0f2fe;
    color: #0369a1;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.section-title {
    font-size: 36px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1.2;
}

.subtitle {
    display: block;
    font-size: 16px;
    font-weight: 400;
    color: #64748b;
    margin-top: 8px;
}

.section-controls {
    display: flex;
    gap: 10px;
}

.view-switcher {
    display: flex;
    gap: 4px;
    background: #f1f5f9;
    padding: 4px;
    border-radius: 10px;
}

.view-btn {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
    background: transparent;
    border-radius: 8px;
    color: #64748b;
    cursor: pointer;
    transition: all 0.2s;
}

.view-btn.active {
    background: white;
    color: var(--accent-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Фильтры стран */
.country-filters {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.country-filter {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 18px;
    border: 1.5px solid #e2e8f0;
    background: white;
    border-radius: 999px;
    font-weight: 600;
    font-size: 14px;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

.country-filter i {
    color: #3b82f6;
}

.country-filter:hover {
    border-color: #cbd5e1;
    background: linear-gradient(135deg, #f8fafc, #eef2ff);
    color: #1e293b;
    box-shadow: 0 6px 18px rgba(15, 23, 42, 0.08);
}

.country-filter.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: transparent;
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.35);
}

.country-filter.active i {
    color: white;
}

.country-filter.active:hover {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}

.flag-icon {
    width: 20px;
    height: 15px;
    border-radius: 2px;
    object-fit: cover;
}

/* Контейнер туров */
.hot-tours-container {
    min-height: 400px;
}

.hot-tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.tour-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
}

.tour-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.tour-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.tour-card:hover .tour-image img {
    transform: scale(1.05);
}

.tour-discount {
    position: absolute;
    top: 16px;
    right: 16px;
    background: #ef4444;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.tour-content {
    padding: 24px;
}

.tour-header {
    margin-bottom: 16px;
}

.tour-title {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
    line-height: 1.3;
}

.tour-location {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
    margin-bottom: 8px;
}

.tour-stars {
    color: #fbbf24;
    font-size: 16px;
}

.tour-details {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
}

.tour-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tour-price {
    display: flex;
    flex-direction: column;
}

.price-main {
    font-size: 24px;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.price-per-person {
    font-size: 12px;
    color: #64748b;
}

.tour-book-btn {
    background: var(--accent-color);
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}

.tour-book-btn:hover {
    background: var(--accent-hover);
}

.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 0;
    gap: 24px;
}

.loader-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 20px;
}

/* Анимация загрузки в тематике путешествий */
.loader {
    width: 80px;
    height: 80px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader::before {
    content: '✈️';
    font-size: 48px;
    animation: fly 2s ease-in-out infinite;
    position: absolute;
    z-index: 2;
}

.loader::after {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    border: 3px solid rgba(59, 130, 246, 0.2);
    border-top-color: var(--accent-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes fly {
    0%, 100% {
        transform: translateX(-20px) translateY(0px) rotate(-10deg);
    }
    25% {
        transform: translateX(0px) translateY(-10px) rotate(0deg);
    }
    50% {
        transform: translateX(20px) translateY(0px) rotate(10deg);
    }
    75% {
        transform: translateX(0px) translateY(-10px) rotate(0deg);
    }
}

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

.loader-dots {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}

.loader-dots span {
    width: 12px;
    height: 12px;
    background: var(--accent-color);
    border-radius: 50%;
    animation: bounce 1.4s ease-in-out infinite both;
    position: relative;
}

.loader-dots span::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: inherit;
    border-radius: 50%;
    animation: pulse-ring 1.4s ease-in-out infinite both;
}

.loader-dots span:nth-child(1) {
    animation-delay: -0.32s;
}

.loader-dots span:nth-child(2) {
    animation-delay: -0.16s;
}

.loader-dots span:nth-child(3) {
    animation-delay: 0s;
}

@keyframes bounce {
    0%, 80%, 100% {
        transform: scale(0.8) translateY(0);
        opacity: 0.7;
    }
    40% {
        transform: scale(1.2) translateY(-8px);
        opacity: 1;
    }
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(2);
        opacity: 0;
    }
}

.no-results {
    text-align: center;
    padding: 60px 20px;
}

/* Направления */
.directions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.direction-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s;
    text-decoration: none;
    color: inherit;
    display: block;
}

.direction-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.direction-image {
    height: 200px;
    position: relative;
    overflow: hidden;
}

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

.direction-card:hover .direction-image img {
    transform: scale(1.05);
}

.direction-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, 0.7));
}

.direction-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    color: #1e293b;
}

.direction-cities {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.city-tag {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    color: #1e293b;
}

.direction-content {
    padding: 24px;
}

.direction-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.direction-desc {
    font-size: 14px;
    color: #64748b;
    margin-bottom: 16px;
}

.direction-info {
    display: flex;
    gap: 16px;
    margin-bottom: 20px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #64748b;
}

.direction-btn {
    width: 100%;
    padding: 12px;
    background: var(--accent-color);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.direction-btn:hover {
    background: var(--accent-hover);
}

/* О сервисе */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 60px;
}

@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.about-text {
    font-size: 16px;
    line-height: 1.6;
    color: #475569;
    margin-bottom: 40px;
}

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

@media (max-width: 640px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
}

.feature-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent-color), #60a5fa);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin-bottom: 16px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 8px;
}

.feature-card p {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.stats-card {
    background: white;
    padding: 30px;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 32px;
    font-weight: 800;
    color: var(--accent-color);
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #64748b;
}

.cta-card {
    background: linear-gradient(135deg, var(--accent-color), #1d4ed8);
    color: white;
    padding: 30px;
    border-radius: 20px;
    text-align: center;
}

.cta-card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.cta-card p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 24px;
}

.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: white;
    color: var(--accent-color);
    padding: 14px 28px;
    border-radius: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
}

.cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* Блог-секция */
.blog-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
}

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

@media (max-width: 768px) {
    .blog-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.blog-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

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

.blog-card:hover .blog-image img {
    transform: scale(1.05);
}

.blog-category {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(59, 130, 246, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    backdrop-filter: blur(4px);
}

.blog-content {
    padding: 24px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
    font-size: 14px;
    color: #64748b;
}

.blog-meta i {
    width: 16px;
}

.blog-title {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 12px;
    line-height: 1.3;
    flex: 1;
}

.blog-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s;
}

.blog-title a:hover {
    color: #3b82f6;
}

.blog-excerpt {
    font-size: 14px;
    color: #64748b;
    line-height: 1.5;
    margin-bottom: 20px;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #3b82f6;
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    transition: all 0.2s;
    padding: 8px 0;
    border-top: 1px solid #e2e8f0;
    margin-top: auto;
    padding-top: 16px;
}

.blog-read-more:hover {
    gap: 12px;
    color: #1d4ed8;
}

/* Подвал */
.site-footer {
    background: #1e293b;
    color: #cbd5e1;
    padding: 60px 0 30px;
    margin-top: auto;
}

.footer-content {
    width: 100%;
}

.footer-main {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

@media (max-width: 1024px) {
    .footer-main {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    text-decoration: none;
    font-size: 24px;
    font-weight: 700;
}

.footer-logo i {
    color: #3b82f6;
    font-size: 28px;
}

.footer-description {
    font-size: 14px;
    line-height: 1.6;
    color: #94a3b8;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-link {
    width: 36px;
    height: 36px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.2s;
}

.social-link:hover {
    background: #3b82f6;
    transform: translateY(-2px);
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

.links-column {
    display: flex;
    flex-direction: column;
}

.links-title {
    color: white;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 20px;
}

.links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.links-list a {
    color: #94a3b8;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.links-list a:hover {
    color: #3b82f6;
}

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

@media (max-width: 640px) {
    .partners-grid {
        grid-template-columns: 1fr;
    }
}

.partner-logo {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    height: 60px;
}

.partner-logo:hover {
    background: rgba(255, 255, 255, 0.1);
}

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

@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
}

.copyright {
    font-size: 14px;
    color: #94a3b8;
}

.footer-disclaimer {
    max-width: 600px;
    font-size: 12px;
    color: #64748b;
    line-height: 1.5;
}

/* Адаптивность */
@media (max-width: 1200px) {
    .nav-list {
        gap: 24px;
    }
    
    .hero-title {
        font-size: 40px;
    }
}

@media (max-width: 1024px) {
    .main-nav {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .header-content {
        gap: 16px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 32px;
    }
}

@media (max-width: 768px) {
    .header-content {
        padding: 8px 0;
        height: 56px;
        gap: 12px;
    }
    
    .logo-link {
        font-size: 20px;
    }
    
    .search-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    
    .search-btn span {
        display: none;
    }
    
    .search-btn i {
        margin: 0;
    }
    
    .container {
        padding: 0 16px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .search-form-wrapper {
        padding: 20px;
    }
    
    .hot-tours-section, .directions-section, .about-section, .blog-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .hot-tours-grid {
        grid-template-columns: 1fr;
    }
    
    .directions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .logo-text span:first-child {
        font-size: 18px;
    }
    
    .logo-text span:last-child {
        font-size: 10px;
    }
    
    .logo-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .search-form-wrapper {
        padding: 16px;
    }
    
    .date-range {
        flex-direction: column;
        gap: 8px;
    }
    
    .date-separator {
        display: none;
    }
    
    .nights-select {
        flex-wrap: wrap;
    }
    
    .nights-btn {
        flex: none;
        min-width: 60px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 12px;
    }
}
/* Добавить в конец файла style.css */

/* Стили для кнопки обновления */
.refresh-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #10b981;
    color: white;
    border: none;
    padding: 10px 16px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.refresh-btn:hover {
    background: #059669;
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

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

.refresh-btn.loading {
    opacity: 0.7;
    cursor: not-allowed;
}

.refresh-btn.loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Стили для информации о кешировании */
.cache-info {
    display: none;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
    color: #475569;
    margin-top: 20px;
    padding: 10px 16px;
    background: #f1f5f9;
    border-radius: 12px;
    text-align: center;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.7);
}

.cache-info i {
    color: #3b82f6;
    font-size: 16px;
}

.cache-info span {
    color: #334155;
    font-weight: 500;
}

.cache-info #cacheTime {
    color: #1d4ed8;
    font-weight: 700;
}

/* Стили для метки провайдера */
.tour-provider {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(4px);
    padding: 4px 8px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    color: white;
    z-index: 2;
}

/* Обновленный стиль для горящего тура */
.tour-discount {
    position: absolute;
    top: 16px;
    right: 16px;
    background: linear-gradient(135deg, #ef4444, #dc2626);
    color: white;
    padding: 8px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    z-index: 2;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.tour-discount i {
    font-size: 14px;
}

/* Адаптивные стили для кнопки обновления */
@media (max-width: 768px) {
    .refresh-btn span {
        display: none;
    }
    
    .refresh-btn {
        padding: 10px;
        width: 40px;
        height: 40px;
        justify-content: center;
        border-radius: 50%;
    }
    
    .section-controls {
        gap: 8px;
    }
}

/* Стили для списка туров */
.hot-tours-grid.list-view .tour-card {
    display: flex;
    flex-direction: row;
    height: 200px;
}

.hot-tours-grid.list-view .tour-image {
    width: 200px;
    height: 100%;
    flex-shrink: 0;
}

.hot-tours-grid.list-view .tour-content {
    flex: 1;
    padding: 20px;
}

.hot-tours-grid.list-view .tour-title {
    font-size: 20px;
    margin-bottom: 8px;
}

.hot-tours-grid.list-view .tour-details {
    margin-bottom: 16px;
    padding-bottom: 16px;
}

.hot-tours-grid.list-view .tour-footer {
    align-items: center;
}

@media (max-width: 640px) {
    .hot-tours-grid.list-view .tour-card {
        flex-direction: column;
        height: auto;
    }
    
    .hot-tours-grid.list-view .tour-image {
        width: 100%;
        height: 200px;
    }
}

/* Стили для нотификации */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 9999;
    transform: translateX(120%);
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-success {
    border-left: 4px solid #10b981;
    background: linear-gradient(135deg, #ffffff, #f0fdf4);
}

.notification-error {
    border-left: 4px solid #ef4444;
    background: linear-gradient(135deg, #ffffff, #fef2f2);
}

.notification-info {
    border-left: 4px solid #3b82f6;
    background: linear-gradient(135deg, #ffffff, #eff6ff);
}

.notification i {
    font-size: 20px;
}

.notification-success i {
    color: #10b981;
}

.notification-error i {
    color: #ef4444;
}

.notification-info i {
    color: #3b82f6;
}

/* Анимация загрузки */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading-state p.loading-text {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    font-size: 16px;
    font-weight: 500;
    color: #475569;
    margin-top: 10px;
}

/* Стили для фильтров стран при активном состоянии */
.country-filter.active {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* Улучшенные стили для карточек туров */
.tour-card {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.tour-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.tour-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 20px;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.tour-card:hover::after {
    opacity: 1;
}

/* Адаптивность для секции контролов */
@media (max-width: 480px) {
    .section-controls {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 8px;
    }
    
    .view-switcher {
        order: 2;
    }
    
    .refresh-btn {
        order: 1;
    }
}