/*
========================================
  HAPPY HOLIDAYS - DESIGN IMPROVEMENTS
  Version: 6.0
========================================
*/

/* ===== ЦВЕТА ===== */
:root {
    --primary: #667eea;
    --secondary: #764ba2;
    --accent: #f093fb;
    --dark: #1a1a2e;
}

/* ===== ТИПОГРАФИКА ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

body {
    font-family: 'Poppins', 'Rajdhani', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

#footer {
    margin-top: auto;
    flex-shrink: 0;
}

main, .content-wrapper, #content {
    flex: 1 0 auto;
    width: 100%;
}

@media (max-width: 991px) {
    body {
        overflow-x: hidden;
        overflow-y: auto;
    }
}

/* ==========================================================
   НАВИГАЦИЯ — ОСНОВНЫЕ OVERRIDE
   ========================================================== */

/* Убираем height:18% из style.css .navbar-fixed */
#navigation.site-navigation,
#navigation.navbar-fixed,
.navbar-fixed,
#navigation {
    height: auto !important;
    padding: 15px 0 !important;
    background: rgba(0, 0, 0, 1) !important;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

#navigation.navbar-fixed {
    background: rgba(0, 0, 0, 1) !important;
}

/* Логотип */
#navigation .navbar-brand {
    padding: 0 !important;
    margin-right: 15px;
    display: flex !important;
    align-items: center !important;
}

#navigation .navbar-brand img {
    max-height: 80px !important;
    height: 80px !important;
    width: auto !important;
    transform: scale(1.8) !important;
    transform-origin: left center !important;
    filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 12px rgba(255,255,255,0.7)) !important;
    margin-right: 80px !important;
}

/* Логотип на мобильных - увеличиваем */
@media (max-width: 991px) {
    #navigation .navbar-brand {
        margin-right: auto !important;
        margin-left: 0 !important;
        order: 1 !important;
        flex-shrink: 0 !important;
        padding-left: 0 !important;
        transform-origin: left center !important;
    }

    #navigation .navbar-brand img {
        max-height: 75px !important;
        height: 75px !important;
        transform: scale(1.7) !important;
        transform-origin: left center !important;
        filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 12px rgba(255,255,255,0.7)) !important;
        margin-right: 70px !important;
    }
}

/* Пункты меню */
#navigation .navbar-nav .nav-link {
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    padding: 8px 12px !important;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 5px;
}

#navigation .navbar-nav .nav-link i {
    font-size: 13px;
}

#navigation .navbar-nav .nav-link:hover {
    color: #f9461d !important;
}

/* ==========================================================
   ГАМБУРГЕР — ПРОСТОЙ, СПРАВА ПО ЦЕНТРУ
   ========================================================== */

/* Контейнер навбара - flex для выравнивания */
@media (max-width: 991px) {
    #navigation .container,
    #navigation.navbar .container,
    .navbar .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        flex-wrap: wrap !important;
        width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        text-align: left !important;
    }
}

/* Переопределяем style.css конфликты */
.navbar-light .navbar-toggler,
#navigation .navbar-toggler,
#navigation.navbar .navbar-toggler {
    border: 2px solid rgba(255,255,255,0.5) !important;
    border-radius: 4px !important;
    background: transparent !important;
    padding: 6px 10px !important;
    outline: none !important;
    cursor: pointer !important;
    position: relative !important;
    z-index: 1000 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
    float: none !important;
}

/* Flexbox order для мобильных */
@media (max-width: 991px) {
    #navigation .navbar-toggler,
    .navbar-light .navbar-toggler {
        order: 2 !important;
        margin-left: auto !important;
        margin-right: 0 !important;
        flex-shrink: 0 !important;
    }

    #navigation .navbar-collapse {
        order: 3 !important;
        width: 100% !important;
        flex-basis: 100% !important;
    }
}

#navigation .navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

#navigation .navbar-toggler .navbar-toggler-icon,
.navbar-light .navbar-toggler .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='white' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
    width: 24px !important;
    height: 24px !important;
    display: inline-block !important;
}

/* ==========================================================
   DROPDOWN DESKTOP (hover)
   ========================================================== */
@media (min-width: 992px) {
    /* Override style.css opacity/visibility approach */
    #navigation .dropdown-menu {
        display: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        border: none;
        border-radius: 8px;
        padding: 8px;
        box-shadow: 0 8px 30px rgba(0,0,0,0.15);
        background: #fff !important;
        min-width: 220px;
    }

    #navigation .nav-item.dropdown:hover > .dropdown-menu {
        display: block !important;
    }

    #navigation .dropdown-menu .dropdown-item {
        padding: 7px 12px;
        border-radius: 5px;
        font-size: 13px;
        color: #333 !important;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #navigation .dropdown-menu .dropdown-item:hover {
        background: rgba(249, 70, 29, 0.08);
        color: #f9461d !important;
    }

    #navigation .dropdown-menu .dropdown-item i {
        color: #f9461d;
        font-size: 12px;
        min-width: 14px;
    }
}

/* ==========================================================
   МОБИЛЬНОЕ МЕНЮ (< 992px)
   ========================================================== */
@media (max-width: 991px) {
    /* Меню на всю ширину, темный фон */
    #navigation .navbar-collapse {
        background: #1a1a2e;
        margin-top: 10px !important;
        padding: 15px !important;
        border-radius: 0 0 10px 10px !important;
    }

    #navigation .navbar-nav {
        width: 100%;
    }

    #navigation .navbar-nav .nav-item {
        border-bottom: 1px solid rgba(255,255,255,0.06);
    }

    #navigation .navbar-nav .nav-link {
        padding: 12px 15px !important;
        font-size: 14px;
        color: #fff !important;
        cursor: pointer !important;
        pointer-events: auto !important;
    }

    /* Dropdown toggle должен быть кликабельным */
    #navigation .dropdown-toggle {
        cursor: pointer !important;
        pointer-events: auto !important;
        user-select: none !important;
    }

    #navigation .navbar-nav .nav-link i {
        width: 22px;
        text-align: center;
        color: #f9461d !important;
    }

    #navigation .navbar-nav .nav-link:hover {
        background: rgba(249, 70, 29, 0.1);
    }

    /* Dropdown скрыт по умолчанию */
    #navigation .dropdown-menu {
        display: none;
        position: static !important;
        float: none !important;
        background: rgba(255, 255, 255, 0.05) !important;
        border: none !important;
        box-shadow: none !important;
        padding: 5px 0 5px 30px !important;
        margin: 0 !important;
        border-radius: 0 !important;
        width: 100% !important;
        max-height: 0 !important;
        opacity: 0 !important;
        overflow: hidden !important;
        transition: max-height 0.3s ease, opacity 0.3s ease, padding 0.3s ease !important;
    }

    /* Показать по клику - Bootstrap добавляет класс .show */
    #navigation .dropdown.show .dropdown-menu,
    #navigation .nav-item.show .dropdown-menu,
    #navigation .dropdown-menu.show {
        display: block !important;
        max-height: 500px !important;
        opacity: 1 !important;
    }

    #navigation .dropdown-menu .dropdown-item {
        padding: 8px 12px;
        font-size: 13px;
        color: rgba(255,255,255,0.7) !important;
        display: flex;
        align-items: center;
        gap: 8px;
    }

    #navigation .dropdown-menu .dropdown-item:hover {
        color: #fff !important;
        background: rgba(249, 70, 29, 0.1);
    }

    #navigation .dropdown-menu .dropdown-item i {
        color: #ff6b6b !important;
        font-size: 11px;
        min-width: 14px;
    }

    /* Book Now на мобильном */
    .nav-cta {
        margin-top: 8px;
        padding-top: 8px;
        border-top: 1px solid rgba(255,255,255,0.08) !important;
        border-bottom: none !important;
    }

    .btn-book-now {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 480px) {
    #navigation .navbar-brand img {
        max-height: 70px !important;
        height: 70px !important;
        transform: scale(1.6) !important;
        filter: brightness(1.4) contrast(1.2) drop-shadow(0 0 12px rgba(255,255,255,0.7)) !important;
        margin-right: 60px !important;
    }
}

/* ==========================================================
   BOOK NOW КНОПКА
   ========================================================== */
.btn-book-now {
    background: linear-gradient(135deg, #f9461d 0%, #ff6b6b 100%) !important;
    color: white !important;
    padding: 8px 20px !important;
    border-radius: 50px;
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    box-shadow: 0 3px 10px rgba(249, 70, 29, 0.3);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
}

.btn-book-now:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #f9461d 100%) !important;
    box-shadow: 0 5px 20px rgba(249, 70, 29, 0.5);
    color: white !important;
}

/* Скрыть meanmenu */
.mean-bar, .mean-nav, .meanmenu-reveal, .mean-container {
    display: none !important;
}

@media (max-width: 768px) {
    .preloader {
        background-size: contain !important;
        background-position: center !important;
    }
}

@media (max-width: 480px) {
    .preloader {
        background-size: 80% auto !important;
    }
}

#carousel-example-2 {
    margin-top: 0 !important;
    padding-top: 110px !important;
}

@media (max-width: 1200px) {
    #carousel-example-2 {
        padding-top: 115px !important;
    }
}

@media (max-width: 991px) {
    #carousel-example-2 {
        padding-top: 120px !important;
    }
}

@media (max-width: 768px) {
    #carousel-example-2 {
        padding-top: 125px !important;
    }
}

@media (max-width: 576px) {
    #carousel-example-2 {
        padding-top: 100px !important;
    }
}

.service-page-banner {
    margin-top: 0 !important;
    padding-top: 70px !important;
    padding-bottom: 80px !important;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    position: relative !important;
}

.service-page-banner::before {
    content: '' !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    background: rgba(0, 0, 0, 0.4) !important;
    z-index: 1 !important;
}

.service-banner-overlay {
    position: relative !important;
    z-index: 2 !important;
}

.service-page-title {
    color: #fff !important;
    font-size: 48px !important;
    font-weight: 700 !important;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3) !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
}

@media (max-width: 1200px) {
    .service-page-banner {
        padding-top: 70px !important;
    }
}

@media (max-width: 991px) {
    .service-page-banner {
        padding-top: 50px !important;
        padding-bottom: 60px !important;
    }
    .service-page-title {
        font-size: 36px !important;
    }
}

@media (max-width: 768px) {
    .service-page-banner {
        padding-top: 50px !important;
        padding-bottom: 55px !important;
    }
    .service-page-title {
        font-size: 28px !important;
    }
}

@media (max-width: 576px) {
    .service-page-banner {
        padding-top: 50px !important;
        padding-bottom: 50px !important;
    }
    .service-page-title {
        font-size: 24px !important;
    }
}

/* ==========================================================
   ОСТАЛЬНЫЕ УЛУЧШЕНИЯ
   ========================================================== */

/* ===== УЛУЧШЕННЫЕ КНОПКИ ===== */
.btn-bg:hover, .btn-home-bg:hover, .btn-contact-bg:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(249, 70, 29, 0.4);
}

/* ===== СЛАЙДЕР ===== */
.carousel-inner {
    margin: 0 !important;
    padding: 0 !important;
}

.slideimg {
    height: 450px !important;
    width: 100% !important;
    object-fit: contain !important;
    background: #000 !important;
}

@media (min-width: 1200px) {
    .slideimg {
        height: 550px !important;
    }
}

@media (max-width: 768px) {
    .slideimg {
        height: 280px !important;
    }
}

@media (max-width: 480px) {
    .slideimg {
        height: 220px !important;
    }
}

.carousel-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(249, 70, 29, 0.15), rgba(0, 114, 188, 0.15));
    mix-blend-mode: overlay;
    pointer-events: none;
}

.carousel-caption {
    bottom: 15% !important;
}

.carousel-caption h2 {
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    font-size: 28px;
}

@media (min-width: 768px) {
    .carousel-caption h2 {
        font-size: 36px;
    }
}

/* ===== SERVICES ===== */
.service {
    border-radius: 15px;
    transition: all 0.4s ease;
}

.service:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.serimg {
    border-radius: 10px;
    transition: transform 0.4s ease;
}

.service:hover .serimg {
    transform: scale(1.05) rotate(1deg);
}

/* ===== КАРТОЧКИ (Service2) ===== */
.containerserv {
    gap: 25px;
}

.card {
    border-radius: 20px;
    transition: all 0.4s ease;
}

.card:hover {
    transform: translateY(-15px) rotate(-1deg);
    box-shadow: 0 20px 50px rgba(0,0,0,0.2);
}

.card__image {
    transition: transform 0.5s ease;
}

.card:hover .card__image {
    transform: scale(1.1);
}

/* ===== COUNTER ===== */
.counter_feature {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    position: relative;
    overflow: hidden;
}

.counter_feature::before {
    content: '';
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    top: -100px;
    right: -100px;
}

.single-project-complete h2 {
    color: #f9461d;
}

/* ===== PACKAGES ===== */
.single_package {
    border-radius: 20px;
    overflow: hidden;
    transition: all 0.3s ease;
    background: #fff;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    position: relative;
}

.single_package:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.tours-img {
    transition: transform 0.4s ease;
    width: 100%;
    display: block;
}

.single_package:hover .tours-img {
    transform: scale(1.08);
}

.pack_price {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
    padding: 8px 20px;
    font-weight: 700;
    color: #fff;
    display: inline-block;
}

.rating i {
    color: #ffc42d;
    font-size: 14px;
}

.pack_image .btn-bg {
    transition: all 0.3s ease !important;
}

.pack_image .btn-bg:hover {
    transform: translate(-50%, -50%) !important;
    box-shadow: 0 5px 20px rgba(249, 70, 29, 0.6) !important;
    background: #e1330b !important;
}

.single_package h3 {
    font-size: 20px;
    font-weight: 700;
    margin: 15px 0 10px 0;
    color: #1a1a2e;
}

.single_package p {
    color: #666;
    line-height: 1.6;
}

.single_package .actions,
.book_now .actions,
.actions {
    text-align: center !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

.single_package .btn,
.single_package .btn-bg,
.book_now .btn,
.book_now .btn-contact-bg {
    margin: 0 auto;
    display: inline-block;
}

/* ===== GALLERY ===== */
.single_galery {
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s ease;
}

.single_galery:hover {
    transform: scale(1.05) rotate(2deg);
    box-shadow: 0 15px 40px rgba(0,0,0,0.2);
}

/* ===== CONTACT ===== */
.contact {
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    background: #fff;
    padding: 40px 30px;
}

.contact_address .row {
    display: flex;
    flex-wrap: wrap;
}

.contact_address .row > [class*="col-"] {
    display: flex;
}

.single-contact-info {
    background: #fff;
    padding: 30px 20px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    margin-bottom: 20px;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 200px;
    text-align: center;
}

.single-contact-info:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.15);
}

.contact_address i {
    width: 60px;
    height: 60px;
    line-height: 60px;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 50%;
    margin: 0 auto 15px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.single-contact-info:hover i {
    transform: scale(1.1) rotate(10deg);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.single-contact-info p {
    margin: 0;
    width: 100%;
}

.form-control {
    border: 2px solid #e8e8e8;
    border-radius: 12px;
    padding: 14px 20px;
    font-size: 15px;
    transition: all 0.3s ease;
    background: #f9f9f9;
}

.form-control:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 4px rgba(102, 126, 234, 0.1);
    background: #fff;
    outline: none;
}

.form-control::placeholder {
    color: #999;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

.contact .btn-contact-bg,
.contact button[type="submit"] {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 15px 45px;
    font-weight: 600;
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    cursor: pointer;
}

.contact .btn-contact-bg:hover,
.contact button[type="submit"]:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.4);
}

.contact-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: slideInDown 0.3s ease;
}

.message-success {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

.message-error {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.3);
}

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

.contact_area .section-title h2 {
    font-size: 38px;
    font-weight: 700;
    color: #1a1a2e;
}

.contact_area {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.02) 0%, rgba(118, 75, 162, 0.02) 100%);
}

/* ===== FOOTER ===== */
.footer-1 {
    position: relative;
}

.footer-1::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #667eea, #764ba2, #f093fb);
}

.footer-1 .widget p a {
    color: inherit !important;
    text-decoration: none !important;
}

.footer-1 .widget p a:hover {
    color: #f9461d !important;
    text-decoration: underline !important;
}

.social-footer2 li a:hover img {
    transform: translateY(-5px) scale(1.2);
    filter: drop-shadow(0 5px 15px rgba(249, 70, 29, 0.5));
}

/* ===== SCROLL TO TOP ===== */
.topcontrol {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 4px 20px rgba(102, 126, 234, 0.4);
}

/* ===== SOCIAL MEDIA BUTTONS ===== */
.social-btn {
    position: fixed;
    right: 15px;
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 28px;
    transition: all 0.3s ease;
    z-index: 999;
    text-decoration: none;
    animation: socialPulse 2s ease-in-out infinite;
}

.social-btn::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    animation: socialRipple 2s ease-out infinite;
}

.social-btn:hover {
    transform: scale(1.1) translateY(-5px);
    color: #fff;
    animation: none;
}

.social-btn i {
    position: relative;
    z-index: 1;
}

/* Facebook Button */
.facebook-btn {
    bottom: 220px;
    background: linear-gradient(135deg, #1877F2 0%, #0d5dbf 100%);
    box-shadow: 0 4px 20px rgba(24, 119, 242, 0.4);
}

.facebook-btn::before {
    background: rgba(24, 119, 242, 0.4);
}

.facebook-btn:hover {
    background: linear-gradient(135deg, #0d5dbf 0%, #1877F2 100%);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.6);
}

/* Instagram Button */
.instagram-btn {
    bottom: 155px;
    background: linear-gradient(135deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    box-shadow: 0 4px 20px rgba(221, 42, 123, 0.4);
}

.instagram-btn::before {
    background: rgba(221, 42, 123, 0.4);
}

.instagram-btn:hover {
    background: linear-gradient(135deg, #8134AF 0%, #DD2A7B 50%, #F58529 100%);
    box-shadow: 0 8px 30px rgba(221, 42, 123, 0.6);
}

/* WhatsApp Button */
.whatsapp-btn {
    bottom: 90px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
}

.whatsapp-btn::before {
    background: rgba(37, 211, 102, 0.4);
}

.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.6);
}

@keyframes socialPulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

@keyframes socialRipple {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    100% {
        transform: scale(1.4);
        opacity: 0;
    }
}

@media (max-width: 768px) {
    .social-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
        right: 12px;
    }

    .facebook-btn {
        bottom: 200px;
    }

    .instagram-btn {
        bottom: 140px;
    }

    .whatsapp-btn {
        bottom: 80px;
    }
}

/* ===== SERVICE PAGE MIN HEIGHT ===== */
.tour_details {
    min-height: calc(100vh - 500px);
}

.tour_details .single_tour_details {
    min-height: 300px;
}

/* ===== BOOKING MESSAGE ===== */
.booking-message {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 15px;
    font-weight: 500;
    text-align: center;
    display: none;
    animation: slideInDown 0.3s ease;
}

.booking-message.message-success {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(34, 197, 94, 0.3);
}

.booking-message.message-error {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 5px 20px rgba(239, 68, 68, 0.3);
}

/* ===== SECTION TITLE ===== */
.section-title h2 {
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #f9461d, #ff6b6b);
    border-radius: 10px;
}

/* ===== ОБЩИЕ ===== */
::selection {
    background: #667eea;
    color: white;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 10px;
}

@media (max-width: 768px) {
    .service:hover {
        transform: translateY(-5px) scale(1.01);
    }

    .single_package:hover {
        transform: translateY(-10px);
    }
}

/* ==========================================================
   TOUR BOOKING FORM - MODERN DESIGN
   ========================================================== */

.book_now {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 20px;
    padding: 0;
    box-shadow: 0 10px 40px rgba(0,0,0,0.12);
    overflow: hidden;
    transition: all 0.4s ease;
    position: sticky;
    top: 100px;
}

.book_now:hover {
    box-shadow: 0 15px 50px rgba(102, 126, 234, 0.2);
    transform: translateY(-5px);
}

.booking-form-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 30px 25px;
    text-align: center;
    color: white;
    position: relative;
    overflow: hidden;
}

.booking-form-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

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

.booking-form-header i {
    font-size: 36px;
    margin-bottom: 10px;
    display: block;
    position: relative;
    z-index: 1;
}

.booking-form-header h4 {
    margin: 0 0 5px 0;
    font-size: 26px;
    font-weight: 700;
    color: white;
    position: relative;
    z-index: 1;
}

.booking-subtitle {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.9);
    font-weight: 300;
    position: relative;
    z-index: 1;
}

.booking-form {
    padding: 30px 25px;
}

.input-with-icon {
    position: relative;
    margin-bottom: 0;
}

.input-with-icon i {
    position: absolute;
    left: 18px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 18px;
    z-index: 2;
    transition: all 0.3s ease;
}

.booking-input {
    width: 100%;
    padding: 15px 15px 15px 50px !important;
    border: 2px solid #e9ecef !important;
    border-radius: 12px !important;
    font-size: 15px !important;
    transition: all 0.3s ease !important;
    background: white !important;
    color: #333 !important;
    height: auto !important;
}

.booking-input:focus {
    border-color: #667eea !important;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1) !important;
    outline: none !important;
}

.booking-input:focus + i,
.input-with-icon:hover i {
    color: #764ba2;
    transform: translateY(-50%) scale(1.1);
}

.booking-input::placeholder {
    color: #adb5bd;
    font-weight: 400;
}

.btn-booking-submit {
    width: 100%;
    padding: 16px 30px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 12px;
    color: white;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

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

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

.btn-booking-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.btn-booking-submit:active {
    transform: translateY(0);
    box-shadow: 0 3px 15px rgba(102, 126, 234, 0.3);
}

.btn-booking-submit:disabled {
    background: #6c757d;
    cursor: not-allowed;
    transform: none;
}

.btn-booking-submit i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.btn-booking-submit:hover i {
    transform: translateX(5px);
}

/* Booking Message Styles */
.booking-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 15px;
    animation: slideDown 0.3s ease;
}

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

.message-success {
    background: linear-gradient(135deg, #d4edda 0%, #c3e6cb 100%);
    color: #155724;
    border-left: 4px solid #28a745;
}

.message-error {
    background: linear-gradient(135deg, #f8d7da 0%, #f5c6cb 100%);
    color: #721c24;
    border-left: 4px solid #dc3545;
}

.booking-message i {
    font-size: 20px;
}

/* jQuery UI Datepicker Custom Styling */
.ui-datepicker {
    background: white;
    border: none;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 15px;
    font-family: 'Poppins', sans-serif;
}

.ui-datepicker-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}

.ui-datepicker-title {
    color: white;
    font-weight: 600;
}

.ui-datepicker-prev,
.ui-datepicker-next {
    cursor: pointer;
}

.ui-datepicker-prev span,
.ui-datepicker-next span {
    background-image: none !important;
    text-indent: 0 !important;
    color: white;
}

.ui-datepicker-prev span::before {
    content: "‹";
    font-size: 24px;
}

.ui-datepicker-next span::before {
    content: "›";
    font-size: 24px;
}

.ui-datepicker td a {
    text-align: center;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.ui-datepicker td a:hover {
    background: #667eea;
    color: white;
}

.ui-state-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
    color: white !important;
}

.ui-datepicker-today a {
    background: rgba(102, 126, 234, 0.1);
    font-weight: 600;
}

/* Mobile Responsive */
@media (max-width: 991px) {
    .book_now {
        position: relative;
        top: 0;
        margin-top: 30px;
    }

    .booking-form-header h4 {
        font-size: 22px;
    }

    .booking-input {
        font-size: 14px !important;
    }

    /* Fix mobile scroll for tour details page */
    .tour_details {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .tour_details .container {
        height: auto !important;
        overflow: visible !important;
    }

    .tour_details .row {
        height: auto !important;
        overflow: visible !important;
    }

    .single_tour_details {
        height: auto !important;
        overflow: visible !important;
        margin-bottom: 30px;
    }

    .tour_slider img {
        height: auto !important;
        max-height: 300px !important;
        width: 100% !important;
        object-fit: cover;
    }

    .tour_slider_img {
        height: auto !important;
        overflow: visible !important;
    }

    /* Ensure body scrolls on tour pages */
    body.tour-page {
        height: auto !important;
        min-height: 100vh !important;
    }
}
