/* ================================
   UK Journey - Responsive Styles
   ================================ */

/* ========== Large Devices (Desktops, 1200px and up) ========== */
@media (min-width: 1200px) {
    .hero-content h1 {
        font-size: 4rem;
    }
    
    .container {
        max-width: 1140px;
    }
}

/* ========== Medium Devices (Tablets, 768px to 991px) ========== */
@media (max-width: 991px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content p {
        font-size: 1.1rem;
    }
    
    .about-split {
        flex-direction: column;
    }
    
    .section {
        padding: 3rem 0;
    }
    
    .main-menu .nav-link {
        padding: 0.75rem 1rem;
    }
    
    .offer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ========== Small Devices (Landscape Phones, 576px to 767px) ========== */
@media (max-width: 767px) {
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    h3 {
        font-size: 1.5rem;
    }
    
    .hero-section {
        min-height: 400px;
        max-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
        text-shadow: 2px 2px 6px rgba(0,0,0,0.7);
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .logo {
        max-width: 200px;
    }
    
    .contact-info {
        font-size: 0.9rem;
    }
    
    .contact-item {
        display: block !important;
        margin-bottom: 0.5rem;
    }
    
    .top-bar .row {
        text-align: center;
    }
    
    .section {
        padding: 2.5rem 0;
    }
    
    .section-title h2 {
        font-size: 1.75rem;
    }
    
    .section-title p {
        font-size: 1rem;
    }
    
    .offer-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .parallax-section {
        background-attachment: scroll;
        padding: 4rem 0;
    }
    
    .parallax-content h2 {
        font-size: 1.75rem;
    }
    
    .parallax-content p {
        font-size: 1rem;
    }
    
    .btn-primary,
    .btn-outline-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.95rem;
    }
    
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .footer {
        text-align: center;
    }
    
    .footer-section {
        margin-bottom: 2rem;
    }
    
    .footer .row > div {
        text-align: center !important;
    }
    
    .footer-menu {
        text-align: center;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .main-menu .navbar-collapse {
        background-color: var(--color-primary);
        margin-top: 1rem;
        padding: 1rem;
        border-radius: 5px;
    }
    
    .main-menu .nav-link {
        padding: 0.75rem;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .main-menu .dropdown-menu {
        background-color: rgba(0,0,0,0.2);
        border: none;
    }
    
    .cookie-consent {
        padding: 1rem 0;
    }
    
    .cookie-consent p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .btn-cookie {
        width: 100%;
        margin-top: 0.5rem;
    }
}

/* ========== Extra Small Devices (Portrait Phones, less than 576px) ========== */
@media (max-width: 575px) {
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .hero-content p {
        font-size: 0.95rem;
    }
    
    .logo {
        max-width: 180px;
    }
    
    .contact-item {
        font-size: 0.85rem;
    }
    
    .benefit-card {
        padding: 1.5rem;
    }
    
    .benefit-icon {
        font-size: 2.5rem;
    }
    
    .offer-content {
        padding: 1rem;
    }
    
    .offer-content h4 {
        font-size: 1.15rem;
    }
    
    .offer-price {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .footer-logo {
        max-width: 150px;
    }
    
    .section-title::after {
        width: 60px;
    }
}

/* ========== Print Styles ========== */
@media print {
    .main-menu,
    .breadcrumbs-section,
    .back-to-top,
    .cookie-consent,
    .btn,
    .footer {
        display: none !important;
    }
    
    .hero-section {
        background: none !important;
        min-height: auto !important;
        page-break-after: avoid;
    }
    
    .hero-content {
        color: #000 !important;
    }
    
    .section {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
    }
}

/* ========== Touch Device Optimizations ========== */
@media (hover: none) and (pointer: coarse) {
    .btn-primary,
    .btn-outline-primary,
    .contact-link,
    .footer-link {
        min-height: 44px;
        min-width: 44px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }
    
    .nav-link {
        min-height: 44px;
    }
    
    .offer-card:hover,
    .benefit-card:hover {
        transform: none;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
}

/* ========== High DPI Displays ========== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section,
    .parallax-section {
        background-size: cover;
    }
}

/* ========== Landscape Orientation ========== */
@media (max-width: 767px) and (orientation: landscape) {
    .hero-section {
        min-height: 300px;
        max-height: 300px;
    }
    
    .hero-content h1 {
        font-size: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .hero-content p {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
}

/* ========== 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;
    }
    
    .parallax-section {
        background-attachment: scroll;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* ========== Dark Mode Support (Optional) ========== */
@media (prefers-color-scheme: dark) {
    /* Keep light theme as it's part of brand identity */
}