/* AR Travel Brochures - Responsive CSS */

/* Mobile First Approach */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-4 {
        font-size: 2rem;
    }
    
    h1, .h1 {
        font-size: 1.8rem;
    }
    
    h2, .h2 {
        font-size: 1.5rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Navbar */
    .navbar-brand {
        font-size: 1.3rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 0;
        margin: 0;
    }
    
    /* Hero Section */
    #hero {
        padding: 3rem 0;
        min-height: 80vh;
    }
    
    .hero-shape {
        display: none; /* Hide decorative shape on mobile */
    }
    
    /* Sections */
    section {
        padding: 2.5rem 0;
    }
    
    /* Cards */
    .card-img-top {
        height: 180px;
    }
    
    /* Process Steps */
    .process-number, .process-step {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
    }
    
    .metric-circle {
        width: 70px;
        height: 70px;
        font-size: 1rem;
    }
    
    .roadmap-item {
        width: 45px;
        height: 45px;
        font-size: 0.8rem;
    }
    
    /* Timeline */
    .timeline::before {
        left: 20px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 3rem;
        padding-right: 0;
    }
    
    .timeline-marker {
        left: 12px !important;
        right: auto !important;
    }
    
    /* Team Grid */
    .team-member {
        margin-bottom: 2rem;
    }
    
    /* Gallery */
    #gallery .col-6 {
        margin-bottom: 0.5rem;
    }
    
    /* Forms */
    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }
    
    /* Buttons */
    .btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.8rem 1.5rem;
        font-size: 1rem;
    }
    
    /* Footer */
    #footer .col-lg-4,
    #footer .col-lg-2,
    #footer .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    /* Disable animations on mobile for performance */
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    /* Remove hover effects on mobile */
    .card:hover {
        transform: none;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .card:hover .card-img-top {
        transform: none;
    }
    
    #gallery img:hover {
        transform: none;
        filter: none;
    }
    
    .btn-primary:hover {
        transform: none;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .display-4 {
        font-size: 2.2rem;
    }
    
    #hero {
        padding: 3.5rem 0;
        min-height: 85vh;
    }
    
    section {
        padding: 3rem 0;
    }
    
    .card-img-top {
        height: 190px;
    }
    
    /* Timeline adjustments */
    .timeline::before {
        left: 30px;
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: 4rem;
        padding-right: 0;
    }
    
    .timeline-marker {
        left: 22px !important;
        right: auto !important;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .display-4 {
        font-size: 2.3rem;
    }
    
    #hero {
        min-height: 90vh;
    }
    
    section {
        padding: 3.5rem 0;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    /* Enable some animations on tablets */
    .card {
        transition: transform 0.2s ease, box-shadow 0.2s ease;
    }
    
    .card:hover {
        transform: translateY(-3px);
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .display-4 {
        font-size: 2.4rem;
    }
    
    /* Full animations enabled */
    * {
        transition-duration: 0.3s;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    section {
        padding: 4.5rem 0;
    }
    
    /* Enhanced hover effects for large screens */
    .card:hover {
        transform: translateY(-8px);
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    }
}

/* Ultra Wide Screens (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    section {
        padding: 5rem 0;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Sharper borders and shadows for high DPI */
    .card {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
    }
    
    .shadow-lg {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    }
}

/* Landscape Mobile Orientation */
@media (max-width: 767.98px) and (orientation: landscape) {
    #hero {
        min-height: 70vh;
        padding: 2rem 0;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
}

/* Print Styles */
@media print {
    /* Hide navigation and interactive elements */
    .navbar,
    .btn,
    #footer,
    .breadcrumb {
        display: none !important;
    }
    
    /* Optimize for print */
    body {
        font-size: 12pt;
        line-height: 1.4;
        color: black;
    overflow-x: hidden;
}
    
    .container {
        width: 100% !important;
        max-width: none !important;
    }
    
    /* Remove backgrounds and shadows */
    * {
        background: white !important;
        box-shadow: none !important;
        text-shadow: none !important;
    }
    
    /* Ensure text is readable */
    h1, h2, h3, h4, h5, h6 {
        color: black !important;
        page-break-after: avoid;
    }
    
    p, li {
        color: black !important;
    }
    
    /* Page breaks */
    section {
        page-break-inside: avoid;
        padding: 1rem 0;
    }
}

/* Accessibility - High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #0066CC;
        --primary-dark: #004499;
        --text-primary: #000000;
        --text-secondary: #333333;
    }
    
    .card {
        border: 2px solid #000000;
    }
    
    .btn-primary {
        background-color: #000000;
        border-color: #000000;
        color: #FFFFFF;
    }
    
    .btn-primary:hover {
        background-color: #333333;
        border-color: #333333;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero-shape {
        animation: none !important;
    }
}

/* Dark Mode Support */