/* =====================================
   BIZANCE GROUP - RESPONSIVE CSS
   Additional Mobile Optimizations
   ===================================== */

/* =====================================
   TABLET/LAPTOP STYLES (769px - 1024px)
   ===================================== */
@media (min-width: 769px) and (max-width: 1024px) {
    :root {
        --container-max-width: 900px;
    }
    
    .hero-graphic {
        width: 250px;
        height: 250px;
    }
    
    .hero-graphic i {
        font-size: var(--font-size-5xl);
    }
    
    .about-graphic {
        width: 200px;
        height: 200px;
    }
    
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-lg);
    }
    
    /* Services: 2 per row on tablet/laptop */
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
    
    /* Why Us: 2 per row on tablet/laptop */
    .why-us-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--spacing-xl);
    }
}

/* =====================================
   MOBILE STYLES (max-width: 768px)
   ===================================== */
@media (max-width: 768px) {
    /* Typography adjustments */
    :root {
        --font-size-xs: 0.7rem;
        --font-size-sm: 0.8rem;
        --font-size-base: 0.9rem;
        --font-size-lg: 1rem;
        --font-size-xl: 1.1rem;
        --font-size-2xl: 1.25rem;
        --font-size-3xl: 1.5rem;
        --font-size-4xl: 1.75rem;
        --font-size-5xl: 2.25rem;
        --font-size-6xl: 2.75rem;
    }
    
    /* Container adjustments */
    .container {
        padding: 0 1rem;
    }
    
    .nav-container {
        padding: 0.75rem 1rem;
    }
    
    /* Navigation mobile menu */
    .nav-menu {
        position: fixed;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 2rem 1rem;
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-medium);
        z-index: 999;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav-link {
        padding: 1rem 0;
        width: 100%;
        text-align: center;
        border-bottom: 1px solid var(--gray-100);
    }
    
    .nav-link:last-child {
        border-bottom: none;
    }
    
    .nav-toggle {
        display: flex;
        flex-direction: column;
        cursor: pointer;
        padding: 0.5rem;
    }
    
    /* Hero section mobile */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 6rem 1rem 4rem;
        gap: 3rem;
    }
    
    .hero-title {
        margin-bottom: 1rem;
    }
    
    .hero-description {
        font-size: 1rem;
        margin-bottom: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.5rem;
    }
    
    .hero-graphic {
        width: 200px;
        height: 200px;
        margin: 0 auto;
    }
    
    .hero-graphic i {
        font-size: 3rem;
    }
    
    /* About section mobile */
    .about {
        padding: 3rem 0;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .about-text .lead {
        font-size: 1rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .stat-item {
        padding: 1.5rem;
    }
    
    .stat-item h3 {
        font-size: 2rem;
    }
    
    .about-image {
        order: -1;
    }
    
    .about-graphic {
        width: 180px;
        height: 180px;
    }
    
    .about-graphic i {
        font-size: 3rem;
    }
    
    /* Services section mobile */
    .services {
        padding: 3rem 0;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .service-card {
        padding: 1.5rem;
        text-align: center;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        margin: 0 auto 1rem;
    }
    
    .service-icon i {
        font-size: 1.5rem;
    }
    
    .service-card ul {
        text-align: left;
    }
    
    /* Why Us section mobile */
    .why-us {
        padding: 3rem 0;
    }
    
    .why-us-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .why-us-item {
        padding: 1rem;
    }
    
    .why-us-icon {
        width: 70px;
        height: 70px;
        margin: 0 auto 1rem;
    }
    
    .why-us-icon i {
        font-size: 1.5rem;
    }
    
    /* Contact section mobile */
    .contact {
        padding: 3rem 0;
    }
    
    .contact-content {
        flex-direction: column;
        gap: 2rem;
    }
    
    .contact-info {
        text-align: center;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .form-group {
        margin-bottom: 1.5rem;
    }
    
    /* Footer mobile */
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .footer-logo {
        justify-content: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-section ul {
        text-align: center;
    }
    
    .contact-info-footer p {
        justify-content: center;
    }
}

/* =====================================
   SMALL MOBILE STYLES (max-width: 480px)
   ===================================== */
@media (max-width: 480px) {
    :root {
        --font-size-6xl: 2.25rem;
        --font-size-5xl: 2rem;
        --spacing-4xl: 1.5rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .nav-container {
        padding: 0.75rem;
    }
    
    .hero-container {
        padding: 5rem 0.75rem 3rem;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .btn {
        max-width: 100%;
    }
    
    .about-stats {
        gap: 0.75rem;
    }
    
    .stat-item {
        padding: 1rem;
    }
    
    .service-card,
    .contact-form {
        padding: 1.25rem;
    }
    
    .form-group {
        margin-bottom: 1.25rem;
    }
}

/* =====================================
   LANDSCAPE MOBILE STYLES
   ===================================== */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 4rem 0;
    }
    
    .hero-container {
        padding: 4rem 1rem;
    }
    
    .hero-graphic {
        width: 150px;
        height: 150px;
    }
    
    .hero-graphic i {
        font-size: 2.5rem;
    }
    
    .about-graphic {
        width: 150px;
        height: 150px;
    }
    
    .about-graphic i {
        font-size: 2.5rem;
    }
}

/* =====================================
   HIGH DPI DISPLAYS
   ===================================== */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .logo,
    .footer-logo-img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* =====================================
   PRINT STYLES
   ===================================== */
@media print {
    .navbar,
    .hero-scroll,
    .nav-toggle,
    .social-links,
    .form-status {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .container {
        max-width: none;
        padding: 0;
    }
    
    .hero,
    .about,
    .services,
    .why-us,
    .contact {
        padding: 2rem 0;
        page-break-inside: avoid;
    }
    
    .btn {
        background: none !important;
        color: #000 !important;
        border: 2px solid #000 !important;
        box-shadow: none !important;
    }
}