/* ============================================================
   BODRUM TESİSAT — tasarım sistemi
   Palet: badana beyazı / derin Ege laciverti / Bodrum mavisi /
          bakır (tesisatçının kendi malzemesi = imza aksanı) / taş
   ============================================================ */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 400 800;
  font-stretch: 100%;
  font-display: swap;
  src: url(fonts/bricolage-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --bone:   #F7F5F0;   /* badana beyazı — zemin */
  --white:  #FFFFFF;
  --navy:   #0C2B4A;   /* derin Ege laciverti — koyu bölümler, başlıklar */
  --ink:    #24313F;   /* gövde metni */
  --sea:    #1F6FB2;   /* Bodrum mavisi — linkler, ikincil vurgu */
  --copper: #B87333;   /* bakır — imza motifi, çizgiler */
  --copper-deep: #A4511A; /* bakır CTA zemini (beyaz metinle yeterli kontrast) */
  --stone:  #E7E1D5;   /* taş — kenarlıklar, alternatif zemin */
  --stone-soft: #EFEAE0;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --maxw: 72rem;
  --prose: 46rem;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--ink);
  background: var(--bone);
  -webkit-text-size-adjust: 100%;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--sea); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--copper-deep); }
:focus-visible { outline: 3px solid var(--copper); outline-offset: 2px; border-radius: 2px; }

h1, h2, h3, h4 {
  font-family: var(--display);
  color: var(--navy);
  line-height: 1.18;
  letter-spacing: -0.015em;
  margin: 0 0 0.6em;
}
h1 { font-size: clamp(2rem, 4.6vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 2.8vw, 2.15rem); font-weight: 700; }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); font-weight: 700; }
p { margin: 0 0 1.1em; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 1.25rem; }

/* ---------- İMZA: bakır boru motifi ---------- */
/* eyebrow: kısa bakır boru + rakor halkası ile biten etiket */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.65rem;
  font-family: var(--display); font-weight: 600;
  font-size: 0.82rem; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--copper-deep); margin-bottom: 0.9rem;
}
/* boru + rakor glifi: çizgi · halka · çizgi (tek pseudo, transparan merkez her zeminde çalışır) */
.eyebrow::before {
  content: ""; width: 56px; height: 12px; flex-shrink: 0;
  background:
    radial-gradient(circle at 28px 50%, transparent 2.5px, var(--copper) 3px 5px, transparent 5.5px) no-repeat,
    linear-gradient(var(--copper), var(--copper)) 0 50% / 21px 3px no-repeat,
    linear-gradient(var(--copper), var(--copper)) 35px 50% / 21px 3px no-repeat;
}
/* koyu zeminde eyebrow */
.dark .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .cta-band .eyebrow { color: #E8B27D; }

/* bölüm ayracı: dirsekli boru çizgisi */
.pipe-rule {
  border: 0; height: 3px; max-width: var(--maxw);
  margin: 0 auto; position: relative;
  background: linear-gradient(90deg, var(--copper) 0 38%, transparent 38% 41%, var(--copper) 41% 100%);
  opacity: 0.35;
}

/* ---------- Üst bar + header ---------- */
.topbar {
  background: var(--navy); color: #DCE7F2;
  font-size: 0.85rem; text-align: center; padding: 0.42rem 1rem;
}
.topbar strong { color: #FFFFFF; }
.topbar a { color: #F0C89B; font-weight: 700; text-decoration: none; }
.topbar a:hover { color: #FFFFFF; }

.site-head {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96); backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--stone);
}
.site-head .wrap { display: flex; align-items: center; gap: 1.4rem; min-height: 4.2rem; }
.brand {
  font-family: var(--display); font-weight: 800; font-size: 1.32rem;
  color: var(--navy); text-decoration: none; letter-spacing: -0.02em;
  display: inline-flex; align-items: center; gap: 0.55rem; flex-shrink: 0;
}
.brand:hover { color: var(--navy); }
.brand svg { width: 30px; height: 30px; }
.brand em { font-style: normal; color: var(--copper-deep); }

nav.main { margin-left: auto; }
nav.main > ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 1.35rem; align-items: center; }
nav.main a {
  color: var(--ink); text-decoration: none; font-weight: 600; font-size: 0.95rem;
  padding: 0.4rem 0;
}
nav.main a:hover, nav.main a[aria-current="page"] { color: var(--copper-deep); }
nav.main a[aria-current="page"] { box-shadow: 0 2px 0 var(--copper); }

/* hizmetler dropdown — hover + klavye (focus-within) */
.has-sub { position: relative; }
.has-sub > a::after { content: " ▾"; font-size: 0.7em; color: var(--copper); }
.sub {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--white); border: 1px solid var(--stone);
  border-top: 3px solid var(--copper);
  min-width: 19rem; padding: 0.5rem 0; margin: 0;
  box-shadow: 0 14px 34px rgba(12,43,74,0.14);
  display: none; list-style: none; border-radius: 0 0 10px 10px;
}
.has-sub:hover .sub, .has-sub:focus-within .sub { display: block; }
.sub li a { display: block; padding: 0.5rem 1.2rem; font-weight: 500; }
.sub li a:hover { background: var(--stone-soft); }

.head-cta {
  background: var(--copper-deep); color: #FFFFFF !important;
  padding: 0.62rem 1.2rem !important; border-radius: 999px;
  font-weight: 700 !important; white-space: nowrap;
}
.head-cta:hover { background: var(--navy); color: #FFFFFF !important; }

/* mobil menü (checkbox hack) */
.nav-toggle-box { display: none; }
.nav-toggle {
  display: none; margin-left: auto; cursor: pointer;
  width: 44px; height: 44px; align-items: center; justify-content: center;
  border: 1px solid var(--stone); border-radius: 8px;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; display: block; width: 20px; height: 2.5px;
  background: var(--navy); border-radius: 2px; position: relative;
}
.nav-toggle span::before { position: absolute; top: -6px; }
.nav-toggle span::after { position: absolute; top: 6px; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; }
  nav.main {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--white); border-bottom: 2px solid var(--copper);
    box-shadow: 0 18px 30px rgba(12,43,74,0.16);
    max-height: calc(100vh - 7rem); overflow-y: auto;
  }
  .nav-toggle-box:checked ~ nav.main { display: block; }
  nav.main > ul { flex-direction: column; align-items: stretch; gap: 0; padding: 0.6rem 0; }
  nav.main ul li a { display: block; padding: 0.7rem 1.4rem; }
  .sub { position: static; transform: none; display: block; border: 0; box-shadow: none; padding: 0 0 0 0.9rem; }
  .has-sub > a::after { content: ""; }
  .head-cta { margin: 0.6rem 1.4rem; text-align: center; }
}

/* ---------- Hero ---------- */
.hero { background: var(--navy); color: #E6EEF6; position: relative; overflow: hidden; }
.hero .wrap {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3rem;
  align-items: center; padding-top: 4rem; padding-bottom: 4.4rem;
}
.hero h1 { color: #FFFFFF; margin-bottom: 0.5em; }
.hero h1 .mark {
  color: #F0C89B; white-space: nowrap; position: relative; display: inline-block;
}
/* imza: başlık altında bakır çizgi */
.hero h1 .mark::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -0.08em;
  height: 4px; background: var(--copper); border-radius: 2px;
}
.hero p.lead { font-size: 1.16rem; color: #C9D8E6; max-width: 34rem; }
.hero-media img { border-radius: 14px; box-shadow: 0 26px 60px rgba(0,0,0,0.4); }
.hero-actions { display: flex; gap: 0.9rem; flex-wrap: wrap; margin-top: 1.6rem; }
@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; padding-top: 2.6rem; padding-bottom: 2.8rem; }
}

/* alt sayfa hero'su */
.page-hero { background: var(--navy); color: #E6EEF6; }
.page-hero .wrap { padding-top: 3rem; padding-bottom: 3rem; max-width: var(--prose); }
.page-hero h1 { color: #FFFFFF; }
.page-hero p.lead { color: #C9D8E6; font-size: 1.14rem; margin: 0; }
.crumbs { font-size: 0.85rem; margin-bottom: 1.1rem; color: #9FB4C8; }
.crumbs a { color: #C9D8E6; }
.crumbs a:hover { color: #F0C89B; }

/* ---------- Butonlar ---------- */
.btn {
  display: inline-block; font-family: var(--display); font-weight: 700;
  border-radius: 999px; padding: 0.85rem 1.7rem; text-decoration: none;
  font-size: 1.02rem; border: 2px solid transparent;
}
.btn-copper { background: var(--copper-deep); color: #FFFFFF; }
.btn-copper:hover { background: #8C4413; color: #FFFFFF; }
.btn-ghost-light { border-color: #6E8CA8; color: #FFFFFF; }
.btn-ghost-light:hover { border-color: #F0C89B; color: #F0C89B; }
.btn-ghost-dark { border-color: var(--navy); color: var(--navy); }
.btn-ghost-dark:hover { background: var(--navy); color: #FFFFFF; }

/* ---------- Güven şeridi ---------- */
.trust { background: var(--white); border-bottom: 1px solid var(--stone); }
.trust .wrap {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem;
  padding-top: 1.3rem; padding-bottom: 1.3rem; text-align: center;
}
.trust b { font-family: var(--display); font-size: 1.5rem; color: var(--navy); display: block; }
.trust span { font-size: 0.86rem; color: #5A6875; }
@media (max-width: 700px) { .trust .wrap { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Bölümler ---------- */
.section { padding: 4.2rem 0; }
.section.alt { background: var(--stone-soft); }
.section.dark { background: var(--navy); }
.section.dark h2, .section.dark h3 { color: #FFFFFF; }
.section.dark p, .section.dark li { color: #C9D8E6; }
.section-head { max-width: 44rem; margin-bottom: 2.4rem; }

/* hizmet kartları */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
@media (max-width: 980px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }
.card {
  background: var(--white); border: 1px solid var(--stone);
  border-radius: 14px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(12,43,74,0.12); }
.card img { aspect-ratio: 16/9; object-fit: cover; }
.card-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card h3 { margin-bottom: 0.45em; }
.card h3 a { color: var(--navy); text-decoration: none; }
.card h3 a:hover { color: var(--copper-deep); }
.card p { font-size: 0.97rem; color: #46535F; flex: 1; }
.card .more {
  font-family: var(--display); font-weight: 700; font-size: 0.93rem;
  color: var(--copper-deep); text-decoration: none;
}
.card .more:hover { color: var(--navy); }

/* süreç adımları */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; counter-reset: step; }
@media (max-width: 900px) { .steps { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps { grid-template-columns: 1fr; } }
.step { counter-increment: step; background: var(--white); border: 1px solid var(--stone); border-radius: 12px; padding: 1.5rem 1.4rem; }
.step::before {
  content: counter(step, decimal-leading-zero);
  font-family: var(--display); font-weight: 800; font-size: 1.1rem;
  color: var(--copper-deep); display: inline-block;
  border-bottom: 3px solid var(--copper); margin-bottom: 0.7rem; padding-bottom: 2px;
}
.step h3 { font-size: 1.08rem; }
.step p { font-size: 0.94rem; color: #46535F; margin: 0; }
.section.dark .step { background: rgba(255,255,255,0.06); border-color: rgba(255,255,255,0.14); }
.section.dark .step h3 { color: #FFFFFF; }
.section.dark .step p { color: #C9D8E6; }

/* ---------- Editöryal içerik (alt sayfalar) ---------- */
.article { max-width: var(--prose); margin: 0 auto; padding: 3.4rem 1.25rem; }
.article > h2 { margin-top: 2.4em; }
.article > h2:first-child { margin-top: 0; }
.article h2 { position: relative; padding-top: 1.05rem; }
.article h2::before {
  content: ""; position: absolute; top: 0; left: 0; width: 100px; height: 12px;
  background:
    radial-gradient(circle at 50px 50%, transparent 2.5px, var(--copper) 3px 5px, transparent 5.5px) no-repeat,
    linear-gradient(var(--copper), var(--copper)) 0 50% / 43px 3px no-repeat,
    linear-gradient(var(--copper), var(--copper)) 57px 50% / 43px 3px no-repeat;
}
.article h3 { margin-top: 1.8em; }
.article figure { margin: 2.2rem 0; }
.article figure img { border-radius: 12px; }
.article figcaption { font-size: 0.85rem; color: #5A6875; margin-top: 0.6rem; }
.article ul, .article ol { padding-left: 1.3rem; margin: 0 0 1.2em; }
.article li { margin-bottom: 0.45em; }
.article blockquote {
  margin: 2rem 0; padding: 1.2rem 1.6rem;
  border-left: 4px solid var(--copper); background: var(--white);
  border-radius: 0 10px 10px 0; font-style: italic; color: var(--navy);
}
.article table { width: 100%; border-collapse: collapse; margin: 1.6rem 0 2rem; background: var(--white); font-size: 0.95rem; }
.article th {
  background: var(--navy); color: #FFFFFF; text-align: left;
  padding: 0.7rem 0.9rem; font-family: var(--display); font-weight: 600;
}
.article td { padding: 0.65rem 0.9rem; border-bottom: 1px solid var(--stone); vertical-align: top; }
.article tr:nth-child(even) td { background: var(--stone-soft); }

/* bilgi kutusu */
.note {
  background: #EAF2FA; border: 1px solid #C5DAEE; border-radius: 12px;
  padding: 1.2rem 1.5rem; margin: 1.8rem 0; color: var(--navy);
}
.note b:first-child { color: var(--sea); }
.note-copper { background: #FAF1E8; border-color: #E8CDB2; }
.note-copper b:first-child { color: var(--copper-deep); }

/* SSS */
.faq details {
  background: var(--white); border: 1px solid var(--stone);
  border-radius: 12px; margin-bottom: 0.8rem; overflow: hidden;
}
.faq summary {
  cursor: pointer; padding: 1.05rem 1.4rem;
  font-family: var(--display); font-weight: 700; color: var(--navy);
  list-style: none; position: relative; padding-right: 3rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 1.3rem; top: 50%;
  transform: translateY(-50%);
  font-size: 1.4rem; color: var(--copper-deep); font-weight: 400;
}
.faq details[open] summary::after { content: "–"; }
.faq details > div { padding: 0 1.4rem 1.2rem; }
.faq details[open] summary { border-bottom: 1px dashed var(--stone); margin-bottom: 0.9rem; }

/* ---------- CTA bandı ---------- */
.cta-band { background: var(--navy); color: #E6EEF6; }
.cta-band .wrap {
  padding-top: 3.4rem; padding-bottom: 3.4rem; text-align: center;
  max-width: 50rem;
}
.cta-band h2 { color: #FFFFFF; }
.cta-band p { color: #C9D8E6; max-width: 38rem; margin-left: auto; margin-right: auto; }
.cta-band .phone-big {
  font-family: var(--display); font-weight: 800;
  font-size: clamp(1.7rem, 4.4vw, 2.6rem);
  color: #F0C89B; text-decoration: none; display: inline-block; margin: 0.7rem 0 1.2rem;
}
.cta-band .phone-big:hover { color: #FFFFFF; }

/* ---------- Footer ---------- */
.site-foot { background: #081E35; color: #B9C9D9; font-size: 0.94rem; }
.site-foot .wrap {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 2.2rem;
  padding-top: 3.2rem; padding-bottom: 2.4rem;
}
@media (max-width: 900px) { .site-foot .wrap { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .site-foot .wrap { grid-template-columns: 1fr; } }
.site-foot h4 {
  color: #FFFFFF; font-size: 0.95rem; letter-spacing: 0.08em;
  text-transform: uppercase; margin-bottom: 1rem;
}
.site-foot ul { list-style: none; margin: 0; padding: 0; }
.site-foot li { margin-bottom: 0.5rem; }
.site-foot a { color: #B9C9D9; text-decoration: none; }
.site-foot a:hover { color: #F0C89B; }
.site-foot .brandline { font-family: var(--display); font-weight: 800; font-size: 1.25rem; color: #FFFFFF; margin-bottom: 0.7rem; }
.site-foot .brandline em { font-style: normal; color: #E8B27D; }
.foot-bottom {
  border-top: 1px solid rgba(255,255,255,0.12);
  text-align: center; padding: 1.1rem; font-size: 0.82rem; color: #8AA0B5;
}
.foot-bottom a { color: #B9C9D9; }

/* yüzen mobil arama çubuğu */
.call-fab {
  display: none; position: fixed; left: 0.8rem; right: 0.8rem; bottom: 0.8rem;
  z-index: 60; background: var(--copper-deep); color: #FFFFFF;
  text-align: center; padding: 0.95rem; border-radius: 12px;
  font-family: var(--display); font-weight: 800; font-size: 1.05rem;
  text-decoration: none; box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
@media (max-width: 700px) { .call-fab { display: block; } body { padding-bottom: 4.4rem; } }

/* yardımcılar */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: center; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.center { text-align: center; }
.mt-0 { margin-top: 0; }
.small { font-size: 0.88rem; color: #5A6875; }
