/* Additional Responsive Styles */

/* Large screens (1200px and up) */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 4rem;
    }
    
    .carts-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-slide {
        min-width: calc(33.333% - 1.333rem);
    }
}

/* Medium screens (768px - 1199px) */
@media (min-width: 768px) and (max-width: 1199px) {
    .hero-container {
        padding: 0 40px;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .carts-grid {
        grid-template-columns: 1fr;
    }
    
    .contacts-content {
        gap: 2rem;
    }
    
    .gallery-slide {
        min-width: calc(50% - 1rem);
    }
    
    .logo-img {
        height: 50px;
    }
    
    .nav-item {
        margin-left: 1.5rem;
    }
}

/* Small screens (max-width: 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    .hero {
        padding: 100px 0 60px;
        min-height: 70vh;
    }
    
    .hero-container {
        padding: 0 20px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 1rem;
        letter-spacing: 2px;
    }
    
    .hero-description {
        font-size: 1.1rem;
        margin-bottom: 1.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .btn {
        padding: 12px 35px;
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 2.5rem;
        letter-spacing: 2px;
    }
    
    .section-title::after {
        width: 80px;
        height: 4px;
    }
    
    .logo-img {
        height: 45px;
    }
    
    .nav-menu {
        top: 75px;
    }
    
    .track-content,
    .safety-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .track-info .section-title,
    .safety-info .section-title {
        text-align: center;
    }
    
    .track-info .section-title::after,
    .safety-info .section-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .track-description,
    .safety-description {
        font-size: 1.1rem;
    }
    
    .feature-item,
    .safety-item {
        padding: 1.2rem;
    }
    
    .feature-item i,
    .safety-item i {
        font-size: 2rem;
        min-width: 40px;
    }
    
    .feature-text h4,
    .safety-text h4 {
        font-size: 1.2rem;
    }
    
    .quote-text {
        font-size: 1.3rem;
        line-height: 1.5;
    }
    
    .quote-author {
        font-size: 1.1rem;
    }
    
    .quote-icon {
        font-size: 3rem;
    }
    
    .video-section {
        min-height: 400px;
    }
    
    .video-container {
        min-height: 400px;
    }
    
    .video-content {
        height: 400px;
    }
    
    .video-content p {
        font-size: 1.2rem;
    }
    
    .price-block {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 2.5rem 2rem;
        margin: 2rem 0;
    }
    
    .kids-block {
        grid-template-columns: 1fr;
    }
    
    .kids-block .price-content {
        order: 1;
    }
    
    .kids-block .price-image {
        order: 2;
    }
    
    .price-image {
        padding: 1rem;
    }
    
    .price-title {
        font-size: 2rem;
    }
    
    .price-subtitle {
        font-size: 1rem;
    }
    
    .price-info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-option {
        padding: 1.5rem 1.2rem !important;
    }
    
    .option-headers {
        flex-direction: column;
        gap: 0.5rem;
        padding: 0 1rem;
        margin-bottom: 1.2rem;
    }
    
    .price-main-title {
        font-size: 1.1rem;
        text-align: center !important;
    }
    
    .option-headers .price-main-title:last-child {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .option-content-wrapper {
        flex-direction: column;
        gap: 1.5rem;
        align-items: stretch;
        padding: 0 1rem;
    }
    
    .option-left {
        align-items: center;
        text-align: center;
    }
    
    .option-left .option-price {
        font-size: 3.5rem;
    }
    
    .option-left .option-duration {
        font-size: 1rem;
        margin-top: 0.4rem;
    }
    
    .option-divider {
        width: 80%;
        height: 2px;
        background: linear-gradient(to right, 
            transparent 10%, 
            rgba(255, 0, 0, 0.3) 20%, 
            rgba(255, 0, 0, 0.6) 50%, 
            rgba(255, 0, 0, 0.3) 80%, 
            transparent 90%);
        margin: 0 auto;
    }
    
    .option-right {
        align-items: center;
        text-align: center;
    }
    
    .option-right .option-features {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .option-right .option-features li {
        font-size: 1.05rem;
        padding: 0.5rem 0;
    }
    
    .option-right .option-features li i {
        font-size: 1.1rem;
    }
    
    .option-price {
        font-size: 2rem;
    }
    
    .price-specs {
        flex-direction: column;
        gap: 1rem;
    }
    
    .gallery-slide {
        min-width: 100%;
        height: 300px;
    }
    
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-100% - 2rem)); }
    }
    
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contact-item {
        flex-direction: row;
        padding: 1.2rem;
        gap: 1rem;
    }
    
    .contact-icon {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .location-map {
        padding: 2rem 1.5rem;
    }
    
    .location-map h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .map-container {
        margin-bottom: 1.5rem;
    }
    
    .map-address {
        padding: 1rem;
    }
    
    .scroll-indicator {
        bottom: 20px;
    }
    
    .scroll-arrow {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .scroll-text {
        font-size: 0.75rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        height: 50px;
        margin: 0 auto 1rem;
        display: block;
    }
    
    .footer-section ul li {
        margin-bottom: 0.5rem;
    }
    
    .footer-bottom {
        padding-top: 1.5rem;
    }
    

    
    .graffiti-arrow,
    .graffiti-x {
        font-size: 2.5rem;
    }
    
    /* Modal adjustments for mobile */
    .modal-close {
        top: 15px;
        right: 15px;
        font-size: 35px;
        width: 40px;
        height: 40px;
    }
    
    .modal-controls {
        top: 15px;
        left: 15px;
        gap: 10px;
    }
    
    .modal-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .modal-nav-btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    
    .modal-content {
        max-width: 95%;
        max-height: 85%;
    }
}

/* Extra small screens (max-width: 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
        letter-spacing: 1px;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .logo-img {
        height: 40px;
    }
    
    .track-description,
    .safety-description {
        font-size: 1rem;
    }
    
    .feature-item,
    .safety-item {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .feature-item i,
    .safety-item i {
        font-size: 1.8rem;
        margin-top: 0;
    }
    
    .location-map {
        padding: 1.5rem 1rem;
    }
    
    .map-container iframe {
        height: 300px;
    }
    
    .scroll-indicator {
        display: none;
    }
    
    .quote-text {
        font-size: 1.1rem;
    }
    
    .quote-author {
        font-size: 1rem;
    }
    
    .price-block {
        padding: 1.5rem 1rem;
    }
    
    .price-title {
        font-size: 1.7rem;
    }
    
    .price-subtitle {
        font-size: 0.9rem;
    }
    
    .option-price {
        font-size: 1.8rem;
    }
    
    .lei {
        font-size: 1rem;
    }
    
    .price-option .btn {
        padding: 8px 15px;
        font-size: 0.85rem;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .booking-form {
        padding: 1.5rem 1rem;
    }
    
    .gallery-slide {
        height: 250px;
    }
    
    .graffiti-arrow,
    .graffiti-x {
        font-size: 2rem;
        opacity: 0.1;
    }
}

/* Landscape orientation for mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        padding: 80px 0 40px;
        min-height: auto;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .hero-buttons {
        gap: 0.8rem;
    }
    
    .btn {
        padding: 10px 30px;
        font-size: 0.9rem;
    }
}

/* High DPI screens */
@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) {
    .logo-img,
    .cart-image img,
    .gallery-slide img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .booking-form,
    .btn,
    .graffiti-bg {
        display: none;
    }
    
    .hero,
    .carts,
    .quote-section,
    .prices,
    .gallery,
    .contacts {
        padding: 20px 0;
    }
    
    .section-title {
        font-size: 1.5rem;
        margin-bottom: 1rem;
        page-break-after: avoid;
    }
    
    .carts-grid,
    .prices-grid,
    .contacts-content {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .price-card,
    .cart-card {
        page-break-inside: avoid;
    }
}

/* Accessibility - Reduced motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .gallery-track {
        animation: none;
    }
    
    .graffiti-arrow,
    .graffiti-x {
        animation: none;
    }
}

/* Dark mode support (if system preference) */
@media (prefers-color-scheme: dark) {
    /* Already dark theme by default */
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    .btn {
        min-height: 48px;
        min-width: 48px;
    }
    
    .nav-link {
        padding: 0.5rem 0;
    }
    
    .contact-icon {
        width: 55px;
        height: 55px;
    }
    
    .header-phone-btn {
        padding: 0.5rem 0.8rem;
        font-size: 0.85rem;
        gap: 0.3rem;
    }
    
    .header-phone-btn span {
        display: none;
    }
    
    .header-phone-btn i {
        font-size: 1.2rem;
    }
}

/* Gallery responsive animations */
@media (max-width: 767px) {
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-100% - 2rem)); }
    }
    
    .gallery-track {
        animation-duration: 30s;
    }
}

@media (min-width: 768px) and (max-width: 1199px) {
    @keyframes scroll {
        0% { transform: translateX(0); }
        100% { transform: translateX(calc(-50% - 2rem)); }
    }
    
    .gallery-track {
        animation-duration: 25s;
    }
}

/* Partner logos responsive styles */
@media (max-width: 767px) {
    .partner-logos-grid {
        grid-template-columns: 1fr;
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .partner-logo {
        height: 100px;
        width: auto;
        max-width: 100%;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .partner-logos-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
        max-width: 100%;
    }
    
    .partner-logo {
        height: 110px;
        width: auto;
        max-width: 100%;
    }
}

/* Scroll to Top Button - Mobile */
@media (max-width: 767px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
}

@media (max-width: 480px) {
    .scroll-to-top {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

/* Language Dropdown - Mobile Responsive */
@media (max-width: 991px) {
    .lang-switcher {
        margin-left: 0;
        margin-top: 1rem;
        width: 100%;
    }
    
    .lang-dropdown-toggle {
        width: 100%;
        justify-content: center;
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    .lang-dropdown-menu {
        width: 100%;
        position: relative;
        top: 0.5rem;
        right: auto;
        left: 0;
    }
    
    .lang-dropdown.active .lang-dropdown-menu {
        margin-top: 0.5rem;
    }
}

@media (max-width: 767px) {
    .lang-dropdown-item {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
    
    .lang-dropdown-item .lang-flag {
        font-size: 1.4rem;
    }
    
    .lang-dropdown-item .lang-name {
        font-size: 1rem;
    }
}