:root {
    --background-color: #000;
    --background-color-lighter: #1f1f1f;
    --brand-color: #f3b408;
    --text-color: #fff;
    --text-color-muted: #dfdfdf;

    /** Base colors */
    --clr-dark-a0: #000000;
    --clr-light-a0: #ffffff;

    /** Theme primary colors */
    --clr-primary-a0: #f3b408;
    --clr-primary-a10: #ffdb3c;
    --clr-primary-a20: #ffe05b;
    --clr-primary-a30: #ffe475;
    --clr-primary-a40: #ffe88d;
    --clr-primary-a50: #ffeda4;
    --clr-primary-a60: #fff1bb;
    --clr-primary-a70: #fff6d2;
    --clr-primary-a80: #fffae8;

    /** Theme surface colors */
    --clr-surface-a0: #121212;
    --clr-surface-a10: #282828;
    --clr-surface-a20: #3f3f3f;
    --clr-surface-a30: #575757;
    --clr-surface-a40: #717171;
    --clr-surface-a50: #8b8b8b;
    --clr-surface-a60: #a7a7a7;
    --clr-surface-a70: #c4c4c4;

    /** Theme tonal surface colors */
    --clr-surface-tonal-a0: #272317;
    --clr-surface-tonal-a10: #3c382c;
    --clr-surface-tonal-a20: #514d43;
    --clr-surface-tonal-a30: #68645b;
    --clr-surface-tonal-a40: #7f7c74;
    --clr-surface-tonal-a50: #98958e;
    --clr-surface-tonal-a60: #b0aea9;
    --clr-surface-tonal-a70: #cac9c5;

    /** Success colors */
    --clr-success-a0: #22946e;
    --clr-success-a10: #47d5a6;
    --clr-success-a20: #9ae8ce;

    /** Warning colors */
    --clr-warning-a0: #a87a2a;
    --clr-warning-a10: #d7ac61;
    --clr-warning-a20: #ecd7b2;

    /** Danger colors */
    --clr-danger-a0: #9c2121;
    --clr-danger-a10: #d94a4a;
    --clr-danger-a20: #eb9e9e;

    /** Info colors */
    --clr-info-a0: #21498a;
    --clr-info-a10: #4077d1;
    --clr-info-a20: #92b2e5;

}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--clr-surface-a0);
    font-family: "Onest", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
}

.mt-nav {
    margin-top: 75px;
}

.pi-1 {
    padding-inline: 1rem;
}





.main-content {
    height: calc(100vh - 4rem - 75px);
    width: 100%;
    padding-inline: 1rem;
    display: flex;
    gap: 2rem;
}

.main-content .img {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 60%;
    min-height: 0;
    /* flex yüksekliği düzgün çalışsın */
}

.main-content .img .main-img {
    width: 100%;
    border-radius: 12px;
    object-fit: contain;
    flex-grow: 1;
    /* kalan alanı kapla */
    height: 0;
    object-position: bottom;
    /* flex’in yüksekliği hesaplaması için */
    min-height: 0;
}

.main-content .img .images {
    /*
    margin-top: 1rem;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
    min-height: 130px;
    flex-shrink: 0;
     küçülmesin */
     width: 100%;
        margin-top: 1rem;
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
}
.img .images::-webkit-scrollbar {
    display: none;
}
.img .images .image {
    flex: 0 0 auto;
    width: 130px; /* Görsel genişliği */
    height: 100px; /* Görsel yüksekliği */
    border-radius: 6px;
    background-color: purple;
    scroll-snap-align: center;
    cursor: pointer;
    position: relative;
    user-select: none;
}

.main-content .img .active {
    border: 3px solid var(--clr-primary-a0);
}
.images .image img{
        user-drag: none;          /* Safari */
    -webkit-user-drag: none;  /* Chrome, Safari */
    -moz-user-drag: none;     /* Firefox */
    -ms-user-drag: none;  
}
.main-content .img .images .image {
    overflow: hidden;
    border-radius: 6px;

    background-color: purple;
}

.img .images .image img {
    height: 100%;
    width: 100%;
}
.main-content .car-details{
    width: 40%;
}
.main-content .car-details .details {
    padding: 0px;
}

.main-content .car-details {
    color: var(--text-color);
}

.main-content .car-details .title {
    font-size: 1.9rem;
    font-weight: 500;
}

.arac-description {
    text-align: center;
}

.main-content .car-details .price {
    color: var(--text-color-muted);
    font-size: 1.2rem;
}
.scrolled {
    background-color: #000000;

    box-shadow: rgba(0, 0, 0, 0.24) 0px 3px 8px;

}

.scrolled .links a {
    color: var(--text-color);

}
nav {
    z-index: 100;
    position: fixed;
    top: 0;
    height: 75px;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 3rem;
    border-radius: 0px 0px 12px 12px;
    color: #fff;
    transition: 0.2s all;
    background-color: #000000ed;
}



nav .links {
    height: 100%;
    align-items: center;
    gap: 3rem;
    font-weight: 500;
    font-size: 1.1rem;
}

nav .links a:hover {
    color: var(--clr-primary-a0) !important;
}

nav .links a {
    color: var(--text-color);
    text-decoration: none;
    transition: 0.2s;
}

nav .left {
    display: flex;
    justify-content: flex-end;
}

nav .right {
    display: flex;
    justify-content: flex-start;
}

nav .logo {
    height: 75px;
    display: flex;
    justify-content: center;
}

.load {
    position: fixed;
    height: 100vh;
    width: 100%;
    z-index: 100;
    transition: 2s;
}

.load .top {
    transition: 3s;

    background-color: var(--clr-surface-a0);
    width: 100%;
    height: 50vh;
    position: absolute;
    top: 0;
}

.load .img {
    transition: 3.5s;

    aspect-ratio: 1/1;
    width: 200px;
    height: 200px;
    max-width: 50%;
    z-index: 101;
    position: absolute;
    top: 50%;
    right: 50%;
    transform: translateX(50%) translateY(-50%);
}

.load .bottom {
    transition: 3s;

    background-color: var(--clr-surface-a0);
    width: 100%;
    height: 50vh;
    position: absolute;
    bottom: 0;
}

.loaded .top {
    top: -1000px;
}

.loaded .bottom {
    bottom: -1000px;
}

.loaded .img {
    top: -1000px;

}

main {
    width: 100%;
    overflow: hidden;
}

main .hero {
    width: 100%;
    height: 100vh;
    position: relative;
}

.hero video {
    position: absolute;
    top: 0;
    height: 100%;
    width: 100%;
    object-fit: cover;
    z-index: 1;
}

.hero .bottom-img {
    z-index: 2;
    width: 100%;
    position: absolute;
    bottom: 0;
    object-fit: cover;
    max-height: 150px;
    object-position: top;
}

.hero h1 {
    z-index: 3;
    position: absolute;
    height: 100%;
    width: 100%;
    text-align: center;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-color);
}

.container {
    max-width: 100%;
    margin-inline: auto;
}

.container-1200 {
    width: 1200px;
}
.hero .overlay {
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,0.45), rgba(0,0,0,0.65));
  z-index:2;
}
.hero .slogan {
  position:absolute; z-index:3;
  left:50%; transform:translateX(-50%);
  top:40%;
  font-family: "Playfair Display", serif;
  font-size: 5rem;
  font-weight: bold;
  color: #fff;
  text-align: center;
  text-shadow: 0 6px 20px rgba(0,0,0,0.7);
z-index: 3;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
}
.slogan .s2{
    color: var(--text-color-muted);
    font-size: 1.6rem;
    margin-top: 0.5rem;
    font-weight: normal;
}
.slogan .cta {
    text-decoration: none;
  margin-top:1rem;
  background: linear-gradient(180deg, #e0b200, #c79700);
  color:#111; padding:12px 24px; border-radius:10px;
  font-weight:700;
  font-size: 2rem !important;
  text-align: center;
  z-index: 3;
}
.search-bar {
    margin-block: 5rem !important;
    width: 100%;
    height: 200px;
    display: grid;
    padding-inline: 1rem;
    gap: 2rem;
}
.search-bar .img{
 display: flex;
 align-items: center;
 justify-content: center;
    height: 200px;
}
.search-bar .img img{
    height: 150px;
    object-fit: cover;
}

.mt-3 {
    margin-top: 3rem;
}

.cars-container {
    width: 100%;
    display: grid;
    gap: 1rem 2rem;
    grid-template-columns: 1fr 1fr 1fr;
}

.car {
    background-color: var(--clr-surface-a10);
    border-radius: 12px;
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.1),
        /* 2. shadow ring 👇 */
        0 0 0 1px hsla(230, 13%, 9%, 0.075),
        /* 3. multiple soft shadows 👇 */
        0 0.3px 0.4px hsla(230, 13%, 9%, 0.02),
        0 0.9px 1.5px hsla(230, 13%, 9%, 0.045),
        0 3.5px 6px hsla(230, 13%, 9%, 0.09);
    overflow: hidden;
}

.car .img {
    width: 100%;
    aspect-ratio: 3 / 2;
    border-radius: 12px;
}

.car .row {
    color: var(--text-color);
    margin-top: 1rem;
    display: flex;
    padding-inline: 1rem;
    flex-direction: column;
}

.car .row .name {
    font-size: 1.4rem;
}

.car .row .price {
    margin-top: 6px;
    color: var(--text-color-muted);
}

.d-container .details {
    padding-inline: 0 !important;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.d-container .detals .detail {
    aspect-ratio: 1/1;
}

.details {
    padding-inline: 1rem;
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.details .detail {
    box-shadow: inset 0 0 0.5px 1px hsla(0, 0%, 100%, 0.1),
        /* 2. shadow ring 👇 */
        0 0 0 1px hsla(230, 13%, 9%, 0.075),
        /* 3. multiple soft shadows 👇 */
        0 0.3px 0.4px hsla(230, 13%, 9%, 0.02),
        0 0.9px 1.5px hsla(230, 13%, 9%, 0.045),
        0 3.5px 6px hsla(230, 13%, 9%, 0.09);
    padding: 12px 6px;
    text-align: center;
    background-color: var(--clr-surface-a20);
    display: flex;
    flex-direction: column;
    gap: 6px;
    border-radius: 6px;
    color: var(--text-color);
    align-items: center;
    justify-content: center;
}

.details .detail span {
    font-size: 1.4rem;
    color: var(--text-color-muted);
}

.details .detail p {
    font-size: 1.2rem;
    font-weight: 500;
}

.arac-description {
    color: #fff;
    margin-inline: 1rem;
    margin-top: 5rem;
}

.other-cars {
    gap: 1rem;
    margin-inline: 1rem;
    display: grid;
    margin-top: 1rem;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}

.sub-title {
    color: #fff;
    margin-inline: 1rem;
    margin-top: 5rem;
    font-size: 2rem;
    font-weight: bold;
}

.arac-description .title {
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 1rem;
}
.details-title{
    margin-top: 3rem;
    font-size: 1.2rem;
    font-weight: bold;
    padding-bottom: 1rem;
}
.row-details {
    border-radius: 12px;
    text-align: left;
    width: 100%;
    border-color: collapse;
    border-spacing: 0;
    overflow: hidden;
    border: 1px solid var(--clr-primary-a0);
}
.row-details tr:last-child th{
    border-bottom: none;
}
.row-details tr th {
    border-bottom: 1px solid var(--clr-primary-a0);
    padding: 12px 12px;
}
.row-details tr:nth-child(odd) {
    background-color: var(--clr-surface-a10);
}
.row tr:last-child{
    border-bottom: none !important;
}
.row-details tr th:first-child {
    font-weight: 700;
    /* kalın */
    width: 40%;
}

.row-details tr th:last-child {
    font-weight: 400;
    /* ince */
    width: 60%;

}

.car .buy-button {
    margin-top: 1rem;
    height: 50px;
    width: calc(100% - 2rem);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin-bottom: 1rem;
    margin-inline: 1rem;
    background: linear-gradient(180deg, var(--clr-primary-a0), var(--clr-primary-a20));
    color: var(--clr-dark-a0);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
}

.featured-car {
    background-color: var(--clr-surface-a10);
    color: var(--text-color);
    border-radius: 12px;
    width: 100%;
    display: grid;
    grid-template-columns: 5fr 7fr;
}

.featured-car .img {
    padding: 1rem;

    aspect-ratio: 1/1;
}

.featured-car .img img {
    height: 100%;
    border-radius: 12px;
    width: 100%;
    object-fit: cover;
}

.d-container {
    padding: 1rem;
    display: flex;
    flex-direction: column;
    max-height: 100%;
    flex: 1;
}

.d-container .photos {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1rem;
}

.photos .active {
    border: 2px solid var(--clr-primary-a0);
}

.d-container .photos .photo {
    aspect-ratio: 3/2;
    height: 100%;
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.d-container .name {
    margin-top: 1rem;
    font-size: 1.6rem;
}

.d-container .desc {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.d-container .incele-btn {
    margin-top: auto;
    text-align: center;
    box-sizing: border-box;
    text-decoration: none;
    display: block;
    justify-self: flex-end;
    align-self: flex-end;
    width: 100%;
    font-size: 1.3rem;

    background: linear-gradient(180deg, var(--clr-primary-a0), var(--clr-primary-a20));
    color: var(--clr-dark-a0);
    padding: 12px 18px;
    border-radius: 10px;
    font-weight: 700;
}
footer{
    margin-top: 3rem;
    background-color: #000;
    color: var(--text-color);
}
.footer-content{
    text-align: center;
    padding: 2rem 1rem ;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    font-size: 0.9rem;
}
.footer-content img{
    margin-bottom: 1rem;
}
.footer-group{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.footer-content .title{
    margin-bottom: 1rem;
    font-size: 1.4rem;
    font-weight: bold;
}
.adresler{
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.dropdown-button{
    border-radius: 12px;
    height: 50px;
    position: relative;
    width: fit-content;
    background-color: var(--clr-surface-a0);
    color: #fff;
    cursor: pointer;
}
.dropdown-button:hover{
    background-color: var(--clr-surface-a10);
}
.dropdown-button.show{
    border-radius: 12px 12px 0 0;
    background-color: var(--clr-surface-a10);
}
.mt-1{
    margin-top: 1rem;
}
.dropdown-button .visual{
    padding: 6px 12px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}
.dropdown-button .dropdown .dropdown-search{
    display: flex;
    align-items: center;
    gap:6px;
}
.dropdown-search i{
    font-size: 2rem;
    padding: 6px;
    border-right: 1px solid #fff;
}
.dropdown-button .dropdown .dropdown-search input{
    height: 40px;
    flex-grow: 1;
    border-radius: 0 0 6px 6px;
    background-color: var(--clr-surface-a20);
    cursor: pointer;
    color: #fff;
    padding-left: 3px;
    border: none;
    outline: none;
}
.dropdown-button .dropdown{
    z-index: 1;
    height: fit-content;
    display: flex;
    position: inherit;
    opacity: 0;
    flex-direction: column;
    pointer-events: none;
    background-color: var(--clr-surface-a20);
}
.dropdown-button .dropdown:last-child{
    border-radius: 0 0 12px 12px;
}
.dropdown-button.show .dropdown{
    pointer-events: all;
    opacity: 1;
}
.dropdown-button .dropdown .dropdown-item{
    border-top: 2px solid #fff;
    padding: 6px 12px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: 0.1s ease all;
    width: 100%;
}
.dropdown-button .dropdown .dropdown-item:hover{
    border-radius: 0 0 12px 12px;

    background-color: var(--clr-surface-a10);
}
.referanslar {
  font-size: 15px;
  overflow: hidden;
  user-select: none;
  --gap: 3rem;
  display: flex;
  gap: var(--gap);
  margin: 3rem 0rem;
}

.referanslar ul {
  list-style: none;
  flex-shrink: 0;
  min-width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--gap);

  animation: scroll 20s linear infinite;
}

.referanslar:hover ul {
  animation-play-state: paused;
}
.referanslar li a img{
  height: 80px;
  transition: 0.1s ease all;
}
.referanslar li a img:hover{
  filter: grayscale(0);
}


@keyframes scroll {
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.h-container{
    text-align: center;
    color: var(--text-color);
    margin-block: 3rem;
}
.top-image{
    background-color: red;
    width: 100%;
    height: 375px;
    position: relative;
    margin-top: 75px;
}
.top-image img{
    position: absolute;
    top: 0;
    object-fit: cover;
    width: 100%;
    height: 100%;
    z-index: 0;
}
.top-image .overlay{
    position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    opacity: 0.6;
    z-index: 1;
}
.top-image h1{
    font-size: 3rem;
        position: absolute;
    top: 0;
    width: 100%;
    height: 100%;
    text-align: center;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}
.adresler .adres{
    display: flex;
    gap: 0.5rem;
    align-items: center;
}
.adresler .adres a{
    color: var(--text-color);
    text-decoration: none;
}
.adresler .adres .icon{
    background-color: var(--text-color);
    border-radius: 100%;
    height: 30px;
    width: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--clr-dark-a0);
}
.icon span{
    font-size: 1rem !important;

}
footer .copy{
    padding:0.5rem 1rem ;
    background-color: var(--clr-primary-a0);
    color: var(--clr-dark-a0);
}
.copy a{
    text-decoration: none;
    color: var(--clr-info-a0);
    font-weight: bold;
}
@media (max-width:980px) {
    
    .search-bar{
        margin-block: 3rem !important;
    }
    .img .images{
        height: auto !important;
        grid-template-columns: 1fr 1fr 1fr !important;
    }
    nav .links {
        display: none;
    }

    .container {
        padding-inline: 1rem;
    }
    .main-content{
        height: auto;
        flex-direction: column;
        padding-inline:0rem !important ;
    }
    .main-content .img{
        aspect-ratio: 4 / 3 !important;
        width: 100%;
    }
    .main-content .car-details{
        width: 100%;
    }
    .main-content .img{
        min-height: 575px;
        aspect-ratio: unset;
    }
    .other-cars{
        grid-template-columns: 1fr;
    }

    .featured-car {
        grid-template-columns: 1fr;
    }

    .cars-container {
        grid-template-columns: 1fr;
    }

    .d-container .details {
        grid-template-columns: 1fr 1fr !important;
    }
    .footer-content{
        grid-template-columns: 1fr;
gap: 2rem;
    }

}
/* --- Mobil Menü --- */
.menu-toggle {
    display: none;
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: var(--clr-primary-a0);
    z-index: 102;
}

.menu-toggle .material-icons {
    font-size: 2rem;
}

/* Mobil Menü Alanı */
.mobile-menu {
    position: fixed;
    top: 0;
    left: -260px;
    height: 100vh;
    width: 260px;
    background-color: var(--clr-surface-a0);
    box-shadow: 3px 0 8px rgba(0, 0, 0, 0.3);
    padding: 1.5rem 1rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: left 0.3s ease;
    z-index: 101;
}

.mobile-menu a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 1.2rem;
    padding: 0.5rem;
    border-radius: 6px;
    transition: 0.2s;
}

.mobile-menu a:hover {
    background-color: var(--clr-surface-a10);
    color: var(--clr-primary-a0);
}

/* Üst başlık (logo + kapatma) */
.mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.mobile-header .mobile-logo {
    height: 50px;
}

.close-btn {
    font-size: 2rem;
    color: var(--clr-primary-a0);
    cursor: pointer;
}

/* Arka plan overlay */
.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 100;
}

/* Açık olduğunda aktif stiller */
.mobile-menu.show {
    left: 0;
}

.menu-overlay.show {
    opacity: 1;
    pointer-events: all;
}

/* --- Mobil Görünüm --- */
@media (max-width: 980px) {
    nav .links {
        display: none !important;
    }

    .menu-toggle {
        display: block;
    }

    nav .logo {
        justify-content: flex-start;
        padding-left: 1rem;
    }
}