/* =============================================
   ASENIE TECHNOLOGIES - RESPONSIVE STYLES
   =============================================
   
   BREAKPOINTS:
   - Large Desktop: > 1200px
   - Desktop: 1024px - 1200px
   - Tablet: 768px - 1023px
   - Mobile Large: 480px - 767px
   - Mobile Small: < 480px
   
   ============================================= */

/* =============================================
   LARGE DESKTOP (> 1200px)
   ============================================= */
@media (min-width: 1201px) {
    .container {
        max-width: 1200px;
    }
}

/* =============================================
   DESKTOP (1024px - 1200px)
   ============================================= */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-content {
        gap: var(--space-2xl);
    }
    
    .services-grid {
        gap: var(--space-lg);
    }
    
    .why-us-grid {
        gap: var(--space-lg);
    }
}

/* =============================================
   TABLET (768px - 1023px)
   ============================================= */
@media (max-width: 1024px) {
    /* Navigation */
    .nav-links {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--dark-blue);
        flex-direction: column;
        padding: var(--space-xl);
        gap: var(--space-lg);
        transform: translateY(-150%);
        transition: var(--transition);
        box-shadow: var(--shadow-lg);
        z-index: var(--z-dropdown);
    }
    
    .nav-links.active {
        transform: translateY(0);
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    /* Hero */
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-description {
        margin: 0 auto var(--space-2xl);
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-visual {
        display: none;
    }
    
    /* About */
    .about-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    .about-img-overlay {
        right: 20px;
        bottom: -20px;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Why Us */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact */
    .contact-content {
        grid-template-columns: 1fr;
        gap: var(--space-2xl);
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-2xl);
    }
}

/* =============================================
   MOBILE LARGE (480px - 767px)
   ============================================= */
@media (max-width: 768px) {
    /* Typography */
    h1 {
        font-size: var(--text-4xl);
    }
    
    h2 {
        font-size: var(--text-3xl);
    }
    
    h3 {
        font-size: var(--text-2xl);
    }
    
    /* Sections Padding */
    .hero {
        padding: var(--space-4xl) 0 var(--space-3xl);
    }
    
    .about,
    .services,
    .why-us,
    .portfolio,
    .testimonials,
    .contact {
        padding: var(--space-4xl) 0;
    }
    
    /* Services */
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .service-card {
        padding: var(--space-xl);
    }
    
    /* Why Us */
    .why-us-grid {
        grid-template-columns: 1fr;
    }
    
    .why-card {
        padding: var(--space-xl);
    }
    
    /* Portfolio */
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-image {
        height: 250px;
    }
    
    /* Vision Mission */
    .vision-mission {
        grid-template-columns: 1fr;
    }
    
    /* Form */
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: var(--space-xl);
    }
    
    /* Hero Stats */
    .hero-stats {
        flex-wrap: wrap;
        gap: var(--space-xl);
    }
    
    .stat-item {
        flex: 1 1 calc(50% - var(--space-lg));
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: var(--space-xl);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
    
    /* Testimonials */
    .testimonial-card {
        padding: var(--space-xl);
    }
    
    .testimonial-text {
        font-size: var(--text-base);
    }
    
    .testimonial-quote {
        font-size: 60px;
        top: var(--space-sm);
        left: var(--space-md);
    }
}

/* =============================================
   MOBILE SMALL (< 480px)
   ============================================= */
@media (max-width: 480px) {
    /* Container */
    .container {
        padding: 0 var(--space-md);
    }
    
    /* Typography */
    h1 {
        font-size: var(--text-3xl);
    }
    
    h2 {
        font-size: var(--text-2xl);
    }
    
    /* Buttons */
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    /* Portfolio Filters */
    .portfolio-filters {
        gap: var(--space-xs);
    }
    
    .filter-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: var(--text-xs);
    }
    
    /* Stats */
    .stat-number {
        font-size: var(--text-3xl);
    }
    
    .stat-item {
        flex: 1 1 100%;
    }
    
    /* About Overlay */
    .about-img-overlay {
        position: relative;
        right: 0;
        bottom: 0;
        margin-top: var(--space-lg);
        width: 100%;
    }
    
    /* Section Header */
    .section-header {
        margin-bottom: var(--space-2xl);
    }
    
    .section-subtitle {
        font-size: var(--text-base);
    }
    
    /* Contact Items */
    .contact-item {
        flex-direction: column;
        text-align: center;
    }
    
    .contact-item-icon {
        margin: 0 auto;
    }
    
    /* Scroll Top */
    .scroll-top {
        width: 44px;
        height: 44px;
        bottom: 20px;
        right: 20px;
    }
    
    /* Logo */
    .logo-text {
        font-size: var(--text-lg);
    }
    
    .logo-icon {
        width: 40px;
        height: 40px;
        font-size: var(--text-lg);
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */
@media print {
    .navbar,
    .scroll-top,
    .preloader,
    .hero-background,
    .cta,
    .footer-social {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.5;
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
    
    .container {
        max-width: 100%;
        padding: 0;
    }
    
    section {
        page-break-inside: avoid;
        padding: 20pt 0;
    }
    
    h1, h2, h3 {
        page-break-after: avoid;
    }
    
    img {
        max-width: 100% !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;
    }
    
    .reveal {
        opacity: 1;
        transform: none;
    }
    
    .particle,
    .hero-glow,
    .hero-glow-2,
    .floating-card,
    .typing-cursor {
        animation: none;
    }
}

/* =============================================
   DARK MODE SUPPORT (Optional)
   ============================================= */
@media (prefers-color-scheme: dark) {
    /* Add dark mode styles here if needed */
}
