/* Global overrides loaded after theme CSS to fix visibility on inner pages */

/* Header visibility on all pages */
.nav-area { background: #fff; z-index: 1000; }

.navbar-brand, .navbar-brand span { color: #333 !important; }
.navbar-brand:focus, .navbar-brand:hover { color: #333 !important; }

.navbar-right li a { color: #333 !important; }
.navbar-right li.active a { color: #000 !important; }

/* Keep sticky nav colors consistent */
.sticky_navigation .navbar-brand, .sticky_navigation .navbar-brand span { color: #333 !important; }
.sticky_navigation .nav li a { color: #333 !important; }

/* Section title span should be dark by default; white only on dark sections */
.section-header h2 span { color: #000 !important; }
.testimonial-area .section-header h2 span { color: #fff !important; }

/* Ensure section headers are perfectly centered even with floating elements */
.section-header { position: relative; text-align: center; }
.section-header .pull-right { position: absolute; right: 0; top: 0; }
.section-header h2 { margin: 0 0 10px; width: 100%; }
.section-header .line { margin-left: auto; margin-right: auto; }

/* ================= Home (slider overlay) ================= */
.is-home .nav-area { background: transparent !important; box-shadow: none; }
.is-home .navbar-right li a,
.is-home .navbar-brand,
.is-home .navbar-brand span { color: #fff !important; }
.is-home .navbar-toggle { border-color: rgba(255,255,255,.7); }
.is-home .navbar-toggle .icon-bar { background-color: #fff !important; }
.is-home .sticky_navigation { background:#fff !important; }
.is-home .sticky_navigation .navbar-right li a,
.is-home .sticky_navigation .navbar-brand,
.is-home .sticky_navigation .navbar-brand span { color: #333 !important; }
.is-home .sticky_navigation .navbar-toggle { border-color: #333; }
.is-home .sticky_navigation .navbar-toggle .icon-bar { background-color: #333 !important; }

/* ================= Mobile navbar improvements (only dropdown) ================= */
@media (max-width: 767px) {
  .nav-area { height: auto; }
  .navbar-right { padding-top: 0; }

  /* Collapsed panel: daha okunabilir ve belirgin */
  .navbar-collapse { 
    position: relative; 
    background: #fff !important; 
    padding: 8px 0; 
    border-top: 1px solid #eee; 
    box-shadow: 0 16px 40px rgba(0,0,0,.12); 
    z-index: 2000; 
  }

  .navbar-right { float: none !important; }
  .navbar-right li { display: block; float: none; }

  .navbar-right li a { 
    display: block; 
    font-size: 17px; 
    font-weight: 600; 
    color: #222 !important; 
    padding: 14px 22px !important; 
    border-bottom: 1px solid #f1f1f1; 
  }
  .navbar-right li:last-child a { border-bottom: 0; }

  .navbar-right li a:hover { background: #f2f2f2; color: #000 !important; }
  .navbar-right li a:focus, .navbar-right li a:active { background: #eaeaea; color: #000 !important; }

  /* Home (en üstte) özel: açılan panelde metinleri koyulaştır */
  .is-home .navbar-collapse { background:#fff !important; }
  .is-home .navbar-collapse .navbar-right li a { color:#222 !important; }
  .is-home .navbar-collapse .navbar-right li a:hover { background:#f2f2f2; color:#000 !important; }

  /* Opsiyonel: link içinde ikon kullanılıyorsa bir miktar aralık ve daha yumuşak renk */
  .navbar-right li a i, .navbar-right li a .fa { margin-right: 8px; color: #888; }

  /* Toggle görünürlüğü koru */
  .navbar-toggle { margin-top: 12px; border: 1px solid #333; }
  .navbar-toggle:focus, .navbar-toggle:hover { background: rgba(0,0,0,.03); }
  .navbar-toggle .icon-bar { background-color: #333 !important; }
}

/* ================= Dual logo rules (global) ================= */
.navbar-brand img { height: 45px; width: auto; display: inline-block; }
.brand-logo-default { display: none; }
.brand-logo-hero { display: inline-block; }
.sticky_navigation .brand-logo-default { display: inline-block !important; }
.sticky_navigation .brand-logo-hero { display: none !important; }

/* ============ Appointment CTA styles ============ */
/* Prevent pseudo-element overlay from blocking clicks */
.opening-hours-wrap:before { pointer-events: none; z-index: 0; }
.appointment-cta { position: relative; text-align: center; padding: 30px 20px; border: 1px solid #e5e5e5; border-radius: 16px; background: #fff; z-index: 1; }
.btn-appointment { display: inline-flex; align-items: center; gap: 10px; padding: 12px 28px; border-radius: 30px; background: #111; color: #fff !important; font-weight: 700; letter-spacing: 1px; box-shadow: 0 8px 20px rgba(0,0,0,.15); border: 1px solid #111; text-decoration: none; }
.btn-appointment:hover, .btn-appointment:focus { background: #333; color: #fff !important; text-decoration: none; transform: translateY(-1px); box-shadow: 0 10px 22px rgba(0,0,0,.18); }
.btn-appointment i { font-size: 16px; }
/* Banner ana başlık Cinzel fontu */
.banner-text-area .banner-text { font-family: 'Cinzel', serif; font-weight: 700; letter-spacing: 2px; }
@media (max-width: 767px) { .banner-text-area .banner-text { font-size: 38px; } }
/* Stylish contact CTA button */
.btn-contact-cta {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 30px;
  background: linear-gradient(135deg, #111, #333);
  color: #fff !important;
  font-weight: 700;
  letter-spacing: 1px;
  border: 0;
  box-shadow: 0 10px 24px rgba(0,0,0,.18);
  transition: transform .15s ease, box-shadow .15s ease, background .2s ease;
  text-transform: uppercase;
}
.btn-contact-cta:hover,
.btn-contact-cta:focus {
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
  background: linear-gradient(135deg, #000, #222);
  box-shadow: 0 14px 28px rgba(0,0,0,.22);
}
.btn-contact-cta:active { transform: translateY(0); box-shadow: 0 8px 20px rgba(0,0,0,.15); }
