/* ============================
   RESPONSIVE DESIGN
   ============================ */

/* Tablet (1024px ve altı) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 4rem;
    }
    
    .nav-list,
    .nav-menu {
        gap: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .cta-box {
        flex-direction: column;
        text-align: center;
        padding: 3rem 2rem;
    }
}

/* Mobile (768px ve altı) */
@media (max-width: 768px) {
    .header {
        padding: 0.75rem 0;
    }
    
    .navbar {
        gap: 1rem;
    }
    
    .logo {
        font-size: 1.125rem;
        gap: 0.5rem;
    }
    
    .logo-icon {
        width: 2rem;
        height: 2rem;
        font-size: 1rem;
    }
    
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 25%;
        min-width: 250px;
        height: 100vh;
        background-color: #2d3748;
        padding: 3rem 1.5rem 2rem;
        transition: right 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        box-shadow: -15px 0 40px rgba(0, 0, 0, 0.3);
        z-index: 300;
        overflow-y: auto;
    }
    
    .nav.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link,
    .nav-menu a,
    .mobile-nav a,
    .nav-list a {
        display: block;
        padding: 14px 20px;
        min-height: 48px;
        transition: background-color 0.2s;
        border-radius: 8px;
        cursor: pointer;
        font-size: 16px;
        text-decoration: none;
        color: #e2e8f0 !important;
        background: transparent;
    }

    .nav-link:hover,
    .nav-link:focus,
    .nav-menu a:hover,
    .mobile-nav a:hover,
    .nav-list a:hover {
        color: #ffffff !important;
        background-color: var(--primary);
        transform: none;
    }

    .nav-menu a:active,
    .mobile-nav a:active,
    .nav-list a:active,
    .nav-link:active {
        background-color: rgba(0, 0, 0, 0.08);
        transform: scale(0.98);
    }

    body.menu-open {
        overflow: hidden;
    }

    body.menu-open::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background-color: rgba(102, 100, 100, 0.5);
        z-index: 200;
        pointer-events: none;
    }
    
    .nav-cta {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .mobile-toggle {
        display: block;
        position: fixed;
        top: 1rem;
        right: 0;
        z-index: 300;
        padding: 16px 20px 16px 16px;
        min-width: 42px;
        min-height: 42px;
        background-color: rgba(255, 255, 255, 0.85);
        backdrop-filter: blur(4px);
        border-top-left-radius: 16px;
        border-bottom-left-radius: 16px;
        box-shadow: -2px 2px 12px rgba(0, 0, 0, 0.08);
        transition: all 0.2s cubic-bezier(0.2, 0.9, 0.4, 1.1);
        cursor: pointer;
        outline: none;
        -webkit-tap-highlight-color: transparent;
    }

    .mobile-toggle:hover,
    .mobile-toggle:active {
        background-color: rgba(255, 255, 255, 1);
        transform: translateX(-2px);
    }
    
    .hamburger {
        position: relative;
        width: 28px;
        height: 2.5px;
        background-color: #1a1a1a;
        border-radius: 2px;
        transition: all 0.2s;
    }
    
    .hamburger::before,
    .hamburger::after {
        content: '';
        position: absolute;
        width: 28px;
        height: 2.5px;
        background-color: #1a1a1a;
        border-radius: 2px;
        transition: all 0.2s;
        left: 0;
    }
    
    .hamburger::before {
        top: -9px;
    }
    
    .hamburger::after {
        top: 9px;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-desc {
        font-size: 1.125rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .stats-grid,
    .projects-grid,
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer {
        padding: 3rem 0 1.5rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 1rem;
        margin-bottom: 1rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-links a {
        width: 36px;
        height: 36px;
    }
    
    .social-links svg {
        width: 24px;
        height: 18px;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Small Mobile (480px ve altı) */
@media (max-width: 480px) {
    :root {
        --section-padding: 3rem;
    }
    
    .container {
        padding: 0 0.75rem;
    }
    
    .header {
        padding: 0.5rem 0;
    }
    
    .logo {
        font-size: 1rem;
        gap: 0.4rem;
    }
    
    .logo-icon {
        width: 1.75rem;
        height: 1.75rem;
        font-size: 0.875rem;
    }
    
    .nav-link {
        font-size: 0.75rem;
    }
    
    .mobile-toggle {
        top: 1rem;
        right: 1rem;
        padding: 0.4rem;
    }
    
    .hamburger {
        width: 22px;
        height: 1.5px;
    }
    
    .hamburger::before,
    .hamburger::after {
        width: 22px;
        height: 1.5px;
    }
    
    .hamburger::before {
        top: -7px;
    }
    
    .hamburger::after {
        top: 7px;
    }
    
    .footer {
        padding: 2rem 0 1rem;
    }
    
    .footer-grid {
        gap: 1.5rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.9rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-links ul {
        gap: 0.5rem;
    }
    
    .footer-links a {
        font-size: 0.875rem;
    }
    
    .social-links {
        gap: 0.5rem;
    }
    
    .social-links a {
        width: 32px;
        height: 32px;
    }
    
    .social-links svg {
        width: 20px;
        height: 16px;
    }
    
    .hero {
        min-height: 600px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .btn-lg {
        width: 100%;
    }
    
    .project-image {
        height: 220px;
    }
    
    .cta-box {
        padding: 2rem 1.5rem;
    }
    
    .cta-content h2 {
        font-size: 1.5rem;
    }
}

/* Extra Small Mobile (360px ve altı) */
@media (max-width: 360px) {
    .container {
        padding: 0 0.5rem;
    }
    
    .logo {
        font-size: 0.85rem;
    }
    
    .logo-icon {
        width: 1.5rem;
        height: 1.5rem;
    }
    
    .nav-link {
        font-size: 0.7rem;
    }
    
    .footer-links h4,
    .footer-contact h4 {
        font-size: 0.85rem;
    }
    
    .social-links a {
        width: 28px;
        height: 28px;
    }
}
/* Projeler sayfasına özel ek stiller */
       
        
        /* Responsive */
        @media (max-width: 1024px) {
            .projects-grid-full {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .featured-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }
            
            .featured-image {
                height: 400px;
            }
            
            .project-stats-grid {
                grid-template-columns: repeat(2, 1fr);
            }
        }
        
        @media (max-width: 768px) {
            .page-header h1 {
                font-size: 2.5rem;
            }
            
            .projects-grid-full {
                grid-template-columns: 1fr;
            }
            
            .filter-container {
                gap: 0.5rem;
            }
            
            .filter-btn {
                padding: 0.5rem 1rem;
                font-size: 0.75rem;
            }
            
            .featured-stats {
                grid-template-columns: 1fr;
                gap: 1rem;
            }
            
            .project-stats-grid {
                grid-template-columns: 1fr;
                gap: 2rem;
            }
        }

         /* iletişim*/
        /* Responsive */
        @media (max-width: 1024px) {
            .contact-grid {
                grid-template-columns: 1fr;
                gap: 3rem;
            }

            .contact-form-section {
                order: -1;
            }
        }

        @media (max-width: 768px) {
            .page-header h1 {
                font-size: 2.5rem;
            }

            .form-row {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .contact-form-section {
                padding: 2rem 1.5rem;
            }

            .map-container {
                height: 300px;
            }
        }