/* ===========================================================================
   Hıdır Branda — "Hatay Açık Hava" design system
   Palette: olive-forward warm Mediterranean. Signature: awning-valance scallop.
   ========================================================================= */

:root {
  --bg:        #FAF6EE;   /* warm off-white */
  --bg-2:      #F2ECDF;   /* slightly deeper panel */
  --olive:     #41502E;   /* brand / primary */
  --olive-d:   #2C3520;   /* deep olive — footer, bands */
  --olive-soft:#5E6E45;
  --clay:      #B26544;   /* restrained accent — CTAs, highlights */
  --clay-d:    #9A5236;
  --sage:      #9DBEBB;   /* cool secondary */
  --ink:       #221C12;   /* primary text */
  --muted:     #6E6755;   /* secondary text */
  --line:      rgba(44,53,32,.12);
  --card:      #FFFFFF;

  --shadow-sm: 0 6px 18px -8px rgba(44,53,32,.28);
  --shadow-md: 0 18px 40px -18px rgba(44,53,32,.40);
  --shadow-lg: 0 40px 70px -30px rgba(44,53,32,.50);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 22px;

  --maxw: 1160px;
  --font-display: "Fraunces", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; padding: 0; }
button { font: inherit; cursor: pointer; }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 22px; }
.section { padding: 76px 0; }
.section--tight { padding: 52px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 12px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase;
  color: var(--clay);
}
.eyebrow::before { content: ""; width: 28px; height: 1.5px; background: var(--clay); }
.section-head { max-width: 640px; margin-bottom: 40px; }
.section-head h2 {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(28px, 4vw, 42px);
  line-height: 1.08; color: var(--olive); letter-spacing: -.01em; margin-top: 14px;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 17px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--center .eyebrow { justify-content: center; }

h1, h2, h3 { font-family: var(--font-display); font-weight: 600; color: var(--olive); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 14px 24px; border-radius: 12px;
  font-weight: 600; font-size: 15.5px; border: none;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--clay); color: #fff; box-shadow: 0 16px 30px -12px rgba(178,101,68,.6); }
.btn-primary:hover { transform: translateY(-2px); background: var(--clay-d); }

/* "soft" button — blurred, borderless edge instead of a crisp 1px outline */
.btn-soft {
  color: var(--olive);
  background: rgba(255,255,255,.55);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 6px rgba(65,80,46,.06), 0 10px 26px -14px rgba(44,53,32,.5);
}
.btn-soft:hover { transform: translateY(-2px); background: rgba(255,255,255,.8); box-shadow: 0 0 0 7px rgba(65,80,46,.09), 0 16px 30px -14px rgba(44,53,32,.55); }

/* soft button on dark backgrounds */
.btn-soft-dark {
  color: #F3EFE4;
  background: rgba(255,255,255,.10);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  box-shadow: 0 0 0 6px rgba(255,255,255,.05), 0 10px 26px -14px rgba(0,0,0,.5);
}
.btn-soft-dark:hover { transform: translateY(-2px); background: rgba(255,255,255,.18); }

/* ---------- signature: awning valance scallop ---------- */
.valance {
  position: relative; height: 30px; width: 100%;
  --scallop: 36px;
  -webkit-mask: radial-gradient(circle calc(var(--scallop)/2) at 50% 0, #0000 98%, #000) 0 0 / var(--scallop) 100% repeat-x;
          mask: radial-gradient(circle calc(var(--scallop)/2) at 50% 0, #0000 98%, #000) 0 0 / var(--scallop) 100% repeat-x;
}
.valance--olive { background: var(--olive); }
.valance--bg { background: var(--bg); }
.valance--card { background: var(--card); }

/* =========================================================================
   NAVBAR
   ========================================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250,246,238,.82);
  -webkit-backdrop-filter: saturate(140%) blur(12px); backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.nav-inner { display: flex; align-items: center; gap: 24px; height: 70px; }
.nav-logo { font-family: var(--font-display); font-weight: 700; font-size: 21px; color: var(--olive); letter-spacing: .005em; }
.nav-logo b { color: var(--clay); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 6px; margin-left: auto; }
.nav-links a {
  padding: 9px 14px; border-radius: 9px; font-size: 14.5px; font-weight: 500; color: var(--muted);
  transition: color .15s, background .15s;
}
.nav-links a:hover, .nav-links a.is-active { color: var(--olive); background: rgba(65,80,46,.07); }
.nav-links a.nav-call {
  display: inline-flex; align-items: center; gap: 8px; margin-left: 8px;
  padding: 10px 17px; border-radius: 999px; font-weight: 600; font-size: 14.5px;
  color: #fff; background: var(--olive); transition: transform .15s, background .15s;
}
.nav-links a.nav-call:hover { transform: translateY(-1px); background: var(--olive-d); color: #fff; }
.nav-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border-radius: 10px;
  background: transparent; border: none; position: relative; }
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 11px; width: 22px; height: 2px; background: var(--olive); border-radius: 2px; transition: .2s; }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -7px; } .nav-toggle span::after { top: 7px; }
body.nav-open .nav-toggle span { background: transparent; }
body.nav-open .nav-toggle span::before { top: 0; transform: rotate(45deg); }
body.nav-open .nav-toggle span::after { top: 0; transform: rotate(-45deg); }

/* =========================================================================
   HERO
   ========================================================================= */
.hero { position: relative; padding-top: 56px; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(110% 80% at 8% -10%, rgba(157,190,187,.28), transparent 52%);
}
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; padding-bottom: 70px; }
.hero h1 {
  font-size: clamp(38px, 6vw, 62px); line-height: 1.0; letter-spacing: -.015em; margin-top: 18px; font-weight: 600;
}
.hero h1 em { font-style: italic; color: var(--clay); }
.hero-sub { font-size: 18px; color: var(--muted); max-width: 460px; margin-top: 22px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }
.hero-stats { display: flex; gap: 30px; margin-top: 40px; flex-wrap: wrap; }
.hero-stats div { font-size: 13.5px; color: var(--muted); }
.hero-stats b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 27px; color: var(--olive); line-height: 1; margin-bottom: 5px; }

.hero-figure { position: relative; }
.hero-figure img { width: 100%; height: 420px; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-lg); }
.hero-badge {
  position: absolute; left: 22px; bottom: 22px; background: transparent;
  padding: 0; max-width: none;
}
.hero-badge b { display: block; font-family: var(--font-display); font-weight: 700; font-size: 28px; color: #fff; letter-spacing: .01em; text-shadow: 0 2px 16px rgba(0,0,0,.55), 0 1px 3px rgba(0,0,0,.5); }

/* trust band under hero */
.trust-band { background: var(--olive); color: #E9E7D9; }
.trust-band .container { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px 40px; padding: 18px 22px; }
.trust-band span { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; opacity: .94; }
.trust-band span::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--clay); flex: none; }

/* =========================================================================
   VALUE / INTRO CARDS (homepage)
   ========================================================================= */
.value-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.value-card { background: var(--card); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; }
.value-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.value-card img { height: 230px; width: 100%; object-fit: cover; }
.value-card .pad { padding: 22px 24px 26px; }
.value-card h3 { font-size: 21px; margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: 15.5px; }

/* =========================================================================
   SERVICE GRID (catalog cards)
   ========================================================================= */
.svc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.svc-card {
  position: relative; display: block; border-radius: var(--r-md); overflow: hidden;
  background: var(--card); box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s;
  isolation: isolate;
}
.svc-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.svc-card .thumb { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.svc-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.svc-card:hover .thumb img { transform: scale(1.05); }
.svc-card .thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(44,53,32,.5), transparent 55%); }
.svc-card .cap { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 18px 18px 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.svc-card .cap h3 { color: #fff; font-size: 17.5px; font-weight: 600; line-height: 1.2; }
.svc-card .cap .go { flex: none; width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,.16); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); display: grid; place-items: center; color: #fff; transition: background .2s, transform .2s; }
.svc-card:hover .cap .go { background: var(--clay); transform: translateX(2px); }

/* =========================================================================
   BREADCRUMB
   ========================================================================= */
.crumb { padding: 26px 0 0; font-size: 13.5px; color: var(--muted); }
.crumb a { color: var(--muted); transition: color .15s; }
.crumb a:hover { color: var(--clay); }
.crumb .sep { margin: 0 8px; opacity: .5; }
.crumb .now { color: var(--olive); font-weight: 600; }

/* =========================================================================
   SERVICE DETAIL
   ========================================================================= */
.detail { padding: 40px 0 84px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: start; }
.detail-figure { position: relative; }
.detail-figure img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.detail-figure::after {
  content: ""; position: absolute; right: -14px; top: -14px; width: 120px; height: 120px; z-index: -1;
  border-radius: 50%; background: radial-gradient(circle, rgba(157,190,187,.45), transparent 70%);
}
.detail-body { padding-top: 6px; }
.detail-body h1 { font-size: clamp(28px, 4vw, 38px); line-height: 1.05; margin: 14px 0 18px; }
.detail-body p { color: var(--muted); font-size: 16.5px; margin-bottom: 16px; }
.detail-body .list { margin: 8px 0 22px; }
.detail-body .list li { position: relative; padding-left: 28px; margin-bottom: 11px; color: var(--ink); }
.detail-body .list li::before { content: ""; position: absolute; left: 0; top: 10px; width: 14px; height: 2px; background: var(--clay); }
.detail-cta { display: flex; flex-wrap: wrap; gap: 13px; margin-top: 26px; }

/* =========================================================================
   GALLERY
   ========================================================================= */
.gal-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.work-card { background: var(--card); border-radius: var(--r-md); overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s; display: flex; flex-direction: column; }
.work-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.work-card .thumb { aspect-ratio: 16 / 10; overflow: hidden; }
.work-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.work-card:hover .thumb img { transform: scale(1.04); }
.work-card .pad { padding: 22px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.work-card h3 { font-size: 21px; margin-bottom: 8px; }
.work-card p { color: var(--muted); font-size: 15px; flex: 1; }
.work-card .btn { margin-top: 18px; align-self: flex-start; }

/* work detail photo grid */
.photo-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 40px; }
.photo-grid img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: var(--r-sm); box-shadow: var(--shadow-sm); }

/* =========================================================================
   ABOUT
   ========================================================================= */
.about-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 50px; align-items: center; }
.about-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--r-lg); box-shadow: var(--shadow-md); }
.about-body h1 { font-size: clamp(30px, 4.5vw, 44px); line-height: 1.05; margin: 16px 0 20px; }
.about-body p { color: var(--muted); font-size: 17px; margin-bottom: 16px; }
.about-body strong { color: var(--olive); }

/* =========================================================================
   CONTACT
   ========================================================================= */
.contact-grid { display: grid; grid-template-columns: 420px 1fr; gap: 36px; align-items: stretch; }
.contact-card { background: var(--olive); color: #ECEADD; border-radius: var(--r-lg); padding: 36px 34px; box-shadow: var(--shadow-md); }
.contact-card h2 { color: #fff; font-size: 26px; margin-bottom: 6px; }
.contact-card .lead { color: rgba(255,255,255,.78); font-size: 15px; margin-bottom: 26px; }
.contact-row { display: flex; gap: 14px; align-items: flex-start; padding: 16px 0; border-top: 1px solid rgba(255,255,255,.14); }
.contact-row .ic { flex: none; width: 42px; height: 42px; border-radius: 11px; background: rgba(255,255,255,.1); display: grid; place-items: center; }
.contact-row .ic svg { width: 20px; height: 20px; color: var(--sage); }
.contact-row .lbl { font-size: 12px; text-transform: uppercase; letter-spacing: .1em; color: rgba(255,255,255,.6); margin-bottom: 3px; }
.contact-row a, .contact-row span { color: #fff; font-size: 16px; font-weight: 500; }
.contact-row p { color: rgba(255,255,255,.85); font-size: 15px; }
.contact-map { border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-md); min-height: 440px; }
.contact-map iframe { width: 100%; height: 100%; min-height: 440px; border: 0; display: block; }

/* =========================================================================
   CTA BAND (lead funnel — reused)
   ========================================================================= */
.cta-band { background: var(--olive-d); color: #EDEBDE; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; background: radial-gradient(80% 120% at 85% 0%, rgba(178,101,68,.32), transparent 55%); pointer-events: none; }
.cta-band .container { position: relative; display: flex; align-items: center; justify-content: space-between; gap: 28px; flex-wrap: wrap; padding: 56px 22px; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.5vw, 36px); line-height: 1.1; }
.cta-band p { color: rgba(255,255,255,.78); margin-top: 10px; font-size: 16px; }
.cta-band .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* =========================================================================
   FOOTER
   ========================================================================= */
.footer { background: var(--olive-d); color: rgba(255,255,255,.72); padding: 64px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 40px; }
.footer-brand .logo { font-family: var(--font-display); font-weight: 700; font-size: 24px; color: #fff; }
.footer-brand .logo b { color: var(--clay); }
.footer-brand p { margin-top: 12px; font-size: 14.5px; max-width: 300px; font-style: italic; }
.footer h4 { color: #fff; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; margin-bottom: 16px; font-family: var(--font-body); font-weight: 600; }
.footer-col a, .footer-col li { font-size: 14.5px; margin-bottom: 10px; transition: color .15s; }
.footer-col a:hover { color: #fff; }
.footer-bottom { margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.12); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; font-size: 13px; color: rgba(255,255,255,.5); }

/* =========================================================================
   FAQ (accordion)
   ========================================================================= */
.faq details {
  background: var(--card); border-radius: var(--r-sm); margin-bottom: 12px;
  box-shadow: var(--shadow-sm); overflow: hidden;
}
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 22px; font-weight: 600; color: var(--olive);
  font-size: 16.5px; display: flex; align-items: center; justify-content: space-between; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; font-family: var(--font-body); font-weight: 400; font-size: 24px; color: var(--clay);
  transition: transform .2s; line-height: 1;
}
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 22px 20px; color: var(--muted); font-size: 15.5px; }

/* =========================================================================
   REVEAL ANIMATION (subtle)
   ========================================================================= */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.reveal.in { opacity: 1; transform: none; }

/* =========================================================================
   RESPONSIVE
   ========================================================================= */
@media (max-width: 900px) {
  .hero-grid, .detail-grid, .about-grid { grid-template-columns: 1fr; gap: 34px; }
  .hero-figure { order: -1; }
  .hero-figure img { height: 300px; }
  .contact-grid { grid-template-columns: 1fr; }
  .svc-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: fixed; inset: 70px 0 auto 0; flex-direction: column; align-items: stretch; gap: 2px;
    background: var(--bg); padding: 14px 22px 24px; border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md); transform: translateY(-130%); transition: transform .28s ease; margin: 0;
  }
  body.nav-open .nav-links { transform: none; }
  .nav-links a { padding: 13px 12px; font-size: 16px; }
  .nav-call { width: 100%; justify-content: center; margin: 8px 0 0; padding: 14px; }
  .section { padding: 54px 0; }
  .value-grid, .gal-grid { grid-template-columns: 1fr; }
  .svc-grid, .photo-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-badge { left: 0; }
}

/* accessibility */
:focus-visible { outline: 3px solid var(--clay); outline-offset: 2px; border-radius: 4px; }
@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
