/* =========================================================
   MENTOR MUHASEBE — Tasarım Sistemi
   Konsept: "Kayıt Defteri" — cetvelli defter kağıdı çizgileri,
   resmi kaşe/onay motifi ve tablo düzeninde hizmet satırları.
   ========================================================= */

:root{
  --ink:        #14213D;
  --ink-soft:   #45516B;
  --paper:      #FAF7F0;
  --paper-dim:  #F1ECE0;
  --brass:      #B8862B;
  --brass-dark: #8F6720;
  --forest:     #2F4F3E;
  --line:       #D8D2C2;
  --line-dark:  #2A3557;
  --white:      #FFFFFF;
  --danger:     #A3402D;

  --font-display: 'Fraunces', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-mono:    'IBM Plex Mono', ui-monospace, monospace;

  --radius: 4px;
  --shadow-soft: 0 12px 30px -18px rgba(20,33,61,0.35);
  --wrap: 1180px;
}

*, *::before, *::after{ box-sizing: border-box; }
html{ scroll-behavior: smooth; overflow-x: hidden; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  max-width: 100vw;
}
img{ max-width: 100%; display: block; }
a{ color: inherit; text-decoration: none; }
ul{ margin: 0; padding: 0; list-style: none; }
h1,h2,h3{ font-family: var(--font-display); font-weight: 600; margin: 0 0 .5em; color: var(--ink); }
p{ margin: 0 0 1em; }
.wrap{ max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }
.wrap-narrow{ max-width: 760px; }

.skip-link{ position:absolute; left:-9999px; top:0; background:var(--ink); color:var(--white); padding:10px 16px; z-index:999; }
.skip-link:focus{ left:16px; top:16px; }

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

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .001ms !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
}

/* ---------- Ledger line texture (signature background motif) ---------- */


/* ---------- Buttons ---------- */
.btn-primary, .btn-outline, .btn-ghost{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .2s ease, color .2s ease, border-color .2s ease;
  white-space: nowrap;
}
.btn-primary{ background: var(--brass); color: var(--white); }
.btn-primary:hover{ background: var(--brass-dark); transform: translateY(-1px); }
.btn-outline{ border-color: var(--ink); color: var(--ink); }
.btn-outline:hover{ background: var(--ink); color: var(--paper); }
.btn-ghost{ color: var(--ink-soft); font-weight: 500; padding: 8px 4px; }
.btn-ghost:hover{ color: var(--ink); }
.mobile-nav-actions .btn-ghost{
  border: 1.5px solid var(--line-dark);
  color: var(--ink);
  padding: 13px 20px;
  border-radius: var(--radius);
  flex: 1;
  justify-content: center;
}
.mobile-nav-actions .btn-primary{ flex: 1; justify-content: center; }
.btn-large{ padding: 16px 34px; font-size: 16px; }
.btn-full{ width: 100%; justify-content: center; }

.eyebrow{
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono);
  font-size: 12.5px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brass-dark);
  margin-bottom: 14px;
}
.eyebrow-dot{ width: 6px; height: 6px; border-radius: 50%; background: var(--brass); display:inline-block; }
.eyebrow-light{ color: var(--brass); }

/* ---------- Header ---------- */
.site-header{
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,247,240,0.92);
  backdrop-filter: saturate(140%) blur(6px);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display: flex; align-items: center; gap: 28px;
  height: 76px;
}
.brand{ display:flex; align-items:center; gap:10px; font-weight:700; font-family: var(--font-display); font-size: 19px; margin-right: auto; }
.brand-mark{
  width: 38px; height: 38px; border-radius: 6px;
  background: var(--ink); color: var(--paper);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mono); font-weight: 600; font-size: 13px;
}
.primary-nav{ display: none; }
.nav-list{ display:flex; gap: 28px; }
.nav-list a{ font-weight: 500; color: var(--ink-soft); font-size: 15px; }
.nav-list a:hover{ color: var(--ink); }
.header-actions{ display:none; align-items:center; gap: 18px; }
.nav-toggle{
  background: none; border: none; width: 40px; height: 40px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  cursor: pointer;
}
.nav-toggle span{ width: 22px; height: 2px; background: var(--ink); display:block; transition: transform .2s ease, opacity .2s ease; }
.mobile-nav{
  max-height: 0; overflow: hidden;
  transition: max-height .3s ease;
  border-top: 0 solid var(--line);
}
.mobile-nav.is-open{ max-height: 400px; border-top-width: 1px; }
.mobile-nav-list{ padding: 18px 24px 6px; display:flex; flex-direction:column; gap: 14px; }
.mobile-nav-list a{ font-weight: 500; font-size: 16px; }
.mobile-nav-actions{ display:flex; gap: 12px; padding: 6px 24px 22px; }

@media (min-width: 900px){
  .primary-nav{ display:block; }
  .header-actions{ display:flex; }
  .nav-toggle{ display:none; }
  .mobile-nav{ display:none; }
}

/* ---------- Hero ---------- */
.hero{ padding: 64px 0 80px; }
.hero-inner{
  display: grid; gap: 48px;
  align-items: center;
}
.hero-copy h1{
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.08;
  letter-spacing: -.01em;
}
.hero-sub{ font-size: 18px; color: var(--ink-soft); max-width: 46ch; }
.hero-sub-light{ font-size: 17px; color: rgba(250,247,240,0.82); max-width: 52ch; }
.hero-ctas{ display:flex; flex-wrap: wrap; gap: 14px; margin-top: 28px; }

.hero-ledger{ position: relative; }
.hero-photo-accent{
  position: absolute; right: -20px; bottom: -20px;
  width: 130px; height: 130px;
  border-radius: 10px; overflow: hidden;
  border: 4px solid var(--paper);
  box-shadow: var(--shadow-soft);
  z-index: 2;
}
.hero-photo-accent img{ width: 100%; height: 100%; object-fit: cover; display: block; }
@media (max-width: 640px){
  .hero-photo-accent{ display: none; }
}
.ledger-card{
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  padding: 26px 24px 22px;
}
.ledger-card-head{
  display:flex; justify-content: space-between; align-items:center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft);
  border-bottom: 1px dashed var(--line);
  padding-bottom: 12px; margin-bottom: 14px;
}
.stamp-mini{
  border: 1.5px solid var(--brass); color: var(--brass-dark);
  padding: 3px 8px; border-radius: 3px; transform: rotate(-3deg);
  font-weight: 600;
}
.ledger-rows li{
  display:flex; gap: 14px; align-items: baseline;
  padding: 10px 0;
  border-bottom: 1px solid var(--paper-dim);
  font-size: 14.5px;
}
.ledger-rows li:last-child{ border-bottom: none; }
.ledger-rows .no{ font-family: var(--font-mono); color: var(--brass-dark); font-size: 13px; }
.ledger-stats{
  display:flex; justify-content: space-between;
  margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line);
}
.ledger-stats div{ text-align: center; }
.ledger-stats strong{ display:block; font-family: var(--font-mono); font-size: 22px; color: var(--ink); }
.ledger-stats span{ font-size: 11.5px; color: var(--ink-soft); text-transform: uppercase; letter-spacing: .05em; }

@media (min-width: 900px){
  .hero-inner{ grid-template-columns: 1.1fr .9fr; }
}

/* ---------- Section head ---------- */
.section-head{ max-width: 640px; margin-bottom: 44px; }
.section-head h2{ font-size: clamp(26px, 3.4vw, 36px); line-height: 1.2; }

/* ---------- Services (ledger table) ---------- */
.services{ padding: 90px 0 96px; }
.ledger-table{ background: var(--white); border: 1px solid var(--line); border-radius: 8px; overflow: hidden; box-shadow: var(--shadow-soft); }
.ledger-row{
  display: grid;
  grid-template-columns: 56px 1fr 40px;
  gap: 18px;
  align-items: start;
  padding: 26px 24px;
  border-bottom: 1px solid var(--paper-dim);
  transition: background .15s ease;
}
.ledger-row:last-child{ border-bottom: none; }
.ledger-row:hover{ background: var(--paper-dim); }
.ledger-row:nth-child(even){ background: rgba(184,134,43,0.03); }
.ledger-no{
  font-family: var(--font-mono); font-size: 15px; color: var(--brass-dark);
  padding-top: 4px;
}
.ledger-content h3{ font-size: 19px; margin-bottom: 6px; }
.ledger-content p{ color: var(--ink-soft); font-size: 15px; margin-bottom: 0; max-width: 62ch; }
.ledger-link{
  align-self: center; justify-self: end;
  font-size: 18px; color: var(--brass);
  transition: transform .15s ease;
}
.ledger-row:hover .ledger-link{ transform: translateX(4px); }
.ledger-link-inline{ color: var(--brass-dark); font-weight: 600; }

/* ---------- About ---------- */
.about{ background: var(--ink); color: var(--paper); padding: 96px 0; }
.about h2{ color: var(--paper); }
.about-inner{ display:grid; gap: 48px; align-items: center; }
.about-copy p{ color: rgba(250,247,240,0.8); font-size: 16.5px; }
.about-visual{ position: relative; }
.about-photo{
  width: 100%; height: auto; aspect-ratio: 4/3; object-fit: cover;
  border-radius: 10px; display: block;
  border: 1px solid rgba(250,247,240,0.15);
  box-shadow: var(--shadow-soft);
}
.stamp-badge{
  position: absolute; right: -18px; bottom: -18px;
  width: 120px; height: 120px; background: var(--ink);
}
.stamp-badge .stamp-mid{ font-size: 14px; }
@media (max-width: 640px){
  .stamp-badge{ width: 92px; height: 92px; right: -8px; bottom: -8px; }
  .stamp-badge .stamp-mid{ font-size: 10px; }
}

.stamp{
  width: 180px; height: 180px; border-radius: 50%;
  border: 3px double var(--brass);
  display:flex; flex-direction:column; align-items:center; justify-content:center; gap: 4px;
  text-align: center;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--brass);
  transform: rotate(-6deg);
}
.stamp-mid{ font-family: var(--font-display); font-size: 20px; font-weight: 600; letter-spacing: .02em; text-transform: none; margin: 4px 0; }
.stamp-large{ width: 220px; height: 220px; }
.stamp-aside{ margin: 28px auto 0; width: 140px; height: 140px; }
.stamp-aside .stamp-mid{ font-size: 15px; }

@media (min-width: 900px){
  .about-inner{ grid-template-columns: 1.3fr .7fr; }
}

/* ---------- CTA band ---------- */
.cta-band{
  background: linear-gradient(160deg, rgba(47,79,62,0.93), rgba(20,33,61,0.90)), url('https://www.mentormuhasebe.com/wp-content/uploads/2026/07/mentor_muhasebe9-scaled.jpg') center/cover no-repeat;
  color: var(--paper); padding: 64px 0;
}
.cta-inner{ display:flex; flex-direction:column; gap: 26px; align-items: flex-start; justify-content: space-between; }
.cta-band h2{ color: var(--paper); font-size: clamp(24px,3vw,32px); }
.cta-band p{ color: rgba(250,247,240,0.82); margin-bottom: 0; }
@media (min-width: 800px){
  .cta-inner{ flex-direction: row; align-items: center; }
}

/* ---------- Contact ---------- */
.contact{ padding: 90px 0 40px; }
.trust-strip{ display:grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap:16px; margin-bottom:48px; }
.trust-strip img{ width:100%; height:180px; object-fit:cover; border-radius:8px; border:1px solid var(--line); display:block; }
@media (max-width:700px){ .trust-strip{ grid-template-columns:1fr; } .trust-strip img{ height:220px; } }
.contact-grid{ display:grid; gap: 20px; grid-template-columns: repeat(2, minmax(0, 1fr)); margin-bottom: 48px; }
.contact-card{
  background: var(--white); border: 1px solid var(--line); border-radius: 8px;
  padding: 26px 22px;
}
.contact-icon{ font-size: 22px; color: var(--brass); display:block; margin-bottom: 10px; }
.contact-icon svg{ display:block; }
.contact-card h3{ font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 6px; }
.contact-card a{ font-weight: 600; font-size: 16px; word-break: break-word; overflow-wrap: anywhere; }
.map-frame{ border-radius: 8px; overflow:hidden; border: 1px solid var(--line); margin-bottom: 60px; }
@media (min-width: 700px){ .contact-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); } }

/* ---------- Footer ---------- */
.site-footer{ background: var(--ink); color: var(--paper); padding: 64px 0 24px; }
.footer-grid{ display:grid; gap: 40px; grid-template-columns: 1fr; margin-bottom: 40px; }
.footer-name{ font-family: var(--font-display); font-size: 20px; font-weight: 600; margin: 12px 0 6px; }
.footer-desc{ color: rgba(250,247,240,0.65); font-size: 14.5px; max-width: 32ch; }
.footer-col h3{ color: var(--paper); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; font-family: var(--font-mono); margin-bottom: 16px; }
.footer-list li{ margin-bottom: 10px; font-size: 14.5px; color: rgba(250,247,240,0.75); }
.footer-list a:hover{ color: var(--brass); }
.footer-stamp{ display:flex; align-items:flex-start; justify-content: flex-start; }
.footer-stamp .stamp{ width: 120px; height: 120px; }
.footer-stamp .stamp-mid{ font-size: 13px; }
.footer-bottom{ border-top: 1px solid rgba(250,247,240,0.15); padding-top: 22px; display:flex; flex-wrap: wrap; gap: 6px 24px; justify-content: space-between; align-items: center; }
.footer-bottom p{ font-size: 13px; color: rgba(250,247,240,0.55); margin: 0; }
.footer-credit{ font-family: var(--font-mono); letter-spacing: .02em; margin-left: auto; text-align: right; }
.footer-credit a{ color: rgba(250,247,240,0.75); border-bottom: 1px dotted rgba(250,247,240,0.4); }
.footer-credit a:hover{ color: var(--brass); border-color: var(--brass); }
.site-footer{ background: var(--ink); }
@media (min-width: 900px){ .footer-grid{ grid-template-columns: 1.4fr .8fr .8fr .8fr; } }

/* ---------- WhatsApp float ---------- */
.whatsapp-float{
  position: fixed; right: 20px; bottom: 20px; z-index: 90;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25D366; color: #fff;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
  transition: transform .15s ease;
}
.whatsapp-float:hover{ transform: scale(1.06); }

/* ---------- Generic page / blog ---------- */
.generic-hero{
  background: linear-gradient(160deg, rgba(20,33,61,0.90), rgba(20,33,61,0.94)), url('https://www.mentormuhasebe.com/wp-content/uploads/2026/07/mentor_muhasebe4-scaled.jpg') center/cover no-repeat;
  color: var(--paper); padding: 70px 0 56px;
}
.generic-hero h1{ color: var(--paper); font-size: clamp(28px,4vw,42px); }
.generic-content{ padding: 64px 0 96px; font-size: 17px; }
.generic-content h2, .generic-content h3{ margin-top: 1.4em; }
.not-found{ text-align:left; }
.archive-item{ padding-bottom: 32px; margin-bottom: 32px; border-bottom: 1px solid var(--line); }
.archive-item h2{ font-size: 22px; }
.archive-meta{ font-family: var(--font-mono); font-size: 12.5px; color: var(--ink-soft); text-transform: uppercase; }
.single-thumb{ margin-bottom: 32px; border-radius: 8px; overflow: hidden; }

/* ---------- Randevu (appointment) page ---------- */
.randevu-hero{
  background: linear-gradient(160deg, rgba(20,33,61,0.90), rgba(20,33,61,0.94)), url('https://www.mentormuhasebe.com/wp-content/uploads/2026/07/mentor_muhasebe11-scaled.jpg') center/cover no-repeat;
  color: var(--paper); padding: 70px 0 60px;
}
.randevu-hero h1{ color: var(--paper); font-size: clamp(28px,4vw,40px); }
.randevu-section{ padding: 72px 0 100px; }
.randevu-grid{ display:grid; gap: 40px; }
.randevu-form{
  background: var(--white); border: 1px solid var(--line); border-radius: 10px;
  padding: 32px; box-shadow: var(--shadow-soft);
}
.form-row{ margin-bottom: 18px; }
.form-row label{ display:block; font-weight: 600; font-size: 14px; margin-bottom: 6px; }
.form-row input, .form-row select, .form-row textarea{
  width: 100%; padding: 12px 14px; font-family: var(--font-body); font-size: 15px;
  border: 1.5px solid var(--line); border-radius: 6px; background: var(--paper);
  color: var(--ink);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus{ border-color: var(--brass); outline: none; }
.form-row-split{ display:grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px){ .form-row-split{ grid-template-columns: minmax(0,1fr) minmax(0,1fr); } }
.hp-field{ position:absolute !important; left:-9999px !important; width:1px; height:1px; opacity:0; }
.form-fine-print{ font-size: 12.5px; color: var(--ink-soft); text-align:center; margin: 14px 0 0; }
.form-notice{ padding: 14px 16px; border-radius: 6px; margin-bottom: 20px; font-size: 14.5px; font-weight: 500; }
.form-notice-success{ background: rgba(47,79,62,0.1); color: var(--forest); border: 1px solid var(--forest); }
.form-notice-error{ background: rgba(163,64,45,0.08); color: var(--danger); border: 1px solid var(--danger); }

.aside-card{ background: var(--white); border: 1px solid var(--line); border-radius: 10px; padding: 26px; margin-bottom: 20px; }
.aside-card h3{ font-size: 15px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); margin-bottom: 16px; }
.aside-link{ display:flex; align-items:center; gap: 10px; padding: 10px 0; font-weight: 600; border-bottom: 1px solid var(--paper-dim); }
.aside-link:last-child{ border-bottom: none; }
.aside-link:hover{ color: var(--brass-dark); }
.aside-address p{ font-size: 14.5px; color: var(--ink-soft); margin-bottom: 6px; }
.aside-hours{ font-family: var(--font-mono); font-size: 13px; }

@media (min-width: 900px){
  .randevu-grid{ grid-template-columns: 1.5fr 1fr; }
}

/* ---------- Reveal-on-scroll ---------- */
.reveal{ opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.is-visible{ opacity: 1; transform: none; }
