/* Responsive Design */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-title {
        font-size: 56px;
    }
    
    .section-title {
        font-size: 42px;
    }
}

/* Desktop */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
    
    .hero-title {
        font-size: 44px;
    }
    
    .about-content {
        gap: 40px;
    }
    
    .contact-content {
        gap: 40px;
    }
}

/* Tablet */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .top-header-left {
        gap: 20px;
    }
    
    .nav-menu {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 40px;
    }
    
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-left {
        order: 2;
    }
    
    .about-right {
        order: 1;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .footer-links {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Mobile Large */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
    
    .top-header {
        display: none;
    }
    
    .main-nav .container {
        padding: 10px 15px;
    }
    
    .main-nav::after {
        display: none;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #1a2a3a;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    }
    
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: #2a3a4a;
        box-shadow: none;
        margin-top: 0;
        padding: 0;
        border-radius: 0;
    }
    
    .dropdown-menu::before {
        display: none;
    }
    
    .dropdown-link {
        color: #ccc;
        padding: 10px 0 10px 20px;
        border-left: none;
        border-bottom: 1px solid #333;
    }
    
    .dropdown-link:hover {
        background: #333;
        color: #ff6b35;
        padding-left: 25px;
        border-left: none;
        border-bottom-color: #ff6b35;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .nav-link {
        padding: 10px 0;
        border-bottom: 1px solid #333;
    }
    
    .mobile-menu-btn {
        display: flex;
    }
    
    .logo-main {
        font-size: 24px;
    }
    
    .logo-sub {
        font-size: 10px;
    }
    
    .cta-button {
        padding: 10px 15px;
        font-size: 14px;
    }
    
    .hero {
        height: 70vh;
        min-height: 500px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-slogan {
        font-size: 16px;
    }
    
    .hero-cta {
        padding: 12px 25px;
        font-size: 14px;
    }
    
    .hero-right {
        display: none;
    }
    
    .floating-chat {
        width: 50px;
        height: 50px;
        bottom: 20px;
        left: 20px;
        font-size: 20px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .about-subtitle {
        font-size: 20px;
    }
    
    .experience-badge {
        flex-direction: column;
        text-align: center;
        padding: 20px;
    }
    
    .experience-number {
        font-size: 60px;
    }
    
    .products-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .product-card {
        padding: 30px 20px;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* Mobile Medium */
@media (max-width: 576px) {
    .container {
        padding: 0 10px;
    }
    
    .main-nav .container {
        padding: 8px 10px;
    }
    
    .logo-main {
        font-size: 20px;
    }
    
    .logo-sub {
        font-size: 9px;
    }
    
    .cta-button {
        padding: 8px 12px;
        font-size: 12px;
    }
    
    .hero {
        height: 60vh;
        min-height: 400px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-slogan {
        font-size: 14px;
    }
    
    .hero-cta {
        padding: 10px 20px;
        font-size: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .about-subtitle {
        font-size: 18px;
    }
    
    .experience-number {
        font-size: 48px;
    }
    
    .product-card {
        padding: 25px 15px;
    }
    
    .product-icon {
        width: 60px;
        height: 60px;
        font-size: 24px;
    }
    
    .product-title {
        font-size: 20px;
    }
    
    .contact-item {
        font-size: 14px;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 14px;
    }
    
    .submit-button {
        padding: 12px 25px;
        font-size: 14px;
    }
}

/* Mobile Small */
@media (max-width: 480px) {
    .hero-title {
        font-size: 24px;
    }
    
    .hero-slogan {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 20px;
    }
    
    .about-subtitle {
        font-size: 16px;
    }
    
    .experience-number {
        font-size: 40px;
    }
    
    .product-title {
        font-size: 18px;
    }
    
    .floating-chat {
        width: 45px;
        height: 45px;
        bottom: 15px;
        left: 15px;
        font-size: 18px;
    }
}

/* Print Styles */
@media print {
    .top-header,
    .main-nav,
    .floating-chat {
        display: none;
    }
    
    .hero {
        height: auto;
        min-height: auto;
    }
    
    .hero-background {
        display: none;
    }
    
    .hero-title,
    .section-title {
        color: #000;
    }
    
    .hero-cta,
    .cta-button,
    .submit-button {
        background: #000;
        color: #fff;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-background {
        background-size: cover;
    }
}

/* Landscape Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero {
        height: 100vh;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .hero-slogan {
        font-size: 14px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .hero-left,
    .hero-right {
        animation: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    .about-section {
        background: #1a1a1a;
    }
    
    .product-card {
        background: #2a2a2a;
        color: #fff;
    }
    
    .product-title {
        color: #fff;
    }
    
    .product-description {
        color: #ccc;
    }
}
