/* =====================================================
   Panotomotiv - ZF Yetkili Bayi
   Ana Stil Dosyası
   ZF Renk Paleti:
     - Lacivert (Ana):  #003366
     - Kırmızı (Vurgu): #E2001A
     - Açık Gri:        #F4F4F4
     - Koyu Gri:        #333333
   ===================================================== */

/* --- Google Font --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

/* --- CSS Değişkenleri --- */
:root {
    --zf-blue:        #003366;
    --zf-blue-light:  #004a99;
    --zf-blue-dark:   #001f3f;
    --zf-red:         #E2001A;
    --zf-red-dark:    #b5001b;
    --zf-gray-light:  #F4F4F4;
    --zf-gray:        #6c757d;
    --zf-dark:        #1a1a2e;
    --white:          #ffffff;
    --border:         #dee2e6;
    --shadow:         0 4px 24px rgba(0,0,0,0.10);
    --shadow-lg:      0 8px 40px rgba(0,0,0,0.16);
    --radius:         8px;
    --radius-lg:      16px;
    --transition:     all 0.3s ease;
}

/* --- Reset & Base --- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #333;
    background: #fff;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
a:hover { color: var(--zf-red); }

img { max-width: 100%; height: auto; }

/* --- Utility --- */
.text-zf-red   { color: var(--zf-red) !important; }
.text-zf-blue  { color: var(--zf-blue) !important; }
.bg-zf-blue    { background-color: var(--zf-blue) !important; }
.bg-zf-red     { background-color: var(--zf-red) !important; }
.bg-zf-gray    { background-color: var(--zf-gray-light) !important; }
.btn-zf-red    { background-color: var(--zf-red); color: #fff; border: none; border-radius: var(--radius); padding: 10px 24px; font-weight: 600; transition: var(--transition); }
.btn-zf-red:hover { background-color: var(--zf-red-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(226,0,26,0.3); }
.btn-zf-blue   { background-color: var(--zf-blue); color: #fff; border: none; border-radius: var(--radius); padding: 10px 24px; font-weight: 600; transition: var(--transition); }
.btn-zf-blue:hover { background-color: var(--zf-blue-light); color: #fff; transform: translateY(-2px); }
.btn-outline-zf { border: 2px solid var(--zf-blue); color: var(--zf-blue); background: transparent; border-radius: var(--radius); padding: 8px 22px; font-weight: 600; transition: var(--transition); }
.btn-outline-zf:hover { background: var(--zf-blue); color: #fff; }

/* --- Topbar --- */
.topbar {
    background: var(--zf-blue-dark);
    color: rgba(255,255,255,0.85);
    font-size: 13px;
    padding: 7px 0;
}
.topbar a { color: rgba(255,255,255,0.85); }
.topbar a:hover { color: #fff; }
.topbar-social {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px; height: 28px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    color: #fff;
    font-size: 12px;
    margin-left: 5px;
    transition: var(--transition);
}
.topbar-social:hover { background: var(--zf-red); color: #fff; }

/* --- Navbar --- */
#mainNav {
    background: var(--zf-blue);
    box-shadow: 0 2px 20px rgba(0,0,0,0.2);
    padding: 0;
    transition: var(--transition);
}
#mainNav.scrolled { box-shadow: var(--shadow-lg); }
#mainNav .container { padding-top: 0; padding-bottom: 0; }

.navbar-brand { padding: 12px 0; }
.navbar-logo { height: 52px; width: auto; }
.navbar-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-main { font-size: 22px; font-weight: 800; color: #fff; letter-spacing: 0.5px; }
.logo-sub  { font-size: 11px; font-weight: 500; color: rgba(255,255,255,0.7); letter-spacing: 2px; text-transform: uppercase; }

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.88) !important;
    font-weight: 500;
    font-size: 14px;
    padding: 18px 14px !important;
    letter-spacing: 0.3px;
    position: relative;
    transition: var(--transition);
}
.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 3px;
    background: var(--zf-red);
    transition: var(--transition);
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff !important;
}
.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after { left: 0; right: 0; }

.dropdown-menu {
    border: none;
    border-top: 3px solid var(--zf-red);
    border-radius: 0 0 var(--radius) var(--radius);
    box-shadow: var(--shadow);
    padding: 8px 0;
    min-width: 220px;
}
.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 20px;
    color: #333;
    transition: var(--transition);
}
.dropdown-item:hover { background: var(--zf-gray-light); color: var(--zf-blue); padding-left: 26px; }
.dropdown-item .fa-chevron-right { font-size: 10px; }

.btn-whatsapp {
    background: #25D366;
    color: #fff !important;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    padding: 8px 18px;
    transition: var(--transition);
}
.btn-whatsapp:hover { background: #1da851; transform: translateY(-2px); }

/* --- Hero Slider --- */
.hero-slider { position: relative; overflow: hidden; }
.hero-slider .carousel-item {
    height: 580px;
    background-color: var(--zf-blue-dark);
}
@media (max-width: 768px) { .hero-slider .carousel-item { height: 380px; } }

.hero-slider .carousel-item img {
    width: 100%; height: 100%;
    object-fit: cover;
    opacity: 0.55;
}
.hero-slider .carousel-caption {
    bottom: 50%;
    transform: translateY(50%);
    left: 8%; right: 8%;
    text-align: left;
}
.hero-slider .carousel-caption h1 {
    font-size: clamp(1.8rem, 4vw, 3rem);
    font-weight: 800;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    margin-bottom: 12px;
}
.hero-slider .carousel-caption p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: 0.9;
    max-width: 580px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-slider .carousel-indicators [data-bs-target] {
    width: 40px; height: 4px;
    background-color: rgba(255,255,255,0.5);
    border-radius: 2px;
}
.hero-slider .carousel-indicators .active { background-color: var(--zf-red); }

/* --- Section Başlıkları --- */
.section-header { margin-bottom: 48px; }
.section-header h2 {
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 800;
    color: var(--zf-blue);
    margin-bottom: 12px;
}
.section-divider {
    width: 56px; height: 4px;
    background: linear-gradient(90deg, var(--zf-red), var(--zf-blue));
    border-radius: 2px;
    margin: 0 auto 16px;
}
.section-divider.left { margin-left: 0; }
.section-header p { color: var(--zf-gray); max-width: 560px; }

/* --- Kategori Kartları --- */
.category-card {
    border: none;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    cursor: pointer;
    display: block;
    color: inherit;
}
.category-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); color: inherit; }

.category-card-img {
    height: 220px;
    background: linear-gradient(135deg, var(--zf-blue), var(--zf-blue-dark));
    display: flex; align-items: center; justify-content: center;
    position: relative;
    overflow: hidden;
}
.category-card-img img { width: 100%; height: 100%; object-fit: cover; opacity: 0.7; transition: var(--transition); }
.category-card:hover .category-card-img img { opacity: 0.85; transform: scale(1.05); }
.category-card-icon {
    position: absolute;
    font-size: 3.5rem;
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.category-card-body {
    padding: 24px;
    background: #fff;
    border-top: 3px solid var(--zf-red);
}
.category-card-body h3 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--zf-blue);
    margin-bottom: 8px;
}
.category-card-body p { color: var(--zf-gray); font-size: 14px; margin-bottom: 16px; }
.category-card-arrow {
    color: var(--zf-red);
    font-weight: 600;
    font-size: 14px;
    transition: var(--transition);
}
.category-card:hover .category-card-arrow { letter-spacing: 1px; }

/* --- Neden Biz --- */
.feature-box {
    text-align: center;
    padding: 32px 20px;
    border-radius: var(--radius-lg);
    background: #fff;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}
.feature-box:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.feature-icon {
    width: 70px; height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--zf-blue), var(--zf-blue-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 1.8rem;
    color: #fff;
    margin: 0 auto 20px;
    box-shadow: 0 4px 20px rgba(0,51,102,0.25);
}
.feature-box h4 { font-size: 1rem; font-weight: 700; color: var(--zf-blue); margin-bottom: 8px; }
.feature-box p { color: var(--zf-gray); font-size: 14px; margin: 0; }

/* --- Stats Banner --- */
.stats-section {
    background: linear-gradient(135deg, var(--zf-blue-dark), var(--zf-blue));
    padding: 60px 0;
    color: #fff;
}
.stat-item { text-align: center; padding: 16px; }
.stat-number {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: #fff;
    display: block;
    line-height: 1;
}
.stat-number span { color: var(--zf-red); }
.stat-label { font-size: 13px; opacity: 0.8; text-transform: uppercase; letter-spacing: 1px; margin-top: 6px; }

/* --- CTA Section --- */
.cta-section {
    background: linear-gradient(135deg, var(--zf-red) 0%, #b5001b 100%);
    padding: 72px 0;
    color: #fff;
    text-align: center;
}
.cta-section h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); font-weight: 800; margin-bottom: 12px; }
.cta-section p { opacity: 0.9; max-width: 540px; margin: 0 auto 28px; }
.btn-cta-white {
    background: #fff;
    color: var(--zf-red);
    border: none;
    border-radius: 50px;
    padding: 14px 36px;
    font-weight: 700;
    font-size: 15px;
    transition: var(--transition);
    display: inline-block;
}
.btn-cta-white:hover { background: var(--zf-gray-light); color: var(--zf-red); transform: translateY(-3px); box-shadow: 0 8px 28px rgba(0,0,0,0.2); }

/* --- Page Hero (İç Sayfalar) --- */
.page-hero {
    background: linear-gradient(135deg, var(--zf-blue-dark) 0%, var(--zf-blue) 100%);
    padding: 72px 0 56px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.page-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: rgba(226,0,26,0.1);
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; margin-bottom: 8px; }
.page-hero .breadcrumb { background: transparent; padding: 0; margin: 0; }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.5); }
.page-hero .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.5); }

/* --- İletişim --- */
.contact-info-box {
    background: var(--zf-blue);
    color: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    height: 100%;
}
.contact-info-box h3 { font-size: 1.3rem; font-weight: 700; margin-bottom: 24px; }
.contact-info-item { display: flex; align-items: flex-start; margin-bottom: 20px; }
.contact-info-item .icon { width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,0.15); display: flex; align-items: center; justify-content: center; flex-shrink: 0; margin-right: 14px; }
.contact-info-item .icon i { color: #fff; }
.contact-info-item .text { font-size: 14px; opacity: 0.9; }
.contact-info-item .text strong { display: block; font-weight: 600; opacity: 1; margin-bottom: 2px; }

.contact-form-card {
    background: #fff;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    height: 100%;
}
.form-label { font-weight: 600; font-size: 14px; color: var(--zf-blue); }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 10px 14px;
    font-size: 14px;
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--zf-blue);
    box-shadow: 0 0 0 3px rgba(0,51,102,0.1);
}

/* --- Kategori Sayfaları --- */
.category-page-icon {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    display: flex; align-items: center; justify-content: center;
    font-size: 2.2rem;
    margin-bottom: 20px;
}
.service-item {
    display: flex; align-items: flex-start;
    padding: 20px;
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 16px;
    transition: var(--transition);
}
.service-item:hover { transform: translateX(4px); box-shadow: var(--shadow-lg); }
.service-item-icon {
    width: 48px; height: 48px;
    border-radius: var(--radius);
    background: var(--zf-gray-light);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; margin-right: 16px;
    color: var(--zf-blue);
    font-size: 1.2rem;
}
.service-item h5 { font-size: 15px; font-weight: 700; color: var(--zf-blue); margin-bottom: 4px; }
.service-item p { font-size: 13px; color: var(--zf-gray); margin: 0; }

/* --- Footer --- */
.footer { background: var(--zf-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 64px 0 40px; }
.footer-logo-text { display: block; font-size: 22px; font-weight: 800; color: #fff; }
.footer-slogan { display: block; font-size: 11px; text-transform: uppercase; letter-spacing: 2px; color: var(--zf-red); margin-top: 2px; }
.footer-desc { font-size: 14px; opacity: 0.7; margin-top: 12px; line-height: 1.7; }
.footer-heading { font-size: 14px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 2px solid var(--zf-red); display: inline-block; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 10px; }
.footer-links li a { color: rgba(255,255,255,0.7); font-size: 14px; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-links li a:hover { color: #fff; padding-left: 4px; }
.footer-links li a i { color: var(--zf-red); font-size: 11px; }
.footer-contact { list-style: none; padding: 0; margin: 0; }
.footer-contact li { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 12px; font-size: 14px; color: rgba(255,255,255,0.7); }
.footer-contact li i { color: var(--zf-red); margin-top: 3px; flex-shrink: 0; }
.footer-contact li a { color: rgba(255,255,255,0.7); }
.footer-contact li a:hover { color: #fff; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
    width: 36px; height: 36px;
    border-radius: 50%;
    background: rgba(255,255,255,0.1);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 14px;
    transition: var(--transition);
}
.footer-social a:hover { background: var(--zf-red); transform: translateY(-3px); }

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 20px 0;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}
.footer-policy-link { color: rgba(255,255,255,0.5); font-size: 13px; transition: var(--transition); }
.footer-policy-link:hover { color: #fff; }
.footer-policy-sep { color: rgba(255,255,255,0.2); margin: 0 8px; }

/* --- Çerez Uyarısı --- */
.cookie-consent {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(0,19,38,0.97);
    color: #fff;
    padding: 18px 0;
    z-index: 9998;
    border-top: 3px solid var(--zf-red);
    font-size: 14px;
}
.cookie-consent a { color: rgba(255,255,255,0.8); text-decoration: underline; }
.cookie-consent a:hover { color: #fff; }

/* --- WhatsApp Float --- */
.whatsapp-float {
    position: fixed;
    bottom: 80px; right: 24px;
    width: 52px; height: 52px;
    background: #25D366;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.6rem;
    color: #fff;
    z-index: 9997;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    transition: var(--transition);
    animation: pulse 2.5s infinite;
}
.whatsapp-float:hover { background: #1da851; color: #fff; transform: scale(1.12); animation: none; }
@keyframes pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,0.4)} 50%{box-shadow:0 4px 32px rgba(37,211,102,0.7)} }

/* --- Yukarı Çık --- */
.back-to-top {
    position: fixed;
    bottom: 24px; right: 24px;
    width: 42px; height: 42px;
    background: var(--zf-blue);
    color: #fff;
    border: none;
    border-radius: var(--radius);
    display: none; align-items: center; justify-content: center;
    font-size: 16px;
    cursor: pointer;
    z-index: 9996;
    transition: var(--transition);
    box-shadow: var(--shadow);
}
.back-to-top:hover { background: var(--zf-red); transform: translateY(-3px); }
.back-to-top.show { display: flex; }

/* --- Policy Sayfaları --- */
.policy-content h2 { font-size: 1.3rem; font-weight: 700; color: var(--zf-blue); margin: 32px 0 12px; }
.policy-content h3 { font-size: 1.1rem; font-weight: 700; color: var(--zf-blue); margin: 24px 0 10px; }
.policy-content p, .policy-content li { font-size: 15px; color: #444; line-height: 1.8; }
.policy-content table { font-size: 14px; }
.policy-date { font-size: 13px; color: var(--zf-gray); margin-bottom: 32px; }

/* --- Responsive --- */
@media (max-width: 991px) {
    .navbar-nav .nav-link { padding: 12px 0 !important; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .navbar-nav .nav-link::after { display: none; }
    .navbar-collapse { background: var(--zf-blue-dark); padding: 12px 16px; border-top: 2px solid var(--zf-red); }
    .dropdown-menu { background: rgba(255,255,255,0.05); border: none; padding-left: 16px; }
    .dropdown-item { color: rgba(255,255,255,0.8); }
    .dropdown-item:hover { background: rgba(255,255,255,0.1); color: #fff; }
    .btn-whatsapp { margin-top: 8px; display: inline-block; }
}
@media (max-width: 767px) {
    .topbar { font-size: 12px; text-align: center; }
    .hero-slider .carousel-caption { left: 4%; right: 4%; }
    .section-header h2 { font-size: 1.5rem; }
}
