/* Responsive CSS for LocalWalks Photography Tours Template */

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .hero-decoration {
        display: block;
    }
    
    .card:hover {
        transform: translateY(-5px);
    }
    
    .btn:hover {
        transform: translateY(-2px);
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero adjustments */
    #hero {
        padding: 4rem 0;
    }
    
    h1, .display-4, .display-5 {
        font-size: 2.25rem;
    }
    
    h2, .h2 {
        font-size: 1.75rem;
    }
    
    /* Reduce animation intensity on tablets */
    .card:hover {
        transform: translateY(-3px);
    }
    
    /* Gallery grid adjustments */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Process steps layout */
    .process .col-lg-2 {
        margin-bottom: 2rem;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography adjustments */
    h1, .display-4, .display-5 {
        font-size: 2rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Hero section */
    #hero {
        padding: 3rem 0;
        text-align: center;
    }
    
    /* Hide decorative elements */
    .hero-decoration {
        display: none;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.625rem 1.5rem;
        font-size: 0.9rem;
    }
    
    /* Card spacing */
    .card {
        margin-bottom: 1.5rem;
    }
    
    /* Service cards - stack properly */
    .services .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    /* Team member cards */
    .team .card-img-top {
        width: 150px;
        height: 150px;
    }
    
    /* Process steps - vertical layout */
    .process .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Contact form adjustments */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevent zoom on iOS */
    }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* CRITICAL: No animations on mobile as per requirements */
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
        transform: none !important;
    }
    
    /* Override hover effects on mobile */
    .card:hover,
    .btn:hover,
    #gallery img:hover {
        transform: none !important;
        box-shadow: var(--shadow-light) !important;
    }
    
    /* Typography - conservative sizes */
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    h1, .display-4, .display-5 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    h3, .h3 {
        font-size: 1.25rem;
    }
    
    h4, .h4, h5, .h5 {
        font-size: 1.125rem;
    }
    
    h6, .h6 {
        font-size: 1rem;
    }
    
    .lead {
        font-size: 1rem;
        font-weight: 400;
    }
    
    p {
        font-size: 0.9rem;
    }
    
    /* Navbar adjustments */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-toggler {
        border: none;
        padding: 0.25rem 0.5rem;
    }
    
    /* Hero section - mobile optimized */
    #hero {
        min-height: 70vh;
        padding: 2rem 0;
        text-align: center;
    }
    
    .hero-decoration {
        display: none;
    }
    
    /* Section padding reduction */
    section {
        padding: 3rem 0;
    }
    
    /* Button adjustments */
    .btn {
        padding: 0.5rem 1.25rem;
        font-size: 0.875rem;
        border-radius: 25px;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    /* Card adjustments */
    .card {
        margin-bottom: 1.25rem;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    .card-img-top {
        height: 180px;
    }
    
    /* Service cards - single column */
    .services .card-title {
        font-size: 1.125rem;
    }
    
    /* Price plan cards */
    .priceplan .card.border-warning {
        transform: none;
        border-width: 2px;
    }
    
    /* Team member photos */
    .team .card-img-top {
        width: 120px;
        height: 120px;
        border-width: 3px;
    }
    
    /* Gallery - 2 columns on mobile */
    #gallery .col-md-4 {
        -webkit-flex: 0 0 50%;
        -ms-flex: 0 0 50%;
        flex: 0 0 50%;
        max-width: 50%;
    }
    
    /* Process steps - simplified layout */
    .process .rounded-circle {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .process .col-lg-2 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    /* Timeline cards - simplified */
    .timeline .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    /* Contact form optimization */
    .form-control,
    .form-select {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 0.75rem;
    }
    
    .form-label {
        font-size: 0.9rem;
        font-weight: 500;
    }
    
    /* Contact info - stacked layout */
    .contact-info .col-md-4 {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .contact-info i {
        width: 40px;
        height: 40px;
        font-size: 1.25rem;
    }
    
    /* Footer adjustments */
    #footer {
        padding: 2rem 0;
        text-align: center;
    }
    
    #footer .col-md-6 {
        margin-bottom: 1rem;
    }
    
    #footer .text-md-end {
        text-align: center !important;
    }
    
    /* Breadcrumb mobile */
    .breadcrumb-item img {
        width: 16px;
        height: 16px;
    }
    
    /* Badge sizing */
    .badge {
        font-size: 0.7rem;
        padding: 0.375rem 0.75rem;
    }
    
    /* FAQ cards */
    .faq .card {
        margin-bottom: 1rem;
    }
    
    .faq .card-title {
        font-size: 1rem;
    }
    
    .faq .card-text {
        font-size: 0.875rem;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 60vh;
        padding: 1.5rem 0;
    }
    
    section {
        padding: 2.5rem 0;
    }
    
    .navbar-nav {
        flex-direction: row;
        justify-content: center;
    }
    
    .nav-item {
        margin: 0 0.5rem;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    #gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Print styles */
@media print {
    .navbar,
    #footer,
    .btn,
    .breadcrumb {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .card {
        page-break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ddd;
    }
}

/* Accessibility improvements */
@media (prefers-reduced-motion: reduce) {
    /* Ensure no animations when user prefers reduced motion */
    .hero-blob {
        animation: none !important;
    }
    
    .card,
    .btn,
    img {
        transition: none !important;
        transform: none !important;
    }
}

/* Dark mode preferences (optional enhancement) */

/* Focus indicators for keyboard navigation */
@media (hover: none) and (pointer: coarse) {
    /* Touch device specific styles */
    .btn,
    .nav-link,
    .card {
        -webkit-tap-highlight-color: rgba(52, 152, 219, 0.3);
    }
    
    .form-control:focus,
    .form-select:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
} 