/* PhotoWalk Tours - Responsive Styles */

/* Mobile First Approach */

/* Extra Small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography adjustments for mobile */
    h1, .display-4 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.77rem;
    }
    
    h3, h4 {
        font-size: 1.38rem;
    }
    
    /* Hero section mobile */
    #hero {
        min-height: 100vh;
        padding-top: 80px;
    }
    
    .hero-decoration {
        display: none; /* No decorative elements on mobile */
    }
    
    /* Button adjustments */
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Card spacing */
    .card {
        margin-bottom: 1rem;
    }
    
    /* Gallery grid mobile */
    #gallery .col-md-4 {
        margin-bottom: 0.56rem;
    }
    
    /* Contact form mobile */
    .form-control, .form-select {
        margin-bottom: 1rem;
    }
    
    /* Footer mobile */
    #footer .col-lg-4 {
        text-align: center;
        margin-bottom: 2rem;
    }
    
    /* No hover effects on mobile */
    .card:hover {
        transform: none;
        box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
    }
    
    /* Disable animations on mobile for performance */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Hero adjustments */
    #hero {
        padding-top: 80px;
    }
    
    /* Services grid */
    #services .row > div {
        margin-bottom: 1.72rem;
    }
    
    /* Team grid */
    #team .row > div {
        margin-bottom: 1.57rem;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Hero section tablet */
    #hero .col-lg-6 {
        margin-bottom: 2rem;
    }
    
    /* Gallery tablet layout */
    #gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    /* Services tablet grid */
    #services .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    /* Full desktop experience */
    
    /* Hero section desktop */
    #hero {
        min-height: 100vh;
    }
    
    /* Navigation desktop */
    .navbar-nav .nav-link {
        padding: 0.5rem 1rem;
        margin: 0 0.25rem;
        border-radius: 6px;
    }
    
    .navbar-nav .nav-link:hover {
        background-color: rgba(99, 95, 255, 0.10);
    }
    
    /* Card hover effects desktop */
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 17px 30px rgba(0, 0, 0, 0.15);
    }
    
    /* Gallery desktop layout */
    #gallery .col-lg-3 {
        padding: 0;
    }
    
    #gallery img:hover {
        transform: scale(1.1);
    }
}

/* Extra Large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container adjustments for large screens */
    .container {
        max-width: 1140px;
    }
    
    /* Hero content spacing */
    #hero .display-4 {
        font-size: 3rem;
    }
    
    /* Services grid spacing */
    #services .col-lg-4 {
        margin-bottom: 2rem;
    }
}

/* Extra Extra Large devices (extra large desktops, 1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    /* Enhanced spacing for very large screens */
    section {
        padding-top: 6rem;
        padding-bottom: 6rem;
    }
}

/* Print Styles */
@media print {
    /* Hide non-essential elements when printing */
    #header,
    #footer,
    .btn,
    .hero-decoration {
        display: none;
    }
    
    /* Adjust colors for print */
    body {
        color: #000;
        background: #fff;
    overflow-x: hidden;
}
    
    .card {
        border: 1px solid #000;
        box-shadow: none;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #030e89;
        --primary-dark: #020c6a;
        --accent-color: #066e6d;
        --dark-color: #000000;
    }
    
    .card {
        border: 2px solid #000;
    }
    
    .btn-primary {
        border: 2px solid #000;
    }
}

/* Landscape orientation adjustments */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: 90vh;
        padding-top: 60px;
    }
    
    .hero-decoration {
        display: none;
    }
} 