/*
Theme Name: LivingRoad
Description: Современная туристическая тема WordPress для сайта LivingRoad. Создана для путешественников и любителей приключений.
Author: Alexandr (san4pro) SH
Version: 1.0.0
Text Domain: livingroad.ru
*/

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Color Variables */
:root {
    --primary-color: #1a3c5e;
    --secondary-color: #f5a623;
    --accent-color: #FF6B35;
    --text-dark: #333;
    --text-light: #666;
    --text-white: #fff;
    --bg-light: #f8f9fa;
    --bg-dark: #1a3c5e;
    --border-color: #e9ecef;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Mobile Menu Styles */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.3rem;
    margin-left: auto;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.menu-toggle:hover,
.menu-toggle:focus {
    background: rgba(255, 255, 255, 0.1);
    outline: none;
}

.menu-toggle.active {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    /* Header Actions Mobile */
    .header-actions {
        gap: 0.5rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .search-toggle {
        padding: 0.4rem;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .search-toggle .dashicons {
        font-size: 1.1rem;
    }
    
    /* Header Search Mobile */
    .header-search {
        padding: 1rem 0;
    }
    
    .search-form {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .search-input-group {
        border-radius: 6px;
    }
    
    .search-field {
        padding: 10px 12px;
        font-size: 16px;
    }
    
    .search-submit {
        padding: 10px 12px;
    }
    
    .search-submit svg {
        width: 18px;
        height: 18px;
    }
    
    .main-navigation {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.85);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease;
        z-index: 9999;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        padding: 100px 20px 20px 20px;
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .main-navigation.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Мобильное меню поверх scrolled header */
    .site-header.scrolled .main-navigation.active {
        z-index: 10001 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        background: rgba(0, 0, 0, 0.85) !important;
        transition: opacity 0.3s ease !important;
    }
    
    /* Неактивное мобильное меню в scrolled состоянии */
    .site-header.scrolled .main-navigation:not(.active) {
        opacity: 0 !important;
        visibility: hidden !important;
        display: none !important;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
        border-radius: 12px;
        padding: 0;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6);
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
        overflow: hidden;
    }
    
    .main-navigation a {
        display: block;
        padding: 1.2rem 1.5rem;
        color: rgba(255, 255, 255, 0.9) !important;
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        font-size: 1.1rem;
        font-weight: 500;
        text-transform: none;
        letter-spacing: normal;
        transition: all 0.2s ease;
        position: relative;
    }
    
    .main-navigation a:last-child {
        border-bottom: none;
    }
    
    .main-navigation a:hover,
    .main-navigation a:focus {
        background: rgba(255, 255, 255, 0.1);
        color: var(--secondary-color) !important;
        padding-left: 2rem;
    }
    
    .main-navigation a.current-menu-item {
        background: linear-gradient(135deg, var(--secondary-color) 0%, #ffc107 100%);
        color: #1a1a2e !important;
        font-weight: 600;
    }
    
    .main-navigation a.current-menu-item:hover {
        background: linear-gradient(135deg, #e6ac00 0%, #ffb300 100%);
        padding-left: 1.5rem;
    }
    
    /* Touch feedback for mobile devices */
    .main-navigation a.touching {
        background: rgba(255, 255, 255, 0.2) !important;
        transform: scale(0.98);
    }
    
    /* Mobile Header Positioning Fix */
    .site-header {
        position: relative;
        top: auto;
        background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
        padding: 0;
    }
    
    
    .header-container {
        padding: 0.5rem 1rem;
    }
    
    /* Adjust content spacing for mobile */
    .site-main {
        margin-top: 0;
    }
    
    /* Remove margin-top from search header on mobile */
    .search-header {
        margin-top: 0 !important;
    }
    
    /* Финальное переопределение для scrolled header на мобильных */
    .site-header.scrolled {
        position: fixed !important;
        top: 0 !important;
        left: 0;
        right: 0;
        z-index: 10000;
    }
    
    /* Переопределяем Admin Bar для scrolled header на мобильных */
    body.admin-bar .site-header.scrolled {
        top: 0 !important;
    }
    
    /* Мобильное меню для scrolled header на всех мобильных экранах */
    .site-header.scrolled .main-navigation {
        padding: 70px 20px 20px 20px;
    }
    
    /* Admin Bar с scrolled header */
    body.admin-bar .site-header.scrolled .main-navigation {
        padding: 100px 20px 20px 20px;
    }
    
    /* Admin Bar с scrolled header и активным меню */
    body.admin-bar .site-header.scrolled .main-navigation.active {
        z-index: 10001 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        background: rgba(0, 0, 0, 0.85) !important;
        padding: 100px 20px 20px 20px !important;
    }
    
}

/* Адаптивные стили для мобильного меню */
@media (max-width: 480px) {
    .main-navigation {
        padding: 90px 15px 15px 15px;
    }
    
    /* Корректировка для Admin Bar */
    body.admin-bar .main-navigation {
        padding: 90px 15px 15px 15px;
    }
    
    /* Scrolled header мобильное меню */
    .site-header.scrolled .main-navigation {
        padding: 60px 15px 15px 15px;
    }
    
    /* Scrolled header с активным меню */
    .site-header.scrolled .main-navigation.active {
        z-index: 10001 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        background: rgba(0, 0, 0, 0.85) !important;
        padding: 60px 15px 15px 15px !important;
    }
    
    /* Admin Bar с scrolled header */
    body.admin-bar .site-header.scrolled .main-navigation {
        padding: 90px 15px 15px 15px;
    }
    
    /* Admin Bar с scrolled header и активным меню */
    body.admin-bar .site-header.scrolled .main-navigation.active {
        z-index: 10001 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        background: rgba(0, 0, 0, 0.85) !important;
        padding: 90px 15px 15px 15px !important;
    }
    
    .main-navigation ul {
        max-width: 100%;
        border-radius: 8px;
    }
    
    .main-navigation a {
        padding: 1rem 1.2rem;
        font-size: 1rem;
    }
    
    .main-navigation a:hover,
    .main-navigation a:focus {
        padding-left: 1.5rem;
    }
    
    /* Уменьшаем отступы header на очень маленьких экранах */
    .header-container {
        padding: 0.3rem 0.8rem;
    }
}

@media (max-width: 360px) {
    .main-navigation {
        padding: 80px 10px 10px 10px;
    }
    
    /* Корректировка для Admin Bar */
    body.admin-bar .main-navigation {
        padding: 80px 10px 10px 10px;
    }
    
    /* Scrolled header мобильное меню */
    .site-header.scrolled .main-navigation {
        padding: 50px 10px 10px 10px;
    }
    
    /* Scrolled header с активным меню */
    .site-header.scrolled .main-navigation.active {
        z-index: 10001 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        background: rgba(0, 0, 0, 0.85) !important;
        padding: 50px 10px 10px 10px !important;
    }
    
    /* Admin Bar с scrolled header */
    body.admin-bar .site-header.scrolled .main-navigation {
        padding: 80px 10px 10px 10px;
    }
    
    /* Admin Bar с scrolled header и активным меню */
    body.admin-bar .site-header.scrolled .main-navigation.active {
        z-index: 10001 !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        bottom: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        background: rgba(0, 0, 0, 0.85) !important;
        padding: 80px 10px 10px 10px !important;
    }
    
    .main-navigation a {
        padding: 0.9rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Минимальные отступы для очень маленьких экранов */
    .header-container {
        padding: 0.2rem 0.5rem;
    }
}

@media (min-width: 481px) and (max-width: 768px) {
    .main-navigation ul {
        max-width: 360px;
    }
    
    .main-navigation a {
        padding: 1.3rem 1.8rem;
        font-size: 1.15rem;
    }
}

/* Scrolled Header State */
.site-header.scrolled {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    z-index: 10000;
}

.site-header.scrolled .site-logo {
    color: var(--text-white);
}

.site-header.scrolled .site-logo::after {
    color: var(--text-white);
}

.site-header.scrolled .main-navigation a {
    color: var(--text-white);
}

.site-header.scrolled .main-navigation a:hover,
.site-header.scrolled .main-navigation a.current-menu-item {
    color: var(--secondary-color);
}

.site-header.scrolled .menu-toggle {
    color: var(--text-white);
    z-index: 10002;
    position: relative;
}

/* WordPress Admin Bar Fix */
body.admin-bar .site-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    body.admin-bar .site-header {
        top: 46px;
    }
}

/* Отключаем Admin Bar стили для мобильных устройств */
@media (max-width: 768px) {
    body.admin-bar .site-header {
        top: auto !important;
    }
    
}

/* Дополнительные стили для Admin Bar на маленьких экранах */
@media screen and (max-width: 782px) and (min-width: 769px) {
    body.admin-bar .site-header.scrolled {
        top: 46px !important;
    }
}


/* Header Styles */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1001;
    background: transparent;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Тень для всех ссылок в header-container */
.header-container a {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* Header Actions */
.header-actions {
    display: flex !important;
    align-items: center;
    gap: 1rem;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Search Toggle */
.search-toggle {
    background: none;
    border: none;
    color: var(--text-white);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex !important;
    align-items: center;
    justify-content: center;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 1001;
    width: auto;
    height: auto;
    position: relative;
}

/* Force search toggle to be visible */
.header-actions .search-toggle,
.site-header .search-toggle,
.header-container .search-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

.search-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.1);
}

.search-toggle:hover .search-icon {
    color: #ffffff;
    transform: scale(1.1);
}

.search-toggle.active .search-icon {
    color: var(--secondary-color);
}

.search-toggle .dashicons,
.search-toggle .search-icon {
    font-size: 1.2rem;
    display: block;
}

.search-toggle .search-icon {
    width: 20px;
    height: 20px;
    color: white;
    transition: all 0.3s ease;
}

/* Header Search */
.header-search {
    padding: 1.5rem 0;
    animation: slideDown 0.3s ease;
    position: relative;
    z-index: 999;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Search Form - Clean Design */
.search-form {
    max-width: 500px;
    margin: 0 auto;
}
.search-form:focus-within {
    border: none;
}

.search-input-group {
    display: flex;
    background: transparent;

    border-radius: 8px;
    overflow: hidden;
}

.search-input-group:focus-within {
    border: none;
}

.search-field {
    flex: 1;
    border: none;
    padding: 12px 16px;
    font-size: 16px;
    color: white;
    background: transparent;
    outline: none;
    box-shadow: none;
}

.search-field::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-submit {
    background: white;
    border: 1px solid white;
    color: #374151;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.search-submit:hover {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.9);
}

.search-submit svg {
    width: 20px;
    height: 20px;
    color: #374151;
}

.site-header.scrolled .search-toggle {
    color: var(--text-white);
}

.site-header.scrolled .search-toggle:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}


/* Desktop Search Toggle - Ensure visibility */
@media (min-width: 769px) {
    .search-toggle {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1002 !important;
    }
    
    .header-actions {
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        position: relative !important;
        z-index: 1002 !important;
    }
}

/* Ultra-specific search toggle visibility */
body .site-header .header-container .header-actions .search-toggle {
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    z-index: 9999 !important;
    position: relative !important;
}

.site-logo {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.site-logo::after {
    content: '↗';
    font-size: 1rem;
    color: var(--text-white);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 1.5rem;
    margin: 0;
}

.main-navigation a {
    color: var(--text-white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.main-navigation a:hover,
.main-navigation a.current-menu-item {
    color: var(--secondary-color);
}


/* Main Content - Flex Grow */
.site-main {
    flex: 1;
}

/* Prevent body scroll when mobile menu is open */
body.menu-open {
    overflow: hidden;
}

/* Page Content Spacing */
body:not(.home) .site-main {
    padding-top: 100px;
}

/* Убираем отступ сверху для страниц location */
body.single-location .site-main,
.single-location .site-main,
body.single-location main.site-main,
.single-location main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Убираем отступ сверху для страницы ошибок */
.error404 .site-main,
body.error404 .site-main,
.error404 main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.error404 .error-hero {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем отступ сверху для страниц отдельных историй */
.single-stories .site-main,
body.single-stories .site-main,
.single-stories main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.single-stories .single-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем отступ сверху для страниц отдельных location */
.single-location .site-main,
body.single-location .site-main,
.single-location main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

/* Убираем отступ сверху для archive страниц location - переопределяем body:not(.home) .site-main */
body.post-type-archive-location .site-main,
.post-type-archive-location .site-main,
body.post-type-archive-location main.site-main,
.post-type-archive-location main.site-main,
html body.post-type-archive-location .site-main,
html body.post-type-archive-location main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.post-type-archive-location .archive-header,
body.post-type-archive-location .archive-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Дополнительные правила для body */
body.post-type-archive-location {
    padding-top: 0 !important;
}

/* Правила для всех элементов на странице location */
.post-type-archive-location * {
    box-sizing: border-box;
}

/* Убираем отступ сверху для archive страниц stories */
.post-type-archive-stories .site-main,
body.post-type-archive-stories .site-main,
.post-type-archive-stories main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.post-type-archive-stories .archive-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем отступ сверху для archive страниц tours */
.post-type-archive-tours .site-main,
body.post-type-archive-tours .site-main,
.post-type-archive-tours main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.post-type-archive-tours .archive-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Убираем отступ сверху для страниц отдельных туров */
.single-tours .site-main,
body.single-tours .site-main,
.single-tours main.site-main,
body.single-tours main.site-main {
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.single-tours .single-header,
body.single-tours .single-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

.single-location .single-header,
body.single-location .single-header {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* Header on all pages - same as home page */
.site-header .site-logo {
    color: var(--text-white);
}

.site-header .site-logo::after {
    color: var(--text-white);
}

.site-header .main-navigation a {
    color: var(--text-white);
}

.site-header .main-navigation a:hover,
.site-header .main-navigation a.current-menu-item {
    color: var(--secondary-color);
}

.site-header .menu-toggle {
    color: var(--text-white);
}

/* Hero Section */
.hero-section {
    height: 100vh;
    min-height: 100vh;
    background: linear-gradient(rgba(26, 60, 94, 0.7), rgba(26, 60, 94, 0.7)), 
                url('https://images.unsplash.com/photo-1488646953014-85cb44e25828?ixlib=rb-4.0.3&auto=format&fit=crop&w=2070&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-white);
    position: relative;
    margin-top: 0;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.15) 2px, transparent 2px);
    background-size: 100px 100px;
    pointer-events: none;
    z-index: 1;
}

/* Hero section with custom background */
.hero-section[style*="background-image"] {
    background-attachment: scroll;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    min-height: 100vh;
    overflow: hidden;
    margin-top: 0;
}

/* Disable parallax on mobile for better performance */
@media (max-width: 768px) {
    .hero-section {
        background-attachment: scroll !important;
        min-height: 80vh;
    }
    
    .hero-section::before {
        background-size: 80px 80px;
    }
    
    .hero-content {
        max-width: 100%;
        padding: 0 2rem;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .hero-content {
        max-width: 1000px;
        padding: 0 2.5rem;
    }
    
    .hero-title {
        font-size: 5.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        min-height: 70vh;
    }
    
    .hero-section::before {
        background-size: 60px 60px;
    }
    
    .hero-content {
        padding: 0 1.5rem;
    }
    
    .hero-title {
        font-size: 3.5rem;
        margin-bottom: 0.8rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
}

/* WordPress Admin Bar Fix for Hero */
body.admin-bar .hero-section {
    margin-top: 0;
}

@media screen and (max-width: 782px) {
    body.admin-bar .hero-section {
        margin-top: 0;
    }
}

.hero-content {
    max-width: 1200px;
    padding: 0 3rem;
    width: 100%;
    position: relative;
    z-index: 2;
}

.excellence-badge {
    display: inline-block;
    background: rgba(0, 0, 0, 0.6);
    color: var(--text-white);
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 7rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    line-height: 1.0;
    background: linear-gradient(45deg, #ffffff, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slowColorShift 30s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.3);
}

@keyframes slowColorShift {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg);
    }
    25% {
        background-position: 50% 0%;
        filter: hue-rotate(90deg);
    }
    50% {
        background-position: 100% 50%;
        filter: hue-rotate(180deg);
    }
    75% {
        background-position: 50% 100%;
        filter: hue-rotate(270deg);
    }
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(360deg);
    }
}

.hero-subtitle {
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    line-height: 1.4;
    opacity: 0.95;
    background: linear-gradient(45deg, #ffffff, #ffeaa7, #fab1a0, #74b9ff, #a29bfe, #fd79a8, #fdcb6e);
    background-size: 500% 500%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: slowColorShiftSubtitle 35s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

@keyframes slowColorShiftSubtitle {
    0% {
        background-position: 0% 50%;
        filter: hue-rotate(0deg) saturate(1.2);
    }
    33% {
        background-position: 100% 0%;
        filter: hue-rotate(120deg) saturate(1.5);
    }
    66% {
        background-position: 50% 100%;
        filter: hue-rotate(240deg) saturate(1.8);
    }
    100% {
        background-position: 0% 50%;
        filter: hue-rotate(360deg) saturate(1.2);
    }
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 1rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-primary {
    background: #e74c3c;
    color: white;
}

.btn-primary:hover {
    background: #c0392b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(231, 76, 60, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border-color: white;
}

.btn-secondary:hover {
    background: white;
    color: #2c3e50;
    transform: translateY(-2px);
}

/* Search Filter Section */
.search-filter-container {
    padding: 2rem 0;
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.filter-container {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1rem;
}

.filter-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.filter-subtitle {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    opacity: 0.9;
    color: var(--text-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.search-filter-form {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15);
}

.filter-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 1rem;
    align-items: end;
}

.filter-group {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.filter-label {
    font-weight: 600;
    margin-bottom: 0.4rem;
    color: var(--text-white);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.filter-select {
    padding: 0.7rem 1rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-dark);
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.filter-select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: var(--text-white);
    box-shadow: 0 0 0 3px rgba(255, 193, 7, 0.4), 0 4px 12px rgba(0, 0, 0, 0.15);
    transform: translateY(-1px);
}

.filter-select:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: var(--text-white);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.filter-search-btn {
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffc107 100%);
    color: var(--text-white);
    border: none;
    padding: 0.7rem 1.8rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
}

.filter-search-btn:hover {
    background: linear-gradient(135deg, #e6ac00 0%, #ffb300 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.5);
}

.filter-search-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(255, 193, 7, 0.4);
}

/* Additional Filter Enhancements */
.search-filter-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.filter-select option {
    background: var(--text-white);
    color: var(--text-dark);
    padding: 0.5rem;
}

.filter-group:focus-within .filter-label {
    color: var(--secondary-color);
    text-shadow: 0 1px 2px rgba(255, 193, 7, 0.3);
}

/* Loading state for search button */
.filter-search-btn.loading {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.filter-search-btn.loading:hover {
    background: linear-gradient(135deg, #6c757d 0%, #495057 100%);
    transform: none;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

/* Features Showcase */
.features-showcase {
    padding: 0 0 2rem 0;
    margin: 0;
}

.features-unified-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    padding: 0.8rem 2rem;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 1.5rem;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.15);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


.feature-block {
    flex: 1;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    padding: 0.8rem 1rem;
    border-radius: 8px;
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-align: left;
}

.feature-block:hover {
    transform: translateY(-1px);
}


.feature-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 193, 7, 0.15);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
    border: 1px solid rgba(255, 193, 7, 0.3);
}

.feature-block:hover .feature-icon {
    transform: scale(1.05);
    background: rgba(255, 193, 7, 0.25);
    border-color: rgba(255, 193, 7, 0.5);
}

.feature-icon .dashicons {
    font-size: 18px;
    color: var(--secondary-color);
    text-shadow: none;
}

.feature-content {
    flex: 1;
    min-width: 0;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.95);
    transition: all 0.3s ease;
    line-height: 1.2;
}

.feature-block:hover .feature-title {
    color: var(--secondary-color);
}

.feature-description {
    font-size: 0.8rem;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
    transition: all 0.3s ease;
}

.feature-block:hover .feature-description {
    color: rgba(255, 255, 255, 0.85);
}

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

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

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    opacity: 1;
}

.category-icon {
    width: 50px;
    height: 50px;
    margin: 0 auto 1.2rem;
    background: linear-gradient(135deg, var(--secondary-color) 0%, #ffc107 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(255, 193, 7, 0.2);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.category-card:hover .category-icon {
    transform: scale(1.05) rotate(3deg);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
    opacity: 1;
}

.category-icon .dashicons {
    font-size: 20px;
    color: var(--text-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.category-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.8rem;
    color: var(--text-white);
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    opacity: 0.9;
}

.category-card:hover .category-title {
    color: var(--secondary-color);
    text-shadow: 0 1px 3px rgba(255, 193, 7, 0.2);
    opacity: 1;
}

.category-description {
    font-size: 0.85rem;
    opacity: 0.7;
    margin: 0;
    color: var(--text-white);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    line-height: 1.5;
    transition: all 0.3s ease;
}

.category-card:hover .category-description {
    opacity: 0.9;
}

.filter-results {
    margin-top: 3rem;
    text-align: left;
}

.results-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-white);
    text-align: center;
}

.results-grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.result-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.result-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.15);
}

.result-card h4 {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.result-card p {
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.result-meta {
    display: flex;
        gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.result-meta span {
    background: var(--primary-color);
    color: var(--text-white);
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.result-link {
    display: inline-block;
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 0.6rem 1.2rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.result-link:hover {
    background: #e6ac00;
    transform: translateY(-1px);
}

.no-results {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.no-results p {
    color: var(--text-white);
    font-size: 1.1rem;
    margin: 0;
}

/* Activity Tour List Styles for Filter Results */
.activity-tour-item {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.activity-tour-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.tour-item-content {
    flex: 1;
}

.tour-item-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.3;
}

.tour-item-title a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-item-title a:hover {
    color: var(--secondary-color);
}

.tour-item-excerpt {
    color: var(--text-dark);
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.tour-item-meta {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.tour-meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.tour-meta-item .dashicons {
    font-size: 1rem;
    color: var(--primary-color);
}

.meta-label {
    font-weight: 600;
    color: var(--text-dark);
}

.tour-item-actions {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
}

.tour-view-btn {
    background: var(--secondary-color);
    color: var(--text-white);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.tour-view-btn:hover {
    background: #1a3a3a;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .activity-tour-item {
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem;
    }
    
    .tour-item-meta {
        flex-direction: column;
        gap: 1rem;
    }
    
    .tour-item-actions {
        align-self: stretch;
    }
    
    .tour-view-btn {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .activity-tour-item {
        padding: 1rem;
    }
}

/* Responsive Design for Filter */
@media (max-width: 768px) {
    .search-filter-container {
        padding: 1.2rem 0 0.3rem 0;
        margin-top: 1.2rem;
    }
    
    .filter-container {
        padding: 0 0.5rem;
    }
    
    .filter-row {
        grid-template-columns: 1fr;
        gap: 0.8rem;
    }
    
    .filter-search-btn {
        width: 100%;
        justify-content: center;
        padding: 0.8rem 1.5rem;
    }
    
    .results-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-title {
        font-size: 1.5rem;
        margin-bottom: 0.3rem;
    }
    
    .filter-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.2rem;
    }
    
    .search-filter-form {
        padding: 1.2rem;
    }
    
    .filter-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .search-filter-container {
        padding: 1rem 0 0.2rem 0;
        margin-top: 1rem;
    }
    
    .filter-container {
        padding: 0 0.3rem;
    }
    
    .filter-title {
        font-size: 1.3rem;
        margin-bottom: 0.2rem;
    }
    
    .filter-subtitle {
        font-size: 0.85rem;
        margin-bottom: 1rem;
    }
    
    .search-filter-form {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .filter-select {
        padding: 0.6rem 0.8rem;
        font-size: 0.85rem;
        border-radius: 10px;
    }
    
    .filter-search-btn {
        padding: 0.7rem 1.2rem;
        font-size: 0.9rem;
        border-radius: 10px;
    }
    
    .filter-label {
        font-size: 0.8rem;
        margin-bottom: 0.3rem;
    }
    
    .features-showcase {
        padding: 0 0 1.5rem 0;
        margin: 0;
    }
    
    .features-unified-card {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0.8rem 1rem;
        max-width: 100%;
    }
    
    .feature-block {
        padding: 0.6rem 0.8rem;
        flex-direction: row;
        gap: 0.6rem;
    }
    
    .feature-block:not(:last-child)::after {
        display: none;
    }
    
    .feature-icon {
        width: 32px;
        height: 32px;
        flex-shrink: 0;
    }
    
    .feature-icon .dashicons {
        font-size: 14px;
    }
    
    .feature-title {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }
    
    .feature-description {
        font-size: 0.75rem;
        line-height: 1.2;
    }
}

/* Tablet styles for features showcase */
@media (max-width: 768px) and (min-width: 481px) {
    .features-unified-card {
        gap: 1rem;
        padding: 0.8rem 1.2rem;
        max-width: 100%;
    }
    
    .feature-block {
        padding: 0.7rem 0.8rem;
        gap: 0.7rem;
    }
    
    .feature-icon {
        width: 36px;
        height: 36px;
        flex-shrink: 0;
    }
    
    .feature-icon .dashicons {
        font-size: 16px;
    }
    
    .feature-title {
        font-size: 0.95rem;
    }
    
    .feature-description {
        font-size: 0.8rem;
    }
}

/* Footer Responsive - только для экранов меньше 768px */

@media (max-width: 767px) {
    body:not(.home) .site-main {
        padding-top: 80px;
    }
    
    /* Убираем отступ сверху для страниц location на мобильных */
    body.single-location .site-main,
    .single-location .site-main,
    body.single-location main.site-main,
    .single-location main.site-main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .error404 .site-main,
    body.error404 .site-main,
    .error404 main.site-main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .error404 .error-hero {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Убираем отступ сверху для страниц отдельных историй на мобильных */
    .single-stories .site-main,
    body.single-stories .site-main,
    .single-stories main.site-main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .single-stories .single-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Убираем отступ сверху для страниц отдельных location на мобильных */
    .single-location .site-main,
    body.single-location .site-main,
    .single-location main.site-main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .single-location .single-header,
    body.single-location .single-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    /* Убираем отступ сверху для страниц отдельных туров на мобильных */
    .single-tours .site-main,
    body.single-tours .site-main,
    .single-tours main.site-main {
        padding-top: 0 !important;
        margin-top: 0 !important;
    }
    
    .single-tours .single-header,
    body.single-tours .single-header {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }
    
    .location-grid,
    .tours-grid,
    .results-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .site-footer {
        padding: 3rem 0 0;
        margin-top: 0;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-main {
        gap: 1.5rem;
        margin-bottom: 1.5rem;
        padding-bottom: 1.5rem;
    }
    
    .footer-brand {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .footer-links {
        grid-column: 1 / -1;
        width: 100%;
    }
    
    .footer-logo h3 {
        font-size: 1.5rem;
    }
    
    .footer-social {
        gap: 0.8rem;
    }
    
    .social-link {
        width: 35px;
        height: 35px;
    }
    
    .social-link .dashicons {
        font-size: 16px;
    }
    
    .footer-links {
        gap: 1.5rem;
    }
    
    .footer-column {
        grid-column: 1 / -1;
        width: 100%;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-title {
        font-size: 1rem;
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
        width: 40px;
    }
    
    .footer-menu a {
        font-size: 0.85rem;
    }
    
    .contact-item {
        font-size: 0.85rem;
        justify-content: center;
        text-align: center;
    }
}

/* Footer для экранов 425px и менее */
@media (max-width: 425px) {
    .footer-brand {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    
    .footer-logo {
        text-align: center;
        width: 100%;
    }
    
    .footer-logo h3 {
        text-align: center;
    }
    
    .footer-description {
        text-align: center;
    }
    
    .footer-social {
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    .footer-bottom {
        text-align: center;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        gap: 1rem;
    }
    
    .copyright {
        text-align: center;
        width: 100%;
    }
    
    .copyright p {
        text-align: center;
    }
    
    .footer-bottom-links {
        justify-content: center;
        align-items: center;
        text-align: center;
    }
}

/* Features Section */
/* Categories Showcase Section */
.categories-showcase-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--primary-color), #0f2a4a);
    position: relative;
    overflow: hidden;
}

.categories-showcase-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="60" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="40" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.categories-showcase-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    position: relative;
    z-index: 1;
}

.category-showcase-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 166, 35, 0.3);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 300px;
}

.category-showcase-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--secondary-color), var(--primary-color), var(--secondary-color));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.category-showcase-card:hover {
    transform: translateY(-8px);
    background: rgba(245, 166, 35, 0.15);
    border-color: rgba(245, 166, 35, 0.5);
    box-shadow: 0 20px 40px rgba(26, 60, 94, 0.3);
}

.category-showcase-card:hover::before {
    opacity: 1;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: rgba(245, 166, 35, 0.2);
    border: 2px solid rgba(245, 166, 35, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.category-showcase-card:hover .category-icon {
    background: rgba(245, 166, 35, 0.3);
    border-color: rgba(245, 166, 35, 0.6);
    transform: scale(1.05);
}

.category-icon .dashicons {
    font-size: 32px;
    color: var(--secondary-color);
}

.category-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.category-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
    transition: all 0.3s ease;
}

.category-showcase-card:hover .category-title {
    color: var(--secondary-color);
}

.category-description {
    font-size: 0.95rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    flex: 1;
}

.category-showcase-card:hover .category-description {
    color: white;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-number {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}


/* Responsive Design for Categories Showcase */
@media (max-width: 768px) {
    .categories-showcase-section {
        padding: 3rem 0;
    }
    
    .categories-showcase-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 0.5rem;
    }
    
    .category-showcase-card {
    padding: 2rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
    }
    
    .category-icon .dashicons {
        font-size: 24px;
    }
    
    .category-title {
        font-size: 1.5rem;
    }
    
    .category-description {
    font-size: 0.9rem;
    }
    
}

@media (max-width: 480px) {
    .categories-showcase-section {
        padding: 2rem 0;
    }
    
    .category-showcase-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
    }
    
    .category-icon .dashicons {
        font-size: 20px;
    }
    
    .category-title {
        font-size: 1.3rem;
    }
    
    .category-description {
        font-size: 0.85rem;
    }
    
    .stat-number {
        font-size: 1.3rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
}

/* About Section */
.about-section {
    padding: 6rem 0;
    background: white;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: #2c3e50;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #7f8c8d;
    margin-bottom: 2rem;
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

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

.stat-value {
    display: block;
    font-size: 2.5rem;
    font-weight: 800;
    color: #e74c3c;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 1rem;
    color: #7f8c8d;
    font-weight: 600;
}

.about-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 15px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Destinations Section */
.location-section {
    padding: 6rem 0;
    background: white;
}

.location-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.destination-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.destination-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.destination-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

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

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

.destination-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.destination-card:hover .destination-overlay {
    opacity: 1;
}

.destination-content {
    padding: 1.5rem;
}

.destination-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.destination-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.destination-title a:hover {
    color: #e74c3c;
}

.destination-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.destination-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.destination-views {
    display: flex;
    align-items: center;
    gap: 0.3rem;
    color: #7f8c8d;
    font-size: 0.85rem;
    background: rgba(108, 117, 125, 0.1);
    padding: 0.3rem 0.6rem;
    border-radius: 12px;
    font-weight: 500;
}

.destination-views .dashicons {
    font-size: 14px;
    color: #6c757d;
}

.destination-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

.destination-duration {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Tours Section */
.tours-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.tours-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.tour-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

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

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

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

.tour-content {
    padding: 1.5rem;
}

.tour-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.tour-title a {
    color: #2c3e50;
    text-decoration: none;
    transition: color 0.3s ease;
}

.tour-title a:hover {
    color: #e74c3c;
}

.tour-excerpt {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.tour-price {
    font-size: 1.2rem;
    font-weight: 700;
    color: #e74c3c;
}

.tour-duration {
    color: #7f8c8d;
    font-size: 0.9rem;
}

/* Testimonials Section */
/* Stories Section */
.stories-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.story-showcase {
    display: flex;
    flex-direction: column;
    background: white;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    max-width: 1000px;
    margin: 0 auto;
}

.story-showcase:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.story-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.story-header {
    border-bottom: 2px solid #f8f9fa;
    padding-bottom: 1rem;
}

.story-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #2c3e50;
}

.story-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.story-title a:hover {
    color: var(--primary-color);
}

.section-header h2 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.section-header h2 a:hover {
    color: var(--primary-color);
}

.story-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.story-author,
.story-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
    font-weight: 500;
}

.story-author .dashicons,
.story-location .dashicons {
    font-size: 16px;
    color: var(--primary-color);
}

.story-rating {
    display: flex;
    gap: 0.2rem;
}

.star {
    font-size: 1.2rem;
    color: #ddd;
    transition: color 0.3s ease;
}

.star.filled {
    color: #ffc107;
}

.story-excerpt {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #495057;
    font-style: italic;
}

.story-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
}

.story-footer .btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.story-footer .btn-primary .dashicons {
    font-size: 14px;
    transition: transform 0.3s ease;
}

.story-footer .btn-primary:hover .dashicons {
    transform: translateX(3px);
}

.story-date {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.story-date .dashicons {
    font-size: 14px;
}

.story-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    margin-top: 2rem;
    order: 2;
}

.story-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.story-image a {
    display: block;
    text-decoration: none;
}

.story-placeholder {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    border-radius: 15px;
    transition: transform 0.3s ease;
}

.story-placeholder:hover {
    transform: scale(1.02);
}

.story-placeholder .dashicons {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.story-placeholder p {
    font-size: 1.2rem;
    font-weight: 600;
    margin: 0;
}

.story-content {
    order: 1;
}

.no-stories {
    text-align: center;
    padding: 3rem;
    color: #6c757d;
    font-size: 1.1rem;
}

/* Responsive Design for Stories Section */
@media (max-width: 768px) {
    .stories-section {
        padding: 3rem 0;
    }
    
    .story-showcase {
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .story-title {
        font-size: 1.5rem;
    }
    
    .story-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .story-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .story-image {
        margin-top: 1.5rem;
    }
    
    .story-image img {
        height: 250px;
    }
}

@media (max-width: 480px) {
    .story-showcase {
        padding: 1.5rem;
        margin: 0 0.5rem;
    }
    
    .story-title {
        font-size: 1.3rem;
    }
    
    .story-excerpt {
        font-size: 1rem;
    }
    
    .story-image {
        margin-top: 1rem;
    }
    
    .story-image img {
        height: 200px;
    }
}

/* CTA Section */
.cta-section {
    padding: 6rem 0;
    background: linear-gradient(135deg, #2c3e50, #34495e);
    color: white;
    text-align: center;
}

.cta-content h2 {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 4.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-subtitle {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .features-grid,
    .services-grid,
    .location-grid,
    .tours-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .cta-content h2 {
        font-size: 2rem;
    }
}

/* Animations */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

/* Back to Top Button */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #8BC832;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* Search Form */
.search-form.focused {
    transform: scale(1.02);
}

/* Success/Error Messages */
.success-message,
.error-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Lazy Loading */
.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}

/* 404 Page Styles */
/* Error Page Styles */
.error-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.error-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        var(--primary-color) 0%, 
        #2c5aa0 25%, 
        #4a90e2 50%, 
        #87ceeb 75%, 
        #b0e0e6 100%);
    background-size: 400% 400%;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.error-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: white;
    max-width: 1200px;
    padding: 2rem;
    width: 100%;
}

.error-number {
    font-size: 12rem;
    font-weight: 900;
    line-height: 0.8;
    margin-bottom: 1rem;
    text-shadow: 0 10px 30px rgba(0,0,0,0.3);
    background: linear-gradient(45deg, #fff, #f0f8ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: pulse 2s ease-in-out infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.error-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.error-description {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    line-height: 1.6;
}

.btn-home {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.2);
    color: white;
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s ease;
    text-shadow: none;
}

.btn-home:hover {
    background: rgba(255,255,255,0.3);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-icon {
    font-size: 1.3rem;
}

/* Navigation Blocks внутри hero */
.error-hero .nav-blocks {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.error-hero .nav-block {
    background: rgba(255,255,255,0.95);
    padding: 2rem 1.5rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.nav-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
}

.nav-block:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.error-hero .nav-block-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.error-hero .nav-block h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.8rem;
}

.error-hero .nav-block p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
    font-size: 0.95rem;
}

.nav-block-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.nav-block-link:hover {
    color: var(--secondary-color);
    gap: 1rem;
}

.nav-block-link .arrow {
    transition: transform 0.3s ease;
}

.nav-block-link:hover .arrow {
    transform: translateX(5px);
}

/* Специальные цвета для блоков */
.locations-block::before {
    background: linear-gradient(90deg, #4CAF50, #8BC34A);
}

.stories-block::before {
    background: linear-gradient(90deg, #FF6B35, #FF8E53);
}

.routes-block::before {
    background: linear-gradient(90deg, #2196F3, #03A9F4);
}

/* Responsive */
@media (max-width: 768px) {
    .error-number {
        font-size: 8rem;
    }
    
    .error-title {
        font-size: 2rem;
    }
    
    .error-description {
        font-size: 1.1rem;
    }
    
    .error-hero .nav-blocks {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .error-hero .nav-block {
        padding: 1.5rem 1rem;
    }
    
    .error-hero .nav-block-icon {
        font-size: 2rem;
    }
    
    .error-hero .nav-block h3 {
        font-size: 1.3rem;
    }
    
    .error-hero .nav-block p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
}

/* Search Results */
.search-results-header {
    margin-bottom: 2rem;
    padding: 2rem 0;
    background: #f8f9fa;
    border-radius: 10px;
}

.search-results-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.search-results-count {
    color: #7f8c8d;
    font-size: 1.1rem;
}

.search-suggestions {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.search-suggestions h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
}

.search-suggestions ul {
    list-style: none;
    padding: 0;
}

.search-suggestions li {
    margin-bottom: 0.5rem;
}

.search-suggestions a {
    color: #e74c3c;
    text-decoration: none;
    transition: color 0.3s ease;
}

.search-suggestions a:hover {
    color: #c0392b;
}

/* Archive Page */
.archive-header {
    margin-bottom: 3rem;
    padding: 2rem 0;
    background: #f8f9fa;
    border-radius: 10px;
    text-align: center;
}

.archive-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.archive-description {
    font-size: 1.2rem;
    color: #7f8c8d;
}

/* Comments */
.comments-area {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid #e9ecef;
}

.comments-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2rem;
}

.comment-list {
    list-style: none;
    padding: 0;
}

.comment {
    background: #f8f9fa;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border-radius: 10px;
    border-left: 4px solid #e74c3c;
}

.comment-author {
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.comment-meta {
    color: #7f8c8d;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.comment-content {
    line-height: 1.6;
    color: #333;
}

.comment-reply-link {
    color: #e74c3c;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.comment-reply-link:hover {
    color: #c0392b;
}

/* Comment Form */
.comment-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.comment-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.comment-form p {
    margin-bottom: 1rem;
}

.comment-form label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.comment-form input:focus,
.comment-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.comment-form .form-submit {
    text-align: center;
}

.comment-form .submit {
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.comment-form .submit:hover {
    background: #c0392b;
}

/* Sidebar */
.sidebar {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin-top: 2rem;
}

.widget {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

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

.widget-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.widget ul {
    list-style: none;
    padding: 0;
}

.widget li {
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid #e9ecef;
}

.widget li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget a {
    color: #7f8c8d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.widget a:hover {
    color: #e74c3c;
}

/* Search Form */
.search-form {
    position: relative;
}

.search-field {
    width: 100%;
    padding: 0.8rem 3rem 0.8rem 1rem;
    border: 2px solid #fff;
    border-radius: 25px;
    font-size: 1rem;
    transition: all 0.3s ease;
    outline: none;
}

.search-field:focus {
    outline: none;

    box-shadow: 0 0 0 3px rgba(231, 76, 60, 0.1);
}

.search-field:hover {
    outline: none;
    border: 2px solid #fff;
}

.search-submit {
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: background 0.3s ease;
}


/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin: 3rem 0;
}

.pagination a,
.pagination span {
    display: inline-block;
    padding: 0.8rem 1.2rem;
    background: #f8f9fa;
    color: #7f8c8d;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
}

.pagination a:hover {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

.pagination .current {
    background: #e74c3c;
    color: white;
    border-color: #e74c3c;
}

/* Single Post */
.single-post {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.post-header {
    text-align: center;
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #e9ecef;
}

.post-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.post-meta {
    color: #7f8c8d;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.post-content {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.post-content h1,
.post-content h2,
.post-content h3,
.post-content h4,
.post-content h5,
.post-content h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content p {
    margin-bottom: 1.5rem;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

.post-content blockquote {
    border-left: 4px solid #e74c3c;
    padding-left: 1.5rem;
    margin: 2rem 0;
    font-style: italic;
    color: #7f8c8d;
}

.post-tags {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e9ecef;
}

.post-tags h3 {
    color: #2c3e50;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.post-tags a {
    display: inline-block;
    background: #f8f9fa;
    color: #7f8c8d;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    text-decoration: none;
    font-size: 0.9rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.post-tags a:hover {
    background: #e74c3c;
    color: white;
}

/* Page */
.page-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

.page-content h1,
.page-content h2,
.page-content h3,
.page-content h4,
.page-content h5,
.page-content h6 {
    color: #2c3e50;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.page-content p {
    margin-bottom: 1.5rem;
}

.page-content img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1.5rem 0;
}

/* Footer */
/* Footer Styles */
.site-footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.9) 100%);
    backdrop-filter: blur(20px);
    color: var(--text-white);
    padding: 4rem 0 0;
    margin-top: 0;
    position: relative;
    overflow: hidden;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    padding-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo h3 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, var(--text-white) 0%, var(--secondary-color) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    font-size: 0.95rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--text-white);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-link::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.5s ease;
}

.social-link:hover {
    background: rgba(255, 193, 7, 0.2);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.3);
}

.social-link:hover::before {
    left: 100%;
}

.social-link .dashicons {
    font-size: 18px;
    z-index: 1;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-white);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: linear-gradient(90deg, var(--secondary-color) 0%, transparent 100%);
}

.footer-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-menu a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    position: relative;
    padding-left: 0;
}

.footer-menu a::before {
    content: '→';
    position: absolute;
    left: -15px;
    opacity: 0;
    transition: all 0.3s ease;
    color: var(--secondary-color);
}

.footer-menu a:hover {
    color: var(--secondary-color);
    padding-left: 15px;
}

.footer-menu a:hover::before {
    opacity: 1;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.contact-item .dashicons {
    color: var(--secondary-color);
    font-size: 16px;
    width: 16px;
    height: 16px;
}

.contact-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-item a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright p {
    margin: 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.footer-bottom-links {
    display: flex;
    gap: 2rem;
}

.footer-bottom-links a {
    color: rgba(255, 255, 255, 0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.3s ease;
}

.footer-bottom-links a:hover {
    color: var(--secondary-color);
}

/* Contact Form */
.contact-form {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: 10px;
    margin: 2rem 0;
}

.contact-form h3 {
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.contact-form .form-group {
    margin-bottom: 1.5rem;
}

.contact-form label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e74c3c;
}

.contact-form .submit {
    background: #e74c3c;
    color: white;
    padding: 1rem 2rem;
    border: none;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s ease;
}

.contact-form .submit:hover {
    background: #c0392b;
}

/* Utility Classes */
.text-center {
    text-align: center;
}

.text-left {
    text-align: left;
}

.text-right {
    text-align: right;
}

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.p-1 { padding: 0.5rem; }
.p-2 { padding: 1rem; }
.p-3 { padding: 1.5rem; }
.p-4 { padding: 2rem; }
.p-5 { padding: 3rem; }

/* Print Styles */
@media print {
    .site-header,
    .site-footer,
    .back-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .hero-section {
        background: none;
        color: #000;
    }
}

/* Destination Coordinates Styles */
.destination-coordinates {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 20px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.destination-coordinates h4 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #2c3e50;
    font-size: 1.2em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 8px;
}

.destination-coordinates p {
    margin: 8px 0;
    font-size: 0.95em;
    line-height: 1.5;
}

.destination-coordinates strong {
    color: #34495e;
    font-weight: 600;
}

.destination-coordinates .button {
    display: inline-block;
    background: #3498db;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
    margin-top: 15px;
}

.destination-coordinates .button:hover {
    background: #2980b9;
    color: white;
}

/* Responsive styles for coordinates */
@media (max-width: 768px) {
    .destination-coordinates {
        padding: 15px;
        margin: 15px 0;
    }
    
    .destination-coordinates h4 {
        font-size: 1.1em;
    }
    
    .destination-coordinates .button {
        display: block;
        text-align: center;
        padding: 12px 20px;
    }
}

/* Animations and Effects */
.animate-in {
    animation: fadeInUp 0.6s ease forwards;
}

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

.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: #8BC832;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.search-form.focused {
    transform: scale(1.02);
}

.success-message,
.error-message {
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
    text-align: center;
    font-weight: 600;
}

.success-message {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.error-message {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.lazy {
    opacity: 0;
    transition: opacity 0.3s;
}

.lazy.loaded {
    opacity: 1;
}
