﻿/* Temel Ayarlar */
:root {
    --primary: #0A1463;
    --dark: #333;
    --light: #f9f9f9;
    --back: #ebe8fd;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html, body {
    height: 100%;
    margin: 0;
}

body {
    font-family: 'Segoe UI', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
}
.btn {
    text-decoration: none;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}
#loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

    #loading img {
        width: 200px; /* GIF boyutunu ihtiyaçınıza göre ayarlayın */
        height: auto;
    }
/* Header & Nav */
.site-header {
    background: var(--light);
    border-bottom: 2px solid var(--primary);
    position: sticky;
    top: 0;
    z-index: 1000;
}

    .site-header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 1rem 0;
    }

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary);
    text-decoration: none;
}
    .logo img {
        height: 50px;
        width: 150px;
        object-fit: contain;
        display: block;
    }

.nav-toggle {
    display: none;
    font-size: 1.5rem;
    background: none;
    border: none;
    cursor: pointer;
}

.site-nav ul {
    display: flex;
    list-style: none;
}

.site-nav a {
    display: inline-block; /* ← ekle */
    color: var(--dark);
    text-decoration: none;
    padding: 0 1rem;
    font-weight: 500;
    transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease; /* color da ekledik */
}

    .site-nav a:hover {
        transform: scale(1.05);
        color: var(--primary);
    }

.call {
    background: var(--primary);
    color: #fff;
    padding: 0.1rem 0.4rem;
    border-radius: 15px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    display: inline-block;
}
    .call a{
        color:#fff;
    }
        .call a:hover {
            transform: scale(1.15);
            color: #fff
        }
/* ------------------------------
   Hero Bölümü (dalgalı arka plan)
   ------------------------------ */
.hero {
    background: var(--back);
    color: var(--dark);
    position: relative;
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    right: 50%;
    margin-right: -50vw;
    overflow: hidden;
    padding: 3rem 1rem 0;
}

.hero-container {
    display: flex; /* eklendi */
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 2rem;
    position: relative;
    z-index: 2;
}

.hero-content {
    order: 1; /* eklendi */
    flex: 1 1 45%;
    max-width: 500px;
}

    .hero-content h1 {
        font-size: 2.5rem;
        color: var(--dark);
        margin-bottom: 1rem;
    }

    .hero-content p {
        font-size: 1.1rem;
        margin-bottom: 2rem;
        color: #555;
    }

    .hero-content .btn {
        border-radius: 9999px;
        padding: 0.8rem 2rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: var(--primary);
        color: #fff;
        font-weight: 500;
        text-decoration: none;
        box-shadow: 0 4px 8px rgba(0,0,0,0.1);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

        .hero-content .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 6px 14px rgba(0,0,0,0.15);
        }


.hero-extra {
    order: 2;
    flex: 0 0 auto;
    margin-left: 1.5rem;
    align-self: center;
    max-width: 40%;
}

.hero-image {
    order: 3;
    position: relative;
    overflow: visible;
}

    .hero-image img {
        position: relative;
        bottom: 0;
        transform: translateX(-100%);
        animation: slideIn 1.5s ease-out forwards;
    }

@keyframes slideIn {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0);
    }
}


    /* Yeni resimde animasyon ve translate etkisi olmasın */
    .hero-extra img {
        display: block;
        max-width: 100%;
        height: auto;
        transform: none !important;
        animation: none !important;
        border-radius:10%;
    }
/* Wave SVG */
.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 250px;
    z-index: 1;
}

    .hero-wave path {
        fill: var(--primary);
    }

/* Responsive */
@media (max-width: 992px) {

    .hero-image {
        text-align: center;
    }

        .hero-image img {
            width: 75%;
            max-width: 320px;
            height: auto;
        }
    .hero-extra {
        display:none;
    }
}

/* ------------------------------
   Services Bölümü (scroll ile gelme)
   ------------------------------ */
.services {
    padding: 4rem 0;
    text-align: center;
    transform: translateX(100%);
    opacity: 0;
    transition: transform 0.8s ease-out, opacity 0.8s ease-out;
}

    /* Scroll ile görünür olduğunda bu sınıf eklenecek */
    .services.visible {
        transform: translateX(0);
        opacity: 1;
    }

.section-title {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.service-list {
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 1.5rem;
}

.service-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 8px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

    .service-card h3 {
        margin-bottom: 0.5rem;
    }

/* -----------------------------
   Servis Süreci Bölümü
   ----------------------------- */
.process {
    position: relative;
    background: var(--back);
    overflow: hidden;
    margin-top: 2rem;
    padding-bottom: 2rem;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

/* Full‑bleed wave */
.process-wave {
    position: absolute;
    top: 0;
    left: 50%;
    width: 100vw;
    height: 160px;
    transform: translateX(-50%);
    z-index: 1;
}
    .process-wave path {
        fill: var(--primary);
    }

/* İçerik: timeline + image */
.process-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 2rem;
}
.process-title {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    padding: 2rem 0 1rem; /* dalganın altından biraz boşluk */
    text-align: center;
    font-size: 2rem;
    color: var(--dark);
}
/* Timeline */
.timeline {
    position: relative;
    flex: 1 1 50%;
    padding-left: 2rem;
}

    /* Dikey çizgi */
    .timeline::before {
        content: "";
        position: absolute;
        left: 1rem;
        top: 0;
        bottom: 0;
        width: 2px;
        background: #ddd;
    }

/* Timeline item */
.timeline-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 2.5rem;
    position: relative;
    transition: transform 0.3s ease-in-out;
    transform-origin: left center;
}
    /* Hover durumunda biraz ölçeklensin */
    .timeline-item:hover {
        transform: scale(1.03);
        z-index: 2;
    }
    /* Nokta */
    .timeline-item::before {
        content: "";
        position: absolute;
        left: 0;
        top: 0.75rem;
        width: 12px;
        height: 12px;
        background: #fff;
        border: 2px solid #ddd;
        border-radius: 50%;
        transform: translateX(-50%);
    }

/* Heksagon */
.hexagon {
    flex: 0 0 80px;
    height: 92px; /* 80*√3/2 */
    margin-right: 1rem;
    clip-path: polygon( 25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50% );
    overflow: hidden;
}

    .hexagon img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

/* Metin kısmı */
.timeline-text h3 {
    margin: 0 0 0.5rem;
    font-size: 1.1rem;
    color: var(--dark);
}

.timeline-text p {
    margin: 0;
    font-size: 0.95rem;
    color: #666;
    line-height: 1.5;
}

/* Yan görsel */
.process-image {
    flex: 1 1 40%;
    text-align: center;
}

    .process-image img {
        max-width: 100%;
        height: auto;
    }

/* Başlangıç çok sağda, tamamen görünmez */
.slide-in-image {
    transform: translateX(100vw);
    visibility: hidden;
}

    /* Tetiklendiğinde görünür ve sağa→orta kay */
    .slide-in-image.active {
        visibility: visible;
        animation: slideInFromRight 1s ease-out forwards;
    }

@keyframes slideInFromRight {
    from {
        transform: translateX(100vw);
    }

    to {
        transform: translateX(0 );
    }
}



/* Responsive */
@media (max-width: 992px) {
    .process-content {
        flex-direction: column;
    }

    .process-image {
        order: -1;
        margin-bottom: 2rem;
    }

    .timeline {
        padding-left: 1rem;
    }

        .timeline::before {
            left: 0.5rem;
        }

    .timeline-item::before {
        left: 0;
    }
}

/* Footer */
.site-footer {
    background: var(--dark);
    color: #fff;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
    padding: 2rem 0;
}

/* Logo + Açıklama */
.footer-logo-desc {
    flex: 1 1 200px;
}

.footer-logo {
    max-width: 150px;
    margin-bottom: 1rem;
}

.footer-desc {
    font-size: 0.9rem;
    line-height: 1.6;
}

/* Hızlı Linkler */
.footer-links {
    flex: 1 1 150px;
}

    .footer-links h4 {
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .footer-links ul {
        list-style: none;
        padding: 0;
    }

    .footer-links li {
        margin-bottom: 0.5rem;
    }

    .footer-links a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-links a:hover {
            color: var(--primary);
        }

/* İletişim Bilgileri */
.footer-contact {
    flex: 1 1 200px;
}

    .footer-contact h4 {
        margin-bottom: 0.75rem;
        font-size: 1.1rem;
    }

    .footer-contact ul {
        list-style: none;
        padding: 0;
    }

    .footer-contact li {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        margin-bottom: 0.5rem;
    }

    .footer-contact a {
        color: #fff;
        text-decoration: none;
        transition: color 0.3s;
    }

        .footer-contact a:hover {
            color: var(--primary);
        }

    .footer-contact i {
        font-size: 1.2rem;
    }

/* Alt kısım */
.footer-bottom {
    border-top: 1px solid #444;
    padding: 1rem 0;
    text-align: center;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        text-align: center;
    }

    .footer-links,
    .footer-contact {
        display: inline-block;
        margin: 1.5rem auto 0;
        text-align: center;
    }
}


/* Responsive */
@media (max-width: 992px) {
    .service-list {
        grid-template-columns: repeat(2,1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: block;
    }
    .call {
        border-radius: 5%;
        padding:0 0 ;
        text-align:center;
    }
    .site-nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--light);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }

        .site-nav.open {
            max-height: 300px;
        }

        .site-nav ul {
            flex-direction: column;
        }

        .site-nav li {
            text-align:center;
        }
        .site-nav a {
            padding: 1rem;
        }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 2rem;
    }

    .service-list {
        grid-template-columns: 1fr;
    }
}

/* =========================================
   ONARIM HİZMETLERİ (Tam genişlik slider)
   ========================================= */
.repairs {
    padding: 3rem 0;
}

.repairs-title { /* başlık */
    text-align: center;
    color: var(--primary);
    margin: 0 0 1.5rem;
    font-size: 2rem;
}

/* --- Sarıcı: kaydırıcı + ok boşlukları --- */
.repairs-wrapper {
    position: relative;
    padding: 0 64px; /* oklar için sağ/sol kanal */
}

/* --- Kaydırıcı --- */
.repairs-scroller {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%; /* her kart container genişliği kadar */
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
}

    .repairs-scroller::-webkit-scrollbar {
        display: none;
    }
/* Chrome */

/* --- Kart --- */
.repair-card {
    display: flex;
    min-height: 320px;
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0,0,0,.08);
    scroll-snap-align: start;
}
    .repair-card img{
        border-radius:10%;
    }
    /* Kart metin */
    .card-text {
        flex: 1 1 55%;
        padding: 2rem 1.75rem;
        display: flex;
        flex-direction: column;
        gap: 1rem;
    }

    .card-text h3 {
        margin: 0;
        font-size: 1.35rem;
        color: #1f2937;
    }

    .card-text p {
        margin: 0;
        font-size: 1rem;
        color: #55606f;
        line-height: 1.55;
    }

/* Outline buton */
.btn-outline {
    align-self: flex-start;
    padding: .55rem 1.05rem;
    border: 1px solid var(--primary);
    color: var(--primary);
    border-radius: 8px;
    text-decoration: none;
    transition: all .25s;
}

    .btn-outline:hover {
        background: var(--primary);
        color: #fff;
        transform: translateY(-2px);
    }

/* Kart görsel */
.card-media {
    flex: 1 1 45%;
    overflow: hidden;
}

    .card-media img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform .35s;
    }

.repair-card:hover .card-media img {
    transform: scale(1.05);
}

/* --- Ok Butonları --- */
.repairs-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: none;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,.25);
    font-size: 1.75rem;
    cursor: pointer;
    z-index: 5;
}

    .repairs-nav.prev {
        left: 10px;
    }

    .repairs-nav.next {
        right: 10px;
    }

    .repairs-nav:hover {
        background: #f6f6f6;
    }

/* --- Mobil düzen --- */
@media (max-width: 768px) {
    .repair-card {
        flex-direction: column;
    }

    .card-media {
        height: 180px;
    }

    .card-text {
        padding: 1.5rem 1.25rem;
    }
}


/* Animasyon efektleri */
@keyframes slideInFromRight {
    0% {
        transform: translateX(100%) translateY(5%);
        opacity: 0;
    }

    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

.fade-in-right {
    opacity: 0;
}

    .fade-in-right.active {
        animation: slideInFromRight 1s ease-out forwards;
    }

@keyframes slideInFromLeft {
    0% {
        transform: translateX(-100%) translateY(-5%);
        opacity: 0;
    }

    100% {
        transform: translateX(0) translateY(0);
        opacity: 1;
    }
}

.fade-in-left {
    opacity: 0;
}

    .fade-in-left.active {
        animation: slideInFromLeft 1.2s ease-out forwards;
    }

@keyframes opacity {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
@keyframes bounceIn {
    0% {
        transform: translateY(-200%);
        opacity: 0;
    }

    60% {
        transform: translateY(30px);
        opacity: 1;
    }

    80% {
        transform: translateY(-10px);
    }

    100% {
        transform: translateY(0);
    }
}

.bounce-in {
    opacity: 0;
}

    .bounce-in.active {
        animation: bounceIn 2s ease-out forwards;
        opacity:0.9;
    }


/* =========================================
   Hakkımızda Sayfası
   ========================================= */

/* Hero */
.about-hero {
    background: var(--primary);
    color: #fff;
    position: relative;
    /* Full-bleed hack: sol-sağ boşluksuz */
    width: 100vw;
    left: 50%;
    margin-left: -50vw;
    padding: 5rem 1rem 6rem; /* altı wave yüksekliğine uyumlu boşluk */
    text-align: center;
    box-sizing: border-box;
}

    .about-hero h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
    }

    .about-hero p {
        max-width: 700px;
        margin: 0 auto 2rem;
        font-size: 1.1rem;
        line-height: 1.6;
    }

/* Dalga SVG’i full-bleed ve altta sabit */
.about-hero-wave {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 150px;
    z-index: 1;
}

.btn-about {
    grid-column: 1 / -1;
    justify-self: center;
    border-radius: 9999px;
    padding: 0.8rem 2rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary);
    color: #fff;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .btn-about:hover {
        transform: scale(1.05);
        opacity: 0.9;
    }

/* Değerler (Values) */
.about-values {
    background: #fff;
    padding: 4rem 1rem;
}

    .about-values .value-card {
        text-align: center;
        padding: 2rem 1rem;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        transition: transform .3s;
    }

        .about-values .value-card:hover {
            transform: translateY(-30px);
        }

        .about-values .value-card i {
            font-size: 2rem;
            color: var(--primary);
            margin-bottom: .75rem;
        }

        .about-values .value-card h3 {
            margin-bottom: .5rem;
            font-size: 1.25rem;
        }

        .about-values .value-card p {
            font-size: .95rem;
            color: #666;
        }

    .about-values .container {
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
        gap: 1.5rem;
        max-width: 1000px;
        margin: auto;
    }

/* Tarihçe (Timeline) */
.about-history {
    padding: 4rem 1rem;
    background: var(--light);
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
}

    .about-history .section-title {
        text-align: center;
        color: var(--primary);
        margin-bottom: 2rem;
    }

.history-timeline {
    list-style: none;
    max-width: 800px;
    margin: auto;
    padding-left: 1rem;
    border-left: 3px solid var(--primary);
}

    .history-timeline li {
        position: relative;
        margin-bottom: 2rem;
        padding-left: 1.5rem;
    }

        .history-timeline li::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 4px;
            width: 16px;
            height: 16px;
            background: var(--primary);
            border-radius: 50%;
        }

    .history-timeline .year {
        display: inline-block;
        font-weight: bold;
        margin-bottom: .25rem;
        color: var(--primary);
    }

    .history-timeline p {
        margin: 0;
        color: #555;
        line-height: 1.5;
    }

/* Ekibimiz (Team) */
.about-team {
    padding: 4rem 1rem;
    background: #fff;
}

    .about-team .section-title {
        text-align: center;
        color: var(--primary);
        margin-bottom: 2rem;
    }

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(180px,1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: auto;
}

.team-member {
    text-align: center;
    padding: 1rem;
    border-radius: 8px;
    transition: transform .3s, box-shadow .3s;
    background: var(--light);
}

    .team-member:hover {
        transform: translateY(-8px);
        box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    }

    .team-member img {
        width: 100px;
        height: 100px;
        border-radius: 50%;
        object-fit: cover;
        margin-bottom: .75rem;
    }

    .team-member h4 {
        margin: .25rem 0;
        font-size: 1.1rem;
    }

    .team-member p {
        margin: 0;
        font-size: .9rem;
        color: #666;
    }

/* Responsive Genellikler */
@media (max-width: 768px) {
    .about-hero h1 {
        font-size: 2.5rem;
    }

    .about-values .container,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .history-timeline {
        padding-left: .5rem;
        border-left-width: 2px;
    }

        .history-timeline li::before {
            left: -6px;
            width: 12px;
            height: 12px;
        }
}
/* =========================================
   Contact Page (İletişim Sayfası)
   ========================================= */
.contact-page {
    padding: 4rem 1rem;
    background: var(--light);
}

.contact-title {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 2rem;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.info-card {
    text-decoration:none;
    background: #fff;
    padding: 2rem 1.5rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease;
}

    .info-card:hover {
        transform: translateY(-6px);
    }

    .info-card i {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 0.75rem;
    }

    .info-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.5rem;
        color: var(--dark);
    }

    .info-card p {
        font-size: 1rem;
        color: #555;
        line-height: 1.5;
    }
.message-form {
    margin-top: 2rem;
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

    .message-form h2 {
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .message-form .form-group {
        margin-bottom: 1rem;
    }

    .message-form label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 500;
    }

    .message-form .form-control {
        width: 100%;
        padding: 0.75rem;
        border: 1px solid #ccc;
        border-radius: 4px;
        resize: vertical;
    }

    .message-form #sendBtn {
        background: var(--primary);
        color: #fff;
        padding: 0.7rem 1.5rem;
        border: none;
        border-radius: 6px;
        cursor: pointer;
        transition: background 0.3s, transform 0.3s;
    }

        .message-form #sendBtn:hover {
            background: var(--primary);
            transform: scale(1.3);
        }

/* Responsive düzen */
@media (max-width: 576px) {
    .contact-title {
        font-size: 2rem;
    }

    .info-card {
        padding: 1.5rem 1rem;
    }

        .info-card i {
            font-size: 1.75rem;
        }
}
/* === Erişilebilirlik ve Vitals İyileştirmeleri === */

/* Görseller taşmayı bozmasın; boyutlar HTML'de de veriliyor ama emniyet için: */
img {
    max-width: 100%;
    height: auto;
}

/* Klavye ile gezinmede görünür odak halkası (WCAG) */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 6px;
}

/* Buton tıklanabilir alanı (mobil 44px kuralı) */
/*.btn, .btn-outline, .site-nav a, .info-card, .call a {
    min-height: 44px;
}*/

/* Telefon butonunun tutarlı görünmesi */

/*.call .btn, .call a {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .6rem 1rem;
    border-radius: 9999px;
}*/



/* Yükleme overlay'i JS ile gizlenecekse attribute-destekli kapama */
#loading[hidden] {
    display: none !important;
}

/* Hareketi azalt: kullanıcının sistem tercihini saygıla */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* CLS’yi azalt: hero için asgari yükseklik (mobil kırılmada zıplamayı önler) */
.hero {
    min-height: 420px;
}

/* Navigasyonda küçük ekranlarda “call” butonunun daha okunur olması */
@media (max-width: 768px) {
    .call {
        padding: .25rem .5rem;
    }

        .call a {
            font-size: 1rem;
        }
}

/* Sticky “Hemen Ara” çubuğu (opsiyonel): HTML'de .sticky-call eklersen etkinleşir */
.sticky-call {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1200;
    background: var(--primary);
    color: #fff;
    display: none; /* varsayılan kapalı */
}

    .sticky-call a {
        display: block;
        text-align: center;
        padding: .85rem 1rem;
        color: #fff;
        text-decoration: none;
        font-weight: 600;
    }

@media (max-width: 768px) {
    .sticky-call {
        display: block;
    }
}

/* Trust badge/rozetler (Index'te önerdiğim liste için) */
.trust-badges {
    list-style: none;
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
    padding: 0;
    margin: 1rem 0 0 0;
}

    .trust-badges li {
        background: #fff;
        border: 1px solid #e5e7eb;
        padding: .35rem .6rem;
        border-radius: 9999px;
        font-size: .9rem;
        color: #374151;
    }

/* Footer linklerinde kontrastlı hover (koyu arkaplanda daha görünür) */
.footer-links a:focus-visible,
.footer-contact a:focus-visible,
.footer-links a:hover,
.footer-contact a:hover {
    color: #cfd6ff;
}

/* Timeline hover çok büyütüp layout’u oynatmasın: aşırı ölçeği azalt */
.timeline-item:hover {
    transform: scale(1.03); /* ÖNCE: 1.3 idi — büyük CLS yapar */
}

/* Hero görsel animasyonu performans ipucu */
.hero-image img {
    will-change: transform;
}

/* Skip link (HTML'e .skip-link eklersen ekran okuyucu ve klavye için) */
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

    .skip-link:focus {
        left: 1rem;
        top: 1rem;
        width: auto;
        height: auto;
        padding: .5rem .75rem;
        background: #fff;
        color: #000;
        border: 2px solid var(--primary);
        z-index: 2000;
        border-radius: 8px;
    }

/* Mobil menü: linkler arasında nefes */
@media (max-width: 768px) {
    .site-nav a {
        padding: 1rem 1.25rem;
    }
}
/* =========================================
   FAQ (Sık Sorulan Sorular)
   ========================================= */
.faq {
    padding: 3rem 1rem;
    max-width: 900px;
    margin: 0 auto;
}

    .faq h2 {
        text-align: center;
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 2rem;
    }

    .faq details {
        background: #fff;
        border: 1px solid #e5e7eb;
        border-radius: 8px;
        margin-bottom: 1rem;
        padding: 1rem 1.25rem;
        box-shadow: 0 2px 8px rgba(0,0,0,0.05);
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

        .faq details:hover {
            transform: translateY(-2px);
            box-shadow: 0 4px 12px rgba(0,0,0,0.08);
        }

    .faq summary {
        cursor: pointer;
        font-weight: 600;
        color: var(--dark);
        list-style: none; /* default arrow'u kaldırmak için */
        position: relative;
        padding-right: 1.5rem;
    }

        .faq summary::after {
            content: "+";
            position: absolute;
            right: 0;
            top: 0;
            font-size: 1.25rem;
            color: var(--primary);
            transition: transform 0.3s ease;
        }

    .faq details[open] summary::after {
        content: "–"; /* açıkken artı işaretini eksiye çevir */
        transform: rotate(180deg);
    }

    .faq p {
        margin-top: 0.75rem;
        font-size: 0.95rem;
        color: #555;
        line-height: 1.55;
    }
/* =========================================
   Hero yan blok (hero-aside) & liste
   ========================================= */
.hero-aside {
    order: 2;
    flex: 1 1 40%;
    max-width: 420px;
}

.hero-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}

    .hero-list li {
        background: #fff;
        border-radius: 9999px;
        padding: 0.5rem 0.9rem;
        font-size: 0.95rem;
        color: #374151;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        box-shadow: 0 2px 6px rgba(0,0,0,0.05);
    }

        .hero-list li::before {
            content: "✓";
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 18px;
            height: 18px;
            border-radius: 9999px;
            background: var(--primary);
            color: #fff;
            font-size: 0.75rem;
        }

/* Hero mobil düzen */
@media (max-width: 992px) {
    .hero-container {
        flex-direction: column;
    }

    .hero-aside {
        max-width: 100%;
    }
}

/* =========================================
   Tamir Ettiğimiz Scooter Markaları
   ========================================= */
#tamir-edilen-scooterlar {
    scroll-margin-top: 100px; /* sticky header altında kalmasın */
}

.brand-repairs {
    padding: 4rem 0;
    background: #fff;
}

    .brand-repairs .container {
        max-width: 1100px;
    }

/* Bölüm başlığı */
.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 2.5rem;
}

    .section-header h2 {
        font-size: 2rem;
        color: var(--primary);
        margin-bottom: 0.75rem;
    }

    .section-header p {
        font-size: 0.98rem;
        color: #4b5563;
    }

/* Marka grid'i */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.75rem;
}

@media (max-width: 768px) {
    .brand-grid {
        grid-template-columns: 1fr;
    }
}

/* Marka kartları */
.brand-card {
    background: #ffffff;
    border-radius: 14px;
    padding: 1.75rem 1.5rem;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    border: 1px solid #e5e7eb;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.45s ease-out, transform 0.45s ease-out;
}

    .brand-card h3 {
        font-size: 1.15rem;
        margin: 0;
        color: #111827;
    }

    .brand-card p {
        margin: 0;
        font-size: 0.96rem;
        color: #4b5563;
        line-height: 1.6;
    }

    .brand-card .btn-outline {
        margin-top: 0.75rem;
    }

    /* JS ile active olduğunda görünür olacak */
    .brand-card.active {
        opacity: 1;
        transform: translateY(0);
    }
/* =========================================
   Marka Detay Sayfaları (Xiaomi, Onvo, Volta, Citymate, Ninebot Segway)
   ========================================= */

.content-page.brand-detail {
    padding: 4rem 1rem 4.5rem;
    background: #f9fafb; /* contact-page ile uyumlu açık zemin */
}

.brand-detail .container {
    max-width: 900px;
    margin: 0 auto;
}

/* Üst başlık alanı */
.brand-hero {
    margin-bottom: 2.5rem;
}

    .brand-hero h1 {
        font-size: 2.2rem;
        color: var(--primary);
        margin-bottom: 1rem;
    }

    .brand-hero p {
        font-size: 1rem;
        color: #4b5563;
        max-width: 720px;
        line-height: 1.7;
    }

    .brand-hero .btn {
        margin-top: 1.25rem;
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.8rem 1.9rem;
        border-radius: 9999px;
        background: var(--primary);
        color: #fff;
        font-weight: 500;
        text-decoration: none;
        box-shadow: 0 4px 10px rgba(15,23,42,0.18);
        transition: transform 0.25s ease, box-shadow 0.25s ease, opacity 0.25s ease;
    }

        .brand-hero .btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 18px rgba(15,23,42,0.25);
            opacity: 0.95;
        }

/* İç bloklar (h2 başlık + metin) */
.brand-detail section {
    margin-bottom: 1.75rem;
    padding: 1.5rem 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(15,23,42,0.06);
    border-left: 4px solid rgba(10, 20, 99, 0.08); /* hafif vurgu */
}

    .brand-detail section:last-of-type {
        margin-bottom: 0;
    }

    /* İlk içerik bloğuna biraz daha vurgu */
    .brand-detail section:first-of-type {
        border-left-color: var(--primary);
    }

/* H2 ve H3 başlıklar */
.brand-detail h2 {
    font-size: 1.4rem;
    color: #111827;
    margin-bottom: 0.75rem;
}

.brand-detail h3 {
    font-size: 1.1rem;
    color: #1f2933;
    margin-top: 1rem;
    margin-bottom: 0.4rem;
}

/* Paragraflar ve listeler */
.brand-detail p {
    font-size: 0.96rem;
    color: #4b5563;
    line-height: 1.7;
    margin-bottom: 0.5rem;
}

.brand-detail ul {
    margin: 0.5rem 0 0.25rem 1.25rem;
    padding: 0;
}

    .brand-detail ul li {
        font-size: 0.95rem;
        color: #4b5563;
        line-height: 1.6;
        margin-bottom: 0.25rem;
    }

/* Mobil görünüm iyileştirmeleri */
@media (max-width: 768px) {
    .content-page.brand-detail {
        padding: 3rem 1rem 3.5rem;
    }

    .brand-hero h1 {
        font-size: 1.8rem;
    }

    .brand-hero p {
        font-size: 0.95rem;
    }

    .brand-detail section {
        padding: 1.25rem 1.1rem;
    }
}
