﻿/* =========================================================
   İmaç İnşaat Mimarlık — Ana Stil Dosyası
   Site: imacinsaatmimarlik.com.tr
   ========================================================= */

/* ── 1. CSS CUSTOM PROPERTIES (DESIGN TOKENS) ── */
:root {
  /* Renkler */
  --primary:        #0B2447;   /* Derin lacivert */
  --primary-light:  #19376D;   /* Açık lacivert */
  --accent:         #F0A500;   /* Altın sarısı */
  --accent-dark:    #C88400;   /* Koyu altın */
  --white:          #FFFFFF;
  --light:          #F4F6FB;
  --gray-100:       #F8F9FA;
  --gray-200:       #E9ECEF;
  --gray-300:       #DEE2E6;
  --gray-500:       #ADB5BD;
  --gray-700:       #495057;
  --dark:           #1C2833;
  --text:           #2C3E50;
  --text-light:     #636E72;

  /* Tipografi */
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', 'Segoe UI', sans-serif;

  /* Boyutlar */
  --container-max: 1200px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 32px;

  /* Gölgeler */
  --shadow-sm: 0 2px 8px rgba(11,36,71,.10);
  --shadow-md: 0 6px 24px rgba(11,36,71,.14);
  --shadow-lg: 0 12px 48px rgba(11,36,71,.18);
  --shadow-card: 0 4px 20px rgba(0,0,0,.08);

  /* Geçişler */
  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --transition-slow: all .6s cubic-bezier(.4,0,.2,1);

  /* Z-index */
  --z-dropdown: 100;
  --z-sticky:   200;
  --z-overlay:  300;
  --z-modal:    400;

  /* Layout */
  --header-height-desktop: 100px;
  --header-height-mobile: 70px;
}

/* ── 2. RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: var(--text);
  background: var(--white);
  overflow-x: hidden;
  width: 100%;
  max-width: 100%;
  min-height: 100vh;
  position: relative;
  overscroll-behavior-x: none;
}

body.menu-open {
  overflow: visible !important;
  position: static !important;
  inset: auto;
  width: 100%;
}

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

iframe,
table,
svg,
video,
canvas {
  max-width: 100%;
}

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

ul, ol { list-style: none; }

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

p { color: var(--text-light); }

button, input, textarea, select {
  font-family: var(--font-body);
  font-size: 1rem;
}

/* ── 3. LAYOUT UTILITIES ── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.5rem;
}

.section { padding-block: 5rem; }
.section-sm { padding-block: 3rem; }
.section-lg { padding-block: 7rem; }

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

.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-col { display: flex; flex-direction: column; }
.gap-1 { gap: .5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

.text-center { text-align: center; }
.text-right  { text-align: right; }

/* ── 4. TYPOGRAPHY HELPERS ── */
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-family: var(--font-heading);
  color: var(--primary);
  margin-bottom: .75rem;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .12em;
  font-weight: 600;
  margin-bottom: .5rem;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 640px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.title-line {
  width: 56px;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  border-radius: 2px;
  margin-bottom: 1.5rem;
}

.title-line-center { margin-inline: auto; }

/* ── 5. BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.75rem;
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: .95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-primary {
  background: var(--accent);
  color: var(--primary);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}

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

.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}

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

.btn-lg {
  padding: 1rem 2.25rem;
  font-size: 1.05rem;
}

.btn-sm {
  padding: .5rem 1.25rem;
  font-size: .875rem;
}

/* ── 6. HEADER & NAVIGATION ── */
#header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: var(--transition);
}

.header-top {
  background: var(--primary);
  padding: .4rem 0;
}

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

.header-top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  font-size: .85rem;
  color: rgba(255,255,255,.8);
}

.header-top-info a { color: rgba(255,255,255,.8); }
.header-top-info a:hover { color: var(--accent); }
.header-top-info i { color: var(--accent); margin-right: .3rem; }

.header-top-social { display: flex; gap: .75rem; }

.header-top-social a {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255,255,255,.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .75rem;
  color: var(--white);
}

.header-top-social a:hover { background: var(--accent); color: var(--primary); }

.navbar {
  background: var(--white);
  box-shadow: var(--shadow-sm);
  padding: .6rem 0;
}

.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-width: 0;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: 0;
  flex-shrink: 1;
}

.logo-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  font-weight: 900;
  flex-shrink: 0;
  font-family: var(--font-heading);
}

.logo-text { line-height: 1.2; }

.logo-name {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
}

.logo-tagline {
  font-size: .7rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .08em;
  display: block;
}

/* Site logo sizing - responsive and constrained to prevent oversized logo */
.site-logo {
  width: clamp(90px, 14vw, 160px);
  height: auto;
  max-height: 56px;
  object-fit: contain;
  display: block;
}

@media (max-width: 600px) {
  .site-logo { width: 110px; max-height: 44px; }
}

/* Nav menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: .25rem;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: .3rem;
  padding: .6rem .9rem;
  color: var(--text);
  font-weight: 500;
  font-size: .9rem;
  border-radius: var(--radius-sm);
  white-space: nowrap;
}

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

.nav-link i { font-size: .7rem; transition: var(--transition); }

/* Dropdown */
.dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 240px;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: .75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: var(--transition);
  z-index: var(--z-dropdown);
  border-top: 3px solid var(--accent);
}

.nav-item:hover > .dropdown-menu,
.nav-item:focus-within > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item:hover > .nav-link i { transform: rotate(180deg); }

.dropdown-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: .6rem .75rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
}

.dropdown-item:hover {
  background: var(--light);
  color: var(--primary);
  padding-left: 1rem;
}

.dropdown-item i {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .8rem;
  flex-shrink: 0;
}

.dropdown-item:hover i { background: var(--accent); color: var(--primary); }

/* CTA Button nav */
.nav-cta {
  margin-left: .75rem;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: .5rem;
  background: none;
  border: none;
  flex-shrink: 0;
  margin-left: auto;
  position: relative;
  z-index: calc(var(--z-overlay) + 1);
}

.hamburger span {
  width: 26px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
  transition: var(--transition);
}

.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Scrolled header */
#header.scrolled .navbar { box-shadow: var(--shadow-md); }

/* ── 7. HERO SLIDER ── */
.hero-slider {
  position: relative;
  height: calc(100svh - var(--header-height-desktop));
  min-height: 620px;
  max-height: 800px;
  overflow: hidden;
  margin-top: var(--header-height-desktop);
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity .8s ease;
}

.hero-slide.active { opacity: 1; }

.hero-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y pinch-zoom;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11,36,71,.85) 0%,
    rgba(11,36,71,.50) 60%,
    rgba(11,36,71,.20) 100%
  );
}

.hero-content {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
}

.hero-text { max-width: 680px; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(240,165,0,.15);
  border: 1px solid rgba(240,165,0,.3);
  color: var(--accent);
  padding: .4rem 1rem;
  border-radius: 50px;
  font-size: .85rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  backdrop-filter: blur(8px);
}

.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  color: var(--white);
  margin-bottom: 1.25rem;
  line-height: 1.2;
}

.hero-title span { color: var(--accent); }

.hero-desc {
  font-size: clamp(1rem, 1.5vw, 1.15rem);
  color: rgba(255,255,255,.85);
  margin-bottom: 2.5rem;
  max-width: 540px;
}

.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  position: absolute;
  bottom: 3rem;
  right: 0;
  max-width: min(100%, calc(100vw - 1rem));
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg) 0 0 var(--radius-lg);
  padding: 1.5rem 2.5rem 1.5rem 2rem;
  display: flex;
  gap: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.hero-stat { text-align: center; }

.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary);
  display: block;
  line-height: 1;
}

.hero-stat-num span { color: var(--accent); }

.hero-stat-label {
  font-size: .78rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* Slider controls */
.slider-controls {
  position: absolute;
  bottom: 2.5rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: .75rem;
  z-index: 2;
}

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

.slider-dot.active {
  background: var(--accent);
  width: 28px;
  border-radius: 5px;
}

/* ── 8. PAGE HERO (İÇ SAYFALAR) ── */
.page-hero {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding: 8rem 0 4rem;
  margin-top: 100px;
  position: relative;
  overflow: hidden;
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: .12;
}

.page-hero::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--white);
  clip-path: ellipse(60% 100% at 50% 100%);
}

.page-hero .container { position: relative; z-index: 1; }

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--white);
  margin-bottom: .75rem;
}

.page-hero-desc {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 560px;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: .5rem;
  margin-bottom: 1.5rem;
}

.breadcrumb-item {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

.breadcrumb-item a { color: var(--accent); }
.breadcrumb-item a:hover { color: var(--white); }

.breadcrumb-item + .breadcrumb-item::before {
  content: '›';
  margin-right: .5rem;
}

/* ── 9. HIZMETLER (Service Cards) ── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

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

.service-card-img {
  position: relative;
  height: 220px;
  overflow: hidden;
}

.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y pinch-zoom;
}

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

.service-card-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--primary);
  padding: .3rem .8rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
  text-transform: uppercase;
}

.service-card-body { padding: 1.5rem; }

.service-card-icon {
  width: 52px;
  height: 52px;
  background: var(--light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  transition: var(--transition);
}

.service-card:hover .service-card-icon {
  background: var(--accent);
  color: var(--primary);
}

.service-card-title {
  font-size: 1.2rem;
  margin-bottom: .6rem;
  color: var(--primary);
}

.service-card-text {
  font-size: .9rem;
  color: var(--text-light);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: .875rem;
}

.service-card-link:hover { color: var(--accent); gap: .7rem; }

/* ── 10. WHY CHOOSE US (Neden Biz) ── */
.why-section {
  background: var(--light);
}

.why-features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.why-feature {
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.why-feature:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.why-feature-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.4rem;
  flex-shrink: 0;
}

.why-feature h4 {
  font-size: 1rem;
  margin-bottom: .3rem;
  color: var(--primary);
}

.why-feature p {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.6;
  margin: 0;
}

/* ── 11. STATS COUNTER ── */
.stats-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 100%);
  padding-block: 4rem;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('../images/hero-bg.jpg') center/cover;
  opacity: .05;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
}

.stat-num {
  font-family: var(--font-heading);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: .5rem;
}

.stat-num span { color: var(--accent); }

.stat-label {
  font-size: .9rem;
  color: rgba(255,255,255,.75);
  text-transform: uppercase;
  letter-spacing: .08em;
}

.stat-divider {
  border: none;
  border-right: 1px solid rgba(255,255,255,.15);
}

/* ── 12. HAKKIMIZDA (About) ── */
.about-img-wrapper {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-img-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--accent);
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-img-badge .num {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
  display: block;
}

.about-img-badge .label {
  font-size: .75rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
}

.about-list {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  margin-block: 1.5rem;
}

.about-list-item {
  display: flex;
  align-items: center;
  gap: .75rem;
  font-size: .95rem;
  color: var(--text);
}

.about-list-item i {
  width: 28px;
  height: 28px;
  background: rgba(240,165,0,.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: .8rem;
  flex-shrink: 0;
}

/* ── 13. PROJELER (Gallery) ── */
.gallery-filter {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2.5rem;
  justify-content: center;
}

.filter-btn {
  padding: .5rem 1.25rem;
  border-radius: 50px;
  border: 2px solid var(--gray-300);
  background: transparent;
  color: var(--text);
  font-size: .875rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  cursor: default;
  box-shadow: var(--shadow-sm);
  touch-action: pan-y pinch-zoom;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
  -webkit-user-drag: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  touch-action: pan-y pinch-zoom;
}

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

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(11,36,71,.85) 0%, transparent 60%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  pointer-events: none;
}

.gallery-item:hover .gallery-overlay { opacity: 1; }

.gallery-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: .25rem;
}

.gallery-cat {
  color: var(--accent);
  font-size: .8rem;
}

/* ── 14. BLOG ── */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  border: 1px solid var(--gray-200);
}

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

.blog-card-img {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

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

.blog-card-cat {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent);
  color: var(--primary);
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}

.blog-card-body { padding: 1.5rem; }

.blog-meta {
  display: flex;
  gap: 1rem;
  margin-bottom: .75rem;
  font-size: .8rem;
  color: var(--gray-500);
}

.blog-meta i { color: var(--accent); margin-right: .25rem; }

.blog-card-title {
  font-size: 1.05rem;
  margin-bottom: .6rem;
  color: var(--primary);
  line-height: 1.4;
}

.blog-card-title a:hover { color: var(--accent); }

.blog-card-text {
  font-size: .875rem;
  color: var(--text-light);
  line-height: 1.65;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  color: var(--primary);
  font-weight: 600;
  font-size: .875rem;
}

.blog-read-more:hover { color: var(--accent); gap: .7rem; }

/* Blog single page */
.blog-single { padding-block: 3rem; }

.blog-single-header { margin-bottom: 2.5rem; }

.blog-single-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 2.5rem;
  max-height: 480px;
}

.blog-content h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.blog-content h3 {
  font-size: 1.3rem;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
}

.blog-content p {
  margin-bottom: 1.25rem;
  font-size: 1rem;
  line-height: 1.8;
}

.blog-content ul, .blog-content ol {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1.25rem;
}

.blog-content li {
  margin-bottom: .5rem;
  font-size: 1rem;
  color: var(--text-light);
}

.blog-content blockquote {
  border-left: 4px solid var(--accent);
  padding: 1rem 1.5rem;
  background: var(--light);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-block: 1.5rem;
  font-style: italic;
  color: var(--text);
}

/* ── 15. İLETİŞİM (Contact) ── */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
}

.contact-info-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact-info-item h5 {
  font-size: .875rem;
  color: var(--text-light);
  font-weight: 400;
  margin-bottom: .2rem;
}

.contact-info-item p {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.contact-info-item a {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

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

/* Contact Form */
.contact-form-wrapper {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group { margin-bottom: 1.25rem; }

.form-label {
  display: block;
  font-size: .875rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: .4rem;
}

.form-control {
  width: 100%;
  padding: .75rem 1rem;
  border: 1.5px solid var(--gray-300);
  border-radius: var(--radius-sm);
  color: var(--text);
  background: var(--gray-100);
  transition: var(--transition);
  font-size: .95rem;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(11,36,71,.08);
}

.form-control.is-invalid,
.form-group.is-invalid .form-control {
  border-color: #c0392b;
  box-shadow: 0 0 0 3px rgba(192,57,43,.12);
}

.form-note {
  margin-top: .35rem;
  font-size: .82rem;
  color: #c0392b;
}

textarea.form-control { resize: vertical; min-height: 130px; }

/* ── 16. CTA SECTION ── */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-light) 50%, var(--primary) 100%);
  padding-block: 5rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -20%;
  width: 60%;
  height: 200%;
  background: radial-gradient(ellipse, rgba(240,165,0,.12) 0%, transparent 70%);
  pointer-events: none;
}

.cta-title {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  color: var(--white);
  margin-bottom: 1rem;
  position: relative;
}

.cta-text {
  color: rgba(255,255,255,.8);
  font-size: 1.05rem;
  max-width: 560px;
  margin-inline: auto;
  margin-bottom: 2.5rem;
}

.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── 17. TESTIMONIALS ── */
.testimonials-section { background: var(--light); }

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-card);
  position: relative;
  transition: var(--transition);
}

.testimonial-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }

.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 1.25rem;
  right: 1.5rem;
  font-size: 5rem;
  font-family: var(--font-heading);
  color: rgba(240,165,0,.15);
  line-height: 1;
}

.testimonial-stars {
  display: flex;
  gap: .2rem;
  margin-bottom: 1rem;
}

.testimonial-stars i { color: var(--accent); font-size: .9rem; }

.testimonial-text {
  font-size: .95rem;
  color: var(--text);
  line-height: 1.75;
  margin-bottom: 1.5rem;
  font-style: italic;
}

.testimonial-author { display: flex; align-items: center; gap: .75rem; }

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.author-name {
  font-weight: 600;
  color: var(--primary);
  font-size: .95rem;
  display: block;
}

.author-location {
  font-size: .8rem;
  color: var(--text-light);
}

/* ── 18. SERVICE DETAIL PAGE ── */
.service-detail-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

.service-detail-main h2 {
  font-size: 1.6rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.service-detail-main h3 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: .75rem;
  color: var(--primary);
}

.service-detail-main p {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--text-light);
  margin-bottom: 1.25rem;
}

.service-detail-main ul {
  list-style: none;
  padding: 0;
  margin-bottom: 1.5rem;
}

.service-detail-main ul li {
  padding: .5rem 0;
  padding-left: 1.75rem;
  position: relative;
  font-size: .975rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--gray-200);
}

.service-detail-main ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

.service-img-full {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-block: 2rem;
  box-shadow: var(--shadow-md);
}

.service-img-full img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}

/* Sidebar */
.sidebar-widget {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 1.75rem;
}

.sidebar-widget-title {
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 1.25rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--accent);
}

.sidebar-services-list {
  display: flex;
  flex-direction: column;
  gap: .3rem;
}

.sidebar-service-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .7rem .9rem;
  border-radius: var(--radius-sm);
  color: var(--text);
  font-size: .9rem;
  font-weight: 500;
  transition: var(--transition);
}

.sidebar-service-link:hover,
.sidebar-service-link.active {
  background: var(--primary);
  color: var(--white);
  padding-left: 1.1rem;
}

.sidebar-service-link i { font-size: .75rem; color: var(--accent); }

.contact-sidebar {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  color: var(--white);
}

.contact-sidebar h4 { color: var(--white); margin-bottom: .75rem; }
.contact-sidebar p { color: rgba(255,255,255,.8); font-size: .9rem; margin-bottom: 1.5rem; }

.contact-sidebar .phone-number {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-bottom: 1.25rem;
}

/* ── 19. FOOTER ── */
.footer {
  background: var(--dark);
  color: rgba(255,255,255,.75);
  padding-top: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 2.5rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.08);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1.25rem;
}

.footer-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--accent);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.3rem;
}

.footer-logo-name {
  font-family: var(--font-heading);
  color: var(--white);
  font-size: 1rem;
}

.footer-desc {
  font-size: .875rem;
  line-height: 1.75;
  margin-bottom: 1.5rem;
  color: rgba(255,255,255,.6);
}

.footer-social { display: flex; gap: .5rem; }

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  transition: var(--transition);
}

.footer-social a:hover { background: var(--accent); color: var(--primary); }

.footer-col-title {
  color: var(--white);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  padding-bottom: .6rem;
  border-bottom: 2px solid rgba(240,165,0,.3);
  font-family: var(--font-body);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}

.footer-link {
  color: rgba(255,255,255,.6);
  font-size: .875rem;
  display: flex;
  align-items: center;
  gap: .5rem;
}

.footer-link::before {
  content: '›';
  color: var(--accent);
  font-size: 1rem;
}

.footer-link:hover { color: var(--accent); padding-left: .3rem; }

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: .9rem;
}

.footer-contact-item {
  display: flex;
  gap: .75rem;
  font-size: .875rem;
  color: rgba(255,255,255,.65);
}

.footer-contact-item i { color: var(--accent); margin-top: .2rem; flex-shrink: 0; }

.footer-contact-item a { color: rgba(255,255,255,.65); }
.footer-contact-item a:hover { color: var(--accent); }

.footer-bottom {
  padding-block: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .8rem;
  color: rgba(255,255,255,.4);
}

.footer-bottom a { color: rgba(255,255,255,.4); }
.footer-bottom a:hover { color: var(--accent); }

/* ── 20. FLOATING BUTTONS ── */
.whatsapp-float {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #25D366;
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,.4);
  z-index: var(--z-overlay);
  transition: var(--transition);
  animation: pulse-green 2s infinite;
}

/* Telefon butonu (legacy ile uyumlu) */
.phone-float {
  position: fixed;
  bottom: 8rem; /* WhatsApp'ın üstünde konumlanır */
  right: 2rem;
  background: #198754;
  color: var(--white);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 6px 22px rgba(25,135,84,.25);
  z-index: var(--z-overlay);
  transition: var(--transition);
}

/* ── 20. FLOATING BUTTONS (YENİ) ── */
.floating-actions {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 890;
}

.float-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: none;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  text-decoration: none;
  transition: all var(--transition-base);
}

.float-btn:hover {
  transform: scale(1.1);
  color: #fff;
}

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

.float-phone     { background: #198754; }
.float-whatsapp  { background: #25D366; }

@keyframes pulse-green {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,.4); }
  50%       { box-shadow: 0 4px 32px rgba(37,211,102,.7); }
}

/* Back to top */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  background: var(--accent);
  color: var(--primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  box-shadow: var(--shadow-sm);
  z-index: var(--z-overlay);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}
@media (max-width: 600px) {
  .floating-actions {
    right: 0.5rem;
    bottom: 1rem;
    gap: 0.4rem;
  }
  .float-btn {
    width: 40px;
    height: 40px;
  }
  .float-btn svg {
    width: 18px;
    height: 18px;
  }
}

.back-to-top.visible { opacity: 1; pointer-events: all; }
.back-to-top:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }

/* ── 21. PROCESS / AŞAMALAR ── */
.process-list {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

.process-list::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(12.5%);
  right: calc(12.5%);
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--primary));
  z-index: 0;
}

.process-step {
  text-align: center;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}

.process-step-num {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--white);
  border: 3px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary);
  margin-inline: auto;
  margin-bottom: 1.25rem;
  box-shadow: var(--shadow-sm);
}

.process-step h4 {
  font-size: 1rem;
  margin-bottom: .5rem;
  color: var(--primary);
}

.process-step p {
  font-size: .85rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* ── 22. MAP SECTION ── */
.map-section {
  background: var(--light);
  padding-block: 0;
}

.map-section iframe {
  width: 100%;
  height: 420px;
  border: none;
  display: block;
}

/* ── 23. BREADCRUMB PAGE CONTENT LAYOUT ── */
.page-content {
  padding-block: 4rem;
}

.page-content-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 3rem;
  align-items: start;
}

/* ── 24. RESPONSIVE ── */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 992px) {
  .section { padding-block: 4rem; }
  .section-sm { padding-block: 2.5rem; }
  .section-lg { padding-block: 5rem; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .service-detail-layout,
  .page-content-grid { grid-template-columns: 1fr; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }
  .process-list { grid-template-columns: repeat(2, 1fr); gap: 2rem; }
  .process-list::before { display: none; }
  .contact-grid { grid-template-columns: 1fr; }
  .why-section .grid-2 { grid-template-columns: 1fr; }
  .hero-stats { display: none; }
  .header-top { display: none; }
  .page-hero { margin-top: var(--header-height-mobile); }
  .hero-slider {
    margin-top: var(--header-height-mobile);
    height: min(78svh, 680px);
    min-height: 540px;
  }
}

@media (max-width: 768px) {
  .navbar { padding: .5rem 0; }
  .container { padding-inline: .9rem; }

  html,
  body {
    height: auto !important;
    min-height: auto !important;
    max-height: none !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: auto !important;
  }

  body {
    position: static !important;
    transform: none !important;
    contain: none !important;
  }

  body,
  section,
  main,
  article,
  aside,
  header,
  footer,
  .container,
  .page-content,
  .page-content-grid,
  .blog-single-layout,
  .hero-slider,
  .page-hero,
  .stats-section,
  .why-section,
  .testimonials-section,
  .cta-section,
  .contact-form-wrapper,
  .contact-grid,
  .services-grid,
  .gallery-grid,
  .blog-grid,
  .testimonials-grid,
  .process-list,
  .footer-grid,
  .why-features,
  .stats-grid,
  .grid-2,
  .grid-3,
  .grid-4 {
    position: static;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow-y: visible !important;
    overflow-x: clip;
    transform: none !important;
    contain: none !important;
  }

  .navbar .container {
    gap: .75rem;
    overflow-x: hidden;
    position: relative;
  }

  .nav-menu {
    position: fixed;
    display: none;
    top: var(--header-height-mobile);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    max-height: none;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    box-shadow: var(--shadow-lg);
    overflow: visible;
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    z-index: calc(var(--z-overlay) + 2);
  }

  .nav-menu.open { display: flex; }
  .hamburger { display: flex; }

  .site-logo {
    width: clamp(88px, 30vw, 120px);
    max-height: 42px;
  }

  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    padding: .25rem .5rem .25rem 1rem;
    border-top: none;
    border-left: 3px solid var(--accent);
    margin: .25rem 0;
    display: none;
  }

  .nav-item.open .dropdown-menu { display: block; }
  .nav-link { width: 100%; }

  .nav-cta {
    margin-left: 0;
    margin-top: 1rem;
    width: 100%;
  }

  .hero-btns .btn,
  .cta-btns .btn,
  .cta-buttons .btn,
  .page-hero .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-slider {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 5;
    overflow: hidden;
  }

  .hero-stats,
  .slider-controls {
    max-width: calc(100vw - 2rem);
  }

  .services-grid,
  .grid-2,
  .grid-3,
  .grid-4 { grid-template-columns: 1fr; }

  .services-grid,
  .blog-grid,
  .gallery-grid,
  .testimonials-grid,
  .stats-grid,
  .why-features,
  .process-list,
  .contact-grid,
  .footer-grid {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    gap: .75rem;
  }

  .services-grid > *,
  .blog-grid > *,
  .gallery-grid > *,
  .testimonials-grid > *,
  .stats-grid > *,
  .why-features > *,
  .process-list > *,
  .contact-grid > *,
  .footer-grid > * {
    min-width: 0;
    max-width: 100%;
  }

  .why-features { grid-template-columns: 1fr; }

  .why-feature {
    padding: 1.25rem;
    align-items: flex-start;
  }

  .blog-grid,
  .gallery-grid,
  .testimonials-grid { grid-template-columns: 1fr; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }

  .footer-bottom {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }

  .form-row { grid-template-columns: 1fr; }
  .hero-btns { flex-direction: column; }

  .section { padding-block: 2.5rem; }
  .section-sm { padding-block: 2rem; }
  .section-lg { padding-block: 3rem; }

  .stats-section,
  .testimonials-section,
  .why-section,
  .cta-section {
    padding-block: 2.5rem;
  }

  .page-hero { padding: 5rem 0 2.5rem; }

  .hero-slider {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 4 / 5;
  }

  .hero-content { padding-block: 1rem; }

  .hero-title {
    font-size: clamp(1.9rem, 7vw, 2.6rem);
    margin-bottom: 1rem;
  }

  .hero-desc { margin-bottom: 1.5rem; }

  .section-title {
    font-size: clamp(1.5rem, 6vw, 2rem);
  }

  .section-desc {
    margin-bottom: 1.5rem;
    font-size: .98rem;
  }

  .section,
  .stats-section,
  .testimonials-section,
  .why-section,
  .cta-section,
  .page-hero,
  .page-content,
  .page-content-grid,
  .blog-single-layout,
  #hizmetler,
  #hakkimizda,
  #projeler,
  #blog,
  #iletisim {
    overflow-y: visible !important;
    max-height: none !important;
    height: auto !important;
    min-height: 0 !important;
  }

  body.menu-open {
    overflow: visible !important;
    position: static !important;
    inset: auto;
    width: 100%;
  }
}

@media (max-width: 480px) {
  .container { padding-inline: .75rem; }
  .stats-grid { grid-template-columns: 1fr; }
  .process-list { grid-template-columns: 1fr; }

  .hero-slider {
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: 10 / 13;
    margin-top: var(--header-height-mobile);
  }

  .page-hero { padding: 4.5rem 0 2.25rem; }
  .section { padding-block: 2rem; }

  .stats-section,
  .testimonials-section,
  .why-section,
  .cta-section {
    padding-block: 2rem;
  }

  .whatsapp-float,
  .phone-float { right: 1rem; }

  .back-to-top {
    left: 1rem;
    bottom: 1rem;
  }
}

/* ── 25. ANIMATIONS ── */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInLeft {
  from { opacity: 0; transform: translateX(-20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
  from { opacity: 0; transform: translateX(20px); }
  to   { opacity: 1; transform: translateX(0); }
}

@keyframes zoomIn {
  from { opacity: 0; transform: scale(.9); }
  to   { opacity: 1; transform: scale(1); }
}

.animate-up    { animation: fadeInUp    .7s ease both; }
.animate-left  { animation: fadeInLeft  .7s ease both; overflow: hidden; }
.animate-right { animation: fadeInRight .7s ease both; overflow: hidden; }
.animate-zoom  { animation: zoomIn      .7s ease both; }

.delay-1 { animation-delay: .15s; }
.delay-2 { animation-delay: .3s; }
.delay-3 { animation-delay: .45s; }
.delay-4 { animation-delay: .6s; }

/* Intersection Observer based animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}

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

/* ── 26. BADGE / TAG ── */
.badge {
  display: inline-block;
  padding: .25rem .75rem;
  border-radius: 50px;
  font-size: .75rem;
  font-weight: 700;
}

.badge-primary { background: var(--primary); color: var(--white); }
.badge-accent  { background: var(--accent);  color: var(--primary); }
.badge-light   { background: var(--light);   color: var(--primary); }

/* ── 27. SCROLLBAR ── */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: var(--light); }
::-webkit-scrollbar-thumb {
  background: #c3ccd8;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover { background: #a4afbc; }

/* ── 28. SELECTION ── */
::selection { background: var(--accent); color: var(--primary); }

/* ── 29. FOCUS ── */
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 3px;
}

/* ── 30. PRINT ── */
@media print {
  #header, .whatsapp-float, .phone-float, .back-to-top { display: none; }
  body { font-size: 12pt; }
}

/* ════════════════════════════════════════════════════════
   ── 31. PROJELERİMİZ — YENİ GALERİ SİSTEMİ
   ════════════════════════════════════════════════════════ */

/* Proje sayısı badge */
.pg-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  padding: .55rem 1.4rem;
  border-radius: 50px;
  font-size: .9rem;
  font-weight: 600;
  letter-spacing: .04em;
  box-shadow: 0 4px 16px rgba(11,36,71,.25);
}
.pg-badge i { color: var(--accent); }

/* ── Bento Grid ── */
.pg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 220px;
  grid-auto-flow: dense;
  gap: 10px;
}

/* Büyük kart (her 7. eleman 2x2) */
.pg-item--big {
  grid-column: span 2;
  grid-row: span 2;
}

/* Galeri öğesi */
.pg-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  cursor: pointer;
  background: var(--gray-200);
  box-shadow: 0 2px 12px rgba(11,36,71,.10);
  transition: box-shadow .3s ease, transform .3s ease;
  -webkit-tap-highlight-color: transparent;
}

.pg-item:hover {
  box-shadow: 0 8px 32px rgba(11,36,71,.22);
  transform: translateY(-3px);
}

.pg-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .55s cubic-bezier(.25,.46,.45,.94);
  -webkit-user-drag: none;
  user-select: none;
}

.pg-item:hover img { transform: scale(1.08); }

/* Overlay */
.pg-item-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(11,36,71,.88) 0%,
    rgba(11,36,71,.30) 45%,
    transparent 100%
  );
  opacity: 0;
  transition: opacity .35s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.1rem 1.2rem;
  pointer-events: none;
}

.pg-item:hover .pg-item-overlay { opacity: 1; }

.pg-item-num {
  font-size: .72rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: .2rem;
}

.pg-item-title {
  color: var(--white);
  font-size: .9rem;
  font-weight: 600;
  line-height: 1.3;
}

/* Zoom ikonu */
.pg-item-zoom {
  position: absolute;
  top: .85rem;
  right: .85rem;
  width: 36px;
  height: 36px;
  background: rgba(240,165,0,.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: .9rem;
  opacity: 0;
  transform: scale(.6);
  transition: opacity .3s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}

.pg-item:hover .pg-item-zoom {
  opacity: 1;
  transform: scale(1);
}

/* Skeleton (yükleme animasyonu) */
.pg-item--skeleton {
  background: linear-gradient(90deg, var(--gray-200) 25%, var(--gray-100) 50%, var(--gray-200) 75%);
  background-size: 200% 100%;
  animation: pgSkeletonShimmer 1.4s infinite;
  cursor: default;
}

@keyframes pgSkeletonShimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Yeni öğe giriş animasyonu */
@keyframes pgFadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

.pg-item--new {
  animation: pgFadeUp .45s ease both;
}

/* ── Daha Fazla Yükle Butonu ── */
.pg-loadmore-wrap {
  text-align: center;
  margin-top: 2.5rem;
}

.pg-loadmore-btn {
  display: inline-flex;
  align-items: center;
  gap: .7rem;
  padding: .85rem 2.25rem;
  background: var(--primary);
  color: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-md);
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.pg-loadmore-btn::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--accent);
  transform: translateX(-105%);
  transition: transform .4s cubic-bezier(.25,.46,.45,.94);
  z-index: 0;
}

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

.pg-loadmore-btn:hover {
  color: var(--primary);
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(240,165,0,.35);
}

.pg-loadmore-btn > * { position: relative; z-index: 1; }

.pg-lm-icon { transition: transform .3s ease; }
.pg-loadmore-btn:hover .pg-lm-icon { transform: rotate(90deg); }

.pg-remaining {
  font-size: .82rem;
  opacity: .75;
  font-weight: 400;
}

.pg-loadmore-btn:disabled {
  opacity: .5;
  cursor: not-allowed;
  transform: none;
}

/* ════════════════════════════════════════════════════════
   ── 32. LIGHTBOX
   ════════════════════════════════════════════════════════ */

.pg-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}

.pg-lightbox.pg-lb-open {
  opacity: 1;
  visibility: visible;
}

/* Backdrop */
.pg-lb-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5,10,24,.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  cursor: pointer;
}

/* Content kutusu */
.pg-lb-content {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0 70px;
  box-sizing: border-box;
}

/* Toolbar */
.pg-lb-toolbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: linear-gradient(to bottom, rgba(5,10,24,.85) 0%, transparent 100%);
  z-index: 2;
}

.pg-lb-counter {
  color: rgba(255,255,255,.7);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .06em;
}

.pg-lb-toolbar-actions {
  display: flex;
  gap: .5rem;
}

.pg-lb-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease;
  backdrop-filter: blur(8px);
}

.pg-lb-close:hover {
  background: rgba(240,165,0,.9);
  color: var(--primary);
  transform: rotate(90deg);
}

/* Stage (görsel alanı) */
.pg-lb-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 1100px;
  position: relative;
}

/* Görsel sarıcı */
.pg-lb-img-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  max-height: 82vh;
  min-width: 200px;
  min-height: 120px;
}

.pg-lb-img {
  max-width: 90vw;
  max-height: 82vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: 0 24px 80px rgba(0,0,0,.6);
  display: block;
  -webkit-user-drag: none;
  user-select: none;
}

/* Giriş animasyonu */
@keyframes lbZoomIn {
  from { opacity: 0; transform: scale(.88); }
  to   { opacity: 1; transform: scale(1); }
}

.pg-lb-img.pg-lb-anim {
  animation: lbZoomIn .3s cubic-bezier(.34,1.10,.64,1) both;
}

/* Spinner */
.pg-lb-spinner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}

.pg-lb-spinner.pg-lb-loading { opacity: 1; }

/* Nav butonları */
.pg-lb-nav {
  position: fixed;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: none;
  background: rgba(255,255,255,.12);
  color: var(--white);
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background .25s ease, transform .25s ease;
  backdrop-filter: blur(8px);
  z-index: 2;
}

.pg-lb-nav:hover {
  background: var(--accent);
  color: var(--primary);
}

.pg-lb-prev {
  left: 1.25rem;
}

.pg-lb-next {
  right: 1.25rem;
}

.pg-lb-prev:hover { transform: translateY(-50%) scale(1.1); }
.pg-lb-next:hover { transform: translateY(-50%) scale(1.1); }

/* Caption */
.pg-lb-caption {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1rem 1.5rem;
  background: linear-gradient(to top, rgba(5,10,24,.85) 0%, transparent 100%);
  color: rgba(255,255,255,.75);
  text-align: center;
  font-size: .85rem;
  letter-spacing: .04em;
  z-index: 2;
}

/* ── Responsive ── */
@media (max-width: 1100px) {
  .pg-grid {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
  }
}

@media (max-width: 768px) {
  .pg-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 8px;
  }

  /* Mobilde büyük kart yok */
  .pg-item--big {
    grid-column: span 1;
    grid-row: span 1;
  }

  /* Lightbox mobilden daha uygun */
  .pg-lb-content { padding: 0 50px; }

  .pg-lb-nav {
    width: 40px;
    height: 40px;
    font-size: .95rem;
  }

  .pg-lb-prev { left: .5rem; }
  .pg-lb-next { right: .5rem; }
}

@media (max-width: 480px) {
  .pg-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 150px;
    gap: 6px;
  }

  .pg-lb-content { padding: 0; }

  /* Mobilde ok butonları gizlenir (swipe kullan) */
  .pg-lb-nav { display: none; }

  .pg-lb-img {
    max-width: 100vw;
    border-radius: var(--radius-sm);
  }
}

