:root {
  --navy: #0f2438;
  --navy-deep: #0a1a29;
  --steel: #3c5a73;
  --amber: #e8a13d;
  --amber-deep: #c8811f;
  --slate: #55636f;
  --bg: #f5f6f4;
  --white: #ffffff;
  --radius: 10px;
  --shadow: 0 10px 30px rgba(15, 36, 56, 0.08);
  --transition: 0.25s ease;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Manrope', system-ui, sans-serif;
  color: var(--navy);
  background: var(--bg);
  line-height: 1.6;
}

img { max-width: 100%; display: block; }

.container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.eyebrow {
  color: var(--amber-deep);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  font-size: 0.8rem;
  margin-bottom: 10px;
}
.eyebrow.center { text-align: center; }

.section-title {
  font-size: clamp(1.7rem, 3vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 16px;
}
.section-title.center { text-align: center; margin-left: auto; margin-right: auto; max-width: 700px; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform var(--transition), box-shadow var(--transition), background var(--transition);
}
.btn-primary {
  background: var(--amber);
  color: var(--navy-deep);
}
.btn-primary:hover { background: var(--amber-deep); transform: translateY(-2px); }
.btn-ghost {
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}
.btn-ghost:hover { background: rgba(255,255,255,0.12); transform: translateY(-2px); }

/* Topbar */
.topbar {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 24px;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 24px; }
.topbar-info a { color: inherit; }
.topbar-social { display: flex; gap: 12px; font-weight: 700; }

/* Header */
.header {
  background: var(--white);
  box-shadow: var(--shadow);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  gap: 20px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-mark-img {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  font-weight: 800;
  font-size: 0.95rem;
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.logo-text small {
  font-weight: 600;
  font-size: 0.6rem;
  color: var(--slate);
  letter-spacing: 0.04em;
}
.nav {
  display: flex;
  gap: 28px;
  font-weight: 600;
  font-size: 0.92rem;
}
.nav a { position: relative; padding: 6px 0; color: var(--navy); }
.nav a:hover { color: var(--amber-deep); }
.header-cta { flex-shrink: 0; }
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 26px;
  height: 3px;
  background: var(--navy);
  border-radius: 2px;
}

/* Hero */
.hero {
  position: relative;
  color: var(--white);
  padding: 110px 0 100px;
  overflow: hidden;
  display: flex;
  align-items: center;
  min-height: 560px;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(10,26,41,0.82) 0%, rgba(10,26,41,0.45) 42%, rgba(10,26,41,0) 68%),
    url('../images/asfalt-serim.jpg');
  background-size: cover;
  background-position: center;
  z-index: -1;
}
.hero-inner { max-width: 680px; text-shadow: 0 1px 6px rgba(0,0,0,0.35); }
.hero .eyebrow {
  color: var(--amber);
  font-size: 1.15rem;
  letter-spacing: 0.16em;
  margin-bottom: 14px;
}
.hero .btn { text-shadow: none; }
.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  font-weight: 800;
  line-height: 1.12;
  margin-bottom: 16px;
}
.hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.92);
  margin-bottom: 28px;
  max-width: 520px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Stats */
.stats { background: var(--navy); color: var(--white); padding: 40px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  text-align: center;
}
.stat-num, .stat-suffix {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--amber);
}
.stat p { margin-top: 4px; color: rgba(255,255,255,0.75); font-size: 0.9rem; }

/* About */
.about { padding: 90px 0; }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.about-media img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}
.about-content p { color: var(--slate); margin-bottom: 14px; }
.about-subtitle { font-size: 1.05rem; margin: 18px 0 12px; color: var(--navy); }
.about-slogan { font-weight: 700; color: var(--amber-deep); font-style: italic; margin-top: 16px; }
.about-list { margin-top: 18px; margin-bottom: 20px; display: grid; gap: 10px; }
.about-list + p { margin-top: 20px; }
.about-list li {
  padding-left: 28px;
  position: relative;
  font-weight: 600;
  color: var(--navy);
}
.about-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--amber-deep);
  font-weight: 800;
}
.about-list li strong { color: var(--navy); font-weight: 700; }

/* Services */
.services { padding: 90px 0; background: var(--white); }
.services-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--bg);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform var(--transition), box-shadow var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.service-icon { font-size: 1.8rem; margin-bottom: 14px; }
.service-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.service-card p { color: var(--slate); font-size: 0.9rem; }

/* Why */
.why { padding: 90px 0; }
.why-inner { text-align: center; }
.why-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: left;
}
.why-card {
  background: var(--white);
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  padding: 26px 22px;
  box-shadow: var(--shadow);
}
.why-card h3 { margin-bottom: 8px; font-size: 1.05rem; }
.why-card p { color: var(--slate); font-size: 0.9rem; }

/* Gallery */
.gallery { padding: 90px 0; background: var(--white); }
.gallery-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.gallery-item {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition);
}
.gallery-item:hover img {
  transform: scale(1.06);
}

/* Page hero (inner pages) */
.page-hero {
  background: linear-gradient(120deg, var(--navy-deep), var(--steel));
  color: var(--white);
  padding: 70px 0 60px;
}
.page-hero h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 800; margin-bottom: 10px; }
.page-hero-sub { color: rgba(255,255,255,0.85); }
.nav-active { color: var(--amber-deep) !important; }

/* Projects */
.projects { padding: 90px 0; background: var(--white); }
.projects-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-card {
  background: var(--bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition);
}
.project-card:hover { transform: translateY(-6px); }
.project-media { position: relative; }
.project-media img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  display: block;
}
.project-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background: var(--amber);
  color: var(--navy-deep);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 6px 12px;
  border-radius: 999px;
}
.project-body { padding: 20px 22px 24px; }
.project-body h3 { font-size: 1.05rem; margin-bottom: 6px; }
.project-location {
  color: var(--amber-deep);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 8px;
}
.project-body p:not(.project-location) { color: var(--slate); font-size: 0.9rem; }

/* References */
.references { padding: 90px 0; }
.references-grid {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}
.reference-card {
  aspect-ratio: 3/2;
  border-radius: var(--radius);
  background: var(--white);
  border: 1px dashed #c7cdc9;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px;
  color: var(--slate);
  font-weight: 600;
  font-size: 0.8rem;
}
.reference-card img {
  max-width: 100%;
  max-height: 60%;
  object-fit: contain;
}
.reference-card:has(img) {
  border-style: solid;
  box-shadow: var(--shadow);
}
.reference-card-dark {
  background: var(--navy);
  border-color: var(--navy);
}
.reference-card { position: relative; overflow: hidden; }
.reference-info {
  position: absolute;
  inset: 0;
  background: rgba(10, 26, 41, 0.94);
  color: rgba(255,255,255,0.85);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 10px;
  font-size: 0.68rem;
  font-weight: 500;
  line-height: 1.35;
  opacity: 0;
  transition: opacity var(--transition);
}
.reference-info strong { color: var(--amber); font-size: 0.75rem; }
.reference-card:hover .reference-info { opacity: 1; }
/* Dokunmatik cihazlarda: sadece logo görünür, dokununca bilgi açılır (JS ile) */
.reference-card.info-open .reference-info { opacity: 1; }
.references-note {
  text-align: center;
  margin-top: 24px;
  color: var(--slate);
  font-size: 0.85rem;
  font-style: italic;
}

/* CTA */
.cta {
  background: linear-gradient(120deg, var(--navy-deep), var(--steel));
  color: var(--white);
  text-align: center;
  padding: 70px 0;
}
.cta h2 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; }
.cta p { color: rgba(255,255,255,0.85); margin-bottom: 28px; }

/* Contact */
.contact { padding: 90px 0; }
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
}
.contact-list { margin-top: 20px; display: grid; gap: 12px; }
.contact-list li { color: var(--slate); }
.contact-list strong { color: var(--navy); }
.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 32px;
  display: grid;
  gap: 16px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1px solid #dfe3e0;
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
}
.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--amber);
}
.contact-form button { justify-self: start; }
.contact-form button:disabled { opacity: 0.6; cursor: not-allowed; }
.form-status { margin: 0; font-size: 0.9rem; font-weight: 600; }
.form-status.success { color: #1e9e4a; }
.form-status.error { color: #d1462f; }
.map-wrap { margin-top: 56px; }
.map-wrap iframe {
  display: block;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

/* Footer */
.footer { background: var(--navy-deep); color: rgba(255,255,255,0.75); padding: 32px 0; }
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer-brand { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; font-weight: 600; color: var(--white); }
.footer-copy { font-size: 0.8rem; }
.footer-contact { display: flex; gap: 20px; flex-wrap: wrap; font-size: 0.85rem; }
.footer-contact a:hover { color: var(--amber); }

/* WhatsApp floating button */
.whatsapp-fab {
  position: fixed;
  right: 22px;
  bottom: 22px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0,0,0,0.25);
  z-index: 200;
  transition: transform var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.08); }

/* Footer legal link */
.footer-copy a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.footer-copy a:hover { color: var(--amber); }

/* Legal pages */
.legal { padding: 60px 0 90px; }
.legal-content { max-width: 820px; }
.legal-content h2 { font-size: 1.2rem; margin: 28px 0 10px; color: var(--navy); }
.legal-content p { color: var(--slate); margin-bottom: 14px; line-height: 1.7; }
.legal-content a { color: var(--amber-deep); text-decoration: underline; }

/* Cookie banner */
.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  max-width: 720px;
  margin: 0 auto;
  background: var(--navy-deep);
  color: rgba(255,255,255,0.9);
  padding: 18px 20px;
  border-radius: var(--radius);
  box-shadow: 0 12px 40px rgba(0,0,0,0.3);
  display: flex;
  align-items: center;
  gap: 16px;
  z-index: 250;
  font-size: 0.88rem;
}
.cookie-banner[hidden] { display: none; }
.cookie-banner p { margin: 0; flex: 1; }
.cookie-banner a { color: var(--amber); text-decoration: underline; }
.cookie-banner button { flex-shrink: 0; padding: 10px 20px; font-size: 0.85rem; }
@media (max-width: 560px) {
  .cookie-banner { flex-direction: column; align-items: stretch; text-align: center; bottom: 90px; }
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 21, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 300;
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 88vw;
  max-height: 86vh;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: absolute;
  background: rgba(255,255,255,0.12);
  border: none;
  color: #fff;
  cursor: pointer;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition);
}
.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover { background: rgba(255,255,255,0.28); }
.lightbox-close { top: 20px; right: 20px; font-size: 1.8rem; }
.lightbox-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox-next { right: 20px; top: 50%; transform: translateY(-50%); }
.gallery-item { cursor: pointer; }

/* Responsive */
@media (max-width: 960px) {
  .nav { display: none; }
  .nav-toggle { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .about-inner, .contact-inner { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .references-grid { grid-template-columns: repeat(3, 1fr); }
  .projects-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .services-grid, .why-grid, .gallery-grid { grid-template-columns: 1fr; }
  .references-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .topbar-info { gap: 12px; flex-wrap: wrap; }
  .header-cta { display: none; }
}

/* Mobile nav open state */
.nav.open {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: var(--white);
  padding: 20px 24px;
  box-shadow: var(--shadow);
  gap: 16px;
}
