/* ═══════════════════════════════════════════════
   FERRE İNŞAAT — Shared Stylesheet
   ═══════════════════════════════════════════════ */

:root {
  --navy:       #0d1f3c;
  --navy-dark:  #081428;
  --navy-mid:   #132848;
  --navy-light: #1d3a5f;
  --gold:       #c9972a;
  --gold-light: #e0aa38;
  --gold-pale:  #fdf3df;
  --white:      #ffffff;
  --light:      #f4f6f9;
  --light2:     #edf0f5;
  --text:       #1e2d40;
  --text-mid:   #4a5e72;
  --text-light: #7a8fa3;
  --border:     #dde2ea;
  --shadow-sm:  0 2px 10px rgba(0,0,0,0.06);
  --shadow-md:  0 6px 24px rgba(0,0,0,0.1);
  --shadow-lg:  0 16px 48px rgba(0,0,0,0.14);
  --radius:     12px;
  --radius-lg:  20px;

  /* Category accent colours */
  --c-yapi:     #e8620d;
  --c-yalitim:  #0f7ec8;
  --c-boya:     #7c3ab8;
  --c-seramik:  #0c8c7a;
  --c-banyo:    #1466b8;
  --c-elektrik: #c98a00;
  --c-tesisat:  #0e7e4a;
  --c-hirdavat: #b82c22;
  --c-kaynak:   #c83a00;
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  color: var(--text);
  line-height: 1.65;
  background: var(--white);
}
img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── TOPBAR ── */
.topbar {
  background: var(--navy-dark);
  color: #8aa3be;
  font-size: 0.775rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255,255,255,0.04);
}
.topbar .wrap {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 6px;
}
.topbar-group { display: flex; align-items: center; gap: 20px; }
.topbar-item { display: flex; align-items: center; gap: 6px; }
.topbar-item a { text-decoration: none; color: inherit; transition: color .2s; }
.topbar-item a:hover { color: var(--gold-light); }
.topbar-item svg { width: 13px; height: 13px; opacity: .7; }

/* ── HEADER ── */
.site-header {
  background: var(--navy);
  position: sticky; top: 0; z-index: 900;
  box-shadow: 0 2px 24px rgba(0,0,0,0.32);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  display: flex; align-items: center; justify-content: space-between;
  height: 70px;
}

/* Logo */
.site-logo { display: flex; align-items: center; gap: 13px; text-decoration: none; flex-shrink: 0; }
.logo-icon { width: 52px; height: 52px; }
.logo-label { display: flex; flex-direction: column; line-height: 1.1; }
.logo-label strong { font-size: 1.42rem; font-weight: 800; color: #fff; letter-spacing: .5px; }
.logo-label span   { font-size: 0.64rem; color: var(--gold-light); letter-spacing: 3px; text-transform: uppercase; font-weight: 500; }

/* Nav */
.main-nav { display: flex; align-items: center; gap: 2px; }
.main-nav a {
  color: #b8cfe6; text-decoration: none; font-size: 0.875rem; font-weight: 500;
  padding: 9px 15px; border-radius: 7px; transition: all .18s; white-space: nowrap;
}
.main-nav a:hover  { color: #fff; background: rgba(255,255,255,0.07); }
.main-nav a.active { color: #fff; background: rgba(201,151,42,0.18); }
.main-nav a.nav-cta {
  background: var(--gold); color: var(--navy-dark) !important; font-weight: 700;
  padding: 9px 20px; margin-left: 6px;
}
.main-nav a.nav-cta:hover { background: var(--gold-light); }

/* Hamburger */
.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 6px;
}
.hamburger span { display: block; width: 24px; height: 2px; background: #fff; border-radius: 2px; transition: .25s; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy-mid) 55%, var(--navy-light) 100%);
  padding: 64px 0 56px;
  position: relative; overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='rgba(255,255,255,0.025)' fill='none'/%3E%3C/svg%3E") repeat;
}
.page-hero .wrap { position: relative; z-index: 2; }
.page-hero h1 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 800; color: #fff; margin-bottom: 10px; }
.page-hero p  { color: #8aaac8; font-size: 1rem; max-width: 520px; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.8rem; color: #5a7d9e; margin-bottom: 18px; }
.breadcrumb a { color: #5a7d9e; text-decoration: none; transition: color .2s; }
.breadcrumb a:hover { color: var(--gold-light); }
.breadcrumb span { color: var(--gold-light); font-weight: 600; }

/* ── SECTIONS ── */
section { padding: 88px 0; }
.wrap { max-width: 1240px; margin: 0 auto; padding: 0 28px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-tag {
  display: inline-block; background: rgba(201,151,42,0.1); color: var(--gold);
  border: 1px solid rgba(201,151,42,0.3); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px; border-radius: 20px; margin-bottom: 14px;
}
.section-title { font-size: clamp(1.6rem, 3vw, 2.2rem); font-weight: 800; color: var(--navy); line-height: 1.25; margin-bottom: 14px; }
.section-desc  { color: var(--text-mid); font-size: .98rem; max-width: 540px; margin: 0 auto 0; }
.divider { width: 54px; height: 4px; background: linear-gradient(90deg, var(--gold), var(--gold-light)); border-radius: 2px; margin: 16px auto 0; }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 8px; font-family: inherit;
  font-size: 0.9rem; font-weight: 700; border-radius: 8px; padding: 12px 26px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer; transition: all .2s;
}
.btn-primary { background: var(--gold); color: var(--navy-dark); }
.btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(201,151,42,.35); }
.btn-outline-white { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline-white:hover { background: rgba(255,255,255,.08); border-color: #fff; }
.btn-outline-navy { background: transparent; color: var(--navy); border-color: var(--border); }
.btn-outline-navy:hover { border-color: var(--navy); background: var(--light); }
.btn-sm { font-size: .8rem; padding: 8px 18px; }

/* ── CARDS / COMMON ── */
.card {
  background: var(--white); border-radius: var(--radius); border: 1px solid var(--border);
  transition: all .22s; overflow: hidden;
}
.card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); border-color: rgba(201,151,42,.4); }

/* ── SCROLL REVEAL ── */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ── FOOTER ── */
.site-footer { background: #060d1a; }
.footer-top { padding: 60px 0 44px; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 52px;
  border-bottom: 1px solid rgba(255,255,255,.06); padding-bottom: 44px;
}
.footer-brand p { color: #566d83; font-size: .84rem; line-height: 1.85; max-width: 270px; margin-top: 14px; }
.footer-col h4 { color: #fff; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; margin-bottom: 18px; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 9px; }
.footer-col a { color: #566d83; text-decoration: none; font-size: .855rem; transition: color .2s; }
.footer-col a:hover { color: var(--gold-light); }
.footer-contact-row { display: flex; gap: 10px; margin-bottom: 13px; align-items: flex-start; }
.footer-contact-row svg { width: 15px; height: 15px; color: var(--gold); flex-shrink: 0; margin-top: 2px; }
.footer-contact-row span { color: #566d83; font-size: .84rem; line-height: 1.55; }
.footer-contact-row a { color: #566d83; text-decoration: none; }
.footer-contact-row a:hover { color: var(--gold-light); }
.footer-bottom {
  padding: 18px 0;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px;
  font-size: .76rem; color: #344b5e;
}
.footer-bottom a { color: #344b5e; text-decoration: none; }
.footer-bottom a:hover { color: var(--gold-light); }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
}
@media (max-width: 768px) {
  .main-nav {
    display: none; position: absolute; top: 70px; left: 0; right: 0;
    background: #0a1828; flex-direction: column; padding: 16px 20px;
    border-top: 1px solid rgba(255,255,255,.07); gap: 2px; z-index: 800;
  }
  .main-nav.open { display: flex; }
  .main-nav a { width: 100%; }
  .hamburger { display: flex; }
  .topbar-group:first-child { display: none; }
  .page-hero { padding: 44px 0 38px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .wrap { padding: 0 18px; }
  section { padding: 60px 0; }
  .btn { padding: 10px 20px; }
}
