@charset "UTF-8";

/* ==========================================================================
   CSS VARIABLES
   ========================================================================== */
:root {
  /* Colors */
  --primary-color: #0A1628;      /* Koyu Lacivert (Ana) */
  --secondary-color: #1E3A5F;    /* Orta Lacivert */
  --accent-color: #E8A020;       /* Altın (Vurgu/CTA) */
  --accent-hover: #D18F1A;       
  --light-blue: #2563EB;         /* Mavi Aksan */
  --bg-light: #F4F6F9;           /* Açık Gri (Sayfa Arka Planı) */
  --text-dark: #1A1D20;          /* Metin Koyu */
  --text-light: #6C757D;         /* Metin Açık */
  --white: #FFFFFF;
  --success-color: #198754;
  --danger-color: #DC3545;
  --warning-color: #FFC107;
  --info-color: #0DCAF0;
  
  /* Typography */
  --font-family: 'Inter', sans-serif;
  
  /* Spacing & Sizes */
  --navbar-height: 80px;
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --box-shadow: 0 10px 30px rgba(10, 22, 40, 0.08);
  --box-shadow-hover: 0 15px 40px rgba(10, 22, 40, 0.15);
  
  /* Transitions */
  --transition: all 0.3s ease-in-out;
}

/* ==========================================================================
   GLOBAL STYLES
   ========================================================================== */
body {
  font-family: var(--font-family);
  background-color: var(--bg-light);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--primary-color);
}

a {
  color: var(--light-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-color);
}

/* Typography Utility */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background-color: var(--primary-color) !important; }
.bg-secondary { background-color: var(--secondary-color) !important; }
.bg-accent { background-color: var(--accent-color) !important; }

/* Buttons */
.btn {
  font-weight: 500;
  border-radius: var(--border-radius);
  padding: 0.75rem 1.5rem;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.9rem;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-2px);
}

.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

.btn-accent:hover {
  background-color: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(232, 160, 32, 0.4);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-outline-primary:hover {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-outline-light {
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-light:hover {
  background-color: var(--white);
  color: var(--primary-color);
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.navbar {
  background-color: var(--primary-color);
  height: var(--navbar-height);
  padding: 0;
  transition: var(--transition);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.navbar.sticky-top {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1030;
}

/* Glassmorphism on scroll */
.navbar.scrolled {
  background-color: rgba(10, 22, 40, 0.95);
  backdrop-filter: blur(10px);
  height: 70px;
}

.navbar-brand {
  font-weight: 700;
  color: var(--white) !important;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
}

.navbar-brand img {
  height: 40px;
  margin-right: 10px;
}

.nav-link {
  color: rgba(255, 255, 255, 0.8) !important;
  font-weight: 500;
  padding: 0 1rem !important;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-color) !important;
}

.navbar-toggler {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.navbar-toggler:focus {
  box-shadow: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  color: var(--white);
  padding: 120px 0 80px;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}

/* Particle / Pattern Overlay */
.hero-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--white);
  line-height: 1.2;
}

.hero-subtitle {
  font-size: 1.2rem;
  font-weight: 300;
  margin-bottom: 2rem;
  opacity: 0.9;
}

.hero-buttons .btn {
  margin-right: 15px;
  margin-bottom: 15px;
}

/* Hero Shield Illustration (CSS only) */
.hero-illustration {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.shield-container {
  position: relative;
  width: 250px;
  height: 280px;
  animation: float 4s ease-in-out infinite;
}

.shield-body {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--accent-color), #f7b733);
  clip-path: polygon(50% 0%, 100% 20%, 100% 60%, 50% 100%, 0 60%, 0 20%);
  box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.shield-inner {
  position: absolute;
  top: 10%; left: 10%; width: 80%; height: 80%;
  background: var(--primary-color);
  clip-path: polygon(50% 0%, 100% 20%, 100% 60%, 50% 100%, 0 60%, 0 20%);
  display: flex;
  justify-content: center;
  align-items: center;
}
.shield-inner i {
  font-size: 4rem;
  color: var(--white);
}

@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
  100% { transform: translateY(0px); }
}

/* ==========================================================================
   STATISTICS COUNTER SECTION
   ========================================================================== */
.stats-section {
  background-color: var(--white);
  padding: 50px 0;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 10px 30px rgba(0,0,0,0.02);
  position: relative;
  z-index: 10;
  margin-top: -30px;
  border-radius: var(--border-radius-lg);
}

.stat-item {
  text-align: center;
  padding: 20px;
}

.stat-icon {
  font-size: 2.5rem;
  color: var(--light-blue);
  margin-bottom: 15px;
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 5px;
}

.stat-text {
  font-size: 1rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ==========================================================================
   PRODUCTS GRID
   ========================================================================== */
.products-section {
  padding: 80px 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
}

.section-title h2 {
  font-size: 2.5rem;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title h2::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--accent-color);
}

.product-card {
  background: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 30px 20px;
  text-align: center;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  height: 100%;
  border: 1px solid transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.product-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: linear-gradient(90deg, var(--light-blue), var(--accent-color));
  opacity: 0;
  transition: var(--transition);
}

.product-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  background-color: var(--primary-color);
}
.product-card:hover::before {
  opacity: 1;
}
.product-card:hover .product-icon,
.product-card:hover .product-title,
.product-card:hover .product-desc {
  color: var(--white) !important;
}

.product-icon {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  transition: var(--transition);
}

.product-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 15px;
  color: var(--primary-color);
  transition: var(--transition);
}

.product-desc {
  color: var(--text-light);
  font-size: 0.9rem;
  margin-bottom: 20px;
  flex-grow: 1;
  transition: var(--transition);
}

.product-card .btn {
  margin-top: auto;
}

.product-card:hover .btn-outline-primary {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: var(--white);
}

/* ==========================================================================
   FEATURES / NEDEN BİZ
   ========================================================================== */
.features-section {
  padding: 80px 0;
  background-color: var(--white);
}

.feature-box {
  display: flex;
  align-items: flex-start;
  margin-bottom: 30px;
  padding: 20px;
  border-radius: var(--border-radius);
  transition: var(--transition);
}

.feature-box:hover {
  background-color: var(--bg-light);
}

.feature-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background-color: rgba(37, 99, 235, 0.1);
  color: var(--light-blue);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-right: 20px;
}

.feature-content h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
}

.feature-content p {
  color: var(--text-light);
  font-size: 0.9rem;
  margin: 0;
}

/* ==========================================================================
   POLICE SORGULAMA BANDI
   ========================================================================== */
.sorgulama-band {
  background: var(--primary-color);
  padding: 60px 0;
  color: var(--white);
}

.sorgulama-form-wrap {
  background: rgba(255,255,255,0.05);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  border: 1px solid rgba(255,255,255,0.1);
}

.sorgulama-band h3 {
  color: var(--white);
  margin-bottom: 20px;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--secondary-color), var(--primary-color));
  color: var(--white);
  text-align: center;
}

.cta-section h2 {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 20px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
  background-color: #050b14; /* Darker than primary */
  color: rgba(255,255,255,0.7);
  padding: 60px 0 20px;
}

.footer-logo {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  display: inline-block;
}

.footer-text {
  margin-bottom: 20px;
  font-size: 0.9rem;
}

.footer-heading {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 10px;
}
.footer-heading::after {
  content: '';
  position: absolute;
  left: 0; bottom: 0; width: 30px; height: 2px;
  background-color: var(--accent-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: rgba(255,255,255,0.7);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-color);
  padding-left: 5px;
}

.social-links a {
  display: inline-block;
  width: 36px;
  height: 36px;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  text-align: center;
  line-height: 36px;
  border-radius: 50%;
  margin-right: 10px;
  transition: var(--transition);
}

.social-links a:hover {
  background: var(--accent-color);
  transform: translateY(-3px);
}

.footer-bottom {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,0.1);
  text-align: center;
  font-size: 0.85rem;
}

/* ==========================================================================
   PAGE HERO (Inner Pages)
   ========================================================================== */
.page-hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
  padding: 100px 0 50px;
  color: var(--white);
  text-align: center;
}

.page-title {
  color: var(--white);
  font-size: 2.5rem;
  margin-bottom: 15px;
}

.breadcrumb {
  justify-content: center;
  background: transparent;
  padding: 0;
}

.breadcrumb-item a {
  color: rgba(255,255,255,0.7);
}

.breadcrumb-item.active {
  color: var(--white);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255,255,255,0.5);
}

/* ==========================================================================
   UTILITIES
   ========================================================================== */
.section-padding {
  padding: 80px 0;
}

/* Page loader */
#loader {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--primary-color);
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: opacity 0.5s ease;
}
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid rgba(255,255,255,0.2);
  border-top-color: var(--accent-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin { 100% { transform: rotate(360deg); } }

/* Flash message Toast */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1060;
}
