﻿/*
 * Araç Detay Sayfası CSS
 * Mercedes Premium Tasarım
 * Birollar Otomotiv
 */

/* ==========================================
   CSS Variables
   ========================================== */
:root {
    --mercedes-black: #000000;
    --mercedes-silver: #C0C0C0;
    --mercedes-charcoal: #1a1a1a;
    --mercedes-anthracite: #2d2d2d;
    --neutral-100: #f5f5f5;
    --neutral-200: #e8e8e8;
    --neutral-300: #d4d4d4;
    --neutral-400: #a3a3a3;
    --neutral-500: #737373;
    --neutral-600: #525252;
    --neutral-700: #404040;
    --neutral-800: #262626;
    --border-color: #e5e5e5;
    --success-color: #22c55e;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --info-color: #3b82f6;
}

/* ==========================================
   MAIN LAYOUT
   ========================================== */
.arac-detay-page {
    background-color: #fafafa;
    min-height: 100vh;
    padding-top: 100px;
    max-width: 100vw;
    overflow-x: hidden;
}

.arac-detay-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    overflow: hidden;
    box-sizing: border-box;
}

/* ==========================================
   BREADCRUMB
   ========================================== */
.breadcrumb-section {
    padding: 15px 0;
    border-bottom: 1px solid var(--border-color);
    background: #fff;
    margin-bottom: 30px;
}

.breadcrumb {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 13px;
}

.breadcrumb li {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--neutral-500);
}

.breadcrumb li a {
    color: var(--neutral-600);
    text-decoration: none;
    transition: color 0.2s ease;
}

.breadcrumb li a:hover {
    color: var(--mercedes-black) !important;
}

.breadcrumb li.active {
    color: var(--mercedes-black);
    font-weight: 600;
}

.breadcrumb-separator {
    color: var(--neutral-400);
    font-size: 10px;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.ilan-no {
    font-size: 13px;
    color: var(--neutral-500);
}

.ilan-no span {
    font-weight: 700;
    color: var(--mercedes-black);
}

.btn-bilgi-formu {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--mercedes-black);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-bilgi-formu:hover {
    background: var(--mercedes-charcoal);
    color: #fff !important;
}

/* ==========================================
   MAIN CONTENT LAYOUT
   ========================================== */
.arac-detay-content {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 30px;
    align-items: start;
    max-width: 100%;
    overflow: hidden;
    position: relative; /* Sticky sidebar için */
}

/* ==========================================
   LEFT COLUMN - GALLERY & INFO
   ========================================== */
.arac-left-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    min-width: 0; /* Grid item overflow fix */
    overflow: hidden;
}

/* Gallery */
.arac-gallery {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    width: 100%;
    max-width: 100%;
}

.gallery-main {
    position: relative;
    height: 570px; /* Sabit yükseklik */
    background: #f5f5f5;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

.gallery-main-swiper {
    width: 100%;
    height: 100%;
    max-width: 100%;
    overflow: hidden;
}

.gallery-main-swiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100% !important;
    flex-shrink: 0;
}

.gallery-main-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Çerçeveyi tamamen dolduracak şekilde */
    cursor: zoom-in;
    max-width: 100%;
}

/* Gallery Navigation Arrows */
.gallery-main .swiper-button-prev,
.gallery-main .swiper-button-next {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.gallery-main .swiper-button-prev:hover,
.gallery-main .swiper-button-next:hover {
    background: #fff;
    transform: scale(1.05);
}

.gallery-main .swiper-button-prev::after,
.gallery-main .swiper-button-next::after {
    font-size: 16px;
    font-weight: 700;
    color: var(--mercedes-black);
}

/* Zoom Button */
.gallery-zoom-btn {
    position: absolute;
    bottom: 16px;
    right: 16px;
    z-index: 10;
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.95);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 10px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.gallery-zoom-btn:hover {
    background: #fff;
    transform: scale(1.1);
}

.gallery-zoom-btn i {
    font-size: 18px;
    color: var(--mercedes-black);
}

/* Slide Counter */
.gallery-counter {
    position: absolute;
    bottom: 16px;
    left: 16px;
    z-index: 10;
    padding: 6px 14px;
    background: rgba(0,0,0,0.7);
    color: #fff;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
}

/* Thumbnail Gallery */
.gallery-thumbs {
    padding: 16px;
    background: #fff;
    overflow: hidden;
}

.gallery-thumbs-swiper {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

/* Swiper Wrapper Fix */
.gallery-main-swiper .swiper-wrapper,
.gallery-thumbs-swiper .swiper-wrapper {
    width: 100%;
}

.gallery-thumbs-swiper .swiper-slide {
    width: 90px !important;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    opacity: 0.5;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.gallery-thumbs-swiper .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--mercedes-black);
}

.gallery-thumbs-swiper .swiper-slide:hover {
    opacity: 0.8;
}

.gallery-thumbs-swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ==========================================
   FEATURED SPECS (Öne Çıkan Özellikler)
   ========================================== */
.featured-specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    padding: 24px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.spec-card {
    text-align: center;
    padding: 20px 16px;
    background: var(--neutral-100);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.spec-card:hover {
    background: var(--neutral-200);
}

.spec-card-label {
    font-size: 12px;
    color: var(--neutral-500);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.spec-card-value {
    font-size: 20px;
    font-weight: 700;
    color: var(--mercedes-black);
}

/* ==========================================
   TEMEL BİLGİLER
   ========================================== */
.info-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.info-section-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--mercedes-black);
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-color);
}

.info-table {
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr; /* 2 kolonlu */
    gap: 0 30px;
}

.info-table-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #e0e0e0;
    font-size: 14px;
}

.info-table-item:nth-last-child(-n+2) {
    border-bottom: none;
}

.info-table-label {
    color: var(--neutral-500);
}

.info-table-value {
    color: var(--mercedes-black);
    font-weight: 500;
    text-align: right;
}

/* Eski tablo yapısı için fallback */
.info-table tr {
    border-bottom: 1px solid var(--neutral-100);
}

.info-table tr:last-child {
    border-bottom: none;
}

.info-table td {
    padding: 12px 0;
    font-size: 14px;
}

.info-table td:first-child {
    color: var(--neutral-500);
    width: 45%;
}

.info-table td:last-child {
    color: var(--mercedes-black);
    font-weight: 500;
    text-align: right;
}

/* ==========================================
   EKSPERTİZ SECTION
   ========================================== */
.ekspertiz-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.ekspertiz-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Ekspertiz Krokisi */
.ekspertiz-kroki {
    position: relative;
}

.kroki-image {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    display: block;
}

.kroki-legend {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.legend-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: var(--neutral-100);
    border-radius: 8px;
}

.legend-item-left {
    display: flex;
    align-items: center;
    gap: 10px;
}

.legend-dot {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
}

.legend-dot.orijinal { background: var(--success-color); }
.legend-dot.degisen { background: var(--danger-color); }
.legend-dot.boya { background: var(--warning-color); }
.legend-dot.lokal { background: var(--info-color); }
.legend-dot.sasi { background: #8b5cf6; }

.legend-label {
    font-size: 14px;
    color: var(--neutral-700);
}

.legend-count {
    font-size: 16px;
    font-weight: 700;
    color: var(--mercedes-black);
}

/* Ekspertiz Detay Tablosu */
.ekspertiz-detail-table {
    width: 100%;
    border-collapse: collapse;
}

.ekspertiz-detail-table th {
    text-align: left;
    padding: 12px 8px;
    font-size: 12px;
    font-weight: 600;
    color: var(--neutral-500);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid var(--border-color);
}

.ekspertiz-detail-table td {
    padding: 12px 8px;
    font-size: 13px;
    color: var(--neutral-700);
    border-bottom: 1px solid var(--neutral-100);
}

.ekspertiz-detail-table .status-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ekspertiz-detail-table .status-icon.orijinal {
    background: var(--success-color);
    color: #fff;
}

.ekspertiz-detail-table .status-icon.boya {
    background: var(--warning-color);
    color: #fff;
}

.ekspertiz-detail-table .status-icon.degisen {
    background: var(--danger-color);
    color: #fff;
}

/* Hasar Bilgisi Kartları */
.hasar-bilgi-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-color);
}

.hasar-card {
    text-align: center;
    padding: 16px;
    background: var(--neutral-100);
    border-radius: 10px;
}

.hasar-card-label {
    font-size: 11px;
    color: var(--neutral-500);
    margin-bottom: 6px;
    text-transform: uppercase;
}

.hasar-card-value {
    font-size: 14px;
    font-weight: 600;
    color: var(--mercedes-black);
}

/* ==========================================
   RIGHT COLUMN - STICKY SIDEBAR
   ========================================== */
.arac-right-column {
    min-width: 0; /* Grid item overflow fix */
    max-width: 380px;
    height: fit-content;
    position: relative; /* is-bottom için gerekli */
}

.sidebar-card.is-sticky {
    position: fixed;
    top: 100px;
    z-index: 100;
}

.sidebar-card.is-bottom {
    position: absolute;
    z-index: 100;
}

.sidebar-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

/* Brand Logo */
.sidebar-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.sidebar-brand img {
    height: 50px;
    object-fit: contain;
}

/* Car Title */
.sidebar-title {
    text-align: center;
    margin-bottom: 16px;
}

.sidebar-title h1 {
    font-size: 22px;
    font-weight: 700;
    color: var(--mercedes-black);
    margin: 0 0 4px 0;
}

.sidebar-title p {
    font-size: 14px;
    color: var(--neutral-500);
    margin: 0;
}

/* Plaka */
.sidebar-plaka {
    text-align: center;
    margin-bottom: 16px;
}

.sidebar-plaka span {
    display: inline-block;
    padding: 6px 16px;
    background: var(--neutral-100);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--neutral-700);
    letter-spacing: 1px;
}

/* Quick Specs Tags */
.sidebar-specs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin-bottom: 20px;
}

.spec-tag {
    padding: 8px 14px;
    background: var(--neutral-100);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-700);
}

/* Price */
.sidebar-price {
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

.sidebar-price-value {
    font-size: 32px;
    font-weight: 800;
    color: var(--mercedes-black);
    letter-spacing: -1px;
}

.sidebar-price-currency {
    font-size: 20px;
    font-weight: 600;
    margin-left: 4px;
}

.sidebar-location {
    font-size: 13px;
    color: var(--neutral-500);
    margin-top: 8px;
}

.sidebar-location i {
    margin-right: 4px;
}

/* CTA Buttons */
.sidebar-cta {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-primary-cta {
    width: 100%;
    padding: 16px 24px;
    background: var(--mercedes-black);
    color: #fff;
    border: none;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-primary-cta:hover {
    background: var(--mercedes-charcoal);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

.btn-secondary-cta {
    width: 100%;
    padding: 14px 24px;
    background: #fff;
    color: var(--mercedes-black);
    border: 2px solid var(--mercedes-black);
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.btn-secondary-cta:hover {
    background: var(--neutral-100);
}

/* Action Links */
.sidebar-actions {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid var(--border-color);
    margin-top: 16px;
    padding-top: 16px;
}

.sidebar-action {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--neutral-100);
    color: var(--neutral-700);
    text-decoration: none;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.2s ease;
}

.sidebar-action:last-child {
    border-bottom: none;
}

.sidebar-action:hover {
    color: var(--mercedes-black) !important;
}

.sidebar-action i {
    font-size: 18px;
}

/* Güvence Badges */
.sidebar-badges {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.badge-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--neutral-100);
    border-radius: 10px;
}

    .badge-item i {
        font-size: 20px;
        color: #00b3ff;
    }

.badge-item span {
    font-size: 12px;
    font-weight: 500;
    color: var(--neutral-700);
    line-height: 1.3;
}

/* ==========================================
   BENZER ARAÇLAR SECTION
   ========================================== */
/* ==========================================
   BENZER ARAÇLAR - Anasayfa Stili
   ========================================== */
.benzer-araclar-section {
    margin-top: 50px;
    padding: 60px 0;
    background: #fafafa;
}
  
 

/* Swiper */
.benzer-swiper {
    padding-bottom: 60px;
    position: relative;
}

/* Car Card */
.benzer-araclar-section .car-card {
    background: #fff;
    overflow: hidden;
    transition: all .35s ease;
    box-shadow: 0 20px 60px rgba(0,0,0,.06);
}

.benzer-araclar-section .car-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 80px rgba(0,0,0,.12);
}

.benzer-araclar-section .car-image {
    aspect-ratio: 16 / 10;
    background: #f3f3f3;
}

.benzer-araclar-section .car-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.benzer-araclar-section .car-body {
    padding: 26px 28px 30px;
    text-align: center;
}

.benzer-araclar-section .car-brand {
    margin-bottom: 12px;
}

.benzer-araclar-section .car-brand img {
    height: 40px;
}

.benzer-araclar-section .car-body h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 6px;
    color: var(--mercedes-black);
}

.benzer-araclar-section .car-body hr {
    border: none;
    border-top: 1px solid #eee;
    margin: 15px 0;
}

.benzer-araclar-section .car-meta {
    margin-top: 10px;
    font-size: 14px;
    color: #777;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.benzer-araclar-section .car-price {
    font-size: 22px;
    font-weight: 500;
    margin: 18px 0;
    color: #222;
}

.benzer-araclar-section .car-link {
    display: inline-block;
    padding: 10px 28px;
    border: 1px solid #111;
    font-size: 14px;
    transition: .3s;
    background: #111;
    color: #fff;
    text-decoration: none;
}

.benzer-araclar-section .car-link:hover {
    background: #333;
    color: #fff !important;
}

/* Nav Buttons */
.benzer-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,.9);
    box-shadow: 0 10px 30px rgba(0,0,0,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all .3s ease;
}

.benzer-nav:hover {
    background: #111;
    color: #fff;
}

.benzer-nav svg {
    width: 18px;
    height: 18px;
}

.benzer-prev {
    left: -22px;
}

.benzer-next {
    right: -22px;
}

/* Footer */
.benzer-footer {
    text-align: center;
    margin-top: 40px;
}

.benzer-footer a {
    font-size: 15px;
    color: #111;
    text-decoration: none;
    border-bottom: 1px solid #111;
    padding-bottom: 2px;
    transition: .3s;
}

.benzer-footer a:hover {
    color: #555;
    border-color: #555;
}

/* Slide Effect */
.benzer-swiper .swiper-slide {
    transition: transform .3s, opacity .3s;
    height: auto;
}

.benzer-swiper .swiper-slide .car-card {
    height: 100%;
}

/* Mobile Nav */
@media (min-width: 769px) {
    .benzer-nav {
        display: none;
    }
}

@media (max-width: 768px) {
    .benzer-nav {
        display: flex;
    }
    
    .benzer-prev {
        left: 8px;
    }
    
    .benzer-next {
        right: 8px;
    }
}
 
.section-header h2 {
    font-size: 24px;
    font-weight: 700;
    color: var(--mercedes-black);
}

.section-header a {
    font-size: 14px;
    color: var(--neutral-600);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color 0.2s ease;
}

.section-header a:hover {
    color: var(--mercedes-black) !important;
}

/* ==========================================
   MOBILE STICKY CTA
   ========================================== */
.mobile-sticky-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: #fff;
    padding: 12px 16px;
    box-shadow: 0 -4px 20px rgba(0,0,0,0.1);
    display: none;
    gap: 10px;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.mobile-sticky-cta.visible {
    transform: translateY(0);
}

.mobile-sticky-cta .btn-mobile {
    flex: 1;
    padding: 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mobile-sticky-cta .btn-mobile.primary {
    background: var(--mercedes-black);
    color: #fff;
    border: none;
}

.mobile-sticky-cta .btn-mobile.secondary {
    background: #fff;
    color: var(--mercedes-black);
    border: 2px solid var(--mercedes-black);
}

/* ==========================================
   SHARE MODAL
   ========================================== */
.share-dropdown {
    position: relative;
}

.share-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    padding: 8px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.2s ease;
    z-index: 100;
}

.share-dropdown:hover .share-menu,
.share-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.share-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 14px;
    color: var(--neutral-700);
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: background 0.2s ease;
}

.share-menu a:hover {
    background: var(--neutral-100);
    color: var(--mercedes-black) !important;
}

.share-menu a i {
    font-size: 18px;
    width: 24px;
}

/* ==========================================
   FANCYBOX CUSTOMIZATION
   ========================================== */
.fancybox__container {
    --fancybox-bg: rgba(0,0,0,0.95);
}

.fancybox__toolbar {
    background: transparent;
}

/* ==========================================
   RESPONSIVE - TABLET
   ========================================== */
@media (max-width: 1199px) {
    .arac-detay-content {
        grid-template-columns: 1fr 340px;
        gap: 24px;
    }
    
    .gallery-main {
        height: 420px;
    }
    
    .featured-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .ekspertiz-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .benzer-araclar-section .car-body {
        padding: 20px;
    }
    
    .benzer-araclar-section .car-body h3 {
        font-size: 16px;
    }
    
    .benzer-araclar-section .car-price {
        font-size: 18px;
    }
}

/* ==========================================
   RESPONSIVE - MOBILE
   ========================================== */
@media (max-width: 991px) {
    .info-table {
        grid-template-columns: 1fr !important;
    }
    .arac-detay-page {
        padding-top: 0px;
        width: 100%;
    }
    
    .gallery-main {
        height: 300px;
    }
    
    .arac-detay-content {
        grid-template-columns: 1fr;
    }
    
    /* Mobilde sıralama: 1. left-column, 2. right-column */
    .arac-left-column {
        order: 1;
    }
    
    .arac-right-column {
        position: static !important;
        order: 2; /* Sol kolondan sonra gelecek */
        max-width: 100%;
        width: 100% !important;
        top: auto !important;
    }
    
    /* Featured specs mobilde gizle */
    .featured-specs {
        display: none !important;
    }
    
    .sidebar-card.is-sticky,
    .sidebar-card.is-bottom {
        position: static !important;
        width: 100% !important;
        left: auto !important;
        top: auto !important;
        bottom: auto !important;
    }
    
    .sidebar-card {
        border-radius: 0;
        margin: 0;
        padding: 20px;
        box-shadow: none;
        border-bottom: 1px solid var(--border-color);
    }
    
    /* Mobilde gallery'den sonra taşınan sidebar */
    .sidebar-card.mobile-moved {
        margin: 0;
        width: 100%;
    }
    
    .sidebar-brand {
        display: none;
    }
    
    .sidebar-badges {
        display: none;
    }
    
    .mobile-sticky-cta {
        display: flex;
    }
    
    .sidebar-cta {
        display: none;
    }
    
    .breadcrumb-section {
        padding: 10px 0;
        margin-bottom: 0;
    }
    
    .header-actions .ilan-no {
        display: none;
    }
    
    .featured-specs {
        grid-template-columns: repeat(4, 1fr);
        padding: 16px;
        gap: 8px;
        margin: 0 -20px;
        border-radius: 0;
    }
    
    .spec-card {
        padding: 12px 8px;
    }
    
    .spec-card-label {
        font-size: 10px;
    }
    
    .spec-card-value {
        font-size: 16px;
    }
    
    .info-section,
    .ekspertiz-section {
        margin: 0 -20px;
        border-radius: 0;
        padding: 20px;
    }
    
    .hasar-bilgi-cards {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575px) {
    .arac-detay-container {
        padding: 0 15px;
    }
    
    .featured-specs {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar-specs {
        gap: 6px;
    }
    
    .spec-tag {
        padding: 6px 10px;
        font-size: 12px;
    }
    
    .sidebar-price-value {
        font-size: 26px;
    }
    
    .gallery-thumbs-swiper .swiper-slide {
        width: 70px !important;
        height: 50px;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.5s ease forwards;
}

/* ==========================================
   PRINT STYLES
   ========================================== */
@media print {
    .mobile-sticky-cta,
    .sidebar-cta,
    .sidebar-actions,
    .breadcrumb-section {
        display: none !important;
    }
    
    .arac-detay-content {
        grid-template-columns: 1fr;
    }
    
    .arac-right-column {
        position: static;
    }
}

/* ==========================================
   SİZİ ARAYALIM INLINE FORM
   ========================================== */
.sizi-arayalim-inline-form {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: none;
}

.sizi-arayalim-inline-form.active {
    display: block;
}
 
/* Form aktifken fiyat alanı border-bottom kaldır */
.sidebar-card.call-form-active .sidebar-price {
    border-bottom: none;
    padding-bottom: 0;
    margin-bottom: 0;
}

.sizi-arayalim-title {
    font-size: 28px;
    font-weight: 700; 
    margin: 0 0 16px 0;
}

.sizi-arayalim-desc {
    font-size: 14px;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 30px;
}

.form-row-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 20px;
}

.form-group-inline {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-label-inline {
    font-size: 13px;
    font-weight: 500;
    color: var(--neutral-700);
}

.form-input-inline {
    padding: 14px 16px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.2s ease;
    background: #fff;
}

.form-input-inline:focus {
    outline: none;
    border-color: var(--mercedes-black);
}

/* Textarea stil */
textarea.form-input-inline {
    resize: vertical;
    min-height: 80px;
    font-family: inherit;
}

/* Full width form group */
.form-group-full {
    grid-column: 1 / -1;
    margin-bottom: 10px;
}

/* KVKK Checkbox */
.form-check-inline {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 30px;
   
}

.form-check-input-inline {
    width: 18px;
    height: 18px;
    min-width: 18px;
    margin-top: 2px;
    accent-color: var(--mercedes-black);
    cursor: pointer;
}

.form-check-label-inline {
    font-size: 15px;
    color: var(--neutral-600);
    line-height: 1.6;
}

.form-check-label-inline a {
    color: var(--mercedes-black);
    text-decoration: underline;
    font-weight: 600;
}

/* Form Butonları */
.form-buttons-inline {
    display: flex;
    gap: 16px;
    justify-content: flex-start;
}

.btn-vazgec {
    padding: 16px 40px;
    background: #bbbbbb;
    color: #000;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-vazgec:hover {
    background: var(--mercedes-charcoal);
}

.btn-vazgec:disabled {
    background: #e0e0e0;
    color: #999;
    cursor: not-allowed;
    opacity: 0.7;
}

.btn-aranma-talebi {
    padding: 16px 40px;
    background: #000;
    color: #fff;
    border: none; 
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

/*.btn-aranma-talebi:hover {
    background: #b91c1c;
}*/

/* İlana Geri Dön Butonu */
.sidebar-ilana-geri-don {
    margin-bottom: 20px;
}

.btn-ilana-geri-don {
    width: 100%;
    padding: 16px 24px;
    background: #fff;
    color: var(--neutral-700);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.3s ease;
}

.btn-ilana-geri-don:hover {
    border-color: var(--neutral-400);
    background: var(--neutral-100);
}

.btn-ilana-geri-don i {
    font-size: 16px;
    color: var(--neutral-500);
}

/* Responsive - Inline Form */
@media (max-width: 768px) {
    .sizi-arayalim-inline-form {
        padding: 24px;
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .form-row-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .sizi-arayalim-title {
        font-size: 22px;
    }
    
    .form-buttons-inline {
        flex-direction: column;
    }
    
    .btn-vazgec,
    .btn-aranma-talebi {
        width: 100%;
    }
}

/* Gizleme Sınıfları */
.hide-for-call-form {
    display: none !important;
}

/* ==========================================
   FORM SONUÇ MESAJLARI
   ========================================== */
.form-result-message {
    padding: 16px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.form-result-message.success {
    background: #ecfdf5;
    color: #065f46;
    border: 1px solid #a7f3d0;
}

.form-result-message.error {
    background: #fef2f2;
    color: #991b1b;
    border: 1px solid #fecaca;
}

.form-result-message i {
    font-size: 20px;
}

.form-result-message.success i {
    color: #059669;
}

.form-result-message.error i {
    color: #dc2626;
}

/* Başarı Tam Ekran Görünümü */
.form-result-message.success-full {
    flex-direction: column;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(135deg, #ecfdf5 0%, #d1fae5 100%);
}

.success-view {
    text-align: center;
}

.success-view .success-icon {
    width: 80px;
    height: 80px;
    background: #059669;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.success-view .success-icon i {
    font-size: 40px;
    color: #fff;
}

.success-view h3 {
    font-size: 24px;
    font-weight: 700;
    color: #065f46;
    margin-bottom: 12px;
}

.success-view p {
    font-size: 15px;
    color: #047857;
    line-height: 1.6;
    margin: 0;
}

/* reCAPTCHA Container */
.recaptcha-container {
    margin: 20px 0;
}

.recaptcha-container .g-recaptcha {
    display: flex; 
}

/* Required Star */
.required-star {
    color: #dc2626;
    font-weight: 700;
}

/* Button Loading State */
.btn-aranma-talebi .btn-loading,
.btn-primary-cta .btn-loading {
    display: none;
}

.btn-aranma-talebi:disabled,
.btn-primary-cta:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Modal içi recaptcha */
#beniArayinModal .recaptcha-container {
    margin: 15px 0;
}

#beniArayinModal .form-result-message {
    margin-bottom: 15px;
}

/* ==========================================
   RANDEVU INLINE FORM - TAKVİM & SAAT SEÇİMİ
   ========================================== */
.randevu-inline-form {
    background: #fff;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.05);
    display: none;
}

.randevu-inline-form.active {
    display: block;
}

/* Takvim Bölümü */
.randevu-calendar-section {
    margin-bottom: 30px;
    margin-top:30px;
}

.calendar-container {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.calendar-wrapper {
    display: flex;
    gap: 30px;
    flex: 1;
}

.calendar-month {
    flex: 1;
    min-width: 280px;
}

.calendar-header {
    text-align: center;
    margin-bottom: 15px;
}

.month-title {
    font-size: 16px;
    font-weight: 600;
    color: var(--mercedes-black);
}

.calendar-weekdays {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
    margin-bottom: 8px;
}

.calendar-weekdays span {
    text-align: center;
    font-size: 12px;
    font-weight: 500;
    color: var(--neutral-500);
    padding: 8px 0;
}

.calendar-weekdays span.weekend {
    color: #dc2626;
}

.calendar-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 2px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    color: var(--neutral-600);
    background: transparent;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0;
    min-height: 36px;
}

.calendar-day:hover:not(.disabled):not(.empty) {
    background: var(--neutral-100);
}

    .calendar-day.today {
        background: #939393;
        color: #fff;
        font-weight: 600;
    }

.calendar-day.selected {
    background: var(--mercedes-black);
    color: #fff;
    font-weight: 600;
}

.calendar-day.weekend {
    color: #dc2626;
}

.calendar-day.weekend.selected,
.calendar-day.weekend.today {
    color: #fff;
}

.calendar-day.disabled {
    color: var(--neutral-300);
    cursor: not-allowed;
}

.calendar-day.tatil {
    color: var(--neutral-400);
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 3px,
        rgba(220, 38, 38, 0.08) 3px,
        rgba(220, 38, 38, 0.08) 6px
    );
    cursor: not-allowed;
    position: relative;
}

.calendar-day.tatil::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 4px;
    height: 4px;
    background: #dc2626;
    border-radius: 50%;
}

.calendar-day.empty {
    cursor: default;
}

/* Takvim Navigasyon Butonu */
.calendar-nav-btn {
    width: 40px;
    height: 40px;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    background: #fff;
    color: var(--neutral-600);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    flex-shrink: 0;
    margin-top: 30px;
}

.calendar-nav-btn:hover {
    background: var(--neutral-100);
    border-color: var(--neutral-400);
}

.calendar-nav-btn.disabled,
.calendar-nav-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    background: var(--neutral-100);
}

.calendar-nav-btn.disabled:hover,
.calendar-nav-btn:disabled:hover {
    background: var(--neutral-100);
    border-color: var(--border-color);
}

.calendar-prev-btn {
    margin-right: 10px;
}

.calendar-next-btn {
    margin-left: 10px;
}

/* Saat Seçim Bölümü */
.saat-secim-section {
    margin-bottom: 30px;
}

.saat-secim-section .form-label-inline {
    margin-bottom: 15px;
    display: block;
}

.saat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
}

.saat-btn {
    padding: 12px 8px;
    background: #fff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--neutral-700);
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.saat-btn:hover {
    border-color: var(--neutral-400);
    background: var(--neutral-100);
}

.saat-btn.active {
    background: var(--mercedes-black);
    border-color: var(--mercedes-black);
    color: #fff;
}

.saat-btn.weekend-time {
    color: #dc2626;
}

.saat-btn.weekend-time.active {
    background: #dc2626;
    border-color: #dc2626;
    color: #fff;
}

/* Saat butonu - Disabled/Dolu stilleri */
.saat-btn.disabled,
.saat-btn:disabled {
    background: var(--neutral-100);
    border-color: var(--border-color);
    color: var(--neutral-400);
    cursor: not-allowed;
    opacity: 0.6;
}

.saat-btn.disabled:hover,
.saat-btn:disabled:hover {
    background: var(--neutral-100);
    border-color: var(--border-color);
}

.saat-btn.dolu {
    background: #fef2f2;
    border-color: #fecaca;
    color: #dc2626;
    opacity: 0.7;
}

.saat-btn.dolu::after {
    content: '';
    display: block;
    font-size: 10px;
    color: #dc2626;
}

/* Saat Grid - Loading/Error/Empty mesajları */
.saat-loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 20px;
    color: var(--neutral-600);
    font-size: 14px;
}

.saat-loading i {
    margin-right: 8px;
    color: var(--mercedes-black);
}

.saat-error {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 20px;
    color: #dc2626;
    font-size: 14px;
    background: #fef2f2;
    border-radius: 8px;
}

.saat-error i {
    margin-right: 8px;
}

.saat-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 30px 20px;
    color: var(--neutral-500);
    font-size: 14px;
    background: var(--neutral-100);
    border-radius: 8px;
}

.saat-empty i {
    margin-right: 8px;
    font-size: 18px;
}

/* KVKK Checkbox - Randevu */
.randevu-kvkk {
    margin-top: 20px;
    padding: 15px;
    background: var(--neutral-100);
    border-radius: 10px;
}

/* Randevu Gönder Butonu */
.btn-randevu-gonder {
    padding: 16px 40px;
    background: #000;
    color: #fff;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

 
.btn-randevu-gonder:disabled {
    background: #f87171;
    cursor: not-allowed;
    opacity: 0.7;
}

/* Responsive - Randevu Formu */
@media (max-width: 992px) {
    .calendar-wrapper {
        flex-direction: column;
        gap: 20px;
    }
    
    .calendar-month {
        min-width: 100%;
    }
    
    .saat-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 576px) {
    .randevu-inline-form {
        padding: 20px;
        margin: 0 -15px;
        border-radius: 0;
    }
    
    .saat-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .saat-btn {
        padding: 10px 6px;
        font-size: 13px;
    }
    
    .calendar-day {
        font-size: 13px;
        min-height: 32px;
    }
}

