/* ===========================
    RESPONSIVE / MOBİL UYUM
    Not: Bu dosya orijinal style.css içinde yoktu, yeni eklendi.
=========================== */

/* ===========================
    HAMBURGER MENÜ
=========================== */

/* Masaüstünde hamburger butonu gizli */
.hamburger{
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
}

.hamburger span{
    display: block;
    width: 26px;
    height: 3px;
    background-color: #fff;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

/* Hamburger açıkken çarpı işaretine dönüşür */
.hamburger.active span:nth-child(1){
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
    opacity: 0;
}

.hamburger.active span:nth-child(3){
    transform: translateY(-8px) rotate(-45deg);
}

@media (max-width: 960px){
    .service-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .contact-container{
        grid-template-columns: 1fr;
    }

    .review-container{
        grid-template-columns: repeat(2, 1fr);
    }

    .review-stats{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 720px){
    .navbar{
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
        padding: 18px 6%;
        position: relative;
    }

    /* Hamburger butonu mobilde görünür */
    .hamburger{
        display: flex;
    }

    /* Menü varsayılan olarak kapalı: navbar'ın altına açılır panel gibi konumlanır */
    .nav-links{
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        flex-wrap: nowrap;
        gap: 0;
        background: #111;
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        transition: max-height 0.35s ease, opacity 0.25s ease;
        padding: 0 6%;
        z-index: 1000;
    }

    .nav-links.active{
        max-height: 500px;
        opacity: 1;
        visibility: visible;
        padding: 12px 6% 24px;
    }

    .nav-links li{
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(255,255,255,0.08);
    }

    .nav-links li:last-child{
        border-bottom: none;
    }

    .nav-links li a{
        display: block;
        width: 100%;
    }

    .hero{
        padding: 140px 6% 60px;
        min-height: auto;
    }

    .hero h1{
        font-size: 32px;
    }

    .hero p{
        font-size: 17px;
    }

    .hero-buttons{
        flex-direction: column;
    }

    .service-container{
        grid-template-columns: 1fr;
    }

    .contact{
        padding: 80px 6%;
    }

    .review-container{
        grid-template-columns: 1fr;
    }

    .review-stats{
        grid-template-columns: 1fr;
    }

    .gallery-placeholder{
        padding: 40px 20px;
    }

    /* ===========================
        İLETİŞİM KARTLARI / BUTONLARI (mobil)
    =========================== */

    .contact-action{
        padding: 18px;
        gap: 14px;
    }

    .contact-action-icon{
        width: 44px;
        height: 44px;
    }

    .contact-action-icon svg{
        width: 22px;
        height: 22px;
    }

    .contact-action-text strong{
        font-size: 16px;
    }

    .contact-action-text small{
        font-size: 12px;
    }

    .contact-item{
        padding: 18px;
        gap: 14px;
    }

    .contact-item-icon{
        width: 38px;
        height: 38px;
    }

    .contact-item-icon svg{
        width: 18px;
        height: 18px;
    }

    .contact-item-text h4{
        font-size: 16px;
    }

    /* ===========================
        HİZMET KARTI İKONLARI (mobil)
    =========================== */

    .service-icon{
        width: 62px;
        height: 62px;
    }

    .service-icon svg{
        width: 28px;
        height: 28px;
    }
}

@media (max-width: 480px){
    .logo img{
        width: 46px;
        height: 46px;
    }

    .logo-top{
        font-size: 20px;
    }

    .logo-bottom{
        font-size: 13px;
    }

    .hero h1{
        font-size: 26px;
    }

    .modal-content{
        padding: 24px;
    }

    /* Çok dar ekranlarda buton/kart içeriği daralınca metin taşmasın */
    .contact-action{
        flex-wrap: wrap;
    }

    .contact-action-text strong{
        font-size: 15px;
    }

    .contact-action-text small{
        display: block;
        margin-top: 2px;
    }
}