/* ========================================
   SkyDrone Shows - Responsive CSS
   Mobile & Tablet Optimizations
   ======================================== */

/* Extra Large Devices (Large Desktops) */
@media (min-width: 1200px) {
    .container {
        max-width: 1140px;
    }
    
    .hero-section {
        min-height: 100vh;
    }
    
    .display-4 {
        font-size: 3rem !important;
    }
    
    .display-5 {
        font-size: 2.5rem !important;
    }
    
    .card-img-top {
        height: 250px;
    }
    
    .team img {
        width: 150px;
        height: 150px;
    }
}

/* Large Devices (Desktops) */
@media (max-width: 1199.98px) {
    .container {
        max-width: 960px;
    }
    
    .hero-section {
        min-height: 90vh;
    }
    
    .display-4 {
        font-size: 2.5rem !important;
    }
    
    .display-5 {
        font-size: 2rem !important;
    }
    
    .card-img-top {
        height: 220px;
    }
    
    .team img {
        width: 130px;
        height: 130px;
    }
}

/* Medium Devices (Tablets) */
@media (max-width: 991.98px) {
    .container {
        max-width: 720px;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 2rem 0;
    }
    
    .hero-section .row {
        flex-direction: column-reverse;
    }
    
    .hero-section .col-lg-6:first-child {
        text-align: center;
        margin-top: 2rem;
    }
    
    .display-4 {
        font-size: 2.25rem !important;
    }
    
    .display-5 {
        font-size: 1.75rem !important;
    }
    
    .navbar-brand {
        font-size: 1.125rem !important;
    }
    
    .navbar-nav {
        text-align: center;
        margin-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem !important;
    }
    
    .card-img-top {
        height: 200px;
    }
    
    .team .col-lg-2 {
        flex: 0 0 50%;
        max-width: 50%;
        margin-bottom: 2rem;
    }
    
    .team img {
        width: 120px;
        height: 120px;
    }
    
    .priceplan .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .services .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .about .col-lg-3 {
        margin-bottom: 2rem;
    }
    
    .features .col-md-6 {
        margin-bottom: 2rem;
    }
    
    .casestudy .col-lg-4 {
        margin-bottom: 2rem;
    }
    
    .reviews .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    .gallery .col-md-4 {
        margin-bottom: 1.5rem;
    }
    
    .contact .col-lg-8 {
        margin-bottom: 2rem;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .footer .col-lg-4:last-child {
        margin-bottom: 0;
    }
}

/* Small Devices (Landscape Phones) */
@media (max-width: 767.98px) {
    .container {
        max-width: 540px;
    }
    
    .hero-section {
        min-height: 70vh;
        padding: 1.5rem 0;
    }
    
    .hero-section .container {
        padding: 0 1rem;
    }
    
    .display-4 {
        font-size: 2rem !important;
        line-height: 1.2;
    }
    
    .display-5 {
        font-size: 1.5rem !important;
        line-height: 1.3;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .navbar-brand {
        font-size: 1rem !important;
    }
    
    .navbar-toggler {
        padding: 0.25rem 0.5rem;
        font-size: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.95rem;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .card {
        margin-bottom: 1.5rem;
    }
    
    .card-img-top {
        height: 180px;
    }
    
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1.125rem;
    }
    
    .card-text {
        font-size: 0.9rem;
    }
    
    .team .col-lg-2 {
        flex: 0 0 100%;
        max-width: 100%;
        margin-bottom: 1.5rem;
    }
    
    .team img {
        width: 100px;
        height: 100px;
    }
    
    .priceplan .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    .services .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    .about .col-lg-3 {
        margin-bottom: 1.5rem;
    }
    
    .features .col-md-6 {
        margin-bottom: 1.5rem;
    }
    
    .casestudy .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    .reviews .col-lg-4 {
        margin-bottom: 1.5rem;
    }
    
    .gallery .col-md-4 {
        margin-bottom: 1rem;
    }
    
    .contact .col-lg-8 {
        margin-bottom: 1.5rem;
    }
    
    .form-control {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-label {
        font-size: 0.9rem;
    }
    
    .accordion-button {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .accordion-body {
        padding: 1rem;
        font-size: 0.9rem;
    }
    
    .footer {
        padding: 2rem 0;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 1.5rem;
        text-align: center;
    }
    
    .footer .col-lg-4:last-child {
        margin-bottom: 0;
    }
    
    .footer h5 {
        font-size: 1.125rem;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
    
    .footer a {
        font-size: 0.9rem;
    }
    
    section {
        padding: 2rem 0;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .mt-5 {
        margin-top: 2rem !important;
    }
}

/* Extra Small Devices (Portrait Phones) */
@media (max-width: 575.98px) {
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .hero-section {
        min-height: 60vh;
        padding: 1rem 0;
    }
    
    .hero-section .container {
        padding: 0 0.75rem;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
        line-height: 1.2;
    }
    
    .display-5 {
        font-size: 1.25rem !important;
        line-height: 1.3;
    }
    
    .lead {
        font-size: 0.95rem;
    }
    
    .navbar-brand {
        font-size: 0.95rem !important;
    }
    
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-nav .nav-link {
        padding: 0.5rem 0.5rem !important;
        font-size: 0.9rem;
    }
    
    .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .btn-lg {
        padding: 0.675rem 1.25rem;
        font-size: 0.9rem;
    }
    
    .card {
        margin-bottom: 1rem;
    }
    
    .card-img-top {
        height: 150px;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .card-title {
        font-size: 1rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    .team img {
        width: 80px;
        height: 80px;
    }
    
    .fa-3x {
        font-size: 2rem !important;
    }
    
    .fa-2x {
        font-size: 1.5rem !important;
    }
    
    .fa-5x {
        font-size: 3rem !important;
    }
    
    .form-control {
        padding: 0.5rem 0.5rem;
        font-size: 0.85rem;
    }
    
    .form-label {
        font-size: 0.85rem;
    }
    
    .accordion-button {
        padding: 0.5rem 0.75rem;
        font-size: 0.85rem;
    }
    
    .accordion-body {
        padding: 0.75rem;
        font-size: 0.85rem;
    }
    
    .footer {
        padding: 1.5rem 0;
    }
    
    .footer .col-lg-4 {
        margin-bottom: 1rem;
        text-align: center;
    }
    
    .footer .col-lg-4:last-child {
        margin-bottom: 0;
    }
    
    .footer h5 {
        font-size: 1rem;
    }
    
    .footer p {
        font-size: 0.85rem;
    }
    
    .footer a {
        font-size: 0.85rem;
    }
    
    section {
        padding: 1.5rem 0;
    }
    
    .py-5 {
        padding-top: 1.5rem !important;
        padding-bottom: 1.5rem !important;
    }
    
    .mb-5 {
        margin-bottom: 1.5rem !important;
    }
    
    .mt-5 {
        margin-top: 1.5rem !important;
    }
    
    .g-4 > * {
        padding: 0.5rem;
    }
    
    .g-4 {
        margin: -0.5rem;
    }
    
    .row {
        margin-left: -0.5rem;
        margin-right: -0.5rem;
    }
    
    .col-md-6,
    .col-lg-3,
    .col-lg-4,
    .col-lg-6,
    .col-lg-8,
    .col-lg-12 {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
}

/* Ultra Small Devices (Very Small Phones) */
@media (max-width: 375px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .hero-section .container {
        padding: 0 0.5rem;
    }
    
    .display-4 {
        font-size: 1.5rem !important;
    }
    
    .display-5 {
        font-size: 1.125rem !important;
    }
    
    .navbar-brand {
        font-size: 0.875rem !important;
    }
    
    .navbar-nav .nav-link {
        font-size: 0.825rem;
    }
    
    .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.85rem;
    }
    
    .card-img-top {
        height: 120px;
    }
    
    .card-body {
        padding: 0.5rem;
    }
    
    .card-title {
        font-size: 0.9rem;
    }
    
    .card-text {
        font-size: 0.8rem;
    }
    
    .team img {
        width: 70px;
        height: 70px;
    }
    
    .fa-3x {
        font-size: 1.75rem !important;
    }
    
    .fa-2x {
        font-size: 1.25rem !important;
    }
    
    .fa-5x {
        font-size: 2.5rem !important;
    }
    
    .form-control {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .form-label {
        font-size: 0.8rem;
    }
    
    .accordion-button {
        padding: 0.5rem 0.5rem;
        font-size: 0.8rem;
    }
    
    .accordion-body {
        padding: 0.5rem;
        font-size: 0.8rem;
    }
    
    .footer h5 {
        font-size: 0.9rem;
    }
    
    .footer p {
        font-size: 0.8rem;
    }
    
    .footer a {
        font-size: 0.8rem;
    }
}

/* Landscape Orientation */
@media (orientation: landscape) and (max-height: 500px) {
    .hero-section {
        min-height: 100vh;
        padding: 1rem 0;
    }
    
    .hero-section .col-lg-6:first-child {
        margin-top: 0;
    }
    
    .display-4 {
        font-size: 1.75rem !important;
    }
    
    .display-5 {
        font-size: 1.25rem !important;
    }
    
    .lead {
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .footer,
    .btn,
    .accordion-button,
    .hero-overlay {
        display: none !important;
    }
    
    .hero-section {
        background: white !important;
        color: black !important;
        min-height: auto !important;
        padding: 1rem 0 !important;
    }
    
    .card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
    
    .text-light {
        color: black !important;
    }
    
    .bg-light,
    .bg-dark {
        background: white !important;
    }
    
    section {
        padding: 1rem 0 !important;
        page-break-inside: avoid;
    }
    
    .card,
    .accordion-item {
        page-break-inside: avoid;
    }
    
    h1, h2, h3, h4, h5, h6 {
        page-break-after: avoid;
    }
    
    .display-4,
    .display-5 {
        font-size: 1.5rem !important;
        color: black !important;
    }
    
    .lead {
        font-size: 1rem !important;
        color: black !important;
    }
    
    .card-img-top {
        height: auto !important;
    }
    
    .fa-3x,
    .fa-2x,
    .fa-5x {
        display: none !important;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .card-img-top,
    .team img,
    .gallery img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    .hero-overlay {
        animation: none !important;
    }
    
    .card:hover,
    .btn:hover,
    .rounded-circle:hover {
        transform: none !important;
    }
    
    .card-img-top,
    .navbar-nav .nav-link::after {
        transition: none !important;
    }
    
    .fade-in-up {
        animation: none !important;
    }
    
    [data-aos] {
        opacity: 1 !important;
        transform: none !important;
    }
}

/* Focus Styles for Accessibility */
@media (any-hover: none) {
    .card:hover,
    .btn:hover,
    .rounded-circle:hover {
        transform: none;
        box-shadow: initial;
    }
    
    .navbar-nav .nav-link:hover::after {
        width: 0;
    }
}

/* Dark Mode Support */
