/* Responsive Ayarlamalar (Mobil Uyumlu) */

/* Tablet ve küçük masaüstü için (992px ve altı) */
@media (max-width: 992px) {
    .header .custom-navbar {
        display: none; /* Başta gizli */
        width: 100%;
        order: 3;
        background-color: var(--dark-blue);
        position: absolute;
        top: 100%;
        left: 0;
        box-shadow: 0 5px 10px rgba(0,0,0,0.2);
    }

    .header .custom-navbar.active {
        display: block; /* Aktifken görünür hale gelir */
    }

    .header .custom-navbar ul {
        flex-direction: column;
        text-align: center;
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.1);
    }

    .header .custom-navbar ul li {
        margin: 10px 0;
    }

    .header .custom-navbar ul li a {
        display: block;
        padding: 12px 20px;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .header .custom-navbar ul li:last-child a {
        border-bottom: none;
    }

    .header .container {
        flex-wrap: wrap;
        justify-content: space-between;
    }

    .menu-toggle {
        display: block; /* Mobil menü ikonunu göster */
    }

    .hero-content h1 {
        font-size: 2.8em;
    }

    .hero-content p {
        font-size: 1.2em;
    }

    .hero-buttons .btn {
        display: block;
        margin: 10px auto;
        width: 80%;
    }

    section h2 {
        font-size: 2.5em;
    }

    .service-cards, 
    .why-us-items, 
    .service-detail-cards, 
    .gallery-grid {
        grid-template-columns: 1fr; /* Tek sütun */
    }

    .footer .container {
        flex-direction: column;
        gap: 15px;
    }
}

/* Tablet için (768px ve altı) */
@media (max-width: 768px) {
    .hero-content h1 {
        font-size: 2.2em;
    }
    
    .hero-content p {
        font-size: 1.1em;
    }
    
    .hero-buttons .btn {
        display: block;
        width: 100%;
        margin-bottom: 10px;
    }
    
    .hero-buttons .btn:last-child {
        margin-bottom: 0;
    }
    
    section {
        padding: 60px 0;
    }
    
    section h2 {
        font-size: 2.2em;
        margin-bottom: 40px;
    }

    .gallery-section .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 10px;
    }
}

/* Mobil cihazlar için (576px ve altı) */
@media (max-width: 576px) {
    .logo a {
        font-size: 18px;
    }
    
    .logo img {
        height: 60px;
        margin-right: 15px;
    }
    
    .hero-content h1 {
        font-size: 1.8em;
    }
    
    .hero-content p {
        font-size: 1em;
    }
    
    section h2 {
        font-size: 1.8em;
    }
    
    .service-cards .card, 
    .why-us-items .item, 
    .services-full-list .service-detail-cards .card {
        padding: 30px 15px;
    }

    .gallery-section .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .gallery {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 0.8rem;
    }

    .whatsapp-btn {
        width: 50px;
        height: 50px;
        font-size: 1.8em;
        bottom: 20px;
        right: 20px;
    }
}

/* Çok küçük mobil cihazlar için (400px ve altı) */
@media (max-width: 400px) {
    .hero-content h1 {
        font-size: 1.6em;
    }
    
    .hero-content p {
        font-size: 0.9em;
    }
    
    .logo a {
        font-size: 16px;
    }
    
    .logo img {
        height: 50px;
        margin-right: 10px;
    }
    
    .gallery-section .gallery-grid,
    .gallery {
        grid-template-columns: 1fr;
    }
}

/* Yüksek çözünürlüklü cihazlar için */
@media (min-width: 1400px) {
    .container {
        max-width: 1320px;
    }
    
    .hero-section {
        height: 700px;
    }
}

/* Landscape mod için */
@media (max-height: 500px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
        min-height: 400px;
    }
    
    .hero-content h1 {
        font-size: 2em;
        margin-bottom: 15px;
    }
    
    .hero-content p {
        font-size: 1em;
        margin-bottom: 20px;
    }
}

/* Yüksek DPI ekranlar için */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .hero-section {
        background-image: url('../images/hero-duster-kayseri.jpg');
    }
}