/*==================================================
                AKKILIÇ GARAJ
                MOBILE.CSS
    Bu dosya sadece 1100px ve altını yönetir.
    Desktop görünümü (>1100px) style.css yönetmeye
    devam eder, bu dosyada hiçbir şekilde ezilmez.
==================================================*/

@media(max-width:1100px){

/*=========================================
    GENEL
=========================================*/

html{
    overflow-x:hidden;
}

body{
    overflow-x:hidden;
}

body.menu-open{
    overflow:hidden;
    scroll-behavior:auto;
}

img{
    max-width:100%;
    height:auto;
}

a,
button{
    touch-action:manipulation;
    -webkit-tap-highlight-color:transparent;
}

/*=========================================
    HEADER
=========================================*/

header{
    padding:0 20px;
    padding-left:max(20px,env(safe-area-inset-left));
    padding-right:max(20px,env(safe-area-inset-right));
}

/*=========================================
    LOGO
=========================================*/

.logo img{
    width:150px;
}

/*=========================================
    HAMBURGER
=========================================*/

.hamburger{
    display:flex;
    flex-direction:column;
    justify-content:center;
    gap:6px;
    width:44px;
    height:44px;
    position:relative;
    z-index:3001;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
}

.hamburger:focus-visible{
    outline:2px solid #fff;
    outline-offset:3px;
}

.hamburger span{
    width:100%;
    transition:transform .35s ease,opacity .35s ease;
}

.hamburger.active span:nth-child(1){
    transform:translateY(9px) rotate(45deg);
}

.hamburger.active span:nth-child(2){
    opacity:0;
}

.hamburger.active span:nth-child(3){
    transform:translateY(-9px) rotate(-45deg);
}

/*=========================================
    SOL MENÜ (NAV)
=========================================*/

header nav{
    position:fixed;
    top:0;
    left:-320px;
    width:300px;
    height:100dvh;
    max-height:none;
    background:#0b0b0f;
    border-bottom:none;
    box-shadow:5px 0 25px rgba(0,0,0,.45);
    padding-top:90px;
    padding-left:env(safe-area-inset-left);
    overflow-y:auto;
    overscroll-behavior:contain;
    -webkit-overflow-scrolling:touch;
    transition:left .35s ease;
    will-change:left;
    z-index:3000;
}

header nav.nav-open{
    left:0;
    max-height:none;
    overflow-y:auto;
}

header nav ul{
    flex-direction:column;
    align-items:flex-start;
    gap:0;
    padding:0;
    width:100%;
}

header nav ul li{
    width:100%;
}

header nav ul li a{
    display:block;
    width:100%;
    padding:18px 30px;
    border-bottom:1px solid rgba(255,255,255,.08);
}

header nav ul li a::after{
    display:none;
}

header nav ul li a:focus-visible{
    outline:2px solid #ff2d2d;
    outline-offset:-2px;
}

/*=========================================
    OVERLAY
=========================================*/

body.menu-open::before{
    content:"";
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    z-index:500;
    pointer-events:auto;
}

/*=========================================
    HERO
=========================================*/

.hero{
    height:100dvh;
}

.hero-content{
    padding-top:100px;
}

.hero-content p{
    max-width:100%;
}

.hero-buttons{
    flex-wrap:wrap;
}

.hero-btn,
.hero-btn2{
    flex:1 1 200px;
    text-align:center;
}

/*=========================================
    HİZMET KARTLARI
=========================================*/

.service-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
}

.service-card{
    display:flex;
    flex-direction:column;
}

.service-card img{
    aspect-ratio:4/3;
    height:auto;
    object-fit:cover;
}

@supports not (aspect-ratio:4/3){
    .service-card img{
        height:200px;
    }
}

.service-card p{
    flex:1;
}

.service-card a{
    margin-top:auto;
}

/*=========================================
    ARAÇ KARTLARI
=========================================*/

.car-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:22px;
}

.car-card{
    display:flex;
    flex-direction:column;
    border-radius:20px;
    overflow:hidden;
}

.car-card img{
    aspect-ratio:16/10;
    height:auto;
    object-fit:cover;
}

@supports not (aspect-ratio:16/10){
    .car-card img{
        height:200px;
    }
}

.car-info{
    display:flex;
    flex-direction:column;
    flex:1;
    padding:20px;
}

.car-info h3{
    font-size:20px;
    white-space:normal;
}

.car-info p{
    line-height:1.6;
    margin-bottom:12px;
}

.car-info h4{
    font-size:24px;
    margin-bottom:15px;
}

.car-info a{
    display:block;
    width:100%;
    text-align:center;
    padding:14px 0;
    margin-top:auto;
}

/*=========================================
    COUNTER
=========================================*/

.counter{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:18px;
}

.counter-box{
    padding:28px 18px;
    text-align:center;
    display:flex;
    flex-direction:column;
    justify-content:center;
}

.counter-box h2{
    font-size:clamp(26px,6vw,32px);
}

/*=========================================
    İLETİŞİM
=========================================*/

.contact{
    display:grid;
    grid-template-columns:1fr;
    gap:35px;
}

.contact-box{
    align-items:flex-start;
    gap:15px;
}

.contact-box i{
    width:50px;
    height:50px;
    flex-shrink:0;
}

.contact input,
.contact textarea{
    padding:16px;
    font-size:16px;
}

.contact textarea{
    min-height:150px;
}

.contact button{
    padding:16px;
    font-size:16px;
}

/*=========================================
    FOOTER
=========================================*/

footer{
    padding:50px 20px;
}

footer h3{
    font-size:24px;
}

.footer-credit-logo{
    width:38px;
}

.social{
    gap:14px;
    flex-wrap:wrap;
}

.social a{
    width:46px;
    height:46px;
}

/*=========================================
    BACK TO TOP
=========================================*/

#backToTop{
    width:48px;
    height:48px;
    bottom:20px;
    right:20px;
    z-index:998;
}

/*=========================================
    ARAÇLAR SAYFASI
=========================================*/

.arac-banner{
    padding:60px 0;
}

.arac-banner .container{
    flex-direction:column;
    text-align:center;
    gap:40px;
}

.banner-left h1{
    font-size:36px;
}

.banner-left p{
    font-size:16px;
}

.banner-right{
    justify-content:center;
}

.banner-right img{
    max-width:100%;
}

.araclar-wrapper{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
}

.filter-box{
    position:relative;
    top:0;
    margin-bottom:30px;
}

.filter-item input,
.filter-item select{
    height:48px;
    font-size:16px;
}

.btn-filter{
    height:48px;
}

.arac-top{
    flex-direction:column;
    align-items:flex-start;
    gap:16px;
}

.arac-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:20px;
}

.arac-card{
    display:flex;
    flex-direction:column;
}

.arac-image{
    height:180px;
}

.arac-info{
    display:flex;
    flex-direction:column;
    flex:1;
}

.arac-specs{
    grid-template-columns:1fr;
}

.btn-detail{
    margin-top:auto;
}

.pagination a{
    width:44px;
    height:44px;
}

}


/*=========================================
    TABLET (768)
=========================================*/

@media(max-width:768px){

.service-grid,
.car-grid,
.counter,
.arac-grid{
    grid-template-columns:1fr;
}

.hero-content p{
    margin-bottom:30px;
}

.arac-banner .container{
    gap:30px;
}

}


/*=========================================
    KÜÇÜK TELEFON (480)
=========================================*/

@media(max-width:480px){

header{
    padding:0 16px;
}

.logo img{
    width:130px;
}

header nav{
    width:270px;
    left:-290px;
}

.hero-content h1{
    font-size:30px;
    line-height:1.3;
}

.hero-content p{
    font-size:15px;
}

.service-card h3,
.car-info h3{
    font-size:20px;
}

.counter-box{
    padding:24px 14px;
}

.banner-left h1{
    font-size:28px;
}

.filter-box{
    padding:20px;
}

.arac-top h2{
    font-size:26px;
}

}

/* MOBILE.CSS TAMAMLANDI */