/* Адаптивные стили */

/* Планшеты и маленькие десктопы */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4vh;
    }
    
    .hero-subtitle {
        font-size: 2vh;
    }
    
    .section-title {
        font-size: 3vh;
    }
    
    .tour-card-img {
        height: 20vh;
    }
}

/* Планшеты */
@media (max-width: 768px) {
    .logo-text {
        font-size: 2vh;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.6vh;
        padding: 0.8vh 1.5vh !important;
    }
    
    .hero-section {
        padding: 10vh 0;
    }
    
    .hero-title {
        font-size: 3.2vh;
    }
    
    .hero-subtitle {
        font-size: 1.8vh;
        max-width: 90%;
    }
    
    .main-container {
        padding: 10vh 0 4vh;
    }
    
    .footer-title {
        font-size: 2.4vh;
    }
    
    .social-link {
        width: 3.5vh;
        height: 3.5vh;
        line-height: 3.5vh;
    }
    
    .footer-bottom .row {
        text-align: center;
    }
    
    .footer-bottom .col-md-6 {
        width: 100%;
        margin-bottom: 1vh;
    }
    
    .footer-bottom .text-end {
        text-align: center !important;
    }
}

/* Мобильные устройства */
@media (max-width: 576px) {
    .logo-img {
        height: 4vh;
    }
    
    .logo-text {
        font-size: 1.8vh;
    }
    
    .navbar-toggler {
        padding: 0.5vh 1vh;
        font-size: 2vh;
    }
    
    .hero-section {
        padding: 8vh 0;
        margin-bottom: 4vh;
    }
    
    .hero-title {
        font-size: 2.8vh;
    }
    
    .hero-subtitle {
        font-size: 1.6vh;
    }
    
    .hero-btn {
        padding: 1.2vh 3vh;
        font-size: 1.8vh;
    }
    
    .section-title {
        font-size: 2.4vh;
        margin-bottom: 4vh;
    }
    
    .tour-card {
        margin-bottom: 2vh;
    }
    
    .tour-card-img {
        height: 18vh;
    }
    
    .tour-card-body {
        padding: 2vh;
    }
    
    .tour-card-title {
        font-size: 2vh;
    }
    
    .tour-card-description {
        font-size: 1.4vh;
        height: 5vh;
    }
    
    .service-card {
        margin-bottom: 2vh;
    }
    
    .review-card {
        padding: 2vh;
    }
    
    .contact-info-card {
        padding: 2vh;
    }
    
    .site-footer {
        padding: 4vh 0 2vh;
    }
    
    .footer-logo-img {
        height: 5vh;
    }
    
    .footer-title {
        font-size: 2vh;
    }
    
    .footer-description {
        font-size: 1.4vh;
    }
    
    .footer-heading {
        font-size: 1.8vh;
        margin-bottom: 2vh;
    }
    
    .contact-info li {
        font-size: 1.4vh;
    }
}

/* Очень маленькие устройства */
@media (max-width: 360px) {
    .hero-title {
        font-size: 2.4vh;
    }
    
    .hero-subtitle {
        font-size: 1.4vh;
    }
    
    .tour-card-img {
        height: 15vh;
    }
    
    .navbar-nav .nav-link {
        font-size: 1.4vh;
        padding: 0.6vh 1vh !important;
    }
    
    .register-btn .nav-link,
    .application-btn .nav-link {
        padding: 0.8vh 2vh !important;
        font-size: 1.4vh;
    }
}

/* Высокие экраны */
@media (min-height: 800px) {
    .hero-section {
        padding: 20vh 0;
    }
    
    .main-container {
        padding: 15vh 0 8vh;
    }
    
    .tour-card-img {
        height: 30vh;
    }
}

/* Ландшафтная ориентация */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        padding: 8vh 0;
    }
    
    .tour-card-img {
        height: 20vh;
    }
    
    .main-container {
        padding: 8vh 0 4vh;
    }
}

/* Темная тема (опционально) */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a1a;
        color: #e0e0e0;
    }
    
    .tour-card,
    .service-card,
    .review-card,
    .contact-info-card {
        background-color: #2d2d2d;
        border-color: #404040;
    }
    
    .tour-card-description,
    .service-description,
    .review-text {
        color: #b0b0b0;
    }
    
    .services-section {
        background-color: #252525;
    }
}

/* Печать */
@media print {
    .site-header,
    .site-footer,
    .hero-section,
    .btn-primary,
    .tour-card-btn {
        display: none !important;
    }
    
    body {
        color: black;
        background: white;
    }
    
    .main-container {
        padding: 2vh 0;
    }
    
    a {
        color: black;
        text-decoration: none;
    }
}