/* --- 1. GENEL AYARLAR & DARK TEMA --- */
:root {
    --primary-red: #ff0015;
    --bg-dark: #050505;
    --card-dark: #111111;
    --text-white: #e0e0e0;
    --border-color: #222;
    --gold: #FFD700;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body { 
    font-family: 'Roboto', sans-serif; 
    background-color: var(--bg-dark); 
    color: var(--text-white); 
    padding-bottom: 80px; 
    overflow-x: hidden; 
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- PRELOADER --- */
#preloader {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: #000; z-index: 9999;
    display: flex; flex-direction: column; justify-content: center; align-items: center;
}
.loader-icon { font-size: 50px; color: var(--primary-red); animation: spin 1s linear infinite; }
.loader-text { margin-top: 15px; font-family: 'Rajdhani'; letter-spacing: 3px; color: #fff; font-size: 1.2rem; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* --- HEADER --- */
header {
    background: linear-gradient(to bottom, rgba(30,30,30,0.95), rgba(0,0,0,0.95));
    position: sticky; top: 0; z-index: 1000;
    border-bottom: 1px solid var(--border-color); height: 70px;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}
.header-inner {
    max-width: 1200px; margin: 0 auto; height: 100%;
    display: flex; justify-content: space-between; align-items: center; padding: 0 20px;
}
.logo img { height: 45px; filter: drop-shadow(0 0 2px rgba(255,255,255,0.5)); }

.desktop-nav { display: none; gap: 30px; }
.desktop-nav a { font-weight: 700; font-family: 'Rajdhani'; text-transform: uppercase; font-size: 1.1rem; color: #fff; }
.desktop-nav a:hover { color: var(--primary-red); text-shadow: 0 0 10px var(--primary-red); }
.hamburger { font-size: 1.8rem; color: #fff; cursor: pointer; display: block; }

/* Mobil Menu Overlay */
.mobile-menu-overlay {
    position: fixed; top: 70px; left: 0; width: 100%; height: calc(100vh - 70px);
    background: #000; z-index: 999;
    transform: translateX(100%); transition: 0.3s;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.mobile-menu-overlay.active { transform: translateX(0); }
.mobile-menu-overlay a { font-size: 1.5rem; font-weight: 700; font-family: 'Rajdhani'; color: #fff; }

@media (min-width: 992px) {
    .desktop-nav { display: flex; }
    .hamburger, .mobile-menu-overlay { display: none; }
}

/* --- HERO SLIDER --- */
.hero-slider { position: relative; width: 100%; height: 70vh; overflow: hidden; background: #000; }
.slide { position: absolute; top: 0; left: 0; width: 100%; height: 100%; opacity: 0; transition: opacity 1s ease; display: flex; align-items: center; }
.slide.active { opacity: 1; }
.slide-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background-size: cover; background-position: center;
    filter: brightness(0.35); transform: scale(1); transition: transform 6s ease;
}
.slide.active .slide-bg { transform: scale(1.1); }

.hero-container {
    position: relative; z-index: 2; max-width: 1200px; margin: 0 auto; padding: 0 20px;
    width: 100%; display: flex; justify-content: space-between; align-items: center;
}
.slide-content { max-width: 600px; color: #fff; }

.slide-title {
    font-family: 'Roboto', sans-serif; font-weight: 900; font-style: italic;
    font-size: 3.5rem; line-height: 0.9; text-transform: uppercase; margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0,0,0,0.8);
    opacity: 0; transform: translateY(30px); transition: 0.5s 0.5s;
}
.slide-desc {
    font-size: 1rem; color: #ccc; margin-bottom: 25px; border-left: 3px solid var(--primary-red); padding-left: 15px;
    opacity: 0; transform: translateY(30px); transition: 0.5s 0.7s;
}

/* --- FİYAT ETİKETİ ANİMASYONLARI --- */
@keyframes spinSlam {
    0% { transform: scale(0) rotate(720deg); opacity: 0; }
    60% { transform: scale(1.1) rotate(-10deg); opacity: 1; }
    100% { transform: scale(1) rotate(-3deg); opacity: 1; }
}
@keyframes spinOut {
    0% { transform: scale(1) rotate(-3deg); opacity: 1; }
    100% { transform: scale(0) rotate(-720deg); opacity: 0; }
}
@keyframes redPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 21, 0.4); border-color: rgba(255,255,255,0.3); }
    50% { box-shadow: 0 0 40px 10px rgba(255, 0, 21, 0.2); border-color: rgba(255,0,21,0.8); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 21, 0); border-color: rgba(255,255,255,0.3); }
}

.price-badge {
    background: rgba(0, 0, 0, 0.3); backdrop-filter: blur(8px);
    border: 1px solid rgba(255,255,255,0.3); padding: 25px; border-radius: 10px;
    text-align: center; color: #fff; min-width: 260px;
    transform: rotate(-3deg); opacity: 0;
}

/* --- GÜNCELLENEN KISIM: SÜRE 1 SANİYE YAPILDI --- */
.badge-in {
    /* 1s bekle, sonra 0.8sn içinde gelsin */
    animation: spinSlam 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) 1s forwards, 
               redPulse 2s infinite 1.8s; /* Pulse efekti 1.8s sonra başlasın */
}

.badge-out { animation: spinOut 0.8s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards; }

.price-value {
    font-family: 'Rajdhani', sans-serif; font-weight: 900; font-size: 3rem; color: var(--primary-red);
    text-shadow: 0 0 15px rgba(255,0,21,0.5);
}
.slide.active .slide-title, .slide.active .slide-desc { opacity: 1; transform: translateY(0); }

/* --- ORTAK BÖLÜM STİLLERİ --- */
.section-padding { padding: 50px 0; }
.section-header {
    max-width: 1200px; margin: 0 auto 30px; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: end;
}
.title-block { border-left: 5px solid var(--primary-red); padding-left: 20px; }
.sec-title { 
    font-family: 'Rajdhani'; font-weight: 900; font-size: 2.5rem; color: #fff; line-height: 1; 
    text-transform: uppercase; letter-spacing: 1px;
    text-shadow: 0 0 20px rgba(255, 0, 21, 0.3);
}
.sec-subtitle { font-size: 0.9rem; color: #888; font-weight: 600; text-transform: uppercase; letter-spacing: 2px; display: block; margin-bottom: 5px; }
.swipe-hint { font-size: 0.7rem; color: #666; animation: slideRight 1s infinite alternate; }
@keyframes slideRight { from {transform:translateX(0);} to {transform:translateX(5px);} }

/* --- SCROLL YAPISI --- */
.horizontal-scroll {
    display: flex; gap: 15px; overflow-x: auto; padding: 0 20px 30px 20px;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
}
.horizontal-scroll::-webkit-scrollbar { display: none; }

/* --- KART STANDARDI & HOVER EFEKTLERİ --- */
.scroll-card {
    min-width: 85vw; background: var(--card-dark); 
    border: 1px solid #222; border-radius: 12px;
    scroll-snap-align: center; position: relative; overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.4s ease;
}
.scroll-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(255, 0, 21, 0.15);
    border-color: var(--primary-red);
}
.scroll-card:hover .srv-img, 
.scroll-card:hover .garage-img { transform: scale(1.1); }

.srv-img { height: 200px; width: 100%; object-fit: cover; filter: brightness(0.8); transition: transform 0.6s ease; }
.srv-body { padding: 25px 20px; background: linear-gradient(to bottom, #111, #000); }
.srv-body h3 { 
    font-family: 'Rajdhani'; font-weight: 700; font-size: 1.6rem; margin-bottom: 10px; color: #fff;
    display: flex; justify-content: space-between; align-items: center;
}
.srv-body p { color: #888; font-size: 1rem; }

/* --- NEDEN BİZ? --- */
#features {
    background-color: #0c0c0c;
    background-image: radial-gradient(circle, #1a1a1a 1px, transparent 1px);
    background-size: 20px 20px;
    border-top: 1px solid #222; border-bottom: 1px solid #222;
    position: relative;
}
#features::after {
    content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(255,0,21,0.03), transparent 70%);
    pointer-events: none;
}

.feature-grid { 
    display: flex; gap: 15px; overflow-x: auto; 
    padding: 30px 20px; 
    scroll-snap-type: x mandatory; position: relative; z-index: 2;
}

.feature-card {
    min-width: 75vw; background: linear-gradient(145deg, #151515, #0a0a0a);
    padding: 30px 20px; border-radius: 15px; border: 1px solid #222;
    text-align: center; display: flex; flex-direction: column; align-items: center;
    scroll-snap-align: center; 
    transition: transform 0.4s ease, box-shadow 0.4s ease; 
    position: relative; overflow: hidden;
}
.feature-card::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 100%; height: 3px;
    background: var(--primary-red); transform: scaleX(0); transition: 0.4s;
}
.feat-icon {
    width: 70px; height: 70px; border-radius: 50%; background: #0f0f0f;
    border: 1px solid #333; display: flex; align-items: center; justify-content: center;
    color: #666; font-size: 2rem; margin-bottom: 20px;
    transition: 0.4s; box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}
.feat-title { font-family: 'Rajdhani'; font-weight: 700; font-size: 1.4rem; color: #fff; margin-bottom: 10px; transition: 0.3s; }
.feat-desc { font-size: 0.95rem; color: #777; line-height: 1.5; transition: 0.3s; }

/* --- GARAJ --- */
#garage {
    background-color: #080808;
    background-image: linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111),
                      linear-gradient(45deg, #111 25%, transparent 25%, transparent 75%, #111 75%, #111);
    background-size: 20px 20px; background-position: 0 0, 10px 10px; border-top: 1px solid #222;
}
.garage-img { height: 300px; width: 100%; object-fit: cover; filter: brightness(0.7); transition: transform 0.6s ease; }
.garage-overlay {
    position: absolute; bottom: 0; left: 0; width: 100%;
    background: linear-gradient(to top, #000 20%, transparent); padding: 30px 20px; color: #fff;
}
.badge { 
    background: var(--primary-red); padding: 5px 15px; border-radius: 2px; 
    font-size: 0.8rem; font-weight: bold; margin-bottom: 10px; display: inline-block;
    box-shadow: 0 0 10px var(--primary-red);
}

/* --- GOOGLE YORUMLARI --- */
#reviews { background-color: #0f0f0f; border-top: 1px solid #222; position: relative; }
#reviews::before {
    content: ''; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 300px; height: 300px; background: url('https://upload.wikimedia.org/wikipedia/commons/c/c1/Google_%22G%22_logo.svg') no-repeat center;
    background-size: contain; opacity: 0.03; pointer-events: none;
}
.review-card {
    min-width: 85vw; background: #181818; padding: 30px; border-radius: 10px; border: 1px solid #333; 
    position: relative; scroll-snap-align: center;
}
.review-header { display: flex; align-items: center; gap: 15px; margin-bottom: 15px; }
.reviewer-img { 
    width: 50px; height: 50px; border-radius: 50%; background: #333; 
    display: flex; align-items: center; justify-content: center; font-weight: bold; color: #fff; font-size: 1.2rem;
}
.stars { color: var(--gold); font-size: 0.9rem; margin-top: 5px; }
.review-text { font-size: 0.95rem; color: #ccc; font-style: italic; line-height: 1.6; }
.google-icon-small { position: absolute; top: 20px; right: 20px; font-size: 1.2rem; color: #888; }

/* --- FOOTER --- */
footer { 
    background: linear-gradient(to bottom, #1a1a1a, #000000);
    border-top: 1px solid #222; 
    padding: 60px 0 30px; 
    overflow: hidden; 
}
.footer-grid { display: grid; grid-template-columns: 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 20px; text-align: center; }
.footer-col h4 { color: #fff; font-family: 'Rajdhani'; font-size: 1.3rem; margin-bottom: 20px; display: inline-block; border-bottom: 2px solid var(--primary-red); padding-bottom: 5px; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: #888; font-size: 0.95rem; }
.footer-links a:hover { color: var(--primary-red); }
.footer-contact li { display: flex; justify-content: center; gap: 10px; margin-bottom: 15px; color: #ccc; }
.footer-contact i { color: var(--primary-red); margin-top: 4px; }
.copyright { text-align: center; border-top: 1px solid #1a1a1a; margin-top: 50px; padding-top: 20px; color: #444; font-size: 0.8rem; }
.footer-logo { height: 50px; margin-bottom: 15px; display: inline-block; filter: drop-shadow(0 0 2px rgba(255,255,255,0.7)); }

/* --- MOBİL NAV --- */
.mobile-nav {
    position: fixed; bottom: 0; left: 0; width: 100%; height: 70px;
    background: #0f0f0f; border-top: 1px solid #222; z-index: 2000;
    display: flex; justify-content: space-around; align-items: center;
}
.mn-item { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; color: #888; font-size: 0.75rem; text-decoration: none; height: 100%; }
.mn-item i { font-size: 1.4rem; margin-bottom: 3px; }

/* BÜYÜK WHATSAPP */
.mn-item .fa-whatsapp { font-size: 2.2rem; color: #25D366; filter: drop-shadow(0 0 5px rgba(37,211,102,0.4)); margin-bottom: 0; }

.mn-center-wrapper { position: relative; top: -25px; width: 70px; height: 70px; display: flex; justify-content: center; align-items: center; }

/* YANIP SÖNEN ORTA BUTON */
.mn-center {
    width: 60px; height: 60px; background: var(--primary-red); border-radius: 50%;
    border: 6px solid #0f0f0f; display: flex; align-items: center; justify-content: center;
    color: white; font-size: 1.5rem; box-shadow: 0 0 15px rgba(255, 0, 21, 0.4);
    animation: pulse-ring 2s infinite;
}
@keyframes pulse-ring {
    0% { box-shadow: 0 0 0 0 rgba(255, 0, 21, 0.7); }
    70% { box-shadow: 0 0 0 15px rgba(255, 0, 21, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 0, 21, 0); }
}

/* --- DESKTOP DOCK --- */
.desktop-dock {
    display: none; position: fixed; bottom: 30px; left: 50%; transform: translateX(-50%);
    background: rgba(10, 10, 10, 0.95); backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 12px;
    padding: 10px 20px; z-index: 2000; box-shadow: 0 10px 40px rgba(0,0,0,0.8); gap: 15px;
}
.dock-btn {
    display: flex; align-items: center; gap: 10px; padding: 10px 20px; border-radius: 8px;
    text-decoration: none; font-family: 'Rajdhani'; font-weight: 700; font-size: 1rem;
    transition: 0.3s; color: #fff; border: 1px solid transparent;
}
.dock-btn i { font-size: 1.2rem; }
.btn-call:hover { background: #fff; color: #000; }
.btn-map { background: var(--primary-red); box-shadow: 0 0 15px rgba(255,0,21,0.4); }
.btn-map:hover { transform: translateY(-3px); box-shadow: 0 5px 25px rgba(255,0,21,0.6); }
.btn-wp:hover { background: #25D366; color: #fff; }

/* --- RESPONSIVE AYARLAR --- */
@media (min-width: 768px) {
    .footer-grid { grid-template-columns: 1.5fr 1fr 1fr 1.2fr; text-align: left; gap: 30px; }
    .footer-col h4 { border-bottom: none; border-left: 3px solid var(--primary-red); padding-left: 15px; display: block; }
    .footer-contact li { justify-content: flex-start; }
    .footer-logo { display: block; }

    .horizontal-scroll {
        display: grid; grid-template-columns: repeat(4, 1fr);
        gap: 25px; overflow: visible; padding: 0 20px 50px; max-width: 1200px; margin: 0 auto;
    }
    #reviews .horizontal-scroll, #garage .horizontal-scroll { grid-template-columns: repeat(3, 1fr); }
    
    /* Desktop Neden Biz Grid (Düzeltildi) */
    .feature-grid { 
        display: grid; grid-template-columns: repeat(4, 1fr); 
        padding: 40px 20px; /* Hover için boşluk */
        overflow: visible !important; /* Taşma sorununu çözer */
        max-width: 1200px; margin: 0 auto;
    }

    /* Desktop Kart Hareketi (Hover) */
    .feature-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.5); }
    .feature-card:hover::after { transform: scaleX(1); }
    .feature-card:hover .feat-icon {
        background: var(--primary-red); color: #fff; border-color: var(--primary-red);
        box-shadow: 0 0 20px var(--primary-red); transform: rotate(360deg);
    }
    .feature-card:hover .feat-title { color: var(--primary-red); }
    .feature-card:hover .feat-desc { color: #fff; }

    .scroll-card, .review-card, .feature-card { min-width: auto; border: 1px solid #333; border-radius: 8px; overflow: hidden; }
    .srv-img, .garage-img { height: 200px; }
    .swipe-hint { display: none; }

    .mobile-nav { display: none; }
    .desktop-dock { display: flex; }
}

@media (max-width: 767px) {
    .slide-title { font-size: 2.5rem; }
    .hero-container { flex-direction: column; text-align: center; justify-content: center; height: 100%; }
    .slide-desc { border: none; padding: 0; margin-bottom: 15px; font-size: 0.9rem; }
    .price-badge { margin-top: 25px; width: 90%; }
    
    .feature-grid {
        display: flex; gap: 15px; overflow-x: auto; 
        padding: 30px 20px; /* Mobil padding */
        scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch;
    }
    .feature-grid::-webkit-scrollbar { display: none; }
}