/* ==========================================
   MODERN ACİL KEPENK - CSS
   Özgün, Modern ve Profesyonel Tasarım
   ========================================== */

/* === ROOT VARIABLES === */
:root {
  --transition-base: 0.3s ease;
  --primary: #2d5bff;
  --primary-dark: #1a42d1;
  --gray-100: #f3f4f6;
  --white: #ffffff;
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1);

  /* Primary Colors - Özgün Mavi Paleti */
  --primary: #2d5bff;
  --primary-dark: #1a3fcc;
  --primary-light: #5b7cff;
  --primary-gradient: linear-gradient(135deg, #2d5bff 0%, #1a3fcc 100%);

  /* Neutral Colors */
  --dark: #0f1419;
  --dark-alt: #1a2332;
  --gray-900: #1e293b;
  --gray-800: #334155;
  --gray-700: #475569;
  --gray-600: #64748b;
  --gray-500: #94a3b8;
  --gray-400: #cbd5e1;
  --gray-300: #e2e8f0;
  --gray-200: #f1f5f9;
  --gray-100: #f8fafc;
  --white: #ffffff;

  /* Semantic Colors */
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;

  /* Typography */
  --font-primary: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
  --font-heading: "Poppins", "Inter", sans-serif;

  /* Spacing */
  --section-padding: 100px;
  --container-padding: 24px;

  /* Shadows */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 12px 32px rgba(0, 0, 0, 0.12);
  --shadow-xl: 0 20px 48px rgba(0, 0, 0, 0.15);

  /* Transitions */
  --transition-fast: 0.2s ease;
  --transition-base: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border Radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
}

/* === RESET & BASE === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-primary);
  color: var(--gray-900);
  line-height: 1.7;
  font-size: 16px;
  overflow-x: hidden;
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition-base);
}

ul {
  list-style: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

/* === CONTAINER === */
.container {
  max-width: 1250px;
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* === SECTION STYLES === */
.section-label {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 16px;
  position: relative;
  padding-left: 48px;
}

.section-label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 36px;
  height: 2px;
  background: var(--primary);
}

.section-title {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--dark);
  margin-bottom: 24px;
  letter-spacing: -0.5px;
}

.section-description {
  font-size: 17px;
  line-height: 1.8;
  color: var(--gray-700);
  margin-bottom: 20px;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

/* === BUTTONS (GENEL) === */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  font-size: 15px;
  font-weight: 600;
  border-radius: var(--radius-md);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(-100%);
  transition: transform var(--transition-base);
  z-index: -1;
}

.btn:hover::before {
  transform: translateX(0);
}

.btn-primary {
  background: var(--primary-gradient);
  color: var(--white);
  box-shadow: 0 4px 16px rgba(45, 91, 255, 0.3);
}

.btn-primary:hover {
  box-shadow: 0 8px 24px rgba(45, 91, 255, 0.4);
  transform: translateY(-2px);
}

.btn-secondary {
  background: var(--white);
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-secondary:hover {
  background: var(--primary);
  color: var(--white);
}

.btn-block {
  width: 100%;
  justify-content: center;
}

.btn-loading .btn-text {
  display: inline-flex;
}

.btn-loading .btn-loading {
  display: none;
}

.btn.loading .btn-text {
  display: none;
}

.btn.loading .btn-loading {
  display: inline-flex;
}

/* Spinner Animation */
.spinner {
  animation: rotate 1s linear infinite;
}

.spinner .path {
  stroke: currentColor;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

/* === WHATSAPP FLOAT === */
.whatsapp-float {
  position: fixed;
  left: 24px;
  bottom: 24px;
  width: 60px;
  height: 60px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  z-index: 1000;
  transition: all var(--transition-base);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}

.whatsapp-pulse {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.3;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 0.3;
  }
  50% {
    transform: scale(1.3);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 0;
  }
}

/* --- MODAL POPUP STYLES --- */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.75); /* Koyu arka plan */
  z-index: 2000; /* En üstte durması için */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease-in-out;
  padding: 15px; /* Mobilde kenar boşluğu */
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  background: #fff;
  width: 100%;
  max-width: 550px;
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}

.modal-overlay.active .modal-container {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 15px;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.modal-close:hover {
  background: rgba(0, 0, 0, 0.9);
}

.modal-header {
  height: 350px;
  overflow: hidden;
}

.modal-header img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.modal-body {
  padding: 30px;
}

.modal-body h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 10px;
  font-family: "Poppins", sans-serif;
}

.modal-body p {
  color: #4b5563;
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.modal-extra-details {
  font-size: 0.95rem;
  color: #374151;
  margin-bottom: 30px;
  padding-top: 15px;
  border-top: 1px solid #e5e7eb;
  line-height: 1.7;
}

.modal-actions {
  display: flex;
  gap: 15px;
}

/* --- DÜZELTME: Bu butonlar sadece modal içinde geçerli olsun --- */
.modal-actions .btn-primary,
.modal-actions .btn-secondary {
  flex: 1;
  text-align: center;
  padding: 14px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-actions .btn-primary {
  background: #2d5bff;
  color: #fff;
}
.modal-actions .btn-primary:hover {
  background: #1a3fcc;
  box-shadow: 0 4px 6px -1px rgba(45, 91, 255, 0.3);
}

.modal-actions .btn-secondary {
  background: #f3f4f6;
  color: #1f2937;
  border: 1px solid #e5e7eb;
}
.modal-actions .btn-secondary:hover {
  background: #e5e7eb;
}

/* Service Link Buton Stili (Kart İçindeki) */
.service-overlay button.service-link {
  background-color: #fff;
  color: #2d5bff;
  border: none;
  padding: 12px 24px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.2s;
}
.service-overlay button.service-link:hover {
  transform: scale(1.05);
}

/* === HEADER === */
.header {
  position: relative; /* Veya sticky / fixed */
  top: 0;
  background: var(--gray-100);
  box-shadow: var(--shadow-md) !important;
  z-index: 999;
  transition: all var(--transition-base);
}

.header-top {
  background: var(--gray-900);
  color: var(--white);
  font-size: 14px;
  padding: 12px 0;
}

.header-top-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-info {
  display: flex;
  gap: 32px;
}

.info-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--gray-400);
}

.info-item svg {
  color: var(--primary);
}

.phone-link {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--primary);
  padding: 8px 20px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: var(--transition-base);
}

.phone-link:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

/* === NAVBAR === */
.navbar {
  padding: 20px 0;
  z-index: 999;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-icon {
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}

.logo-subtitle {
  font-size: 12px;
  color: var(--gray-600);
  font-weight: 500;
}

.mobile-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.mobile-toggle span {
  width: 26px;
  height: 3px;
  background: var(--dark);
  border-radius: 2px;
  transition: var(--transition-base);
}

.mobile-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translateY(8px);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-8px);
}

/* === NAV MENU === */
.nav-menu {
  display: flex;
  gap: 4px;
}

.nav-link {
  display: block;
  padding: 12px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-900);
  border-radius: var(--radius-sm);
  transition: var(--transition-base);
  position: relative;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary);
  background: var(--gray-100);
}

#hizmetler-listesi {
  background-color: #fff;
}

.has-dropdown {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  z-index: 999;

  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 12px 0;
  min-width: 240px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px);
  transition: all var(--transition-base);
}

.has-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 24px;
  font-size: 14px;
  color: var(--gray-800);
  transition: var(--transition-fast);
}

.dropdown-menu li a:hover {
  background: var(--gray-100);
  color: var(--primary);
  padding-left: 28px;
}

/* === HERO SLIDER OPTİMİZASYONU === */
.hero {
  position: relative;
  height: 750px;
  overflow: hidden;
  background-color: #0f1419;
}

.hero-slider {
  position: relative;
  height: 100%;
  width: 100%;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  z-index: 1;
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.8s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: middle;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to right,
    rgba(15, 20, 25, 0.9) 0%,
    rgba(15, 20, 25, 0.4) 100%
  );
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  color: #fff;
  z-index: 3;
  padding-left: 15px;
  padding-right: 15px;
}

.hero-badge {
  margin-bottom: 32px;
}

.badge-circle {
  width: 150px;
  height: 150px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 32px rgba(45, 91, 255, 0.4);
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.badge-number {
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
}

.badge-text {
  font-size: 13px;
  font-weight: 600;
  text-align: center;
  line-height: 1.3;
  margin-top: 4px;
}

.hero-title {
  font-family: var(--font-heading);
  font-size: 64px;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 24px;
  letter-spacing: -1.5px;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

.hero-description {
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 650px;
  opacity: 0.95;
}

.hero-buttons {
  display: flex;
  gap: 16px;
}

/* Hero Controls */
.hero-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 24px;
  z-index: 3;
  pointer-events: none;
}

.hero-arrow {
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--dark);
  transition: all var(--transition-base);
  pointer-events: all;
  box-shadow: var(--shadow-md);
}

.hero-arrow:hover {
  background: var(--primary);
  color: var(--white);
  transform: scale(1.1);
}

.hero-pagination {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 3;
}

.hero-pagination .dot {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-base);
}

.hero-pagination .dot.active {
  width: 36px;
  border-radius: 6px;
  background: var(--white);
}

/* === FEATURES === */
.features {
  padding: 80px 0;
  background: var(--white);
  margin-top: -40px;
  position: relative;
  z-index: 10;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 32px;
}

.feature-card {
  background: var(--white);
  padding: 32px;
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  width: 72px;
  height: 72px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  color: var(--white);
  transition: var(--transition-base);
}

.feature-card:hover .feature-icon {
  transform: rotateY(360deg);
}

.feature-card h3 {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}

.feature-card p {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
}

/* === ABOUT === */
.about {
  padding: var(--section-padding) 0;
  background: var(--gray-100);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 550px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.about-image:hover img {
  transform: scale(1.05);
}

.about-badge {
  position: absolute;
  top: 30px;
  left: 30px;
  width: 130px;
  height: 130px;
  background: var(--primary-gradient);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 8px 32px rgba(45, 91, 255, 0.4);
}

.badge-year {
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.badge-label {
  font-size: 13px;
  font-weight: 600;
  margin-top: 4px;
}

.check-list {
  margin: 32px 0;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--gray-800);
  margin-bottom: 16px;
}

.check-list svg {
  color: var(--primary);
  flex-shrink: 0;
}

.about-cta {
  margin-top: 32px;
}

/* === SERVICES === */
.services {
  padding: var(--section-padding) 0;
  background-color: #f8fafc;
}

.services-slider-wrapper {
  position: relative;
  padding: 0 60px;
}

.services-slider {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.services-slider.dragging {
  cursor: grabbing;
}

.services-slider > div {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.service-card:hover {
  transform: translateY(-12px);
  box-shadow: var(--shadow-xl);
}

.service-image {
  position: relative;
  height: 260px;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.service-card:hover .service-image img {
  transform: scale(1.1);
}

.service-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(45, 91, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-base);
}

.service-card:hover .service-overlay {
  opacity: 1;
}

.service-link {
  background: var(--white);
  color: var(--primary);
  padding: 12px 28px;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 14px;
  transition: var(--transition-base);
}

.service-link:hover {
  background: var(--primary-dark);
  color: var(--white);
  transform: scale(1.05);
}

.service-content {
  padding: 28px;
}

.service-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  transition: var(--transition-base);
}

.service-card:hover .service-title {
  color: var(--primary);
}

.service-description {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
}

.services-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  z-index: 10;
}

.services-arrow:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.services-prev {
  left: 0;
}

.services-next {
  right: 0;
}

.services-pagination {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 48px;
}

.services-pagination .dot {
  width: 12px;
  height: 12px;
  background: var(--gray-400);
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-base);
}

.services-pagination .dot.active {
  width: 36px;
  border-radius: 6px;
  background: var(--primary);
}

/* === GALLERY === */
.gallery {
  padding: var(--section-padding) 0;
}

.gallery-slider-wrapper {
  position: relative;
  padding: 0 60px;
}

.gallery-slider {
  overflow: hidden;
  cursor: grab;
  user-select: none;
}

.gallery-slider.dragging {
  cursor: grabbing;
}

.gallery-slider > div {
  display: flex;
  gap: 24px;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item {
  flex: 0 0 calc(33.333% - 16px);
  min-width: 320px;
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.gallery-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.gallery-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
  color: var(--white);
  transform: translateY(100%);
  transition: var(--transition-base);
}

.gallery-item:hover .gallery-overlay {
  transform: translateY(0);
}

.gallery-overlay h3 {
  font-size: 18px;
  font-weight: 700;
}

.gallery-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 50px;
  height: 50px;
  background: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
  z-index: 10;
}

.gallery-arrow:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-50%) scale(1.1);
}

.gallery-prev {
  left: 0;
}

.gallery-next {
  right: 0;
}

/* === BLOG === */
.blog {
  padding: var(--section-padding) 0;
  background-color: #f8fafc;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 32px;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-base);
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.blog-image {
  height: 240px;
  overflow: hidden;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.blog-card:hover .blog-image img {
  transform: scale(1.1);
}

.blog-content {
  padding: 28px;
}

.blog-meta {
  display: flex;
  gap: 16px;
  margin-bottom: 16px;
}

.blog-date,
.blog-category {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.blog-date {
  color: var(--gray-600);
}

.blog-category {
  color: var(--primary);
}

.blog-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
  line-height: 1.4;
}

.blog-excerpt {
  font-size: 15px;
  color: var(--gray-700);
  line-height: 1.6;
  margin-bottom: 16px;
}

.blog-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-base);
}

.blog-link:hover {
  gap: 10px;
}

/* === CONTACT === */
.contact {
  padding: var(--section-padding) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 80px;
}

.contact-item {
  display: flex;
  gap: 20px;
  margin-bottom: 32px;
}

.contact-icon {
  width: 56px;
  height: 56px;
  background: var(--primary-gradient);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  flex-shrink: 0;
}

.contact-item h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-600);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.contact-item a {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
}

.contact-item a:hover {
  color: var(--primary);
}

.contact-item p {
  font-size: 18px;
  color: var(--dark);
  font-weight: 600;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--gray-100);
  padding: 48px;
  border-radius: var(--radius-xl);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 49px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group label {
  font-size: 14px;
  font-weight: 600;
  color: var(--gray-800);
}

.form-group input,
.form-group textarea {
  padding: 14px 18px;
  border: 2px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 15px;
  color: var(--dark);
  transition: var(--transition-base);
  background: var(--white);
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(45, 91, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-message {
  padding: 16px;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  display: none;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-message.show {
  display: block;
}

.form-message.success {
  background: #d1fae5;
  color: #065f46;
  border: 2px solid #10b981;
}

.form-message.error {
  background: #fee2e2;
  color: #991b1b;
  border: 2px solid #ef4444;
}

/* === FOOTER === */
.footer {
  background: var(--dark);
  color: var(--gray-400);
}

.footer-main {
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.footer-logo h3 {
  font-size: 20px;
  font-weight: 800;
  color: var(--white);
}

.footer-logo p {
  font-size: 13px;
  color: var(--gray-500);
  font-weight: 500;
}

.footer-description {
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 28px;
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-400);
  transition: var(--transition-base);
}

.footer-social a:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-4px);
}

.footer-column h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 24px;
}

.footer-column ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-column ul li a {
  font-size: 14px;
  color: var(--gray-400);
  transition: var(--transition-base);
}

.footer-column ul li a:hover {
  color: var(--primary);
  padding-left: 4px;
}

.footer-contact li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--gray-400);
}

.footer-contact svg {
  color: var(--primary);
  flex-shrink: 0;
}

.footer-contact a {
  color: var(--gray-300);
}

.footer-contact a:hover {
  color: var(--primary);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 28px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 14px;
  color: var(--gray-500);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  :root {
    --section-padding: 80px;
  }

  .hero {
    height: 600px;
  }

  .hero-title {
    font-size: 52px;
  }

  .section-title {
    font-size: 36px;
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .service-card {
    flex: 0 0 calc(50% - 12px);
  }

  .gallery-item {
    flex: 0 0 calc(50% - 12px);
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  :root {
    --section-padding: 60px;
    --container-padding: 20px;
  }

  /* Header Top - Hide on mobile */
  .header-top {
    display: none;
  }

  /* Mobile Menu */
  .mobile-toggle {
    display: flex;
  }

  .nav-menu {
    z-index: 999;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    gap: 0;
    box-shadow: var(--shadow-lg);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .nav-link {
    padding: 16px 24px;
    border-bottom: 1px solid var(--gray-200);
    z-index: 999;
  }

  .dropdown-menu {
    position: static;
    box-shadow: none;
    background: var(--gray-100);
    max-height: 0;
    overflow: hidden;
  }

  .has-dropdown.active .dropdown-menu {
    max-height: 300px;
  }

  /* Hero */
  .hero {
    height: 500px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-description {
    font-size: 16px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .badge-circle {
    width: 110px;
    height: 110px;
  }

  .badge-number {
    font-size: 24px;
  }

  .badge-text {
    font-size: 11px;
  }

  /* Section Title */
  .section-title {
    font-size: 28px;
  }

  /* Features */
  .features-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Services & Gallery Sliders */
  .services-slider-wrapper,
  .gallery-slider-wrapper {
    padding: 0 50px;
  }

  .service-card,
  .gallery-item {
    flex: 0 0 calc(100% - 24px);
    min-width: 280px;
  }

  .services-arrow,
  .gallery-arrow {
    width: 42px;
    height: 42px;
  }

  /* Blog */
  .blog-grid {
    grid-template-columns: 1fr;
  }

  /* Contact Form */
  .contact-form-wrapper {
    padding: 32px;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-main {
    padding: 60px 0 32px;
  }
}

@media (max-width: 480px) {
  .hero {
    height: 450px;
  }

  .hero-title {
    font-size: 28px;
  }

  .section-title {
    font-size: 24px;
  }

  .services-slider-wrapper,
  .gallery-slider-wrapper {
    padding: 0 40px;
  }

  .services-arrow,
  .gallery-arrow,
  .hero-arrow {
    width: 38px;
    height: 38px;
  }

  .hero-controls {
    padding: 0 16px;
  }

  .contact-form-wrapper {
    padding: 24px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: 20px;
    left: 20px;
  }
}

/* ==========================================
   ALT SAYFA (İLETİŞİM) ÖZEL STİLLERİ
   ========================================== */

/* İletişim Sayfası Grid Yapısı - Daha Geniş */
.sub-page .contact-grid {
  gap: 120px; /* Sütunlar arası boşluğu artırdık */
  align-items: flex-start;
}

/* İletişim Bilgileri Kutuları - Daha Büyük ve Kart Görünümlü */
.sub-page .contact-item {
  background: var(--gray-100);
  padding: 30px;
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid var(--gray-200);
}

.sub-page .contact-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary);
}

.sub-page .contact-item .contact-icon {
  width: 64px;
  height: 64px; /* İkonu büyüttük */
  font-size: 28px;
}

.sub-page .contact-item h4 {
  font-size: 16px; /* Başlığı büyüttük */
  margin-bottom: 8px;
}

.sub-page .contact-item a,
.sub-page .contact-item p {
  font-size: 20px; /* Telefon/Mail yazısını büyüttük */
}

/* İletişim Formu - Daha Büyük */
.sub-page .contact-form-wrapper {
  padding: 60px; /* Form iç boşluğunu artırdık */
  box-shadow: var(--shadow-xl);
}

.sub-page .form-group input,
.sub-page .form-group textarea {
  padding: 18px 22px; /* Inputları büyüttük */
  font-size: 16px;
}

.sub-page .section-title {
  font-size: 48px; /* Sayfa başlığını büyüttük */
  margin-bottom: 30px;
}

.sub-page .section-description {
  font-size: 18px;
  max-width: 100%;
}

/* Mobil Uyumluluk */
@media (max-width: 1024px) {
  .sub-page .contact-grid {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .page-header-spacer {
    height: 70px;
  }
  .sub-page .contact {
    padding: 60px 0;
  }
  .sub-page .contact-form-wrapper {
    padding: 30px;
  }
  .sub-page .section-title {
    font-size: 32px;
  }
}

/* ===================================
   LIGHTBOX (RESİM BÜYÜTME) STİLLERİ
   =================================== */

.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 20, 25, 0.95); /* Koyu, modern arka plan */
  z-index: 10001; /* Header'ın üzerinde olması için */
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 20px;
  backdrop-filter: blur(5px); /* Arka planı hafif buzlar */
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 90%;
  max-height: 90vh;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border-radius: 8px;
  transform: scale(0.9);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox-modal.active .lightbox-content {
  transform: scale(1);
}

.lightbox-image {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
}

.lightbox-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  color: #fff;
  border: none;
  z-index: 10002;
}

.lightbox-close:hover {
  background: #ef4444; /* Kırmızı hover efekti */
  transform: rotate(90deg);
}

/* Blog Kartı İçindeki "Devamını Oku" Butonu */
.blog-content button.blog-link {
  background: none;
  border: none;
  padding: 0;
  color: #2d5bff;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  font-family: inherit;
  margin-top: auto; /* Kartın altına itmek için */
  display: inline-block;
  transition: color 0.2s;
}

.blog-content button.blog-link:hover {
  color: #1a3fcc;
  text-decoration: underline;
}

/* ========================================================================
   ACİL KEPENK REFERANS ALINMIŞ - FINAL PLATINUM VERSION (V5.0)
   (Burger Menü Tamiri & Özellik Kutuları Düzenlemesi)
   ======================================================================== */

/* ------------------------------------------------------------------------
   1. TABLET & LAPTOP (1024px ve Altı)
   ------------------------------------------------------------------------ */
@media (max-width: 1024px) {
  .container {
    padding: 0 25px;
  }

  /* Grid Sistemleri - Tablette 2'li yapı */
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }

  .service-card,
  .gallery-item {
    flex: 0 0 calc(50% - 15px);
    margin-right: 30px;
  }
}

/* ------------------------------------------------------------------------
   2. MOBİL CİHAZLAR (768px ve Altı) - ANA DÜZENLEMELER
   ------------------------------------------------------------------------ */
@media (max-width: 768px) {
  /* --- GENEL AYARLAR --- */
  :root {
    --section-padding: 60px;
  }

  body {
    font-size: 15px;
    overflow-x: hidden;
  }

  .section-title {
    font-size: 26px;
    margin-bottom: 15px;
    text-align: center;
  }

  .section-description {
    font-size: 15px;
    margin-bottom: 35px;
    text-align: center;
  }

  /* --- HEADER & BURGER MENÜ DÜZELTMESİ --- */
  .header {
    position: sticky;
    top: 0;
    height: 70px;
    display: flex;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    background: #fff;
    z-index: 1000;
  }

  .header-top {
    display: none;
  }
  .navbar {
    padding: 0;
    width: 100%;
  }

  /* Burger Menü İkonunu Görünür Yap */
  .mobile-toggle {
    display: flex; /* Görünürlüğü zorla */
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 5px;
    background: transparent;
    cursor: pointer;
    z-index: 1001; /* Menünün üzerinde kalsın */
  }

  .mobile-toggle span {
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: all 0.3s ease;
  }

  /* Menü Açılır Alanı */
  .nav-menu {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #fff;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-top: 1px solid #f0f0f0;
    padding: 0;
    z-index: 999;
  }

  .nav-menu.active {
    max-height: 100vh;
  }

  .nav-link {
    padding: 16px 20px;
    border-bottom: 1px solid #f9f9f9;
    width: 100%;
    display: block;
    font-weight: 600;
    text-align: center;
  }

  /* --- HERO BÖLÜMÜ --- */
  .hero {
    height: 520px;
  }

  .hero-content {
    padding: 0 20px;
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .hero-title {
    font-size: 32px;
    line-height: 1.25;
    margin-bottom: 15px;
  }

  .hero-description {
    font-size: 16px;
    margin-bottom: 25px;
    max-width: 100%;
    opacity: 0.95;
  }

  .hero-buttons {
    display: flex;
    flex-direction: row;
    gap: 12px;
    justify-content: center;
    width: 100%;
    max-width: 340px;
  }

  .hero-buttons .btn {
    width: auto;
    flex: 1;
    padding: 12px 10px;
    font-size: 14px;
    border-radius: 50px;
    white-space: nowrap;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-badge {
    transform: scale(0.75);
    margin-bottom: 15px;
  }

  .hero-controls {
    bottom: 20px;
    top: auto;
    transform: none;
    width: 100%;
    padding: 0 20px;
    justify-content: space-between;
    pointer-events: none;
  }
  .hero-arrow {
    pointer-events: auto;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.3);
  }

  /* --- HAKKIMIZDA GÖRSELİ (YÜKSEKLİK ARTIRILDI) --- */
  .about-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .about-image {
    width: 100%;
    height: 320px; /* İstediğin gibi biraz daha uzun */
    margin: 0 auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
  }

  .about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }

  .about-badge {
    transform: scale(0.8);
    top: 10px;
    left: 10px;
  }

  /* --- ÖZELLİKLER (UZMAN KADRO VB.) - ALT ALTA --- */
  .features-grid {
    grid-template-columns: 1fr; /* Mobilde tek sütun (Alt alta) */
    gap: 20px;
    width: 100%;
  }

  .feature-card {
    width: 100%; /* Tam genişlik */
    padding: 25px;
  }

  /* --- SLIDERLAR (TAM ORTALI & SOLA KAYMAYI ÖNLEME) --- */
  .services-slider-wrapper,
  .gallery-slider-wrapper {
    padding: 0;
    margin: 0 -25px;
    width: calc(100% + 50px);
  }

  .slider-track {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    /* (100% - 85%) / 2 = 7.5% + kenar boşluğu -> Tam Ortalar */
    padding: 0 calc(7.5% + 25px);
    gap: 15px;
    transform: none !important;
    width: auto !important;
    scrollbar-width: none;
  }

  .slider-track::-webkit-scrollbar {
    display: none;
  }

  .service-card,
  .gallery-item {
    flex: 0 0 85%;
    width: 85%;
    scroll-snap-align: center;
    margin-right: 0 !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
  }

  .service-image {
    height: 210px;
  }

  .services-arrow,
  .gallery-arrow {
    display: none;
  }

  /* --- İLETİŞİM BÖLÜMÜ (ORTALI) --- */
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    margin: 0 auto;
    justify-items: center;
  }

  .contact-info {
    text-align: center;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-items {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .contact-item {
    width: 100%;
    max-width: 400px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
    gap: 10px;
  }

  .contact-icon {
    margin: 0 0 10px 0;
  }

  .contact-form-wrapper {
    width: 100%;
    margin: 0 auto;
    padding: 30px 20px;
  }

  /* --- BLOG GRID --- */
  .blog-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  /* --- FOOTER (SOLA DAYALI) --- */
  .footer-main {
    padding: 50px 0 20px;
    text-align: left;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-logo,
  .footer-social,
  .footer-contact li {
    justify-content: flex-start;
  }

  .footer-contact li {
    flex-direction: row;
    gap: 15px;
  }

  .footer-contact svg {
    margin-top: 3px;
  }

  /* --- WHATSAPP BUTONU --- */
  .whatsapp-float {
    width: 50px;
    height: 50px;
    left: 20px;
    bottom: 20px;
  }
}

/* ------------------------------------------------------------------------
   3. MİNİ EKRANLAR (400px Altı)
   ------------------------------------------------------------------------ */
@media (max-width: 400px) {
  .hero {
    height: 480px;
  }
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }
  .hero-buttons .btn {
    width: 100%;
    max-width: 100%;
  }

  .service-card,
  .gallery-item {
    flex: 0 0 90%;
    width: 90%;
  }
  .slider-track {
    padding: 0 calc(5% + 25px);
  }
}
/* ==========================================
   FİNAL PLATINUM AYAR (BOŞLUK ALINDI)
   İçeriği yukarı taşıyan, boşluğu silen kod.
   ========================================== */

@media (max-width: 768px) {
  /* 1. Hero Yüksekliği */
  /* Biraz kısalttık ki alt taraf çok boş kalmasın */
  .hero {
    height: 600px !important;
    min-height: 600px !important;
  }

  /* 2. İçerik Kutusu (ÜSTE YASLAMA AYARI) */
  .hero-content {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    transform: none !important;

    display: flex !important;
    flex-direction: column;

    /* İŞTE SİHİRLİ KOD BURADA: */
    justify-content: flex-start !important; /* "Ortala" değil, "Üsten Başla" diyoruz */
    align-items: center;

    /* Header'ın boyu kadar (yaklaşık 80-90px) boşluk bırakıyoruz, fazlasını siliyoruz */
    padding-top: 100px !important;
    padding-left: 20px;
    padding-right: 20px;

    z-index: 999;
  }

  /* 3. Yazılar */
  .hero-title {
    font-size: 26px !important;
    line-height: 1.2;
    margin-bottom: 10px; /* Alt boşluğu biraz azalttım */
    text-align: center;
  }

  .hero-description {
    font-size: 15px !important;
    line-height: 1.4;
    margin-bottom: 20px;
    text-align: center;
    padding: 0 10px;
    max-width: 100%;
  }

  /* 4. Yuvarlak Rozet (Badge) */
  /* Biraz daha küçültüp yukarı çektik */
  .hero-badge {
    margin-bottom: 10px;
    transform: scale(0.75);
  }

  /* 5. Butonlar */
  .hero-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    max-width: 320px;
  }

  .hero-buttons .btn {
    width: 100%;
    justify-content: center;
    padding: 14px;
    border-radius: 50px; /* Butonları daha şık (yuvarlak) yaptım */
  }

  /* 6. Okları Kontrol Et */
  .hero-controls {
    bottom: 20px;
    pointer-events: none;
  }
  .hero-arrow {
    pointer-events: auto;
  }
}

/* ==========================================
   MOBİL MENÜ BOŞLUK DÜZELTMESİ
   Hizmetlerimiz altındaki boşluğu kapatır.
   ========================================== */

@media (max-width: 768px) {
  /* 1. Açılır Menüyü Tamamen Sıfırla (Kapalıyken) */
  .dropdown-menu {
    position: static !important; /* Akışı bozmasın */
    float: none !important;
    display: block !important; /* Animasyon için block kalmalı */

    /* İŞTE SORUNU ÇÖZEN KISIM: */
    max-height: 0 !important; /* Yükseklik sıfır */
    padding: 0 !important; /* İç boşluk sıfır (O boşluğu yapan bu) */
    margin: 0 !important; /* Dış boşluk sıfır */
    border: none !important; /* Çerçeve yok */

    opacity: 0 !important; /* Görünmez */
    visibility: hidden; /* Tıklanamaz ve yer kaplamaz */
    overflow: hidden; /* Taşan içeriği gizle */

    transform: none !important; /* Masaüstü kaydırma efektini iptal et */
    box-shadow: none !important; /* Gölgeyi kaldır */
    transition: all 0.3s ease-in-out; /* Açılış animasyonu */
    background-color: #f8fafc; /* Açılınca hafif gri olsun */
  }

  /* 2. Açılır Menü Aktif Olduğunda (Tıklanınca) */
  /* JS tarafında .active class'ı eklendiğinde devreye girer */
  .has-dropdown.active .dropdown-menu {
    max-height: 400px !important; /* İçeriğin sığacağı kadar yer */
    padding: 10px 0 !important; /* Şimdi padding verebiliriz */
    opacity: 1 !important;
    visibility: visible;
    margin-top: 0 !important;
    border-top: 1px solid #e2e8f0 !important; /* Üstüne ince çizgi */
  }

  /* 3. Alt Linklerin Düzeni */
  .dropdown-menu li a {
    padding: 10px 20px 10px 40px !important; /* Soldan girintili (hiyerarşi belli olsun) */
    font-size: 14px !important;
    color: #475569 !important;
    background: transparent !important;
  }

  .dropdown-menu li a:hover {
    color: #2d5bff !important;
    padding-left: 45px !important; /* Hover efekti */
  }
}

/* ==========================================
   GALERİ VE ALT SAYFA DÜZELTMESİ (SAĞ BOŞLUK)
   Slider olmayan sayfalarda kartları tam genişlik yapar.
   ========================================== */

@media (max-width: 768px) {
  /* 1. Önce TÜM kartları tam genişlik (%100) yapıyoruz */
  /* Bu, Galeri sayfasındaki sağ boşluğu kapatır */
  .gallery-item,
  .service-card,
  .blog-card {
    width: 100% !important;
    flex: 0 0 100% !important;
    max-width: 100% !important;
    margin-right: 0 !important;
  }

  /* 2. Sonra SADECE Slider (Kaydırmalı) olanları tekrar %85 yapıyoruz */
  /* Bu, Anasayfadaki kaydırma efektini korur */
  .slider-track .gallery-item,
  .slider-track .service-card {
    width: 85% !important;
    flex: 0 0 85% !important;
    margin-right: 15px !important; /* Kartlar arası boşluk */
  }
}
