/* ============================================
   Responsive Stiller - %100 Mobil Uyumlu
   ============================================ */

/* Tablet (1024px ve altı) */
@media (max-width: 1024px) {
    :root {
        --section-padding: 70px 0;
    }
    
    .services-grid,
    .services-page-grid,
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-page-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-home {
        gap: 40px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-detail-layout {
        grid-template-columns: 1fr 280px;
        gap: 30px;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .slide-content h1 {
        font-size: 2.8rem;
    }
}

/* Tablet küçük (768px ve altı) */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px 0;
        --header-height: 70px;
    }
    
    /* Header Mobile */
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 350px;
        height: 100vh;
        background: rgba(253, 251, 247, 1);
        flex-direction: column;
        align-items: flex-start;
        padding: 40px 30px 30px;
        transition: right var(--transition-normal);
        box-shadow: -5px 0 30px rgba(0, 0, 0, 0.1);
        z-index: 1005;
        gap: 0;
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .mobile-menu-logo {
        display: block !important;
        width: 100%;
        text-align: center;
        margin-bottom: 30px;
        padding-bottom: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu a {
        width: 100%;
        padding: 14px 15px;
        font-size: 1.1rem;
        color: var(--primary-dark);
        font-weight: 600;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }
    
    .nav-menu a::after {
        display: none;
    }
    
    .mobile-toggle {
        display: flex;
    }
    
    .header-phone {
        display: none;
    }
    
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.1); /* Very subtle dimming instead of 0.5 */
        z-index: 998; /* Below the header (1000) */
        opacity: 0;
        visibility: hidden;
        transition: all var(--transition-normal);
    }
    
    .mobile-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Hero Slider */
    .hero-slider {
        height: 70vh;
        min-height: 400px;
    }
    
    .slide-content {
        padding: 0 25px;
    }
    
    .slide-content h1 {
        font-size: 2rem;
    }
    
    .slide-content p {
        font-size: 1rem;
    }
    
    .slider-arrows {
        display: none;
    }
    
    /* Grids */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .services-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .blog-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    /* About Home */
    .about-home {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .about-home-image {
        order: -1;
    }
    
    .about-home-image img {
        height: 300px;
    }
    
    /* Service Detail */
    .service-detail-layout {
        grid-template-columns: 1fr;
    }
    
    .service-sidebar {
        position: static;
    }
    
    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* Contact */
    .contact-info-cards {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    /* Mission Vision */
    .mission-vision-grid {
        grid-template-columns: 1fr;
    }
    
    /* Page Banner */
    .page-banner {
        height: 250px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    /* Section Headers */
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .section-header p {
        font-size: 1rem;
    }
    
    /* Blog Detail */
    .blog-detail-header h1 {
        font-size: 1.8rem;
    }
    
    .blog-detail-meta {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    /* Stat */
    .stat-value {
        font-size: 2.5rem;
    }
    
    .stat-item {
        padding: 20px;
    }
}

/* Mobil (480px ve altı) */
@media (max-width: 480px) {
    :root {
        --section-padding: 50px 0;
        --container-padding: 0 15px;
    }
    
    .hero-slider {
        height: 60vh;
        min-height: 350px;
    }
    
    .slide-content h1 {
        font-size: 1.6rem;
    }
    
    .slide-content p {
        font-size: 0.9rem;
        margin-bottom: 25px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
    }
    
    .services-page-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-page-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .stat-icon {
        width: 55px;
        height: 55px;
        font-size: 1.2rem;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .page-banner h1 {
        font-size: 1.5rem;
    }
    
    .breadcrumb {
        font-size: 0.85rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .about-home-content h2 {
        font-size: 1.6rem;
    }
    
    .contact-form {
        padding: 25px;
    }
    
    .blog-detail-header h1 {
        font-size: 1.5rem;
    }
    
    .blog-detail-content {
        font-size: 0.95rem;
    }
    
    .share-buttons {
        flex-wrap: wrap;
    }
    
    .footer {
        padding-top: 50px;
    }
    
    .footer-col h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
    }
    
    .scroll-top {
        width: 42px;
        height: 42px;
        bottom: 20px;
        right: 20px;
    }
    
    .whatsapp-float a {
        width: 48px;
        height: 48px;
        font-size: 1.3rem;
    }
    
    .whatsapp-float {
        bottom: 20px;
        left: 20px;
    }
    
    .slider-nav {
        bottom: 20px;
    }
    
    .slider-dot {
        width: 10px;
        height: 10px;
    }
    
    .slider-dot.active {
        width: 28px;
    }
    
    .service-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .mv-card {
        padding: 25px;
    }
    
    .sidebar-widget {
        padding: 20px;
    }
    
    /* References */
    .references-track {
        gap: 40px;
    }
    
    .ref-item {
        height: 40px;
    }
}

/* Çok küçük ekranlar (360px ve altı) */
@media (max-width: 360px) {
    .slide-content h1 {
        font-size: 1.4rem;
    }
    
    .gallery-page-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }
    
    .nav-menu {
        width: 90%;
    }
}

/* Landscape mobil */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-slider {
        height: 100vh;
        min-height: 300px;
    }
    
    .page-banner {
        height: 180px;
    }
}

/* Print stili */
@media print {
    .header,
    .footer,
    .scroll-top,
    .whatsapp-float,
    .slider-arrows,
    .slider-nav {
        display: none !important;
    }
    
    .hero-slider {
        margin-top: 0;
        height: auto;
    }
    
    body {
        color: #000;
        background: #fff;
    }
}
