/* ===================================
   AKED - Responsive Styles
   =================================== */

/* Extra Large Devices (1400px and up) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-title {
        font-size: 4rem;
    }
}

/* Large Devices (992px to 1199px) */
@media (max-width: 1199px) {
    .section-title {
        font-size: 2.25rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .service-card {
        padding: var(--spacing-lg);
    }
}

/* Medium Devices (768px to 991px) */
@media (max-width: 991px) {
    /* Typography */
    h1 { font-size: 2.25rem; }
    h2 { font-size: 1.875rem; }
    h3 { font-size: 1.5rem; }
    h4 { font-size: 1.25rem; }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.125rem;
    }
    
    /* Spacing */
    section {
        padding: var(--spacing-xl) 0;
    }
    
    .section-header {
        margin-bottom: var(--spacing-lg);
    }
    
    /* Service Cards */
    .service-card {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.75rem;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    /* Features */
    .feature-item {
        margin-bottom: var(--spacing-md);
    }
    
    /* Hero Stats */
    .hero-stats {
        flex-direction: column;
        gap: var(--spacing-sm);
    }
    
    .stat-item {
        width: 100%;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 2rem;
    }
    
    .cta-content p {
        font-size: 1.125rem;
    }
}

/* Small Devices (576px to 767px) */
@media (max-width: 767px) {
    /* Typography */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.375rem; }
    h4 { font-size: 1.125rem; }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        line-height: 1.6;
    }
    
    /* Spacing */
    section {
        padding: var(--spacing-lg) 0;
    }
    
    :root {
        --spacing-xxl: 3rem;
        --spacing-xl: 2rem;
    }
    
    /* Hero Section */
    .hero-section {
        padding: 100px 0 60px 0;
    }
    
    /* Buttons */
    .btn-lg {
        padding: 12px 24px;
        font-size: 1rem;
        min-height: 48px;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: var(--spacing-sm);
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    
    /* Service Cards */
    .service-card {
        padding: var(--spacing-md);
    }
    
    .service-icon {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.25rem;
    }
    
    /* Feature Cards */
    .feature-card {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    .feature-icon {
        width: 45px;
        height: 45px;
        font-size: 1.25rem;
    }
    
    /* Card Custom */
    .card-custom {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    /* Stats Box */
    .stat-box {
        padding: var(--spacing-md);
    }
    
    .stat-box i {
        font-size: 2rem;
    }
    
    .stat-box h3 {
        font-size: 1.125rem;
    }
    
    /* Hero Stats */
    .hero-stats {
        gap: var(--spacing-sm);
    }
    
    .stat-item {
        padding: var(--spacing-sm);
        font-size: 0.875rem;
    }
    
    .stat-item i {
        font-size: 1.5rem;
    }
    
    /* CTA Section */
    .cta-content h2 {
        font-size: 1.75rem;
    }
    
    .cta-content p {
        font-size: 1rem;
    }
    
    .cta-section {
        padding: var(--spacing-lg) 0;
    }
    
    /* Footer */
    .footer-brand h3 {
        font-size: 1.5rem;
    }
    
    .footer h4 {
        font-size: 1.125rem;
        margin-top: var(--spacing-md);
    }
    
    /* Forms */
    .form-control,
    .form-select {
        font-size: 16px;
    }
}

/* Extra Small Devices (up to 575px) */
@media (max-width: 575px) {
    /* Typography */
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
        line-height: 1.5;
    }
    
    /* Container Padding */
    .container {
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Hero Section */
    .hero-section {
        min-height: auto;
        padding: 80px 0 40px 0;
    }
    
    /* Section Badge */
    .section-badge {
        font-size: 0.75rem;
        padding: var(--spacing-xs) var(--spacing-sm);
    }
    
    /* Service Cards */
    .service-card {
        padding: var(--spacing-md);
    }
    
    /* Card Custom */
    .card-custom {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }
    
    /* Buttons */
    .btn {
        padding: 12px 24px;
        font-size: 0.9375rem;
        min-height: 44px;
    }
    
    .btn-lg {
        padding: 14px 28px;
        min-height: 48px;
    }
    
    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    /* Feature Item */
    .feature-item {
        flex-direction: column;
        text-align: center;
    }
    
    .feature-icon {
        margin-bottom: var(--spacing-sm);
    }
    
    /* Pricing Cards */
    .pricing-card {
        padding: var(--spacing-md);
    }
    
    .pricing-price {
        font-size: 2.5rem;
    }
    
    /* Team Cards */
    .team-card-image {
        height: 250px;
    }
    
    /* Blog Cards */
    .blog-card-image {
        height: 200px;
    }
    
    /* Social Links */
    .social-links a {
        width: 44px;
        height: 44px;
        font-size: 1.125rem;
        margin: 0 0.25rem;
    }
    
    /* Forms */
    .form-control,
    .form-select {
        font-size: 16px;
        padding: 12px 16px;
        min-height: 48px;
    }
    
    textarea.form-control {
        min-height: 120px;
    }
    
    .form-label {
        font-size: 0.95rem;
        margin-bottom: 0.5rem;
    }
    
    /* Footer */
    .footer {
        padding: var(--spacing-xl) 0 var(--spacing-lg);
    }
    
    .footer-brand {
        text-align: center;
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-links,
    .footer-contact {
        font-size: 0.9rem;
    }
    
    .footer-links li,
    .footer-contact li {
        padding: 0.4rem 0;
    }
}

/* Landscape Orientation */
@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        min-height: auto;
        padding: var(--spacing-xl) 0;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: var(--spacing-sm);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }
    
    .hero-buttons {
        margin-bottom: var(--spacing-md);
    }
    
    .hero-stats {
        display: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hero-section,
    .cta-section,
    .footer,
    .scroll-to-top {
        display: none;
    }
    
    body {
        font-size: 12pt;
        color: #000;
        background: #fff;
    }
    
    section {
        page-break-inside: avoid;
    }
    
    a {
        text-decoration: underline;
        color: #000;
    }
}

/* Tablet Specific Styles */
@media (min-width: 768px) and (max-width: 991px) {
    .service-card {
        min-height: 350px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile First - Utility Classes */
@media (max-width: 767px) {
    .mobile-center {
        text-align: center;
    }
    
    .mobile-full-width {
        width: 100%;
    }
    
    .mobile-hide {
        display: none !important;
    }
    
    .mobile-show {
        display: block !important;
    }
}

/* Desktop Only */
@media (min-width: 992px) {
    .desktop-hide {
        display: none !important;
    }
}

/* Touch Device Optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Remove hover effects on touch devices */
    .service-card:hover,
    .feature-card:hover,
    .stat-box:hover,
    .card-custom:hover,
    .client-logo:hover {
        transform: none;
    }
    
    /* Larger touch targets */
    .nav-link,
    .btn,
    .social-links a {
        min-height: 48px;
        min-width: 48px;
    }
    
    /* Better tap highlight */
    * {
        -webkit-tap-highlight-color: rgba(0, 100, 102, 0.2);
    }
    
    /* Make dropdowns easier to tap */
    .dropdown-toggle {
        padding: 1rem !important;
    }
    
    .dropdown-item {
        padding: 1rem 1.25rem;
        font-size: 1rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Sharper borders and shadows */
    .service-card,
    .feature-card,
    .card-custom {
        border-width: 0.5px;
    }
}

/* 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;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    /* This is optional - uncomment if you want automatic dark mode */
    /*
    :root {
        --bg-white: #1a1a1a;
        --bg-light: #2a2a2a;
        --text-primary: #e0e0e0;
        --text-secondary: #a0a0a0;
    }
    */
}

/* Logo Responsive Sizes */
@media (max-width: 991px) {
    .navbar-logo {
        height: 40px;
        max-width: 150px;
    }
}

@media (max-width: 575px) {
    .navbar-logo {
        height: 35px;
        max-width: 130px;
    }
    
    .footer-logo {
        height: 60px;
        max-width: 250px;
    }
}

