/* ------------------ Temel ------------------ */
:root{
  --bg: #f7f6f3;
  --paper: #ffffff;
  --ink: #202123;
  --muted: #5e6470;
  --line: #e6e2da;
  --line-dark: #cfc9ba;
  --brand: #2a6f62;         /* çam yeşili */
  --brand-2: #e7b75f;       /* sıcak sarı */
  --accent: #4b6bfb;        /* pastel mavi */
  --shadow: 0 10px 24px rgba(32,33,35,.06);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0; color:var(--ink); background:var(--bg);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

/* üst bilgi şeridi */
.top-band{
  background: repeating-linear-gradient(90deg, #f0ede7 0 16px, #efece6 16px 32px);
  color:#7a7466; text-align:center; font-weight:600; letter-spacing:.5px;
  padding:6px 10px; border-bottom:1px solid var(--line);
}

/* ------------------ Header / Nav ------------------ */
.site-header{
  position:sticky; top:0; z-index:40; background:rgba(255,255,255,.8); backdrop-filter: blur(10px);
  border-bottom:1px solid var(--line);
}
.container{ width:min(1120px, 92%); margin-inline:auto }
.nav-row{ display:flex; align-items:center; justify-content:space-between; padding:14px 0 }

.brand{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); font-weight:800; letter-spacing:.4px }
.brand .mark{
  display:inline-grid; place-items:center; width:30px; height:30px; border:1px solid var(--line-dark);
  border-radius:6px; font-family:"Fraunces", serif; font-weight:800; background:#fff;
}

.nav{ display:flex; align-items:center; gap:22px }
.nav a{ color:var(--muted); text-decoration:none; font-weight:700 }
.nav a:hover{ color:var(--ink) }

.nav-toggle{ display:none; width:40px; height:34px; border:0; background:none; position:relative }
.nav-toggle span{ position:absolute; left:6px; right:6px; height:2px; background:#333; transition:.25s }
.nav-toggle span:nth-child(1){ top:10px } .nav-toggle span:nth-child(2){ bottom:10px }

@media (max-width: 900px){
  .nav-toggle{ display:block }
  .nav{ position:fixed; inset:60px 0 auto 0; background:rgba(255,255,255,.97); border-bottom:1px solid var(--line);
        display:grid; gap:14px; padding:16px; transform: translateY(-120%); transition:.25s }
  .site-header.open .nav{ transform: translateY(0) }
}

/* ------------------ Buttons ------------------ */
.btn{ display:inline-block; padding:12px 16px; border-radius:10px; text-decoration:none; font-weight:800; letter-spacing:.2px; border:1px solid var(--line-dark) }
.btn--primary{ background: var(--ink); color:#fff; border-color: transparent }
.btn--primary:hover{ filter: brightness(1.05) }
.btn--ghost{ background:#fff; color:var(--ink) }
.btn--ghost:hover{ background:#f2efe9 }

/* ------------------ Hero ------------------ */
.hero{ display:grid; grid-template-columns: 1.2fr .8fr; gap:30px; padding:64px 0 40px; align-items:center }
.hero__copy h1{
  font-family:"Fraunces", serif; font-weight:800; letter-spacing:-.5px;
  font-size: clamp(28px, 5vw, 54px); line-height:1.05; margin:0 0 12px;
}
.hero__copy h1 em{ color:var(--brand); font-style: normal; text-decoration: underline wavy var(--brand-2) 3px }
.hero__copy p{ color:var(--muted); font-size: clamp(16px, 2.2vw, 19px); margin:0 0 10px }
.hero__cta{ display:flex; gap:10px; margin-top:12px }
.hero__meta{ display:flex; gap:10px; flex-wrap:wrap; list-style:none; padding:0; margin:14px 0 0 }
.hero__meta code{
  font-family:"IBM Plex Mono", ui-monospace, SFMono-Regular, Menlo, monospace;
  background:#fff; border:1px dashed var(--line-dark); padding:6px 8px; border-radius:8px; color:#3b3e45
}

.hero__aside{ display:grid; gap:12px }
.note-card{
  background:#fff; border:1px solid var(--line); border-radius:12px; padding:16px; box-shadow: var(--shadow)
}
.note-card h3{ font-family:"Fraunces", serif; margin:0 0 6px }
.note-card .dot{ display:inline-block; width:8px; height:8px; background:var(--accent); border-radius:50%; margin:0 6px }
.stamp{
  place-self:end; font-family:"IBM Plex Mono", monospace; letter-spacing:.3em; font-weight:600; color:#9aa1ae;
  border:2px dashed #cfd3db; padding:8px 12px; border-radius:10px; transform: rotate(-4deg)
}

@media (max-width: 980px){ .hero{ grid-template-columns: 1fr } }

/* ------------------ Divider ------------------ */
.divider{ position:relative; height:28px; }
.diagonal{ position:absolute; inset:auto 0 0 0; height:28px; background:linear-gradient(135deg, #f0ede7 25%, transparent 25%) repeat-x; background-size: 20px 28px; }
.divider--soft .dots{ height:18px; background: radial-gradient(#d8d2c3 2px, transparent 3px) 0 0/22px 22px; }

/* ------------------ Sections ------------------ */
.section{ padding:64px 0 }
.section__head{ text-align:center; margin-bottom:26px }
.section__head h2{
  font-family:"Fraunces", serif; font-size: clamp(22px, 4vw, 36px); margin:0 0 6px
}
.section__head p{ color:var(--muted); margin:0 }

/* ------------------ Services Grid ------------------ */
.grid{ display:grid; gap:16px }
.grid--services{ grid-template-columns: repeat(3, 1fr) }
.svc{
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:18px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease;
}
.svc:hover{ transform: translateY(-6px); box-shadow: 0 16px 36px rgba(0,0,0,.08) }
.svc header{ display:flex; align-items:center; gap:10px; border-bottom:1px dashed var(--line-dark); padding-bottom:8px; margin-bottom:8px }
.svc .tag{
  font-family:"IBM Plex Mono", monospace; color:#7c6b4f; background:#f6f2ea; border:1px solid var(--line-dark);
  padding:4px 8px; border-radius:8px;
}
.svc h3{ font-family:"Fraunces", serif; margin:0 }
.svc p{ color:var(--muted) }
.svc ul{ margin:8px 0 0; padding-left:18px; color:#3a3e46 }
.svc--highlight{ border-color:#d8c9a1; background:#fffaf0 }

@media (max-width: 1020px){ .grid--services{ grid-template-columns: repeat(2, 1fr) } }
@media (max-width: 680px){ .grid--services{ grid-template-columns: 1fr } }

/* ------------------ Pricing ------------------ */
.grid--pricing{ grid-template-columns: repeat(3, 1fr) }
.price{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; box-shadow: var(--shadow);
  display:flex; flex-direction:column; gap:10px; position:relative
}
.price h3{ font-family:"Fraunces", serif; margin:0 }
.price .lead{ color:var(--muted); margin:0 }
.price .money{ font-weight:800; font-size:28px; margin:2px 0 6px }
.price .money span{ color:#7e838e; font-weight:600; font-size:.95rem }
.price ul{ margin:0 0 10px; padding-left:18px; color:#3a3e46 }
.price--pop{ outline:2px solid transparent; background:linear-gradient(180deg, #fff 0%, #fffcf3 100%) }
.price--pop .ribbon{
  position:absolute; top:-10px; right:14px; background:var(--brand-2); color:#3c2a00; font-weight:800; padding:6px 10px; border-radius:8px; border:1px solid #e6c575;
  box-shadow: 0 4px 0 rgb(230 197 117 / .35);
}

.micro-note{ color:#7e838e; text-align:center; margin-top:10px }
@media (max-width: 980px){ .grid--pricing{ grid-template-columns: 1fr } }

/* ------------------ About ------------------ */
.about{ display:grid; grid-template-columns: 1.2fr .8fr; gap:16px }
.paper{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:22px; box-shadow: var(--shadow);
}
.paper h3{ font-family:"Fraunces", serif; margin:0 0 6px }
.paper .check{ margin:10px 0 0; padding-left:18px; color:#3a3e46 }
.numbers{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:16px; display:grid; grid-template-columns: repeat(2, 1fr); gap:10px; box-shadow: var(--shadow)
}
.numbers div{
  border:1px dashed var(--line-dark); border-radius:12px; padding:14px; text-align:center
}
.numbers b{ font-size:26px }
.numbers span{ display:block; color:#7e838e }

@media (max-width: 980px){ .about{ grid-template-columns: 1fr } }

/* ------------------ Contact ------------------ */
.contact{ display:grid; grid-template-columns: 1.1fr .9fr; gap:16px }
.form{
  background:#fff; border:1px solid var(--line); border-radius:16px; padding:18px; box-shadow: var(--shadow)
}
.form .row{ display:grid; grid-template-columns: 1fr 1fr; gap:12px }
.form label{ display:grid; gap:6px; font-weight:700; color:#3c3f46 }
input, select, textarea{
  width:100%; padding:12px 12px; border-radius:10px; border:1px solid var(--line-dark);
  background:#fff; color:#222; outline:none;
}
textarea{ resize:vertical }
.full{ grid-column: 1 / -1 }
.mini-cards{ display:grid; gap:12px }
.mini{
  background:#fff; border:1px solid var(--line); border-radius:14px; padding:16px; box-shadow: var(--shadow)
}
.mini h4{ margin:0 0 6px; font-family:"Fraunces", serif }
.mini a{ color:#2c3c8f; text-decoration:none }
.mini a:hover{ text-decoration:underline }

@media (max-width: 980px){
  .contact{ grid-template-columns: 1fr }
  .form .row{ grid-template-columns: 1fr }
}

/* ------------------ Footer ------------------ */
.site-footer{ border-top:1px solid var(--line); background:#fff; }
.foot-row{ display:flex; align-items:center; justify-content:space-between; padding:16px 0 }
.to-top{ border:1px solid var(--line-dark); padding:6px 10px; border-radius:8px; text-decoration:none; color:#333 }
.to-top:hover{ background:#f2efe9 }

/* Erişilebilirlik / hareket azaltma */
@media (prefers-reduced-motion: reduce){ *{ transition:none !important; animation:none !important } }


/* logo placement */
.site-logo {
  height: 65px;
  width: auto;
  display: block;
}

.footer-logo {
  height: 38px;
  width: auto;
  display: block;
}

/* responsive logo scaling */
@media (max-width: 600px) {
  .site-logo {
    height: 32px;
  }
  .footer-logo {
    height: 30px;
  }
}

/* keep existing styling (no layout change) */
.top-band {
  background: #111;
  color: white;
  font-size: 0.9rem;
  padding: 5px 0;
  text-align: center;
}

.site-header {
  background: white;
  border-bottom: 1px solid #eee;
  position: sticky;
  top: 0;
  z-index: 10;
}

.container.nav-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 20px;
}

.nav a {
  margin: 0 10px;
  color: black;
  text-decoration: none;
  font-weight: 600;
}

.nav a.btn--primary {
  background: #0077ff;
  color: white;
  padding: 8px 14px;
  border-radius: 6px;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: #333;
}

/* footer layout */
.site-footer {
  background: #f7f7f7;
  color: #333;
  padding: 20px 0;
  text-align: center;
}

.site-footer .foot-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
}

.to-top {
  text-decoration: none;
  color: #0077ff;
  font-weight: bold;
}

/* =========================================================
   MOBILE-ONLY PATCH (NO DESIGN CHANGE ON DESKTOP)
   Appended at the end so it only affects mobile behavior.
   ========================================================= */

/* Stop accidental sideways scrolling on phones */
html, body { overflow-x: hidden; }

/* Make anchor jumps not hide under sticky header (mobile/desktop safe) */
section { scroll-margin-top: 90px; }

@media (max-width: 900px) {
  /* Your bottom block disables nav-toggle; re-enable ONLY on mobile */
  .nav-toggle{
    display: flex !important;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    min-height: 44px;
    touch-action: manipulation;
  }

  /* Ensure the mobile menu can scroll and doesn't run off screen */
  .nav{
    max-height: calc(100vh - 70px);
    overflow: auto;
    -webkit-overflow-scrolling: touch;
  }

  /* Bigger tap target (mobile only) */
  .nav a{
    display: block;
    padding-top: 10px;
    padding-bottom: 10px;
  }
}

@media (max-width: 600px) {
  /* Hero CTA buttons stack on small screens (prevents overflow) */
  .hero__cta{
    flex-direction: column;
    align-items: stretch;
  }
  .hero__cta .btn{
    width: 100%;
    text-align: center;
  }

  /* Prevent meta pills from forcing overflow */
  .hero__meta code{
    white-space: normal;
    word-break: break-word;
  }

  /* Footer stacks cleanly on phones */
  .site-footer .foot-row{
    flex-direction: column;
    gap: 10px;
  }
}
