/* 
 * Responsive Styles
 * Contains all media queries for responsive design
 */

/* Large devices (desktops, up to 1200px) */
@media (max-width: 1200px) {
    .container {
        max-width: 960px;
    }
}

/* Medium devices (tablets, up to 992px) */
@media (max-width: 992px) {
    .container {
        max-width: 720px;
    }
    
    .hero-content h1 {
        font-size: 2.75rem;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
}

/* Small devices (landscape phones, up to 768px) */
@media (max-width: 768px) {
    .container {
        max-width: 540px;
    }
    
    /* Mobile Navigation */
    .mobile-menu-btn {
        display: flex;
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--surface-color);
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
        padding: 2rem;
        box-shadow: var(--shadow);
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.4s ease;
        visibility: hidden;
        z-index: 999;
    }

    .nav-links.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-link::after {
        bottom: -5px;
    }
    
    /* Hero Section */
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-cta {
        justify-content: center;
    }

    .hero-content {
        order: 1;
    }

    .hero-image {
        order: 0;
        margin-bottom: 2rem;
    }
    
    /* Sections */
    .section {
        padding: 3rem 0;
    }
    
    /* Grids */
    .contact-grid,
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    /* Testimonials */
    .testimonial-nav {
        display: none;
    }
    
    /* Project Tabs */
    .project-tabs {
        flex-wrap: wrap;
    }
    
    /* CTA Cards */
    .cta-card {
        padding: 1.5rem;
    }
    
    /* Forms */
    .newsletter-form,
    .footer-form {
        flex-direction: column;
    }
    
    .newsletter-form input,
    .newsletter-form button,
    .footer-form input,
    .footer-form button {
        width: 100%;
        border-radius: var(--border-radius-sm);
    }
    
    .newsletter-form button,
    .footer-form button {
        margin-top: 0.5rem;
    }
    
    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-brand {
        grid-column: span 1;
    }
    
    .footer-bottom .container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

/* Extra small devices (portrait phones, up to 576px) */
@media (max-width: 576px) {
    .container {
        width: 100%;
        padding: 0 1rem;
    }
    
    /* Typography */
    .hero-content h1 {
        font-size: 2.25rem;
    }
    
    .section-header h2 {
        font-size: 1.75rem;
    }
    
    /* Hero */
    .hero-cta {
        flex-direction: column;
        align-items: stretch;
    }
    
    /* Sections */
    .section {
        padding: 2.5rem 0;
    }
    
    /* Cards */
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    /* Buttons and Actions */
    .project-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .preview-btn {
        margin-top: 0.5rem;
    }
    
    /* Contact Form */
    .contact-form {
        padding: 1.5rem;
    }
}
