/* ═══════════════════════════════════════════════════════
   Hat Koruma Özel Güvenlik — Ana CSS
   ═══════════════════════════════════════════════════════ */

/* Değişkenler */
:root {
  --primary: #1a3a5c;
  --primary-dark: #0d1b2a;
  --accent: #c8a84b;
  --accent-dark: #a8882e;
  --text: #2d3748;
  --text-light: #718096;
  --bg-light: #f7f8fa;
  --white: #ffffff;
  --shadow: 0 4px 20px rgba(0,0,0,0.08);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.15);
  --radius: 12px;
  --transition: all 0.3s ease;
}

/* Reset & Base */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', -apple-system, sans-serif; color: var(--text); line-height: 1.7; overflow-x: hidden; }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; transition: var(--transition); }
section { position: relative; }

/* ═══ HEADER ═══ */
.site-header { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; transition: var(--transition); }
.site-header .navbar { padding: 18px 0; background: transparent; }
.site-header.scrolled .navbar { background: rgba(13,27,42,0.97); backdrop-filter: blur(10px); padding: 12px 0; box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
.site-header:not(.scrolled) .navbar { background: linear-gradient(to bottom, rgba(0,0,0,0.6), transparent); }

.navbar-brand { display: flex; align-items: center; gap: 10px; }
.brand-icon { width: 42px; height: 42px; background: var(--accent); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.1rem; flex-shrink: 0; }
.brand-text { display: flex; flex-direction: column; line-height: 1.2; }
.brand-main { font-size: 1rem; font-weight: 700; color: white; }
.brand-sub { font-size: 0.7rem; color: rgba(255,255,255,0.7); letter-spacing: 1px; text-transform: uppercase; }

.navbar-nav .nav-link { color: rgba(255,255,255,0.9) !important; font-weight: 500; padding: 8px 16px !important; border-radius: 6px; }
.navbar-nav .nav-link:hover, .navbar-nav .nav-link.active { color: var(--accent) !important; }
.navbar-nav .btn-contact { background: var(--accent); color: white !important; border-radius: 8px; margin-left: 8px; }
.navbar-nav .btn-contact:hover { background: var(--accent-dark); }
.navbar-toggler { border: 1px solid rgba(255,255,255,0.3); }
.navbar-toggler-icon { filter: invert(1); }

/* ═══ HERO ═══ */
.hero-section { height: 100vh; min-height: 600px; position: relative; }
.hero-swiper, .hero-default { width: 100%; height: 100%; }
.hero-slide { background-size: cover; background-position: center; display: flex; align-items: center; height: 100vh; min-height: 600px; }
.hero-default { background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%); display: flex; align-items: center; }
.hero-overlay { position: absolute; inset: 0; background: rgba(13,27,42,0.65); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-title { font-size: clamp(2rem, 5vw, 3.5rem); font-weight: 800; color: white; line-height: 1.2; margin-bottom: 1.2rem; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,0.85); margin-bottom: 2rem; }

/* Swiper customization */
.swiper-button-next, .swiper-button-prev { color: var(--accent) !important; }
.swiper-pagination-bullet-active { background: var(--accent) !important; }

/* ═══ STATS ═══ */
.stats-section { background: var(--primary); padding: 0; }
.stat-item { text-align: center; padding: 2.5rem 1rem; border-right: 1px solid rgba(255,255,255,0.1); }
.stat-item:last-child { border-right: none; }
.stat-number { font-size: 2.5rem; font-weight: 800; color: var(--accent); line-height: 1; }
.stat-label { color: rgba(255,255,255,0.7); font-size: 0.9rem; margin-top: 0.4rem; }

/* ═══ SECTION COMMON ═══ */
.section-pad { padding: 80px 0; }
.section-header { margin-bottom: 0; }
.section-badge { display: inline-block; background: rgba(200,168,75,0.15); color: var(--accent); border: 1px solid var(--accent); padding: 4px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.section-badge-light { display: inline-block; background: rgba(255,255,255,0.1); color: rgba(255,255,255,0.8); border: 1px solid rgba(255,255,255,0.3); padding: 4px 16px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; color: var(--primary-dark); margin-top: 0.8rem; margin-bottom: 1rem; }
.section-subtitle { color: var(--text-light); font-size: 1.05rem; max-width: 600px; margin: 0 auto; }
.bg-light-custom { background: var(--bg-light); }
.bg-dark-custom { background: var(--primary-dark); }

/* ═══ BUTTONS ═══ */
.btn-accent { background: var(--accent); color: white; border: none; font-weight: 600; border-radius: 8px; }
.btn-accent:hover { background: var(--accent-dark); color: white; transform: translateY(-2px); }
.btn-primary-custom { background: var(--primary); color: white; border: none; font-weight: 600; border-radius: 8px; }
.btn-primary-custom:hover { background: var(--primary-dark); color: white; transform: translateY(-2px); }

/* ═══ SERVICE CARDS ═══ */
.service-card { background: white; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; height: 100%; transition: var(--transition); }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.service-card-img img { width: 100%; height: 200px; object-fit: cover; }
.service-card-body { padding: 1.5rem; }
.service-icon { width: 52px; height: 52px; background: rgba(26,58,92,0.08); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--primary); font-size: 1.3rem; margin-bottom: 1rem; }
.service-title { font-size: 1.1rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.6rem; }
.service-desc { color: var(--text-light); font-size: 0.9rem; margin-bottom: 1rem; }
.service-link { color: var(--accent); font-weight: 600; font-size: 0.9rem; }
.service-link:hover { color: var(--primary); }

/* Hizmetler Detay Sayfası */
.service-detail-img img { border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.service-detail-placeholder { height: 280px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 4rem; color: rgba(255,255,255,0.3); }
.service-icon-sm { width: 48px; height: 48px; background: var(--accent); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.2rem; margin-bottom: 1rem; }
.service-detail-title { font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 1rem; }
.service-detail-desc { color: var(--text-light); line-height: 1.8; margin-bottom: 1.5rem; }
.service-divider { border-color: rgba(0,0,0,0.06); margin: 2rem 0; }

/* ═══ ABOUT ═══ */
.about-text { color: var(--text-light); font-size: 1.05rem; line-height: 1.8; margin-bottom: 1.5rem; }
.about-features { display: flex; flex-direction: column; gap: 0.7rem; }
.about-feature-item { display: flex; align-items: center; gap: 0.6rem; }
.about-feature-item i { color: var(--accent); font-size: 1rem; }
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.about-stat { background: white; border-radius: var(--radius); padding: 1.5rem; text-align: center; box-shadow: var(--shadow); }
.about-stat i { font-size: 1.5rem; color: var(--accent); display: block; margin-bottom: 0.5rem; }
.about-stat strong { font-size: 1.8rem; font-weight: 800; color: var(--primary); display: block; }
.about-stat span { font-size: 0.85rem; color: var(--text-light); }
.about-mini-stat { background: white; border-radius: 10px; padding: 1.2rem; text-align: center; box-shadow: var(--shadow); }
.about-mini-stat strong { font-size: 1.6rem; font-weight: 800; color: var(--primary); display: block; }
.about-mini-stat span { font-size: 0.8rem; color: var(--text-light); }

/* ═══ VALUES ═══ */
.value-item { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px solid rgba(0,0,0,0.06); }
.value-item:last-child { border-bottom: none; }
.value-icon { width: 40px; height: 40px; background: rgba(200,168,75,0.12); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: var(--accent); flex-shrink: 0; }
.value-content h5 { font-size: 1rem; font-weight: 700; margin-bottom: 0.2rem; color: var(--primary-dark); }
.value-content p { font-size: 0.9rem; color: var(--text-light); margin: 0; }

/* ═══ WHY CARDS ═══ */
.why-card { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); text-align: center; transition: var(--transition); height: 100%; }
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.why-icon { width: 60px; height: 60px; background: linear-gradient(135deg, var(--primary), var(--primary-dark)); border-radius: 14px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.5rem; margin: 0 auto 1rem; }
.why-title { font-size: 1.05rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 0.6rem; }
.why-desc { color: var(--text-light); font-size: 0.9rem; }

/* ═══ MISSION CARDS ═══ */
.mission-card { background: white; border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); text-align: center; height: 100%; }
.mission-card.accent { background: var(--primary); color: white; }
.mission-card i { font-size: 2.5rem; color: var(--accent); display: block; margin-bottom: 1rem; }
.mission-card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 0.8rem; }
.mission-card p { font-size: 0.9rem; line-height: 1.7; }
.mission-card.accent p { color: rgba(255,255,255,0.85); }

/* ═══ GALLERY ═══ */
.gallery-item { position: relative; border-radius: 8px; overflow: hidden; cursor: zoom-in; }
.gallery-item img { width: 100%; height: 220px; object-fit: cover; transition: var(--transition); }
.gallery-overlay { position: absolute; inset: 0; background: rgba(13,27,42,0.6); opacity: 0; display: flex; align-items: center; justify-content: center; font-size: 2rem; color: white; transition: var(--transition); }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-item:hover .gallery-overlay { opacity: 1; }

/* ═══ CTA ═══ */
.cta-section { background: var(--primary); padding: 60px 0; }
.cta-box { }
.cta-title { font-size: clamp(1.4rem, 3vw, 2rem); font-weight: 800; color: white; margin-bottom: 0.6rem; }
.cta-text { color: rgba(255,255,255,0.75); font-size: 1rem; }

/* ═══ PAGE BANNER ═══ */
.page-banner { padding: 140px 0 60px; background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%); }
.page-banner-title { font-size: clamp(1.8rem, 4vw, 2.8rem); font-weight: 800; color: white; margin-bottom: 0.5rem; }
.page-banner .breadcrumb { background: none; padding: 0; }
.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-banner .breadcrumb-item.active { color: var(--accent); }
.page-banner .breadcrumb-item+.breadcrumb-item::before { color: rgba(255,255,255,0.4); }

/* ═══ CONTACT ═══ */
.contact-info-title { font-size: 1.6rem; font-weight: 800; color: var(--primary-dark); margin-bottom: 0.5rem; }
.contact-info-subtitle { color: var(--text-light); }
.contact-info-item { display: flex; gap: 1rem; margin-bottom: 1.5rem; }
.contact-info-icon { width: 46px; height: 46px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; color: var(--accent); font-size: 1.1rem; flex-shrink: 0; }
.contact-info-icon.whatsapp-icon { background: #25d366; color: white; }
.contact-info-item strong { font-weight: 600; color: var(--primary-dark); display: block; margin-bottom: 0.2rem; }
.contact-info-item p { color: var(--text-light); margin: 0; }
.contact-info-item p a { color: var(--primary); }
.contact-info-item p a:hover { color: var(--accent); }
.contact-form-box { background: white; border-radius: var(--radius); padding: 2.5rem; box-shadow: var(--shadow-lg); }
.contact-form-title { font-size: 1.4rem; font-weight: 700; color: var(--primary-dark); margin-bottom: 1.5rem; }
.contact-form .form-control { border-radius: 8px; border-color: #e2e8f0; padding: 12px 16px; }
.contact-form .form-control:focus { border-color: var(--primary); box-shadow: 0 0 0 0.2rem rgba(26,58,92,0.12); }
.contact-map iframe { border-radius: var(--radius); }

/* ═══ FOOTER ═══ */
.site-footer { background: var(--primary-dark); color: rgba(255,255,255,0.8); }
.footer-top { padding: 60px 0 40px; }
.footer-brand { font-size: 1.1rem; color: white; }
.footer-brand i { color: var(--accent); }
.footer-about { font-size: 0.9rem; color: rgba(255,255,255,0.6); line-height: 1.7; }
.footer-heading { color: var(--accent); font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: rgba(255,255,255,0.6); font-size: 0.9rem; transition: var(--transition); }
.footer-links a:hover { color: var(--accent); padding-left: 4px; }
.footer-contact-list { list-style: none; padding: 0; }
.footer-contact-list li { display: flex; align-items: flex-start; gap: 0.6rem; margin-bottom: 0.7rem; color: rgba(255,255,255,0.6); font-size: 0.9rem; }
.footer-contact-list li i { color: var(--accent); margin-top: 3px; flex-shrink: 0; }
.footer-contact-list a { color: rgba(255,255,255,0.6); }
.footer-contact-list a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 0.6rem; }
.footer-social a { width: 36px; height: 36px; background: rgba(255,255,255,0.08); border-radius: 8px; display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); transition: var(--transition); }
.footer-social a:hover { background: var(--accent); color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 16px 0; }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.85rem; margin: 0; }
.footer-admin-link { color: rgba(255,255,255,0.3); font-size: 0.8rem; }
.footer-admin-link:hover { color: var(--accent); }

/* ═══ WhatsApp Butonu ═══ */
.whatsapp-float { position: fixed; bottom: 25px; left: 25px; z-index: 9999; width: 56px; height: 56px; background: #25d366; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-size: 1.8rem; box-shadow: 0 4px 20px rgba(37,211,102,0.5); animation: pulse 2s infinite; }
.whatsapp-float:hover { background: #128c7e; color: white; transform: scale(1.1); }
@keyframes pulse { 0%,100%{box-shadow:0 4px 20px rgba(37,211,102,.5)} 50%{box-shadow:0 4px 30px rgba(37,211,102,.8)} }

/* ═══ Back to Top ═══ */
.back-to-top { position: fixed; bottom: 90px; right: 25px; z-index: 999; width: 44px; height: 44px; background: var(--primary); color: white; border: none; border-radius: 10px; display: none; align-items: center; justify-content: center; cursor: pointer; font-size: 1rem; box-shadow: var(--shadow); transition: var(--transition); }
.back-to-top.visible { display: flex; }
.back-to-top:hover { background: var(--accent); }

/* ═══ Responsive ═══ */
@media (max-width: 768px) {
  .section-pad { padding: 50px 0; }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.1); }
  .stat-item:last-child { border-bottom: none; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; }
  .contact-form-box { padding: 1.5rem; }
}
