/* İntaş Prekast — 2026 Cephe Atölyesi
   Limestone + charcoal + copper. No JA Decor, no invert on logos. */

:root {
  --lime: #F4F0E8;
  --paper: #FBFAF7;
  --stone: #E4DDD1;
  --ink: #1A1C1E;
  --char: #25282C;
  --char-deep: #17191C;
  --copper: #A85A32;
  --copper-deep: #7E4124;
  --mute: #6D675E;
  --line: #D9D2C6;
  --wa: #1FA855;
  --wa-deep: #128C46;
  --shadow: 0 18px 44px rgba(26, 28, 30, 0.08);
  --radius: 18px;
  --pill: 999px;
  --header-h: 86px;
  --container: 1180px;
  --font-display: "Cormorant Garamond", "Times New Roman", serif;
  --font-body: "Outfit", "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--lime);
  border-top: 3px solid var(--copper);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--copper-deep); text-decoration: none; }
a:hover { color: var(--copper); }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -0.02em;
  color: var(--ink);
  margin: 0 0 0.6rem;
}
p { margin: 0 0 1rem; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }
address { font-style: normal; }
:focus-visible { outline: 2px solid var(--copper); outline-offset: 3px; }
button, a, input, select, textarea { -webkit-tap-highlight-color: rgba(168, 90, 50, 0.22); }

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 100;
  background: var(--ink);
  color: var(--lime);
  padding: 0.65rem 1.1rem;
  border-radius: var(--pill);
  font-weight: 600;
  font-size: 0.85rem;
}
.skip-link:focus { top: 0.75rem; color: var(--lime); }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.container { width: min(100% - 2.4rem, var(--container)); margin-inline: auto; }
.section { padding: 4.6rem 0; }
.section-char {
  padding: 4.75rem 0;
  background: var(--char);
  color: rgba(244, 240, 232, 0.78);
}
.section-char h2, .section-char h3 { color: var(--lime); }
.section-char p { color: rgba(244, 240, 232, 0.7); }
.section-head { max-width: 40rem; margin-bottom: 2.4rem; }
.section-head h2 { font-size: clamp(1.85rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--mute); margin: 0; }
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin-bottom: 0.7rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
}
.section-kicker::before {
  content: "";
  width: 8px;
  height: 8px;
  background: var(--copper);
  border-radius: 1px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.7rem 1.35rem;
  border-radius: var(--pill);
  border: 0;
  font: 600 0.95rem/1 var(--font-body);
  background: var(--copper);
  color: #fff !important;
  box-shadow: var(--shadow);
}
.btn:hover { background: var(--copper-deep); color: #fff !important; }
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
  box-shadow: none;
}
.btn-ghost:hover { border-color: var(--copper); color: var(--copper) !important; }
.btn-whatsapp { background: var(--wa); }
.btn-whatsapp:hover { background: var(--wa-deep); }
.btn-light { background: var(--lime); color: var(--ink) !important; }
.btn-light:hover { background: #fff; color: var(--ink) !important; }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 40;
  background: var(--char);
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.header-inner {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  min-height: var(--header-h);
}
.logo { display: flex; align-items: center; flex-shrink: 0; margin-right: auto; }
.logo img,
.footer-brand img {
  height: 52px;
  width: auto;
  display: block;
}
.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  margin-left: auto;
  border: 0;
  border-radius: 12px;
  background: var(--copper);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.nav-toggle span { display: block; width: 18px; height: 2px; background: #fff; }
.site-nav { display: flex; align-items: center; }
.nav-level0 {
  display: flex;
  align-items: center;
  gap: 0.1rem;
}
.nav-level0 > li > a {
  display: block;
  padding: 0.5rem 0.8rem;
  color: rgba(244, 240, 232, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: var(--pill);
}
.nav-level0 > li > a:hover,
.nav-level0 > li.is-active > a { color: #fff; background: rgba(255,255,255,.06); }
.has-mega { position: relative; }
.mega {
  display: none;
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  min-width: 280px;
  background: var(--paper);
  box-shadow: var(--shadow);
  padding: 0.7rem;
  border-radius: 16px;
  z-index: 50;
}
.mega-wide { min-width: 420px; display: none; grid-template-columns: 1fr 1fr; gap: 0.4rem 1.2rem; }
.has-mega:hover > .mega,
.has-mega.is-open > .mega,
.has-mega:focus-within > .mega { display: block; }
.has-mega:hover > .mega-wide,
.has-mega.is-open > .mega-wide,
.has-mega:focus-within > .mega-wide { display: grid; }
.mega-title {
  margin: 0.35rem 0.55rem 0.2rem;
  font-family: var(--font-body);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--copper);
}
.mega a {
  display: block;
  padding: 0.55rem 0.7rem;
  color: var(--ink);
  border-radius: 10px;
  font-size: 0.92rem;
}
.mega a:hover { background: var(--lime); color: var(--copper-deep); }
.header-tools {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  margin-left: 0.6rem;
}
.lang-bar { display: flex; gap: 0.15rem; }
.lang-bar a {
  color: rgba(244, 240, 232, 0.55);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.35rem;
  border-radius: 6px;
}
.lang-bar a:hover, .lang-bar a.active { color: #fff; }
.header-phone {
  color: #fff !important;
  font-weight: 600;
  font-size: 0.92rem;
  white-space: nowrap;
}
.header-phone:hover { color: #f0c9b4 !important; }
.header-cta {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  padding: 0 1.1rem;
  border-radius: var(--pill);
  background: var(--copper);
  color: #fff !important;
  font-weight: 600;
  font-size: 0.88rem;
}
.header-cta:hover { background: var(--copper-deep); color: #fff !important; }
.nav-search { display: none; }

/* Hero — split atelier, not old 950px slideshow */
.atelier-hero {
  padding: 3.2rem 0 2.4rem;
}
.atelier-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 3rem;
  align-items: center;
}
.hero-kicker {
  display: inline-flex;
  gap: 0.5rem;
  margin-bottom: 0.85rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--copper);
}
.atelier-hero h1 {
  font-size: clamp(2.4rem, 5vw, 4.1rem);
  margin-bottom: 1rem;
}
.atelier-hero .lead {
  font-size: 1.08rem;
  color: var(--mute);
  max-width: 36rem;
}
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.6rem; }
.hero-stage { position: relative; }
.hero {
  position: relative;
  height: 520px;
  border-radius: 28px;
  overflow: hidden;
  background: var(--char);
  box-shadow: var(--shadow);
}
.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .7s ease;
}
.hero-slide.is-active { opacity: 1; z-index: 1; }
.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-caption {
  position: absolute;
  left: 22px;
  bottom: 22px;
  z-index: 2;
  margin: 0;
  color: #fff;
  text-shadow: 0 8px 24px rgba(0,0,0,.45);
}
.hero-caption span { display: block; }
.hero-caption span:first-child {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 600;
}
.hero-caption span:last-child { font-size: 0.82rem; letter-spacing: 0.08em; opacity: .88; }
.hero-nav {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 3;
  display: flex;
  gap: 8px;
}
.hero-nav button {
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 50%;
  background: rgba(251, 250, 247, .92);
  color: var(--ink);
  font-size: 1.2rem;
}

.metric-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--char);
  color: var(--lime);
}
.metric-row article {
  padding: 1.6rem 1.2rem;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,.06);
}
.metric-row article:last-child { border-right: 0; }
.metric-row strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 600;
}
.metric-row span { font-size: 0.82rem; color: rgba(244, 240, 232, 0.62); }

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.2rem;
}
.service-card, .project-card, .know-card {
  display: flex;
  flex-direction: column;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  color: inherit;
  box-shadow: var(--shadow);
  min-height: 100%;
}
.service-card:hover, .project-card:hover, .know-card:hover {
  color: inherit;
  transform: translateY(-3px);
  border-color: #cfc6b6;
}
.service-card-img, .project-card img {
  aspect-ratio: 16 / 11;
  overflow: hidden;
  background: var(--stone);
}
.service-card-img img, .project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.service-card-body, .project-card-body, .know-card {
  padding: 1.2rem 1.25rem 1.35rem;
}
.service-card h3, .project-card h3, .know-card h3 {
  font-size: 1.45rem;
  margin-bottom: 0.35rem;
}
.service-card p, .project-card p, .know-card p {
  color: var(--mute);
  font-size: 0.94rem;
  margin-bottom: 0.8rem;
}
.read-more {
  margin-top: auto;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--copper);
}
.card-grid-2 { grid-template-columns: 1fr 1fr; }
.card-grid-5 { grid-template-columns: repeat(5, 1fr); }

.about-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3rem;
  align-items: center;
}
.about-split img {
  width: 100%;
  border-radius: 24px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.about-photo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem;
}
.about-photo img { aspect-ratio: 1; }

.cta-band {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
  padding: 2rem 2.2rem;
  background: var(--char);
  color: var(--lime);
  border-radius: 24px;
}
.cta-band h2 { color: var(--lime); margin: 0 0 0.35rem; font-size: 2rem; }
.cta-band p { margin: 0; color: rgba(244, 240, 232, 0.68); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; }

/* Inner pages */
.page-hero {
  padding: 3.2rem 0 2.2rem;
  background:
    linear-gradient(180deg, rgba(37, 40, 44, 0.04), transparent 70%),
    var(--lime);
  border-bottom: 1px solid var(--line);
}
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }
.page-hero .lead { color: var(--mute); max-width: 40rem; margin: 0; }
.crumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.9rem;
  font-size: 0.82rem;
  color: var(--mute);
}
.crumbs a { color: var(--mute); }
.crumbs a:hover { color: var(--copper); }
.page-body { padding: 3.2rem 0 4.4rem; }

.service-row {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 1.6rem;
  align-items: center;
  padding: 1.3rem;
  margin-bottom: 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.service-row img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 14px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}
.gallery-grid a, .gallery-grid img {
  border-radius: 16px;
  overflow: hidden;
}
.gallery-grid img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.meta-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  margin-bottom: 1.6rem;
}
.meta-list div {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.meta-list strong {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 0.25rem;
}

.prose { max-width: 48rem; }
.prose h2, .prose h3 { margin-top: 1.6rem; }
.prose p, .prose li { color: #3a3834; }
.prose ul { list-style: disc; padding-left: 1.2rem; margin: 0 0 1rem; }
.prose table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0 1.4rem;
  font-size: 0.9rem;
  background: var(--paper);
}
.prose th, .prose td {
  border: 1px solid var(--line);
  padding: 0.55rem 0.7rem;
  text-align: left;
}
.prose img { border-radius: 14px; margin: 0.6rem 0; }

.filter-bar { display: flex; gap: 8px; margin: 0 0 18px; flex-wrap: wrap; }
.filter-bar a {
  min-height: 42px;
  padding: 8px 16px;
  border: 1px solid var(--line);
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--pill);
  font: 600 0.88rem/1 var(--font-body);
  display: inline-flex;
  align-items: center;
}
.filter-bar .is-active { background: var(--copper); color: #fff; border-color: var(--copper); }

.certs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.certs img {
  width: 100%;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0.6rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.2rem;
  align-items: start;
}
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
}
.contact-card img { border-radius: 14px; margin-bottom: 1.1rem; height: 180px; width: 100%; object-fit: cover; }
.contact-form {
  display: grid;
  gap: 0.45rem;
}
.contact-form label { font-size: 0.88rem; font-weight: 600; }
.contact-form input,
.contact-form textarea {
  min-height: 46px;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
}
.contact-form textarea { min-height: 140px; resize: vertical; }
.form-msg {
  padding: 0.8rem 1rem;
  border-radius: 12px;
  background: #e8f6ee;
  color: #146c3a;
}
.form-msg.is-error { background: #fdecea; color: #9b1c1c; }
.search-form {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.4rem;
}
.search-form input {
  min-height: 48px;
  padding: 0.65rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 12px;
  min-width: min(100%, 280px);
  flex: 1;
}
.result-list a {
  display: block;
  padding: 0.85rem 1rem;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 12px;
  margin-bottom: 0.5rem;
  color: var(--ink);
}
.result-list a:hover { border-color: var(--copper); }

/* Footer */
.site-footer {
  background: var(--char-deep);
  color: rgba(244, 240, 232, 0.72);
  padding-top: 3.2rem;
}
.footer-nav {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 2rem;
  padding-bottom: 2.4rem;
}
.site-footer h3 {
  color: var(--lime);
  font-family: var(--font-body);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.site-footer a { color: rgba(244, 240, 232, 0.78); }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin: 1rem 0 0; max-width: 22rem; font-size: 0.92rem; }
.footer-contact li, .site-footer li { margin-bottom: 0.45rem; }
.footer-map {
  position: relative;
  margin-top: 0.4rem;
}
.footer-map iframe { display: block; filter: grayscale(0.35) contrast(1.05); }
.office-info {
  position: absolute;
  left: max(1.2rem, calc((100% - var(--container)) / 2));
  bottom: 1.4rem;
  background: rgba(23, 25, 28, .9);
  color: #fff;
  padding: 1.2rem 1.4rem;
  max-width: 320px;
  border-radius: 16px;
}
.office-info h3 { margin-bottom: 0.6rem; }
.office-info a { color: #fff; }
.footer-copy {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 1rem 0;
  font-size: 0.84rem;
}
.footer-copy .container { display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; }

/* Floating phone above WhatsApp */
.float-stack {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}
.float-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 20px;
  border-radius: var(--pill);
  background: var(--copper);
  color: #fff !important;
  box-shadow: 0 14px 38px rgba(0,0,0,.24);
  font-weight: 700;
}
.float-phone:hover { background: var(--copper-deep); color: #fff !important; }
.intas-wa { display: flex; flex-direction: column; align-items: flex-end; gap: 12px; }
.intas-wa__btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 58px;
  padding: 0 22px;
  border: 0;
  border-radius: var(--pill);
  background: var(--wa);
  color: #fff;
  box-shadow: 0 14px 38px rgba(0,0,0,.24);
  font: 600 15px/1 var(--font-body);
}
.intas-wa__panel {
  width: min(360px, calc(100vw - 32px));
  background: #fff;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 22px 70px rgba(0,0,0,.28);
  display: none;
}
.intas-wa.is-open .intas-wa__panel { display: block; }
.intas-wa__header {
  display: grid;
  grid-template-columns: 54px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 16px;
  background: #075e54;
  color: #fff;
}
.intas-wa__avatar {
  width: 54px; height: 54px; border-radius: 50%; overflow: hidden; background: #fff;
}
.intas-wa__avatar img { width: 100%; height: 100%; object-fit: contain; }
.intas-wa__close { border: 0; background: transparent; color: #fff; font-size: 28px; width: 36px; height: 36px; }
.intas-wa__body { padding: 22px 18px; background: #efeae2; }
.intas-wa__message { background: #fff; padding: 14px 16px; border-radius: 0 12px 12px; margin: 0; }
.intas-wa__footer { padding: 12px; }
.intas-wa__footer a {
  display: flex; align-items: center; justify-content: center;
  min-height: 50px; background: var(--wa); color: #fff !important; font-weight: 700; border-radius: 10px;
}

@media (max-width: 1100px) {
  .atelier-grid, .about-split, .contact-grid, .footer-nav { grid-template-columns: 1fr 1fr; }
  .card-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
  .header-phone { display: none; }
  .card-grid-5 { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 991px) {
  .nav-toggle { display: flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    background: var(--char-deep);
    padding: 12px 16px 24px;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .site-nav.is-open { display: block; }
  .nav-level0 { flex-direction: column; align-items: stretch; }
  .nav-level0 > li > a { padding: 14px 8px; min-height: 44px; }
  .mega, .mega-wide, .has-mega:hover > .mega, .has-mega:hover > .mega-wide {
    position: static; display: none; min-width: 0; background: #1c1f23; box-shadow: none;
  }
  .has-mega.is-open > .mega { display: block; }
  .has-mega.is-open > .mega-wide { display: grid; }
  .mega a { color: #ddd; }
  .header-tools { margin: 12px 0 0; flex-wrap: wrap; }
  .atelier-grid, .about-split, .contact-grid, .service-row, .meta-list, .certs, .footer-nav, .metric-row {
    grid-template-columns: 1fr 1fr;
  }
  .hero { height: 380px; }
  .office-info { position: static; max-width: none; margin: 0 1.2rem 1.2rem; }
  .float-phone span, .intas-wa__btn span { display: none; }
  .float-phone, .intas-wa__btn { width: 58px; padding: 0; justify-content: center; }
}
@media (max-width: 640px) {
  .atelier-grid, .about-split, .contact-grid, .service-row, .meta-list, .certs, .footer-nav, .metric-row,
  .card-grid, .gallery-grid, .card-grid-2, .card-grid-5 {
    grid-template-columns: 1fr;
  }
  .hero { height: 280px; border-radius: 18px; }
  .atelier-hero { padding-top: 1.6rem; }
  .header-cta { display: none; }
}
