/* Mobile Responsive Design */

/* Mobile Breakpoint */
@media (max-width: 768px) {
    /* Container adjustments */
    .container {
        padding: 0 16px;
    }
    
    /* Section spacing adjustments */
    section {
        padding: 4rem 0;
    }
    
    /* Navigation adjustments */
    .nav-links {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: linear-gradient(135deg, rgba(255, 112, 67, 0.95), rgba(255, 193, 7, 0.9));
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 1.5rem;
        z-index: 999;
    }
    
    .nav-links.active {
        display: flex;
        animation: slideDown 0.4s ease-out;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-50px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-links li {
        text-align: center;
        padding: 0;
        margin: 0.5rem 0;
        border-bottom: none;
        position: relative;
        transform: scale(0.8);
        animation: menuItemPop 0.3s ease forwards;
    }
    
    .nav-links li:nth-child(1) { animation-delay: 0.1s; }
    .nav-links li:nth-child(2) { animation-delay: 0.2s; }
    .nav-links li:nth-child(3) { animation-delay: 0.3s; }
    .nav-links li:nth-child(4) { animation-delay: 0.4s; }
    .nav-links li:nth-child(5) { animation-delay: 0.5s; }
    
    @keyframes menuItemPop {
        to {
            transform: scale(1);
        }
    }
    
    .nav-links a {
        font-size: 1.5rem;
        font-weight: 700;
        padding: 1.2rem 3rem;
        display: block;
        color: white;
        border-radius: 15px;
        background: rgba(255, 255, 255, 0.2);
        border: 2px solid rgba(255, 255, 255, 0.3);
        transition: all 0.3s ease;
        text-transform: uppercase;
        letter-spacing: 1px;
    }
    
    .nav-links a:hover {
        background: rgba(255, 255, 255, 0.9);
        color: var(--primary-orange);
        transform: translateY(-3px) scale(1.05);
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    }
    
    .nav-links a::after {
        display: none;
    }
    
    .mobile-menu-btn {
        display: flex;
        z-index: 1001;
    }
    
    /* Hero section adjustments */
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    .cta-button {
        padding: 1rem 2rem;
        font-size: 0.9rem;
    }
    
    /* Section title adjustments */
    .section-title {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    /* Works section adjustments */
    .works-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .work-card {
        padding: 2rem;
    }
    
    /* Company section adjustments */
    .company-info {
        padding: 2rem;
    }
    
    .info-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    /* News section adjustments */
    .news-item {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    /* Hide decorative elements on mobile */
    .hero-decorative {
        display: none;
    }
    
    .floating-shapes::before,
    .floating-shapes::after {
        display: none;
    }
}

/* Tablet Breakpoint */
@media (max-width: 1024px) and (min-width: 769px) {
    .container {
        padding: 0 24px;
    }
    
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title {
        font-size: 2.2rem;
    }
    
    .works-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Small mobile devices */
@media (max-width: 480px) {
    .container {
        padding: 0 12px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 0.9rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .work-card {
        padding: 1.5rem;
    }
    
    .company-info {
        padding: 1.5rem;
    }
    
    .news-item {
        padding: 1.2rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.5rem;
        font-size: 0.85rem;
    }
    
    /* Contact form adjustments */
    .contact-form {
        padding: 2rem 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .submit-button {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
    
    /* Thanks page adjustments */
    .thanks-info {
        grid-template-columns: 1fr;
    }
    
    .thanks-actions {
        flex-direction: column;
        align-items: center;
    }
    
    /* Footer adjustments */
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .footer-links {
        justify-content: center;
        gap: 1.5rem;
    }
}

/* Large screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
        padding: 0 40px;
    }
    
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    section {
        padding: 8rem 0;
    }
}

/* Touch-friendly enhancements */
@media (hover: none) and (pointer: coarse) {
    .nav-links a,
    .cta-button,
    .work-card,
    .news-item {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    .info-item {
        min-height: 60px;
        padding: 1.2rem;
    }
}

/* Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .bg-animation {
        animation: none;
    }
    
    .hero-decorative {
        animation: none;
    }
    
    .floating-shapes::before,
    .floating-shapes::after {
        animation: none;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta-button,
    .bg-animation,
    .scroll-indicator {
        display: none;
    }
    
    body {
        background: white;
        color: black;
    }
    
    .hero {
        min-height: auto;
        padding: 2rem 0;
        background: white;
    }
    
    .section-title,
    .work-card h3,
    .logo {
        background: none;
        -webkit-text-fill-color: initial;
        color: black;
    }
    
    .work-card,
    .company-info,
    .news-item {
        border: 1px solid #ccc;
        box-shadow: none;
        background: white;
    }
}