:root {
  --primary: #1A3B5D;       /* Ana koyu mavi */
  --secondary: #2C6BAF;     /* İkincil mavi (hover, accent) */
  --light-blue: #8BB8E8;    /* Açık mavi arka planlar */
  --white: #FFFFFF;
  --gray: #6C757D;
  --dark: #212529;
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--dark);
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  color: var(--primary);
}

/* Navbar */
.navbar {
  background-color: var(--primary);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.navbar-brand img {
  height: 50px;
  max-height: 60px;
  width: auto;
  object-fit: contain;
}

.navbar-nav .nav-link {
  color: rgba(255,255,255,0.9) !important;
  transition: color 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--light-blue) !important;
}

.dropdown-menu {
  background-color: var(--primary);
  border: 1px solid rgba(255,255,255,0.1);
}

.dropdown-item {
  color: rgba(255,255,255,0.8);
}

.dropdown-item:hover {
  background-color: rgba(44, 107, 175, 0.2);
  color: var(--light-blue);
}

/* Hero Section - Görsel Net + Metin Okunabilir + Logo Uyumlu */
.hero {
  height: 650px;
  background: url('https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: linear-gradient(
    to bottom,
    rgba(26, 59, 93, 0.4),   /* Logo ana mavi - yarı saydam */
    rgba(26, 59, 93, 0.7)    /* Alt kısımda daha koyu */
  );
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3.2rem;
  line-height: 1.2;
  margin-bottom: 1.2rem;
  color: #FFFFFF;
  text-shadow: 0 3px 10px rgba(0, 0, 0, 0.5);
  font-weight: 700;
  letter-spacing: 0.5px;
}

.hero p {
  font-size: 1.25rem;
  margin: 0 auto 2rem;
  opacity: 0.95;
  color: #FFFFFF;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}

.btn-primary-custom {
  background-color: #2C6BAF;
  border: none;
  padding: 12px 32px;
  font-weight: 600;
  border-radius: 4px;
  transition: all 0.3s ease;
  color: white !important;
  box-shadow: 0 4px 10px rgba(44, 107, 175, 0.3);
  font-size: 1.1rem;
}

.btn-primary-custom:hover {
  background-color: #1e5b9f;
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(44, 107, 175, 0.4);
}

/* Section Titles */
.section-title {
  position: relative;
  text-align: center;
  margin-bottom: 3rem;
  font-size: 2.2rem;
  color: var(--primary);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 70px;
  height: 4px;
  background: var(--secondary);
  border-radius: 2px;
}

/* Cards */
.category-card, .service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 28px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  height: 100%;
  border: 1px solid var(--light-blue);
}

.category-card:hover, .service-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.15);
  border-color: var(--secondary);
}

.icon-box {
  width: 80px;
  height: 80px;
  background: rgba(44, 107, 175, 0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.icon-box i {
  font-size: 2.2rem;
  color: var(--secondary);
}

/* Table */
.table-container {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.table thead th {
  background-color: var(--primary);
  color: var(--white);
}

/* Gallery */
.gallery-img {
  height: 250px;
  object-fit: cover;
  border-radius: 8px;
  transition: transform 0.4s ease;
}

.gallery-img:hover {
  transform: scale(1.03);
}

/* Footer */
footer {
  background: var(--primary);
  color: #ddd;
  padding: 60px 0 30px;
}

.footer-title {
  font-family: 'Poppins', sans-serif;
  font-size: 1.4rem;
  margin-bottom: 20px;
  color: var(--white);
}

.footer-link {
  color: #bbb;
  text-decoration: none;
  transition: color 0.2s;
}

.footer-link:hover {
  color: var(--light-blue);
}

/* Button Hover & Accent */
.btn-outline-light {
  border-color: var(--light-blue);
  color: var(--light-blue);
}

.btn-outline-light:hover {
  background-color: var(--light-blue);
  color: var(--white);
}

/* Responsive */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero p {
    font-size: 1.1rem;
  }
  .navbar-brand img {
    height: 45px;
  }
}

/* Galeri Modal Resim */
#galleryModal .modal-content {
  max-height: 90vh;
}

#galleryModal .img-fluid {
  max-height: 70vh;
  object-fit: contain;
}