/*
Theme Name: Başoğlu Hukuk ve Danışmanlık
Theme URI: https://basogluhukuk.com
Author: Başoğlu Hukuk ve Danışmanlık
Description: Av. Deniz Başoğlu için hazırlanan, müvekkilin kendi Airo taslağını birebir temel alan WordPress temasıdır.
Version: 2.0
Requires PHP: 7.4
Text Domain: basoglu-hukuk
*/

/* ============================================
   TOKENS — taslaktaki gerçek renk değerlerinden
   ============================================ */
:root{
  --primary: #1f3b61;
  --primary-dark: #16293f;
  --secondary: #231f61;
  --accent: #61441f;
  --accent-light: #8a6a3c;
  --background: #f7f6f3;
  --card: #ffffff;
  --foreground: #0a0a0a;
  --muted-foreground: #706748;
  --border: #d7d3c6;
  --white: #ffffff;

  --font-heading: "Cormorant Garamond", Georgia, "Times New Roman", serif;
  --font-sans: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --container: 1280px;
}

/* ============================================
   RESET / BASE
   ============================================ */
*, *::before, *::after{ box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  background:var(--background);
  color:var(--foreground);
  font-family:var(--font-sans);
  font-size:16px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ margin:0; padding:0; list-style:none; }
h1,h2,h3,h4{ font-family:var(--font-heading); font-weight:600; line-height:1.15; margin:0; }
p{ margin:0; }
button{ font-family:inherit; cursor:pointer; }
input, textarea, select{ font-family:inherit; font-size:1rem; }

:focus-visible{ outline:2px solid var(--accent); outline-offset:3px; }

@media (prefers-reduced-motion: reduce){
  *{ animation-duration:0.001ms !important; animation-iteration-count:1 !important; transition-duration:0.001ms !important; scroll-behavior:auto !important; }
}

.container{ width:100%; max-width:var(--container); margin:0 auto; padding:0 20px; }
@media (min-width:1024px){ .container{ padding:0 32px; } }

.eyebrow{ font-size:0.875rem; font-weight:600; color:var(--primary); }

.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-size:0.875rem; font-weight:600;
  padding:12px 20px;
  transition:background .2s ease, color .2s ease, border-color .2s ease;
}
.btn svg{ width:17px; height:17px; }
.btn-outline{ border:1px solid var(--accent); color:var(--white); background:transparent; }
.btn-outline:hover{ background:var(--accent); color:var(--white); }
.btn-primary{ background:var(--primary); color:var(--white); }
.btn-primary:hover{ background:var(--accent); color:var(--white); }

/* ============================================
   HEADER
   ============================================ */
.site-header{
  position:sticky; top:0; z-index:50;
  background:var(--primary);
  color:var(--white);
  border-bottom:1px solid var(--accent);
}
.site-header .header-row{
  display:flex; align-items:center; justify-content:space-between; gap:20px;
  min-height:80px; padding:12px 0;
}
.brand{ display:flex; align-items:center; min-width:0; flex-shrink:1; }
.brand-plaque{
  display:inline-flex; align-items:center;
  background:#faf6eb; border-radius:3px; padding:6px 12px;
}
.brand-logo{ height:44px; width:auto; display:block; }

.primary-nav{ display:none; }
.primary-nav ul{ display:flex; align-items:center; gap:28px; }
.primary-nav a{
  position:relative; padding:8px 0; font-size:0.9rem; font-weight:500;
  color:var(--white); transition:color .2s ease;
}
.primary-nav a::after{
  content:""; position:absolute; left:0; right:100%; bottom:0; height:1px;
  background:var(--accent-light); transition:right .25s ease;
}
.primary-nav a:hover{ color:var(--accent-light); }
.primary-nav a:hover::after{ right:0; }
.primary-nav a.is-current{ color:var(--accent-light); }
.nav-inert{
  display:inline-flex; align-items:center; gap:6px;
  padding:8px 0; font-size:0.9rem; font-weight:500;
  color:rgba(255,255,255,0.38); cursor:default; user-select:none;
}
.nav-inert .soon{
  font-style:normal; font-size:0.62rem; letter-spacing:0.05em; text-transform:uppercase;
  color:rgba(255,255,255,0.3); border:1px solid rgba(255,255,255,0.22); border-radius:999px;
  padding:2px 7px;
}
.mobile-nav .nav-inert{ color:rgba(255,255,255,0.35); }
.mobile-nav .nav-inert .soon{ color:rgba(255,255,255,0.3); border-color:rgba(255,255,255,0.2); }

@media (min-width:1024px){
  .primary-nav{ display:flex; flex:1; justify-content:center; }
}

.header-actions{ display:none; align-items:center; gap:14px; }
@media (min-width:640px){ .header-actions{ display:flex; } }

.lang-switch{ display:flex; align-items:center; gap:8px; }
.lang-switch button{
  width:34px; height:34px; border-radius:999px; overflow:hidden;
  border:2px solid rgba(255,255,255,0.5); background:none; padding:0;
  transition:border-color .2s ease, transform .2s ease;
}
.lang-switch button:hover{ transform:scale(1.06); }
.lang-switch button.is-active{ border-color:var(--accent-light); }
.lang-switch img{ width:100%; height:100%; object-fit:cover; display:block; }

.nav-toggle{
  display:inline-flex; background:none; border:none; color:var(--white); padding:8px;
}
.nav-toggle svg{ width:24px; height:24px; }
@media (min-width:1024px){ .nav-toggle{ display:none; } }

.mobile-nav{
  position:fixed; inset:0 0 0 auto; width:min(80vw,320px); z-index:60;
  background:var(--primary); padding:100px 28px 30px;
  transform:translateX(100%); transition:transform .3s ease;
  box-shadow:-10px 0 30px rgba(0,0,0,0.2);
}
.mobile-nav.is-open{ transform:translateX(0); }
.mobile-nav ul{ display:flex; flex-direction:column; gap:22px; }
.mobile-nav a{ color:var(--white); font-size:1.05rem; font-weight:500; }
.mobile-nav .btn-outline{ margin-top:28px; width:100%; justify-content:center; }
.mobile-nav-backdrop{
  position:fixed; inset:0; background:rgba(10,10,10,0.5); z-index:55;
  opacity:0; pointer-events:none; transition:opacity .3s ease;
}
.mobile-nav-backdrop.is-open{ opacity:1; pointer-events:auto; }

/* ============================================
   HERO
   ============================================ */
.hero{
  position:relative; isolation:isolate; overflow:hidden;
  background:var(--primary); color:var(--white);
}
.hero video{
  position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:-2;
}
.hero::before{
  content:""; position:absolute; inset:0; z-index:-1;
  background:linear-gradient(100deg, rgba(15,28,46,0.88) 0%, rgba(15,28,46,0.62) 45%, rgba(15,28,46,0.35) 100%);
}
.hero-rule{
  position:absolute; top:0; bottom:0; left:8%; width:1px; background:var(--accent-light);
  display:none;
}
@media (min-width:1024px){ .hero-rule{ display:block; } }

.hero-inner{
  position:relative;
  display:grid; grid-template-columns:1fr; gap:48px;
  min-height:560px;
  padding:80px 0;
}
@media (min-width:1024px){
  .hero-inner{ grid-template-columns:1fr 280px; min-height:680px; padding:112px 0; }
}
.hero-copy{ max-width:720px; display:flex; flex-direction:column; }
.hero-eyebrow{ font-weight:700; color:var(--white); font-size:1.125rem; margin-bottom:32px; }
.hero-eyebrow .caps{ letter-spacing:0.04em; }
.hero-eyebrow p{ margin-top:14px; font-weight:400; font-size:1rem; line-height:1.75; color:rgba(255,255,255,0.88); font-family:var(--font-sans); }
html:not(.lang-en) .hero-eyebrow p[data-lang="tr"]{ display:block; }
html.lang-en .hero-eyebrow p[data-lang="en"]{ display:block; }
.hero .btn-outline{ margin-top:auto; align-self:flex-start; width:fit-content; }

/* ============================================
   TRUST / STATS STRIP (optional aside)
   ============================================ */

/* ============================================
   SERVICES
   ============================================ */
.services{ background:var(--background); padding:80px 0; }
@media (min-width:1024px){ .services{ padding:112px 0; } }
.section-top{
  display:grid; grid-template-columns:1fr; gap:16px;
  border-bottom:1px solid var(--border); padding-bottom:48px;
}
@media (min-width:1024px){ .section-top{ grid-template-columns:0.7fr 1.3fr; align-items:end; } }
.section-top h2{ font-size:2.4rem; font-weight:600; line-height:1.15; max-width:640px; }
@media (min-width:640px){ .section-top h2{ font-size:2.9rem; } }

.services-grid{
  margin-top:48px; display:grid; grid-template-columns:1fr; gap:32px;
}
@media (min-width:1024px){ .services-grid{ grid-template-columns:1.1fr 0.9fr; } }

.service-card{
  border:1px solid var(--border); background:var(--card);
  transition:transform .2s ease, border-color .2s ease;
}
.service-card:hover{ transform:translateY(-4px); border-color:var(--accent); }
.service-card.alt{ background:var(--secondary); color:var(--white); }
@media (min-width:1024px){ .service-card.alt{ margin-top:64px; } }
.service-card img{ height:280px; width:100%; object-fit:cover; }
.service-card .card-body{ padding:28px; }
@media (min-width:640px){ .service-card .card-body{ padding:36px; } }
.service-card .num{ font-size:0.875rem; font-weight:600; color:var(--accent); }
.service-card.alt .num{ color:var(--accent-light); }
.service-card h3{ margin-top:32px; font-size:2rem; }
@media (min-width:640px){ .service-card h3{ font-size:2.3rem; } }
.service-card .desc{ margin-top:16px; line-height:1.75; color:var(--muted-foreground); max-width:34ch; }
.service-card.alt .desc{ color:rgba(255,255,255,0.78); }
.service-card .detail{ margin-top:32px; border-left:1px solid var(--accent); padding-left:16px; font-size:0.875rem; line-height:1.6; }
.service-card .more{ margin-top:32px; display:inline-flex; align-items:center; gap:8px; font-size:0.875rem; font-weight:600; color:var(--primary); }
.service-card.alt .more{ color:var(--white); }
.service-card .more:hover{ color:var(--accent); }
.service-card .more svg{ width:17px; height:17px; }

/* ============================================
   APPROACH
   ============================================ */
.approach{ background:#efeadf; padding:80px 0; }
@media (min-width:1024px){ .approach{ padding:112px 0; } }
.approach-steps{
  margin-top:56px; display:grid; grid-template-columns:1fr; border-top:1px solid var(--border);
}
@media (min-width:768px){ .approach-steps{ grid-template-columns:repeat(3,1fr); } }
.approach-step{ padding:32px 0; border-bottom:1px solid var(--border); }
@media (min-width:768px){
  .approach-step{ border-bottom:none; border-right:1px solid var(--border); padding:32px; }
  .approach-step:first-child{ padding-left:0; }
  .approach-step:last-child{ border-right:none; }
}
.approach-step .num{ font-size:0.875rem; font-weight:600; color:var(--accent); }
.approach-step h3{ margin-top:40px; font-size:1.9rem; }
.approach-step p{ margin-top:16px; max-width:26ch; line-height:1.75; color:var(--muted-foreground); }

/* ============================================
   CONSULTATION CTA
   ============================================ */
.consultation{ background:var(--background); padding:80px 0; }
@media (min-width:1024px){ .consultation{ padding:112px 0; } }
.consultation-box{
  display:grid; grid-template-columns:1fr; border:1px solid var(--border); overflow:hidden;
}
@media (min-width:1024px){ .consultation-box{ grid-template-columns:1.05fr 0.95fr; } }
.consultation-copy{ padding:36px; display:flex; flex-direction:column; justify-content:center; }
@media (min-width:640px){ .consultation-copy{ padding:48px; } }
@media (min-width:1024px){ .consultation-copy{ padding:64px; } }
.consultation-copy h2{ margin-top:28px; font-size:2.4rem; max-width:520px; }
@media (min-width:640px){ .consultation-copy h2{ font-size:2.9rem; } }
.consultation-copy .desc{ margin-top:20px; max-width:480px; line-height:1.75; color:var(--muted-foreground); }
.consultation-copy .btn{ margin-top:32px; width:fit-content; }
.consultation-copy .note{ margin-top:20px; font-size:0.875rem; color:var(--muted-foreground); }
.consultation-img{ height:320px; width:100%; object-fit:cover; }
@media (min-width:1024px){ .consultation-img{ height:100%; } }

/* ============================================
   FOOTER
   ============================================ */
.site-footer{ background:var(--primary); color:var(--white); margin-top:auto; }
.footer-top{
  display:grid; grid-template-columns:1fr; gap:48px;
  border-bottom:1px solid var(--accent); padding:56px 0 48px;
}
@media (min-width:768px){ .footer-top{ grid-template-columns:1.4fr 0.8fr 0.8fr; } }
.footer-brand{ max-width:360px; }
.footer-plaque{ display:inline-flex; background:#faf6eb; border-radius:3px; padding:8px 14px; }
.footer-logo{ height:48px; width:auto; display:block; }
.footer-brand p{ margin-top:24px; font-size:0.9rem; line-height:1.75; }
.footer-col h4{ font-size:1.2rem; font-weight:600; color:var(--accent-light); }
.footer-col nav{ margin-top:20px; display:flex; flex-direction:column; gap:12px; font-size:0.9rem; }
.footer-col nav a:hover{ color:var(--accent-light); }
.footer-col p{ margin-top:20px; font-size:0.9rem; line-height:1.75; }
.footer-col .link-more{ margin-top:20px; display:inline-block; font-size:0.9rem; font-weight:600; color:var(--accent-light); }
.footer-col .link-more:hover{ color:var(--white); }

.footer-bottom{
  display:flex; flex-direction:column; gap:16px;
  padding:24px 0; font-size:0.78rem;
}
@media (min-width:768px){ .footer-bottom{ flex-direction:row; align-items:center; justify-content:space-between; } }
.footer-bottom nav{ display:flex; gap:20px; }
.footer-bottom nav a:hover{ color:var(--accent-light); }

/* ============================================
   COOKIE BANNER
   ============================================ */
.cookie-banner{
  position:fixed; left:0; right:0; bottom:0; z-index:70;
  background:var(--white); border-top:1px solid var(--border);
  box-shadow:0 -4px 20px rgba(0,0,0,0.08);
  padding:18px 20px;
  transform:translateY(110%); transition:transform .35s ease;
}
.cookie-banner.is-visible{ transform:translateY(0); }
.cookie-inner{
  max-width:var(--container); margin:0 auto;
  display:flex; flex-direction:column; gap:16px;
}
@media (min-width:640px){ .cookie-inner{ flex-direction:row; align-items:center; justify-content:space-between; } }
.cookie-text h3{ font-family:var(--font-sans); font-size:0.9rem; font-weight:600; color:var(--foreground); margin-bottom:4px; }
.cookie-text p{ font-size:0.85rem; color:var(--muted-foreground); max-width:640px; }
.cookie-actions{ display:flex; gap:12px; flex-shrink:0; }
.cookie-actions button{
  font-size:0.85rem; font-weight:600; padding:9px 16px; border-radius:3px; border:none;
}
.cookie-decline{ background:#eee9dd; color:var(--foreground); }
.cookie-decline:hover{ background:#e2ddd0; }
.cookie-accept{ background:var(--primary); color:var(--white); }
.cookie-accept:hover{ background:var(--accent); }

/* ============================================
   GENERIC PAGE TEMPLATE
   ============================================ */
.page-hero{ background:var(--primary); color:var(--white); padding:64px 0; }
.page-hero h1{ font-size:2.6rem; margin-top:10px; }
.page-content{ padding:64px 0; max-width:760px; margin:0 auto; }
.page-content p{ margin-bottom:18px; line-height:1.8; color:var(--muted-foreground); }

/* ============================================
   ABOUT US PAGE
   ============================================ */
.about-us{ padding:80px 0; }
@media (min-width:1024px){ .about-us{ padding:100px 0; } }
.about-us-grid{
  display:grid; grid-template-columns:1fr; gap:48px; align-items:center;
  padding-bottom:64px; border-bottom:1px solid var(--border);
}
@media (min-width:900px){ .about-us-grid{ grid-template-columns:1.15fr 0.85fr; gap:64px; } }
.about-us-copy p{ font-size:1.15rem; line-height:1.85; color:var(--foreground); }
.about-us-art{ display:flex; justify-content:center; }
.about-us-art svg{ width:100%; max-width:280px; height:auto; }

.about-us-pillars{
  margin-top:64px; display:grid; grid-template-columns:1fr; gap:1px;
  background:var(--border); border:1px solid var(--border);
}
@media (min-width:768px){ .about-us-pillars{ grid-template-columns:repeat(3,1fr); } }
.pillar-card{ background:var(--card); padding:36px 30px; text-align:left; }
.pillar-card svg{ width:44px; height:44px; margin-bottom:20px; }
.pillar-card h3{ font-size:1.35rem; margin-bottom:10px; }
.pillar-card p{ font-size:0.92rem; line-height:1.65; color:var(--muted-foreground); }

.about-us-extra{ margin-top:56px; max-width:760px; }
.about-us-extra p{ margin-bottom:18px; line-height:1.8; color:var(--muted-foreground); }
.contact-wrap{ padding:80px 0; }
@media (min-width:1024px){ .contact-wrap{ padding:112px 0; } }
.contact-grid{ display:grid; grid-template-columns:1fr; gap:48px; margin-top:48px; }
@media (min-width:1024px){ .contact-grid{ grid-template-columns:0.85fr 1.15fr; } }
.contact-rows{ border-top:1px solid var(--border); }
.contact-rows li{ padding:18px 0; border-bottom:1px solid var(--border); }
.contact-rows .lbl{ display:block; font-size:0.75rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--accent); margin-bottom:4px; }
.contact-form{ border:1px solid var(--border); padding:32px; background:var(--card); }
@media (min-width:640px){ .contact-form{ padding:40px; } }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:20px; margin-bottom:20px; }
@media (max-width:640px){ .form-row{ grid-template-columns:1fr; } }
.form-field{ display:flex; flex-direction:column; gap:8px; }
.form-field.full{ grid-column:1/-1; }
.form-field label{ font-size:0.75rem; font-weight:600; letter-spacing:0.04em; text-transform:uppercase; color:var(--muted-foreground); }
.form-field input, .form-field select, .form-field textarea{
  border:1px solid var(--border); background:var(--background); padding:12px 14px; color:var(--foreground);
}
.form-field textarea{ resize:vertical; min-height:110px; }
.form-field input:focus, .form-field textarea:focus, .form-field select:focus{ border-color:var(--accent); outline:none; }
.form-note{ font-size:0.78rem; color:var(--muted-foreground); margin-top:16px; }
.form-success{ background:#e4ede0; color:#2c4a25; padding:14px 16px; font-size:0.9rem; margin-bottom:20px; }
.form-error{ background:#f3e0dd; color:#7a2c22; padding:14px 16px; font-size:0.9rem; margin-bottom:20px; }

/* ============================================
   LANGUAGE TOGGLE (TR/EN content spans)
   ============================================ */
[data-lang="en"]{ display:none; }
html.lang-en [data-lang="en"]{ display:inline; }
html.lang-en [data-lang="tr"]{ display:none; }

/* ============================================
   REVEAL ON SCROLL
   ============================================ */
.reveal{ opacity:0; transform:translateY(20px); transition:opacity .6s ease, transform .6s ease; }
.reveal.is-visible{ opacity:1; transform:translateY(0); }
