/* ===== RESPONSIVE DESIGN ===== */

/* Large Desktop */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3.5rem;
    }
}

/* Tablet Landscape */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .hero-title {
        font-size: 3.5rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .services-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 30px;
    }
    
    .contact-info {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
}

/* Tablet Portrait */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }
    
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 46, 0.98);
        width: 100%;
        text-align: center;
        transition: var(--transition-smooth);
        padding: 30px 0;
        gap: 0;
    }
    
    .nav-menu.active {
        left: 0;
    }
    
    .nav-item {
        margin: 15px 0;
    }
    
    .language-switcher {
        justify-content: center;
        margin: 20px 0;
        margin-right: 0;
        display: flex !important;
    }
    
    .lang-btn {
        padding: 10px 15px;
        font-size: 1rem;
        display: inline-block !important;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    
    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.3rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.95rem;
    }
    
    .image-placeholder {
        width: 300px !important;
        height: 300px !important;
    }
    
    .section-title {
        font-size: 2.5rem;
        margin-bottom: 40px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 25px;
    }
    
    .social-links {
        justify-content: center;
    }
}

/* Mobile Landscape */
@media (max-width: 480px) {
    .nav-logo h2 {
        font-size: 1.5rem;
    }
    
    .nav-logo .subtitle {
        font-size: 0.8rem;
    }
    
    .hero {
        min-height: 90vh;
        padding: 20px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .hero-description {
        font-size: 0.95rem;
        margin-bottom: 30px;
    }
    
    .image-placeholder {
        width: 250px !important;
        height: 250px !important;
    }
    
    .image-placeholder i {
        font-size: 60px !important;
    }
    
    .section-title {
        font-size: 2rem;
        margin-bottom: 30px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }
    
    .service-card h3 {
        font-size: 1.5rem;
    }
    
    .about-text h2 {
        font-size: 2rem;
    }
    
    .contact-item {
        font-size: 1rem;
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Mobile Portrait */
@media (max-width: 375px) {
    .container {
        padding: 0 10px;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .image-placeholder {
        width: 200px !important;
        height: 200px !important;
    }
    
    .image-placeholder i {
        font-size: 50px !important;
    }
    
    .service-card {
        padding: 20px 15px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .service-card h3 {
        font-size: 1.3rem;
    }
}

/* High DPI Displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .image-placeholder {
        background-size: contain;
    }
}

/* Landscape Orientation on Mobile */
@media (max-height: 500px) and (orientation: landscape) {
    .hero {
        min-height: 100vh;
        padding: 10px 0;
    }
    
    .hero-content {
        gap: 20px;
    }
    
    .hero-title {
        font-size: 2rem;
        margin-bottom: 10px;
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 10px;
    }
    
    .hero-description {
        font-size: 0.9rem;
        margin-bottom: 20px;
    }
    
    .image-placeholder {
        width: 150px !important;
        height: 150px !important;
    }
    
    .image-placeholder i {
        font-size: 40px !important;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .hamburger,
    .scroll-indicator,
    .hero-buttons,
    .btn,
    .social-links {
        display: none !important;
    }
    
    .hero {
        min-height: auto;
        padding: 20px 0;
        background: white !important;
        color: black !important;
    }
    
    .hero-title,
    .section-title {
        color: black !important;
    }
    
    .service-card,
    .about-preview,
    .contact-preview {
        background: white !important;
        color: black !important;
        box-shadow: none !important;
    }
    
    .footer {
        background: white !important;
        color: black !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;
    }
    
    .scroll-arrow {
        animation: none;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --primary-gold: #FFD700;
        --primary-gold-dark: #B8860B;
        --deep-navy: #000080;
        --text-light: #FFFFFF;
        --text-dark: #000000;
    }
    
    .btn {
        border-width: 3px;
    }
    
    .nav-link::after {
        height: 3px;
    }
    
    .service-card::before {
        height: 6px;
    }
}

/* Focus Styles for Accessibility */
.nav-link:focus,
.btn:focus,
.service-link:focus,
.social-link:focus {
    outline: 3px solid var(--primary-gold);
    outline-offset: 2px;
}