:root {
  --bg: #f6fbff;
  --bg-alt: #ffffff;
  --text: #0f2430;
  --muted: #5a6c76;
  --primary: #0f6aa6;
  --secondary: #1184c6;
  --accent: #7fd0ff;
  --white: #ffffff;
  --cool: #0f3d59;
  --cool-light: #cfeeff;
}
* {
  box-sizing: border-box;
}
html,
body {
  margin: 0;
  padding: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial,
    sans-serif;
  background: var(--bg);
  color: var(--text);
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}
.btn {
  display: inline-block;
  padding: 0.8rem 1.1rem;
  border-radius: 14px;
  border: 1px solid transparent;
  transition: 0.2s;
  cursor: pointer;
}
.btn.primary {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}
.btn.primary:hover {
  filter: brightness(0.95);
}
.btn.ghost {
  border-color: var(--primary);
  color: var(--primary);
  background: transparent;
}
.btn.ghost:hover {
  background: rgba(17, 132, 198, 0.08);
}
.btn.whats {
  background: #25d366;
  color: #04210d;
  font-weight: 700;
}
.btn.call {
  border-color: var(--secondary);
  color: var(--secondary);
  margin-left: 0.5rem;
}
.btn.call:hover {
  background: rgba(17, 132, 198, 0.08);
}

.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  z-index: 50;
  border-bottom: 1px solid rgba(17, 132, 198, 0.15);
}
.nav-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 0;
  min-height: 60px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-weight: 700;
  flex-shrink: 0;
}
.brand-logo {
  height: 45px;
  width: auto;
  display: block;
}
.brand-text {
  font-size: 1.5rem;
  line-height: 1;
  color: var(--text);
}
@media (max-width: 480px) {
  .brand-text {
    font-size: 1.2rem;
  }
  .brand-logo {
    height: 38px;
  }
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-logo {
  height: 50px;
  width: auto;
  display: block;
}
.footer-text {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1;
  color: var(--text);
}
@media (max-width: 980px) {
  .brand-logo {
    height: 38px;
  }
  .footer-logo {
    height: 44px;
  }
}

.nav {
  margin-left: auto;
  display: flex;
  gap: 1rem;
}
.nav > a,
.nav-item {
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  color: #4e6a79;
  position: relative;
}
.nav > a:hover,
.nav-item:hover {
  background: rgba(17, 132, 198, 0.08);
  color: var(--text);
}

/* Dropdown Menu Styles */
.nav-item {
  position: relative;
  cursor: pointer;
}
.nav-item > span {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}
.dropdown-arrow {
  font-size: 0.7rem;
  transition: transform 0.3s;
}
.nav-item:hover .dropdown-arrow {
  transform: rotate(180deg);
}
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 106, 166, 0.15);
  min-width: 220px;
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 100;
  border: 1px solid rgba(17, 132, 198, 0.1);
}
.nav-item:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.dropdown-menu a {
  display: block;
  padding: 0.7rem 1rem;
  color: #4e6a79;
  transition: all 0.2s;
  font-size: 0.95rem;
}
.dropdown-menu a:hover {
  background: rgba(17, 132, 198, 0.08);
  color: var(--text);
  padding-left: 1.3rem;
}

.cta-group {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}
.mobile-cta-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(17, 132, 198, 0.15);
}
@media (max-width: 768px) {
  .cta-group {
    gap: 0.3rem;
    margin-left: auto;
  }
  .cta-group .btn {
    padding: 0.6rem 0.8rem;
    font-size: 0.85rem;
  }
}
@media (max-width: 480px) {
  .cta-group .btn {
    padding: 0.5rem 0.6rem;
    font-size: 0.8rem;
  }
}
.nav-toggle {
  display: none;
  margin-left: auto;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.5rem;
  cursor: pointer;
}

.hero-slider-wrap {
  --heroMinH: 78vh;
  background: radial-gradient(
      1200px 600px at 50% 10%,
      rgba(17, 132, 198, 0.1),
      rgba(255, 255, 255, 0)
    ),
    linear-gradient(var(--bg-alt), var(--bg));
}
.hero-swiper {
  width: 100%;
  height: var(--heroMinH);
}
.hero-swiper .swiper-slide {
  display: flex;
  align-items: center;
  justify-content: center;
}
.slide-inner {
  width: min(1250px, 92vw);
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 40px;
  align-items: center;
  padding: clamp(24px, 4vw, 48px) 0;
}
.slide-text .kicker {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  opacity: 0.8;
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--accent);
}
.slide-text h1 {
  line-height: 0.98;
  font-size: clamp(40px, 6vw, 74px);
  margin: 0 0 1rem;
  color: var(--text);
}
.slide-text .lead {
  font-size: clamp(14px, 1.5vw, 18px);
  max-width: 46ch;
  opacity: 0.9;
  margin-bottom: 1.25rem;
}
.slide-img {
  display: flex;
  justify-content: center;
}
.slide-img img {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(15, 106, 166, 0.2);
  max-width: 100%;
  height: auto;
}
@media (max-width: 900px) {
  .slide-inner {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .slide-text h1 {
    margin-inline: auto;
  }
  .slide-text .lead {
    margin-inline: auto;
  }
  .slide-img img {
    max-width: 95%;
    margin: 0 auto;
  }
}

.swiper-button-next,
.swiper-button-prev {
  color: var(--primary) !important;
}
.swiper-pagination-bullet-active {
  background: var(--primary) !important;
}

section {
  padding: clamp(2.5rem, 6vw, 4rem) 0;
}
.section-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.section-header h2 {
  font-size: clamp(32px, 4.5vw, 46px);
  margin: 0 0 0.75rem;
  color: var(--text);
}
.section-header p {
  max-width: 60ch;
  margin: 0 auto;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 17px);
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease-out;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

/* Hizmetler */
.services-swiper {
  padding-bottom: 60px;
}
.service-card {
  background: var(--bg-alt);
  border-radius: 18px;
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 2px 14px rgba(15, 106, 166, 0.08);
  transition: 0.3s;
  border: 1px solid rgba(17, 132, 198, 0.1);
}
.service-card:hover {
  box-shadow: 0 6px 28px rgba(15, 106, 166, 0.15);
  transform: translateY(-6px);
}
.service-icon {
  font-size: 3.2rem;
  margin-bottom: 1rem;
  display: block;
}
.service-card h3 {
  margin: 0.5rem 0;
  color: var(--text);
  font-size: 1.35rem;
}
.service-card p {
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.5;
}

/* Hakkımızda */
#hakkimizda {
  background: linear-gradient(var(--bg-alt), var(--cool-light));
}
.about-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
}
.about-text p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: var(--muted);
}
.about-img img {
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(15, 106, 166, 0.2);
}
@media (max-width: 900px) {
  .about-content {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Neden Biz */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 1.5rem;
}
.why-card {
  background: var(--bg-alt);
  border-radius: 16px;
  padding: 1.8rem 1.5rem;
  border: 1px solid rgba(17, 132, 198, 0.1);
  transition: 0.3s;
}
.why-card:hover {
  box-shadow: 0 4px 20px rgba(15, 106, 166, 0.12);
}
.why-card h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.why-card h4 span {
  font-size: 1.6rem;
}
.why-card p {
  color: var(--muted);
  line-height: 1.6;
  font-size: 0.95rem;
}

/* Çalışma Alanları */
.districts-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}
.district-item {
  background: var(--bg-alt);
  padding: 1.2rem;
  border-radius: 12px;
  text-align: center;
  border: 1px solid rgba(17, 132, 198, 0.1);
  font-weight: 600;
  transition: 0.3s;
}
.district-item:hover {
  background: var(--cool-light);
  transform: translateY(-3px);
}

/* Yapılan İşler */
.works-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
}
.work-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 106, 166, 0.12);
  cursor: pointer;
  transition: 0.3s;
}
.work-item:hover {
  box-shadow: 0 8px 28px rgba(15, 106, 166, 0.2);
  transform: translateY(-6px);
}
.work-item img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}
.work-item-content {
  padding: 1.2rem 1rem;
  background: var(--bg-alt);
}
.work-item-content h3 {
  margin: 0 0 0.4rem;
  font-size: 1.1rem;
  color: var(--text);
}
.work-item-content p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

/* İletişim */
#iletisim {
  background: linear-gradient(var(--bg), var(--cool-light));
}
.contact-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.contact-item {
  background: var(--bg-alt);
  padding: 1.5rem;
  border-radius: 14px;
  border: 1px solid rgba(17, 132, 198, 0.1);
}
.contact-item h4 {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0 0 0.5rem;
  color: var(--text);
}
.contact-item h4 span {
  font-size: 1.5rem;
}
.contact-item a {
  color: var(--primary);
  font-weight: 600;
}
.contact-item a:hover {
  text-decoration: underline;
}
.map-wrap {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 106, 166, 0.12);
}
.map-wrap iframe {
  width: 100%;
  height: 100%;
  min-height: 400px;
  border: none;
}
@media (max-width: 900px) {
  .contact-wrap {
    grid-template-columns: 1fr;
  }
}

/* Footer */
.site-footer {
  background: var(--cool);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 2rem;
}
.footer-brand {
  color: var(--white);
}
.footer-text {
  color: var(--white);
}
.footer-section h4 {
  color: var(--white);
  margin: 0 0 1rem;
  font-size: 1.1rem;
}
.footer-nav {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-nav a {
  color: rgba(255, 255, 255, 0.8);
  transition: 0.2s;
  font-size: 0.95rem;
}
.footer-nav a:hover {
  color: var(--white);
  padding-left: 0.3rem;
}
.footer-keywords {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-keywords p {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  margin: 0;
  line-height: 1.6;
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 1.5rem;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}
@media (max-width: 900px) {
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }
  .footer-nav {
    align-items: center;
  }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 50%;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: 0.3s;
  z-index: 40;
  box-shadow: 0 4px 12px rgba(15, 106, 166, 0.3);
}
.back-to-top.show {
  opacity: 1;
  pointer-events: all;
}
.back-to-top:hover {
  background: var(--secondary);
  transform: translateY(-4px);
}

/* Lightbox */
.lb {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.lb.open {
  display: flex;
}
.lb__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 2.5rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 10;
  line-height: 1;
  transition: 0.2s;
}
.lb__close:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lb__stage {
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}
.lb__img {
  max-width: 100%;
  max-height: 75vh;
  object-fit: contain;
  border-radius: 8px;
}
.lb__caption {
  color: #fff;
  text-align: center;
}
.lb__title {
  margin: 0 0 0.3rem;
  font-size: 1.3rem;
}
.lb__desc {
  margin: 0;
  opacity: 0.85;
}
.lb__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: #fff;
  font-size: 3rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: 0.2s;
}
.lb__nav:hover {
  background: rgba(255, 255, 255, 0.25);
}
.lb__prev {
  left: 1rem;
}
.lb__next {
  right: 1rem;
}

/* Mobil Nav */
@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  .nav {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    padding: 1rem;
    gap: 0.5rem;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(15, 106, 166, 0.12);
  }
  .nav.open {
    max-height: 600px;
    opacity: 1;
  }
  .nav-item .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s;
    padding: 0;
    margin-top: 0.5rem;
  }
  .nav-item.mobile-open .dropdown-menu {
    max-height: 500px;
    padding: 0.5rem 0;
  }
  .cta-group {
    display: none;
  }
  body.nav-open {
    overflow: hidden;
  }
}

/* Özel Servis Markaları */
.brands-section {
  padding: 4rem 0;
  background: var(--bg-alt);
}
.brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 2rem;
  max-width: 1000px;
  margin: 0 auto;
}
@media (max-width: 768px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
  }
}
@media (max-width: 480px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
  }
}
.brand-item {
  background: var(--bg);
  border-radius: 16px;
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(17, 132, 198, 0.06);
  min-height: 100px;
}
.brand-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(17, 132, 198, 0.12);
}
.brand-item img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(20%);
  transition: filter 0.3s ease;
}
.brand-item:hover img {
  filter: grayscale(0%);
}
