:root {
  --dark: #070b12;
  --dark-2: #0f172a;
  --card: #111827;
  --blue: #37bdf8;
  --blue-soft: rgba(55, 189, 248, 0.14);
  --white: #ffffff;
  --muted: #94a3b8;
  --text: #e5e7eb;
  --border: rgba(255,255,255,0.10);
  --shadow: 0 24px 80px rgba(0,0,0,0.35);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", Arial, Helvetica, sans-serif;
  background: var(--dark);
  color: var(--text);
  line-height: 1.7;
  letter-spacing: -0.01em;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea {
  font-family: inherit;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.section-padding {
  padding: 100px 0;
}

.site-header {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(7, 11, 18, 0.58);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  transition: 0.3s ease;
}

.site-header.scrolled {
  background: rgba(7, 11, 18, 0.92);
}

.nav-wrap {
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  height: 54px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 26px;
}

.main-nav a {
  font-size: 14px;
  color: #dbeafe;
  transition: 0.25s ease;
  font-weight: 600;
}

.main-nav a:hover {
  color: var(--blue);
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 12px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.mobile-toggle span {
  width: 20px;
  height: 2px;
  background: var(--white);
}

.hero {
  min-height: 100vh;
  position: relative;
  display: grid;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  transform: scale(1.04);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 70% 30%, rgba(55,189,248,0.22), transparent 32%),
    linear-gradient(90deg, rgba(7,11,18,0.95), rgba(7,11,18,0.70), rgba(7,11,18,0.45));
}

.hero-content {
  position: relative;
  z-index: 2;
  padding-top: 90px;
  max-width: 760px;
}

.eyebrow,
.section-label {
  display: inline-flex;
  color: var(--blue);
  background: var(--blue-soft);
  border: 1px solid rgba(55,189,248,0.28);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 12px;
  letter-spacing: 1.2px;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 {
  font-size: clamp(44px, 7vw, 86px);
  line-height: 1.02;
  letter-spacing: -2.8px;
  color: var(--white);
  margin-bottom: 24px;
  font-weight: 800;
}

.hero p {
  font-size: 19px;
  color: #dbeafe;
  max-width: 650px;
  margin-bottom: 36px;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 15px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: 0.25s ease;
}

.btn-primary {
  background: var(--blue);
  color: #03111b;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 34px rgba(55,189,248,0.25);
}

.btn-outline {
  border-color: rgba(255,255,255,0.35);
  color: var(--white);
  background: transparent;
}

.btn-outline:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.stats-section {
  margin-top: -70px;
  position: relative;
  z-index: 5;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 1060px;
  margin: 0 auto;
}

.stat-card {
  min-height: 112px;
  background: rgba(17,24,39,0.86);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 22px 18px;
  box-shadow: 0 18px 52px rgba(0,0,0,0.28);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-card strong {
  display: block;
  font-size: 30px;
  color: var(--white);
  line-height: 1;
  margin-bottom: 9px;
  font-weight: 800;
  letter-spacing: -0.04em;
}

.stat-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.about {
  background:
    radial-gradient(circle at 15% 20%, rgba(55,189,248,0.08), transparent 30%),
    var(--dark);
}

.about-grid,
.featured-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 54px;
  align-items: center;
}

.section-media img,
.featured-image img {
  width: 100%;
  height: 560px;
  object-fit: cover;
  border-radius: 34px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

.section-content h2,
.section-head h2,
.featured-content h2 {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.12;
  color: var(--white);
  margin-bottom: 20px;
  letter-spacing: -1.5px;
  font-weight: 800;
}

.section-content p,
.section-head p,
.featured-content p {
  color: var(--muted);
  margin-bottom: 18px;
}

.text-link {
  color: var(--blue);
  font-weight: 800;
}

.center {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 48px;
}

.services {
  background: var(--dark-2);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.service-card {
  background: rgba(17,24,39,0.78);
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 34px;
  transition: 0.25s ease;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(55,189,248,0.35);
}

.icon {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  background: var(--blue-soft);
  border-radius: 18px;
  font-size: 25px;
  margin-bottom: 22px;
}

.service-card h3 {
  color: var(--white);
  margin-bottom: 12px;
  font-size: 21px;
  font-weight: 800;
}

.service-card p {
  color: var(--muted);
}

.featured-project {
  background:
    linear-gradient(135deg, rgba(55,189,248,0.11), transparent 42%),
    var(--dark);
}

.featured-content {
  background: rgba(17,24,39,0.7);
  border: 1px solid var(--border);
  border-radius: 34px;
  padding: 42px;
}

.element-gallery {
  background:
    radial-gradient(circle at 80% 20%, rgba(55,189,248,0.10), transparent 32%),
    var(--dark);
}

.element-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.element-gallery-grid .gallery-item {
  height: 300px;
}

.projects {
  background: var(--dark-2);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.gallery-item {
  position: relative;
  border: 0;
  padding: 0;
  background: transparent;
  border-radius: 22px;
  overflow: hidden;
  cursor: pointer;
  height: 240px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.35s ease;
}

.gallery-item::after {
  content: "Büyüt";
  position: absolute;
  inset: auto 14px 14px 14px;
  background: rgba(7,11,18,0.78);
  color: var(--white);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  opacity: 0;
  transform: translateY(10px);
  transition: 0.25s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.hidden-gallery,
.hidden-element-gallery {
  display: none;
}

.hidden-gallery.show,
.hidden-element-gallery.show {
  display: block;
}

.gallery-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 34px;
}

.contact {
  background: var(--dark);
}

.contact-info {
  display: grid;
  gap: 18px;
}

.office-card,
.contact-form,
.map-card {
  background: rgba(17,24,39,0.78);
  border: 1px solid var(--border);
  border-radius: 26px;
  padding: 28px;
}

.office-card h3,
.map-card h3 {
  color: var(--white);
  margin-bottom: 10px;
  font-weight: 800;
}

.office-card p {
  color: var(--muted);
  margin-bottom: 12px;
}

.office-card a {
  display: table;
  color: var(--blue);
  font-weight: 800;
  margin-top: 6px;
}

.form-row {
  display: grid;
  gap: 7px;
  margin-bottom: 16px;
}

.form-row label {
  color: #dbeafe;
  font-size: 14px;
  font-weight: 700;
}

.form-row input,
.form-row textarea {
  width: 100%;
  background: rgba(7,11,18,0.75);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 15px;
  color: var(--white);
  outline: none;
  font-size: 15px;
}

.form-row input:focus,
.form-row textarea:focus {
  border-color: var(--blue);
}

.maps-grid {
  margin-top: 38px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
}

.map-card iframe {
  width: 100%;
  height: 360px;
  border: 0;
  border-radius: 20px;
  margin-top: 16px;
  filter: grayscale(20%) invert(90%) contrast(90%);
}

.footer {
  background: #030712;
  border-top: 1px solid var(--border);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 34px;
}

.footer-logo {
  height: 58px;
  width: auto;
  margin-bottom: 16px;
}

.footer h4 {
  color: var(--white);
  margin-bottom: 12px;
  font-weight: 800;
}

.footer p {
  color: var(--muted);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  margin-top: 42px;
  padding: 18px;
  text-align: center;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.88);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 30px;
}

.lightbox.active {
  display: flex;
}

.lightbox img {
  max-width: min(1100px, 94vw);
  max-height: 86vh;
  border-radius: 22px;
  box-shadow: var(--shadow);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 28px;
  width: 46px;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  color: var(--white);
  font-size: 30px;
  cursor: pointer;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 70;
  width: 56px;
  height: 56px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 16px 32px rgba(0,0,0,0.3);
  transition: 0.25s ease;
}

.whatsapp-float svg {
  width: 31px;
  height: 31px;
  fill: currentColor;
}

.whatsapp-float:hover {
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 20px 38px rgba(0,0,0,0.38);
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: 0.65s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 980px) {
  .mobile-toggle {
    display: flex;
  }

  .main-nav {
    position: fixed;
    top: 84px;
    left: 4%;
    right: 4%;
    background: rgba(7,11,18,0.96);
    border: 1px solid var(--border);
    border-radius: 22px;
    padding: 20px;
    display: none;
    flex-direction: column;
    align-items: flex-start;
  }

  .main-nav.active {
    display: flex;
  }

  .stats-grid {
    max-width: 520px;
    gap: 14px;
  }

  .stat-card {
    min-height: 100px;
    padding: 20px 16px;
  }

  .stat-card strong {
    font-size: 28px;
  }

  .stats-grid,
  .services-grid,
  .gallery-grid,
  .maps-grid,
  .footer-grid,
  .about-grid,
  .featured-grid,
  .contact-grid,
  .element-gallery-grid {
    grid-template-columns: 1fr;
  }

  .stats-section {
    margin-top: 0;
    padding: 40px 0;
  }

  .section-media img,
  .featured-image img {
    height: 380px;
  }

  .gallery-item,
  .element-gallery-grid .gallery-item {
    height: 260px;
  }
}

@media (max-width: 560px) {
  .nav-wrap {
    height: 74px;
  }

  .brand img {
    height: 44px;
  }

  .main-nav {
    top: 74px;
  }

  .hero h1 {
    font-size: 42px;
    letter-spacing: -1.6px;
  }

  .hero p {
    font-size: 16px;
  }

  .section-padding {
    padding: 72px 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stat-card {
    min-height: 96px;
    border-radius: 18px;
  }

  .stat-card strong {
    font-size: 25px;
  }

  .stat-card span {
    font-size: 12px;
  }

  .stat-card,
  .service-card,
  .featured-content,
  .office-card,
  .contact-form,
  .map-card {
    padding: 22px;
  }

  .whatsapp-float {
    width: 50px;
    height: 50px;
    right: 16px;
    bottom: 16px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }
}