:root {
  --bg: #050505;
  --fg: #eaf0ff;
  --muted: rgba(234, 240, 255, 0.7);
  --line: rgba(255, 255, 255, 0.1);
  --hover: rgba(234, 240, 255, 0.08);
  --focus: #3b82f6;
  --primary: #3b82f6;
  --accent: #f59e0b;
  --radius: 14px;
  --h: 72px;
  --pad: 16px;
  --max: 1200px;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  --nav-y: 6px; /* bunu artır: 8px, 10px... */
}

* {
  box-sizing: border-box;
}

/* html {
  height: 100%;
} */

h1,
h2,
h3,
h4,
h5,
h6,
.brand-text strong,
.nav-link,
.btn {
  font-family: "Outfit", system-ui, sans-serif;
}

body {
  margin: 0;
  font-family:
    "Inter",
    system-ui,
    -apple-system,
    sans-serif;
  background-color: var(--bg);
  /* background: radial-gradient(1200px 600px at 20% 0%, rgba(100, 150, 255, .18), transparent 60%),
        radial-gradient(900px 500px at 80% 0%, rgba(255, 120, 200, .12), transparent 55%),
        var(--bg); */
  color: var(--fg);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
}

/* Navbar shell */
.nav-wrap {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  background: rgba(5, 5, 5, 0.75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.nav {
  height: var(--h);
  width: 100%;
  display: flex;
  align-items: center;
}

/* Constrain content but keep background full width */
.nav-inner {
  width: min(var(--max), 100%);
  margin-inline: auto;
  padding-inline: var(--pad);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(12px, 4vw, 64px);
}

.nav-group {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

/* Hide mobile spacer on desktop */
.mobile-spacer {
  display: none;
}

a.nav-link {
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 15px;
  padding: 8px 16px;
  border-radius: 999px; /* Pill shape */
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

a.nav-link::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(139, 92, 246, 0.15), rgba(59, 130, 246, 0.15));
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

a.nav-link:hover {
  color: #fff;
  transform: translateY(-2px);
}

a.nav-link:hover::before {
  opacity: 1;
}

a.nav-link:focus-visible {
  box-shadow: 0 0 0 2px var(--focus);
  color: #fff;
}

/* Center logo */
.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
  color: #ffffff;
  padding: 6px 14px;
  border-radius: 999px;
  transition: all 0.3s ease;
  outline: none;
  position: relative;
}

.brand::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: -1;
}

.brand:hover {
  transform: scale(1.02);
}

.brand:hover::before {
  opacity: 1;
}

.brand:focus-visible {
  box-shadow: 0 0 0 2px var(--focus);
}

.logo {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: transparent;
  flex: 0 0 auto;
  transition: transform 0.3s ease;
}

.brand:hover .logo {
    transform: rotate(-5deg) scale(1.05);
}

.logo img, .logo svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  text-align: left;
}

.brand-text strong {
  font-size: 16px;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, #ffffff, #eaf0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text span {
  font-size: 12px;
  color: #8b9bb4;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Mobile toggle button */
.menu-btn {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  height: 48px;
  width: 48px;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  outline: none;
}

.menu-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
  border-color: rgba(255, 255, 255, 0.2);
}

.menu-btn:focus-visible {
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.5);
}

.menu-icon {
  width: 22px;
  height: 22px;
  display: inline-block;
  transition: transform 0.3s ease;
}

.menu-btn[aria-expanded="true"] .menu-icon {
    transform: rotate(90deg);
}

/* Mobile panel */
.mobile-panel {
  display: none;
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  padding: 10px var(--pad);
  z-index: 40;
}

.mobile-panel:not([hidden]) {
  animation: slideDown 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-20px) scale(0.98);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.mobile-card {
  background: rgba(15, 15, 15, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6);
  overflow: hidden;
  padding: 10px;
}

.mobile-links {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.mobile-links a {
  padding: 16px 20px;
  border-radius: 14px;
  text-align: left;
  font-weight: 500;
  font-size: 16px;
  color: #c3d2ec;
  text-decoration: none;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.mobile-links a::after {
    content: "\f054"; /* FontAwesome Angle Right */
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    font-size: 12px;
    opacity: 0.5;
    transition: transform 0.2s ease, opacity 0.2s ease;
}

.mobile-links a:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  padding-left: 25px;
}

.mobile-links a:hover::after {
    opacity: 1;
    transform: translateX(4px);
}

/* Responsive: hide left/right groups, show hamburger */
@media (max-width: 860px) {
  .nav-inner {
    display: grid;
    grid-template-columns: 48px auto 48px;
    gap: 8px;
    justify-content: stretch;
    /* left: button, center: logo, right: spacer */
  }

  .nav-group {
    display: none;
  }

  .mobile-spacer {
    display: block;
  }

  .menu-btn {
    display: inline-flex;
  }

  .mobile-panel {
    display: block;
  }

  .mobile-panel[hidden] {
    display: none;
  }
}

@media (max-width: 480px) {
  .brand-text span {
    display: none; /* Telefondan girerken marka alt yazısını gizleyip yer kazanalım */
  }
  .brand-text strong {
    font-size: 15px;
  }
  .nav-inner {
    padding-inline: 12px;
  }
}

/* Demo content */
.page {
  width: min(var(--max), 100%);
  margin: 0 auto;
  padding: 28px var(--pad);
}

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  padding: 18px;
}

.card p {
  color: var(--muted);
  margin: 10px 0 0;
}

/* Navbar içeriğini dikeyde kesin ortala */
.nav {
  height: var(--h);
  display: flex;
  align-items: center;
}

/* Grid’in de navbar yüksekliğini kullanmasını sağla */
.nav-inner {
  height: var(--h);
  align-items: center;
}

/* Sol/sağ gruplar ve logo da dikey ortada kalsın */
.nav-group,
.brand {
  align-items: center;
  align-self: center;
  transform: translateY(var(--nav-y));
}

/* Linkler bazen “line-height” yüzünden yukarı kayar, bunu sabitle */
a.nav-link {
  line-height: 1;
  display: inline-flex;
  align-items: center;
}

/* SLİDER */

.hero-slider {
  width: 100%;
  max-width: 1200px;
  margin: 24px auto;
  aspect-ratio: 16 / 7;
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  display: flex;
  align-items: center;
}

.hs-layer {
  position: absolute;
  inset: 0;
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  transform: scale(1.02);
}

.hs-top {
  opacity: 0;
  transition: opacity 550ms ease;
  will-change: opacity;
}

.hero-slider::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(
    to right,
    rgba(11, 18, 32, 0.9) 0%,
    rgba(11, 18, 32, 0.4) 60%,
    transparent 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  padding: 0 60px;
  width: 100%;
  max-width: 800px;
}

.hero-title {
  font-size: clamp(24px, 5vw, 56px);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 20px;
  background: linear-gradient(90deg, #ffffff, #eaf0ff);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.hero-description {
  font-size: clamp(14px, 2.5vw, 20px);
  color: #c3d2ec;
  margin-bottom: 34px;
  line-height: 1.6;
  max-width: 600px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn {
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border: none;
  outline: none;
}

.btn-primary {
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #22d3ee);
  color: #fff;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.4);
}

.btn-primary:hover {
  background: #2563eb;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(59, 130, 246, 0.6);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  border: 1px solid var(--line);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-2px);
}

@media (max-width: 768px) {
  .hero-slider {
    aspect-ratio: 4 / 3;
    margin: 16px auto;
    width: calc(100% - 32px);
  }
  .hero-slider::after {
    background: linear-gradient(
      to top,
      rgba(11, 18, 32, 0.95) 0%,
      rgba(11, 18, 32, 0.3) 100%
    );
  }
  .hero-content {
    text-align: center;
    padding: 0 48px 30px; /* Artırılmış yan boşluklar (okların altına girmesin diye) */
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
  }
  .hero-actions {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }
  .hero-actions .btn {
    width: 100%;
  }
}

.hs-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(0, 0, 0, 0.35);
  color: #fff;
  display: grid;
  place-items: center;
  cursor: pointer;
  z-index: 5;
  backdrop-filter: blur(8px);
  transition:
    background 0.18s ease,
    transform 0.18s ease;
}

.hs-btn:hover {
  background: rgba(0, 0, 0, 0.55);
  transform: translateY(-50%) scale(1.04);
}

.hs-btn svg {
  width: 22px;
  height: 22px;
}

.hs-prev {
  left: 18px;
}
.hs-next {
  right: 18px;
}

/* Mobilde biraz küçült */
@media (max-width: 600px) {
  .hs-btn {
    width: 44px;
    height: 44px;
  }
  .hs-prev {
    left: 12px;
  }
  .hs-next {
    right: 12px;
  }
}

/* BİLGİLENDİRME DİV */

.process {
  background: transparent;
  padding: 100px 20px;
  text-align: center;
}

.badge {
  display: inline-block;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #22d3ee);
  color: #000;
  padding: 6px 18px;
  border-radius: 20px;
  font-size: 15px;
  font-weight: bold;
  margin-bottom: 20px;
}

/* M harfi (altın) gradyanı */
.title-gradient {
  font-size: clamp(28px, 5vw, 44px);
  font-weight: 800;
  margin-bottom: 60px;
  background: linear-gradient(90deg, #f7e6b2, #e5c97c, #cfa24a);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Z harfi (mor-mavi) gradyanı */
.step-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 40px;
  max-width: 1100px;
  margin: auto;
}

.step {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 30px 24px;
  backdrop-filter: blur(10px);
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    background 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}

.step::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.step:hover {
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.step:hover::before {
  opacity: 1;
}

.step p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.7;
}

.icon img[src*="icon-contact"] {
  filter: drop-shadow(0 0 8px rgba(207, 162, 74, 0.35));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Kart hover olunca teklif ikonu biraz öne çıksın */
.step:hover .icon img[src*="icon-contact"] {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(207, 162, 74, 0.6));
}

.icon img[src*="icon-discovery"] {
  filter: drop-shadow(0 0 8px rgba(207, 162, 74, 0.35));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Kart hover olunca teklif ikonu biraz öne çıksın */
.step:hover .icon img[src*="icon-discovery"] {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(207, 162, 74, 0.6));
}

.icon img[src*="icon-offer"] {
  filter: drop-shadow(0 0 8px rgba(207, 162, 74, 0.35));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Kart hover olunca teklif ikonu biraz öne çıksın */
.step:hover .icon img[src*="icon-offer"] {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(207, 162, 74, 0.6));
}

.icon img[src*="icon-service"] {
  filter: drop-shadow(0 0 8px rgba(207, 162, 74, 0.35));
  transition:
    transform 0.3s ease,
    filter 0.3s ease;
}

/* Kart hover olunca teklif ikonu biraz öne çıksın */
.step:hover .icon img[src*="icon-service"] {
  transform: scale(1.08);
  filter: drop-shadow(0 0 14px rgba(207, 162, 74, 0.6));
}

/* FOOTER */

.footer {
  background: rgba(255, 255, 255, 0.02);
  border-top: 1px solid var(--line);
  color: #bfbfbf;
  margin-top: 60px;
}

.footer-container {
  display: flex;
  max-width: 1200px;
  margin: auto;
  padding: 50px 20px;
  gap: 40px;
}

.footer-left,
.footer-right {
  flex: 1;
}

/* GOOGLE MAPS */
.footer-left iframe {
  width: 100%;
  height: 280px;
  border-radius: 12px;
  border: none;
}

/* SAĞ TARAF */
.footer-right {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-right h3 {
  color: #fff;
  margin-bottom: 15px;
  font-size: 18px;
}

.footer-menu ul {
  list-style: none;
  padding: 0;
}

.footer-menu ul li {
  margin-bottom: 10px;
}

.footer-menu ul li a {
  color: #bfbfbf;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-menu ul li a:hover {
  background: linear-gradient(90deg, #f7e6b2, #e5c97c, #cfa24a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* SOSYAL MEDYA */
.social-icons {
  display: flex;
  flex-direction: column; /* ALT ALTA */
  gap: 15px;
}

.social-icons a i {
  font-size: 22px !important;
}

.social-icons a {
  text-decoration: none;
  color: #bfbfbf;
  font-size: 15px;
  transition: color 0.3s;
}

.social-icons a:hover {
  text-decoration: none;
  color: #1e90ff;
  background: linear-gradient(90deg, #8b5cf6, #3b82f6, #22d3ee);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.social-icons a:active {
  text-decoration: none;
}

/* ALT KISIM */
.footer-bottom {
  border-top: 1px solid #222;
  text-align: center;
  padding: 15px;
  font-size: 14px;
  color: #777;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .footer-container {
    flex-direction: column;
  }

  .footer-right {
    flex-direction: column;
  }
}
