/* ============================================================
   Air İklimlendirme Sistemleri - Design System
   Modern, Premium, Mobile-First CSS
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

/* --- CSS Custom Properties --- */
:root {
  --primary: #0f172a; /* Slate 900 / Obsidian */
  --primary-light: #1e293b; /* Slate 800 / Anthracite */
  --secondary: #475569; /* Slate 600 / Luxury Slate Gray */
  --secondary-dark: #334155; /* Slate 700 / Charcoal */
  --accent: #64748b; /* Slate 500 / Medium Gray */
  --accent-light: #94a3b8; /* Slate 400 / Platinum */
  --warm: #ff6b35;
  --warm-light: #ff8f65;
  --success: #22c55e;
  --bg: #f8fafc;
  --bg-alt: #f1f5f9;
  --surface: #ffffff;
  --text: #0f172a; /* Slate 900 text */
  --text-main: #0f172a; /* Slate 900 text main */
  --text-light: #475569; /* Slate 600 */
  --text-muted: #64748b; /* Slate 500 */
  --border: #cbd5e1; /* Slate 300 border */
  --gradient-cool: linear-gradient(135deg, #1e293b, #475569); /* Anthracite to Slate Gray */
  --gradient-warm: linear-gradient(135deg, #ff6b35, #ff8f65);
  --gradient-dark: linear-gradient(135deg, #0f172a, #1e293b); /* Obsidian to Slate-800 */
  --gradient-hero: linear-gradient(135deg, rgba(15,23,42,0.95) 0%, rgba(71,85,105,0.8) 100%);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.05);
  --shadow-xl: 0 20px 40px -10px rgba(0,0,0,0.15);
  --shadow-blue: 0 8px 24px rgba(71, 85, 105, 0.22); /* Soft slate shadow */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --container: 1200px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background-color: var(--bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
  position: relative;
}

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

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

ul, ol {
  list-style: none;
}

button, input, textarea, select {
  font-family: inherit;
  font-size: inherit;
  border: none;
  outline: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  color: var(--text);
}

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- Section Base --- */
.section {
  padding: 80px 0;
}

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

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.08), rgba(148, 163, 184, 0.08));
  color: var(--secondary);
  border-radius: 100px;
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 16px;
}

.section-badge svg {
  width: 16px;
  height: 16px;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: var(--text);
}

.section-title span {
  background: var(--gradient-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 640px;
  margin: 0 auto;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */

/* -- Top Bar -- */
.top-bar {
  background: #1e293b; /* Charcoal Anthracite / Slate-800 */
  color: rgba(255,255,255,0.85);
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.top-bar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.top-bar-item svg {
  width: 16px;
  height: 16px;
  color: var(--accent-light); /* Platinum silver */
  flex-shrink: 0;
}

.top-bar-item a:hover {
  color: var(--accent-light);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  transition: var(--transition);
}

.social-link:hover {
  background: var(--secondary);
  transform: translateY(-2px);
}

.social-link svg {
  width: 14px;
  height: 14px;
}

/* -- Main Navbar -- */
.navbar {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-lg);
  background: rgba(255,255,255,0.98);
}

.navbar .container {
  max-width: 1400px;
}

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

.navbar-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--primary);
}

.navbar-logo .logo-icon {
  width: 42px;
  height: 42px;
  background: var(--gradient-cool);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
}

.navbar-logo .logo-icon svg {
  width: 24px;
  height: 24px;
}

.navbar-logo .logo-text-sub {
  font-size: 0.7rem;
  font-weight: 500;
  color: var(--text-light);
  display: block;
  margin-top: -2px;
}

.brand-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

.footer-brand .brand-logo-img {
  height: 60px;
  background: white; /* Koyu renk footer üzerinde şık durması için beyaz zemin */
  padding: 4px;
  border-radius: var(--radius-sm);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nav-link {
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.96rem;
  color: var(--text);
  transition: var(--transition);
  white-space: nowrap;
}

.nav-link:hover {
  background: var(--bg-alt);
  color: var(--secondary);
}

.mobile-cta {
  display: none !important;
}

@media (min-width: 1301px) {
  .nav-menu {
    flex: 1;
    display: flex;
    justify-content: center;
  }
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #ffffff;
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.nav-cta:hover {
  background: var(--gradient-cool);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(71, 85, 105, 0.25);
}

.nav-cta svg {
  width: 16px;
  height: 16px;
}

/* -- Hamburger -- */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  z-index: 1001;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

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

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ============================================================
   HERO SECTION
   ============================================================ */
/* ============================================================
   HERO SLIDER SECTION
   ============================================================ */
.hero-slider {
  position: relative;
  height: 100vh;
  min-height: 700px;
  width: 100%;
  overflow: hidden;
  background: var(--gradient-dark);
}

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

.slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  z-index: 1;
}

.slide::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(15, 23, 42, 0.85) 0%, rgba(15, 23, 42, 0.45) 50%, rgba(15, 23, 42, 0.15) 100%);
  z-index: 1;
}

.slide::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 120px;
  background: linear-gradient(to top, var(--bg), transparent);
  z-index: 2;
}

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

.slide-content {
  position: relative;
  z-index: 3;
  color: white;
  max-width: 750px;
  padding: 120px 0 80px;
}

.slide-title {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 20px;
}

.slide-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
}

.slide-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.slide .slide-title, 
.slide .slide-desc, 
.slide .slide-actions {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1), transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide.active .slide-title {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.2s;
}

.slide.active .slide-desc {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.4s;
}

.slide.active .slide-actions {
  opacity: 1;
  transform: translateY(0);
  transition-delay: 0.6s;
}

/* Slider Controls */
.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 54px;
  height: 54px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 50%;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--gradient-cool);
  border-color: transparent;
  transform: translateY(-50%) scale(1.08);
  box-shadow: var(--shadow-blue);
}

.slider-arrow.prev {
  left: 40px;
}

.slider-arrow.next {
  right: 40px;
}

.slider-arrow svg {
  width: 24px;
  height: 24px;
}

.slider-dots {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 12px;
  z-index: 5;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  background: rgba(255,255,255,0.35);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot:hover, 
.slider-dots .dot.active {
  background: var(--accent);
  transform: scale(1.2);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 20px;
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 24px;
  animation: fadeInUp 0.8s ease;
}

.hero-badge svg {
  width: 18px;
  height: 18px;
  color: var(--accent-light);
}

.hero h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  color: white;
  margin-bottom: 20px;
  animation: fadeInUp 0.8s ease 0.15s both;
}

.hero h1 .highlight {
  background: var(--gradient-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: 1.15rem;
  line-height: 1.8;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s ease 0.45s both;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: #ffffff;
  color: var(--primary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background: var(--gradient-cool);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(71,85,105,0.25);
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

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

/* Specific button styles for Hero Slider (White Primary and Glass Secondary) */
.hero-slider .btn-primary {
  background: #ffffff !important;
  color: var(--primary) !important;
  border: 1px solid #ffffff !important;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15) !important;
}

.hero-slider .btn-primary:hover {
  background: var(--gradient-cool) !important;
  color: white !important;
  border-color: transparent !important;
  box-shadow: var(--shadow-blue) !important;
}

.hero-slider .btn-secondary {
  background: rgba(255, 255, 255, 0.1) !important;
  color: white !important;
  border: 1px solid rgba(255, 255, 255, 0.3) !important;
}

.hero-slider .btn-secondary:hover {
  background: #ffffff !important;
  color: var(--primary) !important;
  border-color: #ffffff !important;
}

.btn-primary svg, .btn-secondary svg {
  width: 20px;
  height: 20px;
}

/* -- Hero Decorative -- */
.hero-decoration {
  position: absolute;
  right: -40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  opacity: 0.1;
}

.hero-decoration svg {
  width: 500px;
  height: 500px;
}

/* ============================================================
   STATS SECTION
   ============================================================ */
.stats-section {
  position: relative;
  z-index: 5;
  margin-top: -50px;
  padding: 0 0 60px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  border: 1px solid var(--border);
}

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

.stat-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.08), rgba(148, 163, 184, 0.08));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  color: var(--secondary);
}

.stat-icon svg {
  width: 28px;
  height: 28px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-light);
  font-weight: 500;
}

/* ============================================================
   SERVICES SECTION
   ============================================================ */
.services-section {
  background: var(--bg);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.service-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 32px;
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
  display: grid;
  grid-template-columns: 76px 1fr;
  grid-template-areas:
    "icon title"
    "icon desc"
    "icon link";
  column-gap: 28px;
  row-gap: 8px;
  align-items: start;
}

/* Ambient glow under the card on hover */
.service-card::after {
  content: '';
  position: absolute;
  bottom: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: var(--gradient-cool);
  filter: blur(40px);
  opacity: 0;
  z-index: -1;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(71, 85, 105, 0.08);
  border-color: var(--secondary);
}

.service-card:hover::after {
  opacity: 0.08;
  transform: scale(1.1);
}

.service-icon {
  grid-area: icon;
  width: 76px;
  height: 76px;
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.05), rgba(148, 163, 184, 0.03));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  border: 1px solid var(--border);
  position: relative;
  transition: var(--transition);
  align-self: center;
}

.service-card:hover .service-icon {
  background: var(--gradient-cool);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-blue);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  transition: transform 0.3s ease;
}

@keyframes floatIcon {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-4px) rotate(3deg); }
}

.service-card:hover .service-icon svg {
  animation: floatIcon 1.8s ease-in-out infinite;
}

.service-card h3 {
  grid-area: title;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
  transition: var(--transition);
  margin: 0;
}

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

.service-card p {
  grid-area: desc;
  font-size: 0.95rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

.service-card .service-link {
  grid-area: link;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--primary);
  position: relative;
  padding-bottom: 4px;
  width: fit-content;
  transition: var(--transition);
  margin-top: 4px;
}

.service-card .service-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--gradient-cool);
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 2px;
}

.service-card:hover .service-link {
  color: var(--secondary);
}

.service-card:hover .service-link::after {
  width: 100%;
}

.service-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card:hover .service-link svg {
  transform: translateX(5px);
}

/* ============================================================
   WHY US SECTION
   ============================================================ */
.why-section {
  background: var(--bg-alt);
  color: var(--text);
  position: relative;
  overflow: hidden;
}

.why-section::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(71, 85, 105, 0.06), transparent 70%);
  border-radius: 50%;
}

.why-section .section-badge {
  background: linear-gradient(135deg, rgba(71, 85, 105, 0.08), rgba(148, 163, 184, 0.08));
  color: var(--secondary);
}

.why-section .section-title {
  color: var(--primary);
}

.why-section .section-desc {
  color: var(--text-light);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.why-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px 28px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}

/* Subtle top colored accent bar on hover */
.why-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-cool);
  transform: scaleX(0);
  transition: transform 0.3s ease;
  border-radius: 4px 4px 0 0;
}

.why-card:hover {
  transform: translateY(-6px);
  border-color: var(--secondary);
  box-shadow: 0 16px 36px rgba(71, 85, 105, 0.08);
}

.why-card:hover::before {
  transform: scaleX(1);
}

.why-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, #1e293b, #475569);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.15);
  transition: var(--transition);
}

.why-card:hover .why-icon {
  background: var(--gradient-cool);
  transform: scale(1.05) rotate(5deg);
  box-shadow: var(--shadow-blue);
}

.why-icon svg {
  width: 30px;
  height: 30px;
  color: white;
  transition: transform 0.3s ease;
}

.why-card h3 {
  color: var(--primary);
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.why-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  line-height: 1.65;
}

/* ============================================================
   BRANDS SECTION
   ============================================================ */
.brands-section {
  background: var(--bg-alt);
  overflow: hidden;
}

.brands-track {
  display: flex;
  gap: 48px;
  animation: marquee 30s linear infinite;
  width: max-content;
  will-change: transform;
  transform: translate3d(0, 0, 0);
}

.brands-track:hover {
  animation-play-state: paused;
}

.brand-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  background: var(--surface);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: var(--transition);
  min-width: 160px;
  height: 82px;
  overflow: hidden; /* Sürüklenen büyük logoların dışarı taşmaması için */
}

.brand-logo-icon {
  width: 100%;
  height: 100%;
  max-height: 48px;
  max-width: 115px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Her logodaki iç boşluğu (SVG padding) telafi eden özel ölçeklendirmeler */
.brand-logo-icon[src*="daikin.svg"] { transform: scale(1.5); }
.brand-logo-icon[src*="toshiba.svg"] { transform: scale(1.65); }
.brand-logo-icon[src*="lg.svg"] { transform: scale(1.6); }
.brand-logo-icon[src*="hitachi.svg"] { transform: scale(1.6); }
.brand-logo-icon[src*="panasonic.svg"] { transform: scale(1.7); }
.brand-logo-icon[src*="mitsubishi.svg"] { transform: scale(1.4); }
.brand-logo-icon[src*="samsung.svg"] { transform: scale(1.6); }
.brand-logo-icon[src*="sharp.svg"] { transform: scale(1.6); }
.brand-logo-icon[src*="bosch.svg"] { transform: scale(1.5); }
.brand-logo-icon[src*="buderus.svg"] { transform: scale(1.45); }
.brand-logo-icon[src*="viessmann.svg"] { transform: scale(1.65); }
.brand-logo-icon[src*="vaillant.svg"] { transform: scale(1.55); }
.brand-logo-icon[src*="alarko.svg"] { transform: scale(1.45); }
.brand-logo-icon[src*="eca.svg"] { transform: scale(1.35); }
.brand-logo-icon[src*="gree.svg"] { transform: scale(1.5); }

/* Carrier logosunun zaten iç boşluğu olmadığı için scale(1) kalacaktır */

.brand-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}

.brand-item:hover .brand-logo-icon {
  /* Hover durumunda da ölçeği koruması için */
}
/* Logoların hover'da kendi ölçeklerini korumasını sağlıyoruz */
.brand-item:hover .brand-logo-icon[src*="daikin.svg"] { transform: scale(1.5); }
.brand-item:hover .brand-logo-icon[src*="toshiba.svg"] { transform: scale(1.65); }
.brand-item:hover .brand-logo-icon[src*="lg.svg"] { transform: scale(1.6); }
.brand-item:hover .brand-logo-icon[src*="hitachi.svg"] { transform: scale(1.6); }
.brand-item:hover .brand-logo-icon[src*="panasonic.svg"] { transform: scale(1.7); }
.brand-item:hover .brand-logo-icon[src*="mitsubishi.svg"] { transform: scale(1.4); }
.brand-item:hover .brand-logo-icon[src*="samsung.svg"] { transform: scale(1.6); }
.brand-item:hover .brand-logo-icon[src*="sharp.svg"] { transform: scale(1.6); }
.brand-item:hover .brand-logo-icon[src*="bosch.svg"] { transform: scale(1.5); }
.brand-item:hover .brand-logo-icon[src*="buderus.svg"] { transform: scale(1.45); }
.brand-item:hover .brand-logo-icon[src*="viessmann.svg"] { transform: scale(1.65); }
.brand-item:hover .brand-logo-icon[src*="vaillant.svg"] { transform: scale(1.55); }
.brand-item:hover .brand-logo-icon[src*="alarko.svg"] { transform: scale(1.45); }
.brand-item:hover .brand-logo-icon[src*="eca.svg"] { transform: scale(1.35); }
.brand-item:hover .brand-logo-icon[src*="gree.svg"] { transform: scale(1.5); }

@keyframes marquee {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.about-section {
  background: var(--bg);
}

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

.about-content h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
}

.about-content h2 span {
  background: var(--gradient-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.about-content p {
  color: var(--text-light);
  margin-bottom: 16px;
  font-size: 1.05rem;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 28px;
}

.about-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--bg-alt);
  border-radius: var(--radius-sm);
}

.about-feature svg {
  width: 20px;
  height: 20px;
  color: var(--success);
  flex-shrink: 0;
}

.about-feature span {
  font-weight: 500;
  font-size: 0.9rem;
}

.about-visual {
  position: relative;
}

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

.about-image-wrapper img {
  width: 100%;
  height: 480px;
  object-fit: cover;
}

.about-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: var(--surface);
  border-radius: var(--radius);
  padding: 20px 24px;
  box-shadow: var(--shadow-xl);
  display: flex;
  align-items: center;
  gap: 14px;
}

.about-floating-icon {
  width: 48px;
  height: 48px;
  background: var(--gradient-cool);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  flex-shrink: 0;
}

.about-floating-icon svg {
  width: 24px;
  height: 24px;
}

.about-floating-card .about-floating-number {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.about-floating-card .about-floating-label {
  font-size: 0.8rem;
  color: var(--text-light);
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: var(--gradient-cool);
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 300px;
  height: 300px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  right: -100px;
  width: 400px;
  height: 400px;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}

.cta-content {
  position: relative;
  z-index: 2;
}

.cta-content h2 {
  font-size: 2.5rem;
  color: white;
  margin-bottom: 16px;
}

.cta-content p {
  font-size: 1.15rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 32px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: white;
  color: var(--secondary);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  box-shadow: var(--shadow);
}

.btn-white:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-xl);
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 32px;
  background: transparent;
  color: white;
  border: 2px solid rgba(255,255,255,0.4);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline-white:hover {
  background: rgba(255,255,255,0.1);
  border-color: white;
  transform: translateY(-3px);
}

.btn-white svg, .btn-outline-white svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   SERVICE AREAS SECTION
   ============================================================ */
.areas-section {
  background: var(--bg);
}

.areas-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.area-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text);
  transition: var(--transition);
}

.area-tag:hover {
  border-color: var(--secondary);
  color: var(--secondary);
  box-shadow: var(--shadow);
}

.area-tag svg {
  width: 16px;
  height: 16px;
  color: var(--secondary);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-section {
  background: var(--bg-alt);
}

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

.contact-info h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}

.contact-info h2 span {
  background: var(--gradient-cool);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.contact-info > p {
  color: var(--text-light);
  margin-bottom: 32px;
}

.contact-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.contact-item-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, rgba(71,85,105,0.1), rgba(0,188,212,0.08));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.contact-item-icon svg {
  width: 22px;
  height: 22px;
}

.contact-item-text h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.contact-item-text p,
.contact-item-text a {
  font-size: 0.9rem;
  color: var(--text-light);
}

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

/* -- Contact Form -- */
.contact-form-wrapper {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.contact-form-wrapper h3 {
  font-size: 1.3rem;
  margin-bottom: 24px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  color: var(--text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 3px rgba(71,85,105,0.1);
}

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

.form-submit {
  width: 100%;
  padding: 14px;
  background: #ffffff;
  color: var(--primary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: var(--shadow-sm);
}

.form-submit:hover {
  background: var(--gradient-cool);
  color: white;
  border-color: transparent;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(71,85,105,0.25);
}

.form-submit svg {
  width: 20px;
  height: 20px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--primary);
  color: rgba(255,255,255,0.8);
  padding: 64px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .navbar-logo {
  color: white;
  margin-bottom: 16px;
}

.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
  color: rgba(255,255,255,0.6);
}

.footer-socials {
  display: flex;
  gap: 10px;
}

.footer h4 {
  color: white;
  font-size: 1rem;
  margin-bottom: 20px;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent);
  padding-left: 4px;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
  font-size: 0.9rem;
}

.footer-contact-item svg {
  width: 18px;
  height: 18px;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.5);
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: #25D366;
  color: white;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(37,211,102,0.4);
  transition: var(--transition);
  animation: pulse-wa 2s infinite;
}

.whatsapp-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 28px rgba(37,211,102,0.5);
  animation: none;
}

.whatsapp-float svg {
  width: 22px;
  height: 22px;
}

@keyframes pulse-wa {
  0%, 100% { box-shadow: 0 6px 20px rgba(37,211,102,0.4); }
  50% { box-shadow: 0 6px 28px rgba(37,211,102,0.6); }
}

/* ============================================================
   PHONE FLOATING BUTTON
   ============================================================ */
.phone-float {
  position: fixed;
  bottom: 88px; /* WhatsApp butonunun hemen üstü */
  left: 24px;
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  background: var(--primary);
  color: white;
  border-radius: 100px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 6px 20px rgba(71,85,105,0.4);
  transition: var(--transition);
  animation: pulse-phone 2s infinite;
}

.phone-float:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 10px 28px rgba(71,85,105,0.5);
  animation: none;
  color: white;
}

.phone-float svg {
  width: 20px;
  height: 20px;
}

@keyframes pulse-phone {
  0%, 100% { box-shadow: 0 6px 20px rgba(71,85,105,0.4); }
  50% { box-shadow: 0 6px 28px rgba(71,85,105,0.6); }
}

/* ============================================================
   SCROLL ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-left.active {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal-right.active {
  opacity: 1;
  transform: translateX(0);
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================================
   RESPONSIVE DESIGN
   ============================================================ */
@media (max-width: 1024px) {
  .section { padding: 60px 0; }
  .section-title { font-size: 2rem; }
  .hero h1 { font-size: 2.5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .about-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .auth-brands-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
  .videos-grid { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; }
}

@media (max-width: 1300px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0;
    right: 0;
    width: 280px;
    max-width: 85vw;
    height: 100vh;
    background: var(--surface);
    box-shadow: -10px 0 30px rgba(0,0,0,0.15);
    padding: 80px 20px 24px;
    transform: translateX(100%);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1000;
    overflow-y: auto;
  }

  .nav-menu.active {
    transform: translateX(0) !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  .nav-links {
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
  }

  .nav-link {
    padding: 12px 16px;
    font-size: 1rem;
  }

  .desktop-cta {
    display: none !important;
  }
  
  .mobile-cta {
    display: inline-flex !important;
    justify-content: center;
    margin-top: 24px;
    width: 100%;
  }
}

@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 1.75rem; }
  .section-desc { font-size: 0.98rem; }

  .subpage-header { padding: 40px 0; }
  .subpage-header h1 { font-size: 1.8rem !important; }
  .subpage-header p { font-size: 0.95rem !important; }

  .contact-page-main { padding: 48px 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 32px; }
  .map-section { height: 300px; margin-top: 32px; }

  .top-bar-left { gap: 12px; justify-content: center; width: 100%; }
  .top-bar-inner { justify-content: center; }
  .top-bar { font-size: 0.78rem; padding: 6px 0; }

  .hero-slider { height: 85vh; min-height: 500px; }
  .slide-content { padding: 80px 44px 50px; text-align: center; max-width: 100%; }
  .slide-title { font-size: 1.85rem; line-height: 1.25; }
  .slide-subtitle { font-size: 1.05rem !important; }
  .slide-desc { font-size: 0.95rem; margin-bottom: 20px; word-break: break-word; }
  .slide-actions { flex-direction: column; gap: 10px; width: 100%; max-width: 320px; margin: 0 auto; }
  .btn-primary, .btn-secondary, .btn-white { 
    justify-content: center; 
    padding: 12px 20px; 
    font-size: 0.92rem; 
    width: 100%; 
    text-align: center;
  }
  
  /* Slider arrows mobile optimization — transparent sleek glassmorphic icons */
  .slider-arrow { 
    width: 34px; 
    height: 34px; 
    background: rgba(15, 23, 42, 0.55); 
    backdrop-filter: blur(6px); 
    -webkit-backdrop-filter: blur(6px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    z-index: 25; 
  }
  .slider-arrow svg { width: 16px; height: 16px; }
  .slider-arrow.prev { left: 6px; }
  .slider-arrow.next { right: 6px; }
  .slider-dots { bottom: 14px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stat-card { padding: 20px 12px; }
  .stat-number { font-size: 1.8rem; }

  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card {
    grid-template-columns: 1fr;
    grid-template-areas:
      "icon"
      "title"
      "desc"
      "link";
    text-align: center;
    justify-items: center;
    padding: 24px 18px;
    row-gap: 10px;
  }
  .service-icon {
    align-self: center;
  }
  .why-grid { grid-template-columns: 1fr; gap: 16px; }

  .about-features { grid-template-columns: 1fr; gap: 12px; }
  .about-image-wrapper img { height: 260px; }
  .about-floating-card { position: relative; bottom: auto; left: auto; margin-top: 16px; width: 100%; }

  .auth-brand-name { font-size: 1.6rem; letter-spacing: 1px; }
  .auth-brands-grid { grid-template-columns: 1fr; gap: 16px; }
  .auth-brand-card { padding: 20px; }

  .contact-form-wrapper { padding: 20px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 14px; }

  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 8px; }

  .cta-content h2 { font-size: 1.6rem; }
  .cta-actions { flex-direction: column; align-items: center; gap: 12px; width: 100%; }
}

@media (max-width: 480px) {
  .container { padding: 0 14px; }
  .hero h1 { font-size: 1.55rem; }
  .slide-content { padding: 65px 36px 55px; }
  .section-title { font-size: 1.4rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .stat-card { padding: 16px 8px; }
  .stat-number { font-size: 1.5rem; }
  .stat-label { font-size: 0.8rem; }

  .map-section { height: 250px; margin-top: 24px; }

  .top-bar-left { gap: 8px; }
  .top-bar-item { font-size: 0.75rem; }
  .top-bar-right { display: none; }

  /* Move slider arrows to bottom corners on small phones — 100% zero text overlap */
  .slider-arrow { 
    top: auto; 
    bottom: 10px; 
    transform: none; 
    width: 32px; 
    height: 32px; 
    background: rgba(15, 23, 42, 0.7);
  }
  .slider-arrow svg { width: 15px; height: 15px; }
  .slider-arrow.prev { left: 14px; }
  .slider-arrow.next { right: 14px; }

  /* Distinct Mobile Appointment Button ("Randevu Oluştur") */
  .whatsapp-float span { display: none; }
  .whatsapp-float .whatsapp-icon-desktop { display: none !important; }
  .whatsapp-float .appointment-icon-mobile { display: block !important; width: 22px; height: 22px; color: #ffffff; }
  .whatsapp-float { 
    padding: 12px; 
    border-radius: 50%; 
    left: 14px; 
    bottom: 16px; 
    background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%) !important; /* Sky Blue appointment gradient */
    box-shadow: 0 4px 15px rgba(2, 132, 199, 0.45) !important;
    z-index: 998;
  }

  .phone-float span { display: none; }
  .phone-float { 
    padding: 12px; 
    border-radius: 50%; 
    left: 14px; 
    bottom: 72px; 
    box-shadow: 0 4px 15px rgba(15, 23, 42, 0.4);
    z-index: 998;
  }
  .phone-float svg { width: 22px; height: 22px; }

  .slider-arrow { width: 32px; height: 32px; }
  .slider-arrow svg { width: 16px; height: 16px; }

  .image-comparison { height: 250px; }
  .label-tag { font-size: 0.68rem; padding: 4px 8px; bottom: 12px; }
  .handle-button { width: 38px; height: 38px; }
  .handle-button svg { width: 16px; height: 16px; }
}

/* --- Reduced Motion --- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html { scroll-behavior: auto; }
  .brands-track { animation: none; }

  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}

/* --- Mobile Menu Overlay --- */
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}

.nav-overlay.active {
  opacity: 1;
  pointer-events: all;
}

/* ============================================================
   MODALS (SERVICES & SUCCESS)
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(10, 22, 40, 0.6);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  padding: 20px;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: all;
}

.modal-container {
  background: var(--surface);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border);
  position: relative;
  transform: translateY(40px);
  transition: var(--transition);
  overflow: hidden;
}

.modal-overlay.active .modal-container {
  transform: translateY(0);
}

.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
  border: none;
  z-index: 10;
}

.modal-close:hover {
  background: var(--primary);
  color: white;
  transform: rotate(90deg);
}

.modal-close svg {
  width: 18px;
  height: 18px;
}

.modal-content {
  padding: 40px;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
}

.modal-icon {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, rgba(71,85,105,0.1), rgba(0,188,212,0.1));
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary);
  flex-shrink: 0;
}

.modal-icon svg {
  width: 28px;
  height: 28px;
}

.modal-header h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary);
}

.modal-body {
  margin-bottom: 32px;
}

.modal-body p {
  color: var(--text-light);
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 24px;
}

.modal-features-title {
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 12px;
}

.modal-features-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.modal-features-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-light);
}

.modal-features-list li svg {
  width: 18px;
  height: 18px;
  color: var(--success);
  flex-shrink: 0;
  margin-top: 3px;
}

.modal-footer {
  display: flex;
  gap: 16px;
  border-top: 1px solid var(--border);
  padding-top: 24px;
}

.modal-footer .btn-primary,
.modal-footer .btn-secondary {
  display: inline-flex;
  flex: 1;
  justify-content: center;
}

/* Success Modal Custom Styling */
.success-container {
  max-width: 450px;
}

.success-icon-wrapper svg {
  animation: scale-up-success 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275) both;
}

@keyframes scale-up-success {
  0% { transform: scale(0); opacity: 0; }
  100% { transform: scale(1); opacity: 1; }
}

@media (max-width: 640px) {
  .modal-content {
    padding: 30px 20px;
  }
  .modal-header h3 {
    font-size: 1.3rem;
  }
  .modal-footer {
    flex-direction: column;
  }
}

/* ============================================================
   FAQ / SSS SECTION
   ============================================================ */
.faq-section {
  background: var(--bg-alt);
}

.faq-list {
  max-width: 860px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item:hover {
  border-color: var(--secondary);
  box-shadow: var(--shadow);
}

.faq-item[open] {
  border-color: var(--secondary);
  box-shadow: var(--shadow-blue);
}

.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  color: var(--text);
  gap: 12px;
  transition: var(--transition);
}

.faq-question::-webkit-details-marker { display: none; }
.faq-question::marker { display: none; }

.faq-question::after {
  content: '+';
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--secondary);
  flex-shrink: 0;
  transition: transform 0.3s ease;
  line-height: 1;
}

.faq-item[open] .faq-question::after {
  transform: rotate(45deg);
}

.faq-item[open] .faq-question {
  color: var(--secondary);
}

.faq-answer {
  padding: 0 24px 20px;
  border-top: 1px solid var(--border);
}

.faq-answer p {
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.75;
  margin-top: 16px;
}

.faq-answer a {
  color: var(--secondary);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.faq-answer a:hover {
  color: var(--primary);
}

@media (max-width: 768px) {
  .faq-question {
    padding: 16px 18px;
    font-size: 0.9rem;
  }
  .faq-answer {
    padding: 0 18px 16px;
  }
}

/* ============================================================
   SAHADAN VİDEOLAR (PORTFOLİO GRID & LIGHTBOX)
   ============================================================ */
.videos-section {
  background: var(--bg-main);
  padding: 80px 0;
}

.videos-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.video-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

.video-card:hover {
  transform: translateY(-8px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-lg);
}

.video-thumbnail-wrapper {
  position: relative;
  height: 210px;
  background: linear-gradient(135deg, var(--bg-alt) 0%, var(--surface) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-thumbnail {
  transition: transform 0.5s ease;
}

.video-card:hover .video-thumbnail {
  transform: scale(1.08);
}

.video-thumbnail-placeholder {
  color: var(--primary);
  opacity: 0.25;
  width: 64px;
  height: 64px;
  transition: var(--transition);
}

.video-card:hover .video-thumbnail-placeholder {
  opacity: 0.45;
  transform: scale(1.1);
}

.video-play-btn {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 15px rgba(71,85,105,0.4);
  transition: var(--transition);
  z-index: 2;
}

.video-play-btn svg {
  width: 24px;
  height: 24px;
  margin-left: 4px; /* Play üçgenini görsel ortalamak için */
}

.video-card:hover .video-play-btn {
  background: var(--secondary);
  transform: scale(1.12);
  box-shadow: 0 6px 20px rgba(0,180,216,0.6);
}

.video-info {
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.video-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 700;
}

.video-info p {
  font-size: 0.92rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Lightbox Sınıfları */
.video-lightbox-container {
  max-width: 960px;
  width: 90% !important;
  background: #000000 !important;
  padding: 0 !important;
  border: 1px solid rgba(255,255,255,0.1);
  overflow: hidden;
  border-radius: 12px;
  transition: max-width 0.3s ease, height 0.3s ease;
}

.video-lightbox-container.is-instagram {
  max-width: 440px;
  height: 85vh;
}

.video-wrapper {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
  height: 0;
  overflow: hidden;
  width: 100%;
}

.video-lightbox-container.is-instagram .video-wrapper {
  padding-bottom: 0;
  height: 100%;
}

.video-wrapper video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000000;
}

#video-lightbox-close {
  top: 15px;
  right: 15px;
  background: rgba(0,0,0,0.5);
  color: #ffffff;
  border: 1px solid rgba(255,255,255,0.2);
}

#video-lightbox-close:hover {
  background: #ffffff;
  color: #000000;
}

@media (max-width: 480px) {
  .videos-section {
    padding: 60px 0;
  }
  .video-thumbnail-wrapper {
    height: 180px;
  }
  .video-info {
    padding: 20px;
  }
}

/* ============================================================
   YETKİLİ SERVİSLİKLERİMİZ
   ============================================================ */
.authorized-services-section {
  background: var(--bg-alt);
  padding: 80px 0;
}

.auth-brands-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 30px;
  margin-top: 40px;
}

.auth-brand-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  text-align: center;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.auth-brand-card:hover {
  transform: translateY(-5px);
  border-color: var(--secondary);
  box-shadow: var(--shadow-md);
}

.auth-brand-badge {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--primary);
  background: rgba(71,85,105,0.1);
  padding: 4px 10px;
  border-radius: 100px;
  letter-spacing: 0.5px;
}

.auth-brand-name {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--text-main);
  letter-spacing: 2px;
  margin: 10px 0;
}

.auth-brand-card h4 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 700;
}

.auth-brand-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Özel Servis Bannerı */
.special-service-banner {
  background: rgba(71,85,105,0.06);
  border-left: 4px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 30px;
  margin-top: 50px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.special-service-banner .banner-icon {
  width: 48px;
  height: 48px;
  background: var(--primary);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.special-service-banner .banner-icon svg {
  width: 24px;
  height: 24px;
}

.special-service-banner .banner-text h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 8px;
}

.special-service-banner .banner-text p {
  font-size: 0.96rem;
  color: var(--text-light);
  line-height: 1.7;
}

/* ============================================================
   BELGELERİMİZ SECTION
   ============================================================ */
.certificates-section {
  background: var(--bg-main);
  padding: 80px 0;
}

.certificates-grid {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.certificate-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  max-width: 450px;
  width: 100%;
  overflow: hidden;
  display: block;
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

.certificate-card:hover {
  transform: translateY(-8px);
  border-color: var(--primary);
  box-shadow: var(--shadow-lg);
}

.certificate-image-wrapper {
  position: relative;
  height: 320px;
  background: #f7f9fc;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  border-bottom: 1px solid var(--border);
}

.certificate-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 4px 15px rgba(0,0,0,0.06);
  transition: transform 0.5s ease;
}

.certificate-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(71,85,105,0.3);
  backdrop-filter: blur(2px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

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

.certificate-card:hover .certificate-img {
  transform: scale(1.04);
}

.certificate-info {
  padding: 24px;
  text-align: center;
}

.certificate-info h3 {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  color: var(--text-main);
  font-weight: 700;
  margin-bottom: 8px;
}

.certificate-info p {
  font-size: 0.9rem;
  color: var(--text-light);
  line-height: 1.6;
}

@media (max-width: 768px) {
  .special-service-banner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 24px;
  }
}

/* ============================================================
   SUBPAGE HEADER ELEMENTS OVERRIDES
   ============================================================ */
.subpage-header {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  border-bottom: 2px solid rgba(71, 85, 105, 0.25);
  padding: 60px 0;
  color: #ffffff;
  text-align: center;
}

.subpage-header h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 10px;
  color: #ffffff !important;
}

.subpage-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 600px;
  margin: 0 auto;
  color: #e2e8f0 !important;
}

/* ============================================================
   COMPARISON SLIDER (BEFORE/AFTER)
   ============================================================ */
.comparison-section {
    background: var(--bg-alt);
    padding: 80px 0;
}

.comparison-container {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--border);
}

.image-comparison {
    position: relative;
    width: 100%;
    height: 480px;
    user-select: none;
    overflow: hidden;
}

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

.image-before, .image-after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.image-before {
    z-index: 10;
}

.image-after {
    z-index: 20;
    width: 50%;
    border-right: 2px solid #ffffff;
}

.label-tag {
    position: absolute;
    bottom: 20px;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #ffffff;
    z-index: 30;
    pointer-events: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    background: rgba(15, 23, 42, 0.75);
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.label-tag.before {
    left: 20px;
}

.label-tag.after {
    right: 20px;
}

.slider-handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 4px;
    background: #ffffff;
    z-index: 40;
    cursor: ew-resize;
    transform: translateX(-50%);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.handle-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: 3px solid #ffffff;
    transition: transform 0.2s, background-color 0.2s;
    pointer-events: none;
}

.slider-handle:hover .handle-button,
.slider-handle:active .handle-button {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--bg-alt);
    color: var(--secondary);
}

.handle-button svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 768px) {
    .image-comparison {
        height: 320px;
    }
}

/* ============================================================
   LAZYLOAD & PERFORMANCE STYLES
   ============================================================ */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.4s ease-in-out;
}
img[loading="lazy"].loaded {
    opacity: 1;
}




