
/*------------------------------------------------------------------------------------------------------------*/
/* RESPONSIVE DESIGN FOR PROFESSIONAL CLOUD CONSULTING WEBSITE */
/*------------------------------------------------------------------------------------------------------------*/

/* Large screens and above (1400px+) */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    h1 {
        font-size: 4rem;
    }
    
    .cloud-icon {
        font-size: 18rem;
    }
}

/* Large tablets and desktops (992px - 1199px) */
@media (max-width: 1199px) {
    h1 {
        font-size: 3rem;
    }
    
    .hero-container,
    .about-content,
    .contact-content {
        gap: 3rem;
    }
    
    .cloud-icon {
        font-size: 12rem;
    }
}

/* Medium tablets (768px - 991px) */
@media (max-width: 991px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: var(--dracula-current-line);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.3);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-menu li {
        margin: 1rem 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .hero-container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .cloud-icon {
        font-size: 8rem;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
}

/* Small tablets and large phones (576px - 767px) */
@media (max-width: 767px) {
    .container {
        padding: 0 15px;
    }
    
    :root {
        --section-padding: 60px 0;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    h2 {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .tech-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .contact-content {
        gap: 2rem;
    }
    
    .cloud-icon {
        font-size: 6rem;
    }
}

/* Small phones (up to 575px) */
@media (max-width: 575px) {
    .nav-logo-text {
        font-size: 1.25rem;
    }
    
    .nav-logo-img {
        height: 35px;
    }
    
    h1 {
        font-size: 1.75rem;
    }
    
    h2 {
        font-size: 1.5rem;
    }
    
    .service-card,
    .tech-item {
        margin: 0 10px;
    }
    
    .services-grid {
        padding: 0 10px;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .expertise-item {
        padding: 0.75rem;
    }
    
    .contact-method {
        padding: 0.75rem;
    }
    
    .cloud-icon {
        font-size: 4rem;
    }
    
    .hero {
        padding-top: 80px;
    }
}

/* Landscape orientation adjustments */
@media (max-height: 600px) and (orientation: landscape) {
    .hero {
        min-height: auto;
        padding: 2rem 0;
    }
    
    .cloud-icon {
        font-size: 4rem;
    }
    
    .nav-menu {
        top: 60px;
    }
}

/* Dark mode and accessibility */
@media (prefers-reduced-motion: reduce) {
    .animated,
    .cloud-icon {
        animation: none;
    }
    
    * {
        transition: none !important;
    }
}

@media (prefers-contrast: high) {
    :root {
        --dracula-comment: #a0a0a0;
        --dracula-selection: #606060;
    }
}

/* Print styles */
@media print {
    .navbar,
    .hamburger,
    .hero-visual,
    .cloud-icon {
        display: none;
    }
    
    .hero {
        min-height: auto;
        background: white;
    }
    
    * {
        color: black !important;
        background: white !important;
    }
}
}