/* ===============================
   GENEL
=============================== */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700&display=swap');
html{
  max-width: 100%;
  overflow-x: hidden;
}

body {
  font-family: 'Outfit', sans-serif;
  font-size: 1.05rem;
  color: #222;
  background-color: #fff;
  scroll-behavior: smooth;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

/* ===============================
   RENK PALETİ
=============================== */
:root {
  --turuncu: #f7941d;
  --turuncu-hover: #e4810d;
  --siyah: #000000;
  --beyaz: #ffffff;
}

/* ===============================
   NAVBAR
=============================== */
header {
  z-index: 9999;
}

.navbar-nav .nav-link {
  position: relative;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  height: 2px;
  width: 100%;
  background-color: var(--turuncu);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.hero-section {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.5) 30%, transparent 80%);
}

.hero-bg-video {
  position: absolute;
  width: 100%;
  height: 100%;
  object-fit: cover;
  top: 0;
  left: 0;
  z-index: 0;
}

.hero-content {
  padding-top: 100px;
  padding-bottom: 100px;
}

.hero-content h1,
.hero-content p {
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
}

/* ===============================
   BUTONLAR
=============================== */
.btn-warning {
  background-color: var(--turuncu);
  border: none;
  color: #fff;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.btn-warning:hover {
  background-color: var(--turuncu-hover);
}

/* ===============================
   KARTLAR & HOVER EFEKTLERİ
=============================== */
.icon-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-radius: 1rem;
}

.icon-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.1);
}

.hover-zoom {
  transition: transform 0.4s ease;
}

.hover-zoom:hover {
  transform: scale(1.03);
}

.service-box {
  background-size: cover;
  background-position: center;
  min-height: 300px;
  position: relative;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.service-box:hover {
  transform: scale(1.02);
}

.service-box .overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  transition: background 0.3s ease;
}

.service-box .content {
  position: relative;
  z-index: 2;
  color: var(--beyaz);
  padding: 1.5rem;
}

/* ===============================
   ERP HERO ÖZEL
=============================== */
.erp-hero {
  background: url('ag-cozumleri.jpg') center center / cover no-repeat;
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
}

.hero-section {
  position: relative;
  height: 60vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
}

/* ===============================
   PARTNERLER
=============================== */
.partner-card {
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(10px);
  border-radius: 1rem;
  border: 1px solid rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.06);
}

.partner-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.partner-logo {
  max-height: 70px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* ===============================
   HARİTA (iletişim)
=============================== */
.map-iframe {
  width: 100%;
  height: 350px;
  border: none;
  border-radius: 8px;
}

/* ===============================
   FOOTER
=============================== */
footer {
  background-color: var(--siyah);
  color: var(--beyaz);
  padding: 2rem 0;
  text-align: center;
  font-weight: 500;
}

/* ===============================
   RESPONSIVE
=============================== */
@media (max-width: 992px) {
  .navbar-nav {
    flex-direction: column;
    gap: 0.5rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 50vh;
    text-align: center;
    padding: 2rem 1rem;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .hero-content p {
    font-size: 1rem;
  }

  .partner-logo {
    max-height: 50px;
  }

  .service-box .content {
    padding: 1rem;
  }

  footer .row > div {
    text-align: center;
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 576px) {
  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.95rem;
  }

  .btn-warning {
    font-size: 0.95rem;
    padding: 0.5rem 1rem;
  }

  .partner-card {
    padding: 0.75rem;
  }

  .partner-logo {
    max-height: 40px;
  }

  .map-iframe {
    height: 250px;
  }
}
