/* ============================================
   RESPONSIVE STYLES - MOBILE FIRST APPROACH
   ============================================ */

/* Tablet: 768px and below */
@media screen and (max-width: 768px) {
    :root {
        --container-width: 100%;
        --header-height: 70px;
    }
    
    html {
        font-size: 15px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    .slide-subtitle {
        font-size: 1.25rem;
    }
    
    .nav-menu {
        position: fixed;
        top: var(--header-height);
        left: -100%;
        width: 100%;
        height: calc(100vh - var(--header-height));
        background-color: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-link {
        padding: 1rem 0;
        font-size: 1.125rem;
    }
    
    .nav-actions {
        flex-direction: row;
        gap: 0.75rem;
        align-items: center;
    }
    
    .phone-link {
        display: none;
    }
    
    .nav-actions .btn {
        padding: 8px 16px;
        font-size: 14px;
        white-space: nowrap;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        min-height: 500px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
    
    .services-grid,
    .packages-grid,
    .features-grid,
    .blog-grid,
    .testimonials-slider,
    .instagram-grid {
        grid-template-columns: 1fr;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
    }
    
    .stats-row {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .slider-controls {
        padding: 0 1rem;
    }
    
    .slider-arrow {
        width: 40px;
        height: 40px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
    }
}

/* Mobile: 480px and below */
@media screen and (max-width: 480px) {
    html {
        font-size: 14px;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .slide-title {
        font-size: 1.5rem;
    }
    
    .slide-subtitle {
        font-size: 1rem;
    }
    
    .btn-large {
        padding: 14px 30px;
        font-size: 16px;
    }
    
    .appointment-form,
    .contact-form {
        padding: 1.5rem;
    }
    
    .service-card,
    .package-card,
    .feature-item {
        padding: 1.5rem;
    }
    
    .stats-row {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .package-price {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 2rem 1.5rem;
    }
}

/* Large Desktop: 1200px and above */
@media screen and (min-width: 1200px) {
    :root {
        --container-width: 1400px;
    }
    
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .packages-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .blog-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .testimonials-slider {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Landscape Orientation */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        height: auto;
        padding: 2rem 0;
    }
    
    .nav-menu {
        overflow-y: auto;
    }
}

/* Print Styles */
@media print {
    .header,
    .hamburger,
    .slider-controls,
    .slider-dots,
    .whatsapp-float,
    .footer-bottom {
        display: none;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .section-title,
    .slide-title {
        color: #000;
    }
}

/* High Contrast Mode Support */
@media (prefers-contrast: high) {
    .btn-primary {
        border: 2px solid currentColor;
    }
    
    .service-card,
    .package-card {
        border: 2px solid var(--dark-text);
    }
}

/* Reduced Motion Support */
@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;
    }
    
    .slide {
        transition: none;
    }
}
