/* AR City Explorer - Responsive Styles */

/* Mobile First Approach */

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    #hero {
        padding: 2rem 0;
        min-height: 100vh;
    }
    
    #hero .display-4 {
        font-size: 2rem;
        margin-bottom: 1rem;
    }
    
    #hero .lead {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    
    #hero .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
        margin-bottom: 0.5rem;
    }
    
    .navbar-brand {
        font-size: 1.2rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        font-size: 0.9rem;
    }
    
    .card-body {
        padding: 1rem;
    overflow-x: hidden;
}
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    .py-5 {
        padding: 2rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3, h4, h5 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    .step-number, .timeline-year, .roadmap-year {
        width: 50px;
        height: 50px;
        font-size: 0.9rem;
    }
    
    #gallery .col-6 {
        padding: 0.25rem;
    }
    
    .form-control {
        font-size: 0.9rem;
        padding: 0.5rem 0.75rem;
    }
    
    .btn-lg {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    #footer .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    #footer h5, #footer h6 {
        font-size: 1.1rem;
    }
    
    .hero-shapes {
        display: none;
    }
    
    .card:hover {
        transform: none;
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }
    
    #gallery img:hover {
        transform: none;
    }
}

/* Small Devices (Landscape Phones) */
@media (min-width: 576px) and (max-width: 767.98px) {
    #hero .display-4 {
        font-size: 2.25rem;
    }
    
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .step-number, .timeline-year, .roadmap-year {
        width: 55px;
        height: 55px;
    }
    
    .py-5 {
        padding: 2.5rem 0 !important;
    }
}

/* Medium Devices (Tablets) */
@media (min-width: 768px) and (max-width: 991.98px) {
    #hero .display-4 {
        font-size: 2.75rem;
    }
    
    .navbar-brand {
        font-size: 1.4rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .step-number, .timeline-year, .roadmap-year {
        width: 60px;
        height: 60px;
    }
}

/* Large Devices (Desktops) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .card-img-top {
        height: 220px;
    }
    
    .step-number, .timeline-year, .roadmap-year {
        width: 70px;
        height: 70px;
    }
}

/* Extra Large Devices */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    #hero .display-4 {
        font-size: 3.5rem;
    }
    
    .lead {
        font-size: 1.25rem;
    }
    
    .card-img-top {
        height: 240px;
    }
    
    .step-number, .timeline-year, .roadmap-year {
        width: 80px;
        height: 80px;
        font-size: 1.3rem;
    }
    
    .py-5 {
        padding: 4rem 0 !important;
    }
    
    .mb-5 {
        margin-bottom: 3rem !important;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    #hero {
        min-height: auto;
        padding: 1rem 0;
    }
    
    #hero .display-4 {
        font-size: 2rem;
        margin-bottom: 0.5rem;
    }
    
    #hero .lead {
        margin-bottom: 1rem;
    }
    
    .hero-shapes {
        display: none;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-shapes {
        display: none;
    }
    
    html {
        scroll-behavior: auto !important;
    }
}

/* Print Styles */
@media print {
    .navbar, .btn, .hero-shapes, #footer {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        page-break-after: avoid;
    }
    
    .card {
        border: 1pt solid #ccc;
        page-break-inside: avoid;
    }
    
    @page {
        margin: 1in;
    }
    
    .bg-primary, .bg-light, .bg-gradient {
        background: white !important;
        color: black !important;
    }
} 