/* Modern ek stil dosyası - kapsamlı görsel iyileştirmeler */

:root{
  --brand:#ff6a00;
  --brand-600:#e55f00;
  --bg:#ffffff;
  --fg:#0f172a;
  --muted:#475569;
  --card-bg:#ffffff;
  --border: #e2e8f0;
}

@media (prefers-color-scheme: dark){
  :root{
    --bg:#0b1220;
    --fg:#e2e8f0;
    --muted:#94a3b8;
    --card-bg:#0f172a;
    --border:#1f2937;
  }
}

/* Genel tipografi ve okunabilirlik */
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }

/* Header */
#header{ background: var(--bg); border-bottom:1px solid var(--border); }
#header .main-nav li a{ color: var(--fg); }
#header .main-nav li a:hover{ color: var(--brand); }
.fixed-header.smallHeader #header{ box-shadow: 0 8px 24px rgba(0,0,0,.06); }

/* Header küçük ekran iyileştirmeleri */
#header .logo img { max-height: 56px; height: auto; }
.navbar-toggle { outline: none; }

/* Buton görünümü - Bootstrap 5 uyumlu modern stiller */
.btn { 
  border-radius: 8px; 
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn:hover { 
  box-shadow: 0 8px 20px rgba(0,0,0,.15);
  transform: translateY(-2px);
}

.btn:active {
  transform: translateY(0);
}

.btn-primary { 
  background: var(--brand); 
  border-color: var(--brand);
  color: #fff;
}

.btn-primary:hover { 
  background: var(--brand-600); 
  border-color: var(--brand-600);
  color: #fff;
}

.btn-primary:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25);
}

/* Mobil uyumluluk */
@media (max-width: 768px) {
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .text-box, .image-and-text-box, .service-box {
    padding: 1rem;
  }
}

/* Kart/box gölgeleri - Bootstrap 5 uyumlu */
.text-box, .image-and-text-box, .service-box { 
  box-shadow: 0 4px 14px rgba(0,0,0,.06); 
  border-radius: 12px; 
  overflow: hidden; 
  background: var(--card-bg); 
  border: 1px solid var(--border);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.text-box:hover, .image-and-text-box:hover, .service-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.bordered-thumb { 
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 1rem;
}

.bordered-thumb img { 
  display: block; 
  width: 100%; 
  height: auto;
  transition: transform 0.3s ease;
}

.text-box:hover .bordered-thumb img {
  transform: scale(1.05);
}

.text-box h4 {
  margin-top: 1rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.text-box h4 a {
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s ease;
}

.text-box h4 a:hover {
  color: var(--brand);
}

.text-box small a{ 
  color: var(--fg); 
  text-decoration: none;
  transition: color 0.2s ease;
}

.text-box small a:hover{ 
  color: var(--brand); 
}

/* Bootstrap 5 card uyumluluğu */
.card {
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(0,0,0,.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,.12);
}

.card-img-top {
  border-radius: 8px 8px 0 0;
}

/* Footer modern koyu şerit */
#footer .footer-bottom { background: #0f172a; color: #cbd5e1; }
#footer .footer-bottom a { color: #e2e8f0; }
#footer .footer-address-widget ul li span, #footer .footer-address-widget ul li a{ color: var(--muted); }

/* Erişilebilir odak */
a:focus, button:focus, .btn:focus { outline: 3px solid rgba(255,106,0,.45); outline-offset: 2px; }

/* Daha iyi spacing */
section { padding-top: 70px; padding-bottom: 70px; }
.height-50 { height: 40px; }

/* Slider okları mobilde gizli ise masaüstünde daha belirgin kıl */
@media (min-width: 992px){
  .tp-leftarrow.default, .tp-rightarrow.default { filter: drop-shadow(0 2px 8px rgba(0,0,0,.25)); }
}

/* Bootstrap 5 Navbar uyumluluğu */
.navbar-toggler {
  border: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  border-radius: 6px;
  background: transparent;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(255, 106, 0, 0.25);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2833, 37, 41, 0.75%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
  width: 1.5em;
  height: 1.5em;
  display: inline-block;
}

.navbar-collapse {
  margin-top: 1rem;
}

@media (min-width: 992px) {
  .navbar-collapse {
    margin-top: 0;
  }
}

/* Mobil menü iyileştirmeleri */
@media (max-width: 991px) {
  #header .main-nav {
    background: var(--card-bg);
    border-radius: 8px;
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.06);
  }
  
  #header .main-nav li a {
    padding: 0.75rem 1rem !important;
    border-radius: 6px;
    margin-bottom: 0.25rem;
  }
  
  #header .main-nav li a:hover {
    background: rgba(255, 106, 0, 0.1);
  }
}

/* Grid sistem iyileştirmeleri */
.row {
  margin-left: -0.75rem;
  margin-right: -0.75rem;
}

.row > * {
  padding-left: 0.75rem;
  padding-right: 0.75rem;
}

/* Accordion/Toggle iyileştirmeleri */
.toggle {
  margin-bottom: 0.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.toggle-heading a {
  display: flex;
  align-items: center;
  padding: 1rem 1.25rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}

.toggle-heading a:hover {
  background: rgba(255, 106, 0, 0.05);
  border-color: var(--brand);
}

.toggle-heading a i {
  margin-right: 0.75rem;
  color: var(--brand);
}

/* Contact bar iyileştirmeleri */
.contact-us-bar {
  background: var(--brand);
  color: #fff;
  padding: 2rem 0;
}

.contact-us-bar h4 {
  color: #fff;
  margin: 0;
}

/* Responsive görsel iyileştirmeleri */
.bordered-thumb img {
  object-fit: cover;
  aspect-ratio: 16/9;
}

/* Loading animasyonu */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate.fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

/* Reduce motion tercihi */
@media (prefers-reduced-motion: reduce){
  *, *::before, *::after { 
    animation-duration: 0.001ms !important; 
    animation-iteration-count: 1 !important; 
    transition-duration: 0.001ms !important; 
    scroll-behavior: auto !important; 
  }
  
  .btn:hover {
    transform: none;
  }
  
  .text-box:hover, .image-and-text-box:hover, .service-box:hover {
    transform: none;
  }
}


