@import url('https://fonts.googleapis.com/css2?family=Titillium+Web:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700&display=swap');

*{
    font-family: "Titillium Web", sans-serif;
}
:root{
    --primary:#fe5b29;        /* turuncu */
    --secondary:#3b3b3b;      /* koyu gri */
    --accent:#fe5b29;         /* turuncu vurgu */
    --dark-red:#0e0c06;
    --light-orange:#ffe4d6;
    --brown:#3b3b3b;
    --grey:#fafafa;
    --dark:#0e0c06;
    --white:#fff;
    --font:'Poppins',sans-serif;
}
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}
html{
    scroll-behavior: smooth;
}
body{
    font-family:var(--font);
    color:var(--dark);
    background:var(--grey);
    line-height:1.6;
}
body[dir="rtl"]{
    direction:rtl;
    text-align:right;
}
.container{
    width:90%;
    max-width:1200px;
    margin:auto;
}
a{
    text-decoration:none;
    color:inherit;
}
img{
    max-width:100%;
    display:block;
}
/* DİL BUTONU */
#lang-switch{
    position:fixed;
    top:1px;
    right: 5px;
    z-index:999;
    display:flex;
    gap:1px;
}
#lang-switch .flag{
    background:rgba(253, 253, 253, 0.719);
    border:1px solid rgba(212, 67, 67, 0.25);
    padding:1px 2px;
    border-radius:3px;
    cursor:pointer;
    font-weight:600;
    font-size:12px;
    transition:.3s;
}
#lang-switch .flag:hover,
#lang-switch .flag.active{
    background:rgba(0,0,0,.08);
    color:var(--white);
       
}
/* WHATSAPP SAĞ ALTA TAŞINDI */
#wp-float{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#25d366;
    color:var(--white);
    width:56px;
    height:56px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 4px 12px rgba(0,0,0,.25);
    z-index:999;
}
#wp-float svg{
    width:50px;
    height:50px;
    fill:var(--white);
}
/* HEADER */
header{
    background-color: #3b3b3b;
    color:var(--white);
    padding:0rem 0;
    position:sticky;
    top: 0;
    z-index:100;
}
.nav-wrapper{
    display: flex;
    align-items:center;
    justify-content:space-between;
}
.x{
    display: flex;
    align-items: center;
    gap: 1rem;
}
.x img{
    max-height: 100%;
    width: auto;
    object-fit: contain;
}
.logo{
    font-size:1.4rem;
    letter-spacing:1px;
    display: none;
}
nav ul{
    list-style:none;
    display:flex;
    gap:1.2rem;
}
nav a{
    color:var(--white);
    font-weight:400;
    transition:.3s;
    position:relative;
}
nav a::after{
    content:'';
    position:absolute;
    bottom:-4px;
    left:0;
    width:0;
    height:2px;
    background:var(--primary);
    transition:.3s;
}
nav a:hover::after{
    width:100%;
}
#menu-toggle{
    display:none;
    flex-direction: column;
    gap: 4px;
    background:none;
    border:none;
    cursor:pointer;
}
#menu-toggle span{
    width:24px;
    height:4px;
    background: #fe5b29;
    border-radius:2px;
}
/*--- Deneme ---*/

.x img {
    position: relative;
    padding-block: 10px;
    display:inline-flex;
    height: 80px;
    width: 200px;
}
#logo1 {
    padding-right: 5px;
    
}


/* HERO */
.hero{
    height:70vh;
    background:url('..//img/hero.jpeg') center/cover;
    position:relative;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:var(--white);
}
.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(179, 136, 124, 0.6),rgba(14, 12, 6, 0.1));
}
.hero-content{
    position:relative;
    z-index:2;
    max-width:700px;
    padding:0 1rem;
}
.hero h1{
    font-size:2.4rem;
    margin-bottom:.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}
.hero p{
    font-size:1.1rem;
    margin-bottom:1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}
.btn-primary{
    background:var(--primary);
    color:var(--white);
    padding:.75rem 1.8rem;
    border-radius:30px;
    font-weight:600;
    transition:.3s;
}
.btn-primary:hover{
    background:#ff7a4d;
}
/* CARS & FILTER */
.cars{
    padding:4rem 0;
    background:var(--white);
    
}
.cars h2{
    text-align:center;
    margin-bottom:2rem;
    color:var(--primary);
}
.filter-bar{
    display:flex;
    gap:1rem;
    justify-content:center;
    margin-bottom:2rem;
    flex-wrap:wrap;
}
.filter-bar select{
    padding:.6rem 1rem;
    border:2px solid var(--primary);
    border-radius:3px;
    background:var(--white);
    font-weight:600;
}
.grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(270px,1fr));
    gap:2.5rem;
}
.car-card{
    background:var(--grey);
    border-radius:8px;
    overflow:hidden;
    box-shadow:0 2px 8px rgba(0,0,0,.08);
    transition:.3s;
}
.car-card:hover{
    transform:translateY(-4px);
    box-shadow:0 4px 16px rgba(0,0,0,.12);
}
.slider{
    position:relative;
    height:200px;
    overflow:hidden;
}
.slider img{
    width:100%;
    height:100%;
    object-fit:cover;
    position:absolute;
    top:0;
    left:0;
    opacity:0;
    transition:opacity 1s;
}
.slider img.active{
    opacity:1;
}
.car-info{
    padding:1rem;
}
.car-info h3{
    color:var(--primary);
    margin-bottom:.3rem;
}
.car-info p{
    font-size:.9rem;
    color:#555;
}
/* REZERVASYON BUTONU */
.btn-res{
    display:inline-block;
    margin-top:.8rem;
    background:var(--primary);
    color:var(--white);
    padding:.1rem 1.2rem;
    border:none;
    border-radius:30px;
    font-weight:600;
    cursor:pointer;
    transition:.3s;
}
.btn-res:hover{
    background:#ff7a4d;
}
/* MODAL */
.modal{
    display:none;
    position:fixed;
    z-index:200px;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.55);
    padding:2rem;
}
.modal-content{
    background:var(--white);
    max-width:600px;
    margin:auto;
    border-radius:8px;
    padding:2rem;
    position:relative;
    animation:fadeIn .4s;
}
@keyframes fadeIn{
    from{opacity:0;transform:translateY(-30px);}
    to{opacity:1;transform:translateY(0);}
}
.close{
    position:absolute;
    top:12px;
    right:18px;
    font-size:1.8rem;
    cursor:pointer;
    color:var(--primary);
}
/* ABOUT / FAQ / CONTACT */
.about,.faq,.contact{
    padding:3.5rem 0;
}
.about{
    background:var(--grey);
}
.about p,.contact p{
    max-width:800px;
    margin:auto;
}
.accordion .item{
    border-bottom:1px solid #ddd;
}
.acc-btn{
    width:100%;
    background:none;
    border:none;
    text-align:left;
    padding:1rem 0;
    font-size:1rem;
    font-weight:600;
    cursor:pointer;
    color:var(--primary);
}
body[dir="rtl"] .acc-btn{
    text-align:right;
}
.panel{
    max-height:0;
    overflow:hidden;
    transition:max-height .3s;
    padding:0 1rem;
}
.panel p{
    margin-bottom:1rem;
}
.contact .grid-2{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:2rem;
}
.contact .info a{
    color:var(--primary);
}
.map iframe{
    border-radius:6px;
    width: 100%;
    height: 250px;
}
/* FOOTER */
footer{
    background:#0e0c06;
    color:var(--white);
    text-align:center;
    padding:1.2rem 0;
}
/* MOBİL */
@media(max-width:768px){
    .container{
        width: 95%;
    }
    header{
        padding: 0.5rem 0;
    }
    .x{
        gap: 0.5rem;
        flex-shrink: 0;
    }
    .x #logo1 img{
        height: 45px;
        width: auto;
    }
    .x img:not(#logo1 img){
        height: 65px;
        width: auto;
        max-width: 250px;
    }
    nav ul{
        flex-direction:column;
        background:#3b3b3b;
        position:absolute;
        top:100%;
        right:0;
        width:200px;
        max-height:0;
        overflow:hidden;
        transition:max-height .3s;
        box-shadow: 0 4px 8px rgba(0,0,0,0.2);
        z-index: 500;
    }
    nav ul.open{
        max-height:400px;
        padding:1rem 0;
    }
    nav li{
        margin:.5rem 1rem;
    }
    #menu-toggle{
        display: flex;
    }
    #lang-switch{
        top: 2px;
        right: 2px;
        gap: 2px;
    }
    #lang-switch .flag{
        padding: 3px 5px;
        font-size: 11px;
    }
    .hero{
        height: 50vh;
        min-height: 400px;
    }
    .hero h1{
        font-size:1.5rem;
        padding: 0 1rem;
    }
    .hero p{
        font-size: 0.95rem;
        padding: 0 1rem;
    }
    .btn-primary{
        padding: 0.6rem 1.4rem;
        font-size: 0.9rem;
    }
    .cars, .about, .faq, .contact{
        padding: 2.5rem 0;
    }
    .cars h2, .about h2, .faq h2, .contact h2{
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }
    .grid{
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    .contact .grid-2{
        grid-template-columns:1fr;
        gap: 1.5rem;
    }
    .modal{
        padding: 1rem;
    }
    .modal-content{
        padding: 1.5rem;
        max-width: 95%;
    }
    #wp-float{
        width: 50px;
        height: 50px;
        bottom: 15px;
        right: 15px;
    }
    #wp-float svg{
        width: 40px;
        height: 40px;
    }
}

/* TABLET */
@media(min-width:769px) and (max-width:1024px){
    .container{
        width: 92%;
    }
    .x{
        gap: 0.75rem;
    }
    .x #logo1 img{
        height: 45px;
        width: auto;
    }
    .x img:not(#logo1 img){
        height: 65px;
        width: auto;
        max-width: 180px;
    }
    .hero h1{
        font-size: 2rem;
    }
    .grid{
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}