@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&family=Inter:wght@400;500&family=Roboto:wght@400;500&display=swap');

:root {
  --primary-red: #ff1a38;
  --primary-purple: #971a91;
  --secondary-purple: #631abd;
  --accent-yellow: #ffb41a;
  --navy-blue: #000049;
  --black: #000;
  --white: #fff;
  --font-main: 'Poppins', 'Inter', 'Roboto', Arial, sans-serif;
}
body {
 font-family: var(--font-main) !important;
  background: var(--white);
  color: var(--navy-blue);
  font-size: 1rem;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', 'Inter', 'Roboto', Arial, sans-serif;
  font-weight: 700;
  color: var(--navy-blue);
}
a {
  color: var(--primary-red);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: var(--primary-purple);
}
.navbar {
  font-size: 1rem;
  letter-spacing: 0.01em;
}
.nav-link.active, .nav-link:focus {
  color: var(--primary-red) !important;
  font-weight: 600;
}
.btn-primary {
  background: var(--primary-red);
  border: none;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-primary:hover, .btn-primary:focus {
  background: var(--primary-purple);
  box-shadow: 0 2px 8px rgba(255,26,56,0.15);
}
.footer {
  position: relative;
  width: 100%;
  z-index: 10;
  margin-top: auto;
}

/* Ana içerik alanı */
main, .main-content {
  flex: 1;
}

/* Çerez banner düzeltmesi */
#cookieBanner {
  position: fixed !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 9999 !important;
}
.main-slider { min-height: 480px; }
.slider-img { object-fit: cover; height: 60vh; min-height: 400px; max-height: 700px; }
.carousel-caption { bottom: 0; top: 0; left: 0; right: 0; background: rgba(0,0,0,0.25); }
.text-shadow { text-shadow: 0 2px 16px #000, 0 1px 2px #000; }
.card, .service-card, .product-card, .reference-card, .blog-card {
  border-radius: 1rem;
  transition: box-shadow 0.2s, transform 0.2s;

}
.card:hover, .service-card:hover, .product-card:hover, .reference-card:hover, .blog-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,73,0.12);
  transform: translateY(-4px) scale(1.03);
}
footer {
  font-size: 0.95rem;
}
@media (max-width: 991.98px) {
  .navbar-nav {
    text-align: center;
  }
}
@media (max-width: 767.98px) {
  h1 {
    font-size: 2rem;
  }
  .card-title {
    font-size: 1.1rem;
  }
  .navbar-brand img {
    height: 32px;
  }
  .slider-img { height: 240px; min-height: 180px; }
}

.cta-gradient {
  background: linear-gradient(120deg, #ff1a38 0%, #971a91 35%, #ffb41a 70%, #000049 100%) !important;
}
.cta-title {
  color: #fff !important;
} 

/*Yeni stiller blog*/
.blog-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

/* Blog Detay Stilleri */
.bg-light {
    background-color: #f8f9fa !important;
}

article {
    transition: all 0.3s ease;
}

article h1 {
    font-size: 2.25rem;
    font-weight: 700;
    color: #1a3c6d;
    margin-bottom: 1.5rem;
}

.meta .badge {
    font-size: 0.9rem;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.lead {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #4a5a6b;
}

.content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333;
}

.content p {
    margin-bottom: 1.5rem;
}

.content h2, .content h3, .content h4 {
    color: #1a3c6d;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content ul, .content ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.content img {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    margin-bottom: 1.5rem;
}

.badge.bg-light {
    border: 1px solid #dee2e6;
    color: #333;
}

/* Sidebar Stilleri */
.sidebar .bg-white {
    border-radius: 0.5rem;
    padding: 1.5rem;
}

.sidebar h4 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1a3c6d;
}

.sidebar ul {
    font-size: 1rem;
    color: #4a5a6b;
}

.sidebar .mb-3:hover h6 {
    color: #0052cc;
    transition: color 0.3s ease;
}

/* Mobil Uyumluluk */
@media (max-width: 768px) {
    article h1 {
        font-size: 1.75rem;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    .content {
        font-size: 1rem;
    }
    
    .sidebar img {
        width: 60px;
        height: 60px;
    }
}

/* 404 Sayfası */
.btn-primary {
    background-color: #1a3c6d;
    border-color: #1a3c6d;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
}

.btn-primary:hover {
    background-color: #0052cc;
    border-color: #0052cc;
}

/*Yorumlar*/
  .card-testimonial {
    border: none;
    border-radius: .75rem;
    background: #ffffff;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .card-testimonial:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09);
  }

  .card-testimonial .avatar {
    width: 64px;
    height: 64px;
    object-fit: cover;
    flex-shrink: 0;
    border: 3px solid rgba(0, 0, 0, 0.04);
  }

  @media (max-width: 575.98px) {
    .card-testimonial .avatar {
      width: 56px;
      height: 56px;
    }
  }

  /* Scrollbar gizle */
  #yorumSlider::-webkit-scrollbar {
    display: none;
  }

/* Oklar */
.arrow {
  position: relative; /* container için */
}

.slider-btn {
  background: #fff;
  border: 2px solid #000049;
  color: #000049;
  font-size: 14px;
  font-weight: 150;
  padding: 2px 11px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  z-index: 5;
  position: absolute; /* kartların üstüne oturacak */
  top: 50%; /* ortala dikey */
  transform: translateY(-50%);
}

.slider-btn.left {
    left: -55px;
    top: 100px;
}

.slider-btn.right {
  right: -55px;
  top:100px;
}

.slider-btn:hover {
  background: #000049;
  color: #fff;
  transform: translateY(-50%) scale(1.05); /* hoverda aynı konum + scale */
}



