/*
Theme Name: Altufan Ulu Hukuk Bürosu
Theme URI: https://altufanulu.com
Description: Custom theme for Altufan Ulu Law Firm
Version: 1.0.0
Author: Super Agency
Author URI: https://super-agency.com
Text Domain: altufan-ulu
*/

/* ── WP override koruması ── */
/* WP 6.x kendi inline CSS'i ile html font-size'ı ve margin/padding'leri
   değiştirebilir; bu kurallar orijinal CSS reset'ini korur. */
html, :root { font-size: 10px !important; }

/* WP classic-theme-styles p/ul/li margin eklemelerini sıfırla.
   Orijinal style.min.css *{margin:0;padding:0} reset'ini WP'nin
   daha spesifik kuralları override eder; bu kurallar bunu düzeltir. */
p, ul, ol, li, h1, h2, h3, h4, h5, h6, figure, blockquote, pre {
  margin: 0;
  padding: 0;
}
img { max-width: 100%; height: auto; }

/* ── Hero image overlay (uzmanlık alanları) ── */
.custom-headline figure {
  position: relative;
}
.custom-headline figure::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(5, 10, 52, 0.15);
  pointer-events: none;
  z-index: 1;
}

/* ── Text content headings ── */
.text-content h3 {
    font-size: 2.4rem;
    font-weight: 600;
    color: #050a34;
    margin-top: 4rem;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* ── Cookie Consent Panel ── */
.au-cc-panel {
  display: none;
  position: fixed;
  bottom: 2.4rem;
  left: 2.4rem;
  width: 42rem;
  max-width: calc(100vw - 3.2rem);
  box-sizing: border-box;
  background: #050A34;
  border: 1px solid rgba(245,240,232,0.15);
  border-radius: 2px;
  padding: 2rem 2.4rem 2.2rem;
  z-index: 99999;
  box-shadow: 0 12px 48px rgba(0,0,0,0.5);
  color: #f5f0e8;
}
.au-cc-panel--visible { display: block; }

.au-cc-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.au-cc-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: #f5f0e8;
  margin: 0;
  line-height: 1;
}
.au-cc-close {
  background: none;
  border: none;
  color: rgba(245,240,232,0.6);
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}
.au-cc-close:hover { color: #f5f0e8; }

.au-cc-desc {
  font-size: 1.25rem;
  color: rgba(245,240,232,0.7);
  line-height: 1.6;
  margin-bottom: 1.4rem;
}
.au-cc-desc a {
  color: #f5f0e8;
  text-decoration: underline;
}
.au-cc-desc a:hover { opacity: 0.8; }

.au-cc-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.4rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}
.au-cc-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.au-cc-item label {
  display: flex;
  align-items: center;
  gap: 1rem;
  cursor: pointer;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5f0e8;
}
.au-cc-item > span:not(.au-cc-dot):not(.au-cc-badge) {
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #f5f0e8;
  flex: 1;
}
/* Küçük nokta göstergesi */
.au-cc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}
.au-cc-dot--on  { background: #f5f0e8; }
.au-cc-dot--opt { background: rgba(245,240,232,0.25); }
.au-cc-badge {
  font-size: 1.1rem;
  font-weight: 400;
  color: rgba(245,240,232,0.5);
  letter-spacing: 0;
  text-transform: none;
  white-space: nowrap;
}

.au-cc-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
  width: 100%;
}
.au-cc-actions .au-cc-btn {
  min-width: 0;
  width: 100%;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.au-cc-status {
  font-size: 1.2rem !important;
  line-height: 1.6 !important;
  opacity: 0.85;
}
.au-cc-status strong { font-weight: 600; opacity: 1; }
.au-cc-btn {
  padding: 1rem 2.5rem !important;
  font-size: 1.15rem !important;
  line-height: 1.2 !important;
  min-height: unset !important;
  height: auto !important;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(245,240,232,0.6);
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
  border-radius: 1px;
  box-sizing: border-box;
}
.au-cc-btn--reject {
  background: transparent;
  color: rgba(245,240,232,0.8);
}
.au-cc-btn--reject:hover {
  background: rgba(245,240,232,0.08);
  color: #f5f0e8;
  border-color: #f5f0e8;
}
.au-cc-btn--accept {
  background: #f5f0e8;
  color: #050A34;
  border-color: #f5f0e8;
}
.au-cc-btn--accept:hover { background: #ddd8cc; border-color: #ddd8cc; }
.au-cc-btn--save {
  background: transparent;
  color: rgba(245,240,232,0.7);
  border-color: rgba(245,240,232,0.35);
}
.au-cc-btn--save:hover {
  background: rgba(245,240,232,0.08);
  color: #f5f0e8;
  border-color: rgba(245,240,232,0.6);
}

/* Cookie trigger icon */
.au-cc-trigger {
  position: fixed;
  bottom: 2.4rem;
  left: 2.4rem;
  width: 5.2rem;
  height: 5.2rem;
  border-radius: 50%;
  background: #050A34;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  padding: 0;
}
.au-cc-trigger:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px rgba(0,0,0,0.5);
}
.au-cc-trigger svg {
  width: 40px;
  height: 40px;
}

/* ── Mobil: header nav'daki dil butonunu gizle ───────── */
@media (max-width: 1024px) {
  header nav .lang-switch-item,
  header nav .lang-switch {
    display: none !important;
  }
}

/* ── Mobil menü overrides ────────────────────────────── */

/* Menü itemları logoyla hizalı — sola yasla */
.menu-content .menu {
  align-items: flex-start !important;
  padding-left: 2rem !important;
}

/* Alt çubuk: menü itemlarının hemen altında, dil sol - linkedin sağ */
.au-mobile-bottom {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 1rem !important;
  margin-top: 4rem !important;
  width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Dil butonu — desktop lang-switch stilinde, %70 opasite */
.au-mobile-lang {
  font-size: 1.6rem !important;
  font-weight: 600 !important;
  letter-spacing: 0.12em !important;
  color: #f5f0e8 !important;
  border: 1px solid #f5f0e8 !important;
  padding: 0.3em 0.8em !important;
  border-radius: 2px !important;
  text-decoration: none !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s !important;
  line-height: 1 !important;
  height: 4rem !important;
  display: inline-flex !important;
  align-items: center !important;
  cursor: pointer !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 10 !important;
  touch-action: manipulation !important;
  -webkit-tap-highlight-color: rgba(255,255,255,0.1);
}
.au-mobile-lang:hover { opacity: 1 !important; }

/* LinkedIn ikonu — dil butonunun sağına, sağa hizalı */
.au-mobile-linkedin {
  display: flex !important;
  align-items: center !important;
  color: #f5f0e8 !important;
  opacity: 0.7 !important;
  transition: opacity 0.2s !important;
  margin-left: 20px !important;
}
.au-mobile-linkedin:hover { opacity: 1 !important; }
.au-mobile-linkedin svg {
  width: 2.4rem !important;
  height: 2.4rem !important;
}

@media (max-width: 480px) {
  .au-cc-panel {
    bottom: 1.6rem;
    left: 1.6rem;
    right: 1.6rem;
    width: auto;
    max-width: none;
    padding: 2rem;
  }
  .au-cc-trigger {
    bottom: 1.6rem;
    left: 1.6rem;
  }
}

/* ── Why items — mobilde Swiper slider ── */
@media (max-width: 1024px) {
  .why-items.swiper { overflow: hidden !important; }
  .why-items .swiper-wrapper { display: flex !important; }
  .why-items .swiper-slide { height: auto !important; }
}

/* ── Area content h4 headings ── */
.area-content .right-content h4 {
    font-size: 2.6rem;
    font-weight: 600;
    color: #050a34;
    margin-top: 3rem;
    margin-bottom: 0.8rem;
    padding-left: 1.4rem;
    border-left: 3px solid #050a34;
    line-height: 1.3;
    letter-spacing: -0.02em;
}

/* ── Area content h3 headings (büyük paragraf başlığı) ── */
.area-content .right-content h3 {
    font-size: 3.2rem;
    line-height: 1.2;
    color: #050a34;
    margin-bottom: 4rem;
}

/* ── Uzmanlık özet (lead paragraph) ── */
.area-content .right-content .uzmanlik-ozet {
    font-size: 1.8rem;
    line-height: 1.7;
    color: #050a34;
    font-weight: 500;
    border-left: 4px solid #050a34;
    padding-left: 2rem;
    margin-bottom: 4rem;
}
