/* Mobile First Responsive Design */

/* Extra Small Devices (phones, less than 576px) */
@media (max-width: 575.98px) {
    /* Typography */
    .display-5 {
        font-size: 2rem;
    }
    
    .display-6 {
        font-size: 1.5rem;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    h3 {
        font-size: 1.25rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    /* Navbar */
    .navbar-brand {
    font-size: 12px !important;
        font-size: 1.25rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: 80vh !important;
    }
    
    .hero .display-5 {
        font-size: 1.75rem;
    }
    
    .hero .h4 {
        font-size: 1.1rem;
    }
    
    .hero .lead {
        font-size: 0.95rem;
    }
    
    /* Sections */
    section {
        padding: 3rem 0;
    }
    
    /* Cards */
    .card-img-top {
        height: 150px;
    }
    
    /* Buttons */
    .btn {
        padding: 0.5rem 1.5rem;
        font-size: 0.9rem;
    }
    
    .btn-lg {
        padding: 0.75rem 2rem;
        font-size: 1rem;
    }
    
    /* Team */
    #team img {
        width: 120px !important;
        height: 120px !important;
    }
    
    /* Process Steps */
    .process .rounded-circle {
        width: 50px !important;
        height: 50px !important;
    }
    
    .process .h4 {
        font-size: 1.25rem;
    }
    
    /* Footer */
    footer .row > div {
        text-align: center;
    }
    
    /* Forms */
    .form-control, .form-select {
        font-size: 0.9rem;
    }
}

/* Small Devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    /* Typography */
    .display-5 {
        font-size: 2.25rem;
    }
    
    .display-6 {
        font-size: 1.75rem;
    }
    
    /* Hero Section */
    .hero {
        min-height: 90vh !important;
    }
    
    /* Cards */
    .card-img-top {
        height: 180px;
    }
    
    /* Team */
    #team img {
        width: 130px !important;
        height: 130px !important;
    }
}

/* Medium Devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    /* Typography */
    .display-5 {
        font-size: 2.5rem;
    }
    
    .display-6 {
        font-size: 2rem;
    }
    
    /* Navbar */
    .navbar-nav .nav-link {
    font-size: 10px !important;
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
    
    /* Hero Section */
    .hero .display-5 {
        font-size: 2.25rem;
    }
    
    /* Cards */
    .card-img-top {
        height: 200px;
    }
}

/* Large Devices (desktops, 992px and up) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    /* Container adjustments */
    .container {
        max-width: 960px;
    }
}

/* Extra Large Devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    /* Container adjustments */
    .container {
        max-width: 1140px;
    }
}

/* Special handling for mobile devices */
@media (max-width: 767.98px) {
    /* Disable Swiper autoplay and effects on mobile */
    .swiper {
        --swiper-navigation-size: 30px;
    }
    
    .swiper-button-next,
    .swiper-button-prev {
        display: none;
    }
    
    /* Gallery responsive grid */
    #gallery .col-6 {
        padding: 0.25rem !important;
    }
    
    /* FAQ */
    .accordion-button {
        font-size: 0.95rem;
        padding: 0.75rem;
    }
    
    /* Contact Form */
    #contacts .col-lg-8 {
        padding: 0 1rem;
    }
    
    /* Timeline */
    .timeline-marker {
        width: 15px !important;
        height: 15px !important;
    }
    
    /* Price Plans */
    .priceplan .display-5 {
        font-size: 1.75rem;
    }
    
    /* Features Icons */
    .fa-2x {
        font-size: 1.5em;
    }
    
    .fa-3x {
        font-size: 2em;
    }
}

/* Landscape orientation adjustments */
@media (max-width: 767.98px) and (orientation: landscape) {
    .hero {
        min-height: 100vh !important;
    }
    
    .hero .row {
        min-height: 70vh;
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    /* Sharper borders and shadows */
    .card {
        box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
    }
    
    .card:hover {
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
    }
}

/* Print styles */
@media print {
    /* Remove unnecessary elements */
    .navbar,
    #gallery,
    .swiper-pagination,
    .btn,
    footer {
        display: none !important;
    }
    
    /* Adjust spacing */
    section {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
    
    /* Ensure text is black */
    body {
        color: #000 !important;
    }
    
    /* Remove backgrounds */
    .bg-light,
    .bg-primary,
    .hero {
        background: none !important;
    }
}

/* Accessibility - Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero img {
        animation: none !important;
    }
    
    .swiper-wrapper {
        transition-duration: 0ms !important;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    :root {
        --text-dark: #F1FAEE;
        --text-light: #B2B2B2;
        --gray-light: #2A2A2A;
        --gray-medium: #3A3A3A;
    }
    
    body {
        background-color: #1A1A1A;
        color: var(--text-dark);
    }
    
    .bg-light {
        background-color: var(--gray-light) !important;
    }
    
    .card {
        background-color: var(--gray-medium);
        color: var(--text-dark);
    }
    
    .navbar {
        background-color: var(--gray-medium) !important;
    }
    
    .form-control,
    .form-select {
        background-color: var(--gray-medium);
        border-color: var(--gray-light);
        color: var(--text-dark);
    }
} 