/* ============================================
   EPIKUR YAPIM — Global Design System
   Dark Mode · Minimalist · High-End
   ============================================ */

/* --- CSS Custom Properties --- */
:root {
  --color-bg-primary: #0a0a0a;
  --color-bg-secondary: #111111;
  --color-bg-tertiary: #1a1a1a;
  --color-bg-card: #141414;
  --color-bg-card-hover: #1c1c1c;

  --color-text-primary: #f0f0f0;
  --color-text-secondary: #999999;
  --color-text-muted: #666666;

  --color-accent: #c8a45a;
  --color-accent-dim: rgba(200, 164, 90, 0.15);
  --color-accent-glow: rgba(200, 164, 90, 0.3);

  --color-border: rgba(255, 255, 255, 0.06);
  --color-border-hover: rgba(255, 255, 255, 0.12);

  --font-display: -apple-system, 'SF Pro Display', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-text: -apple-system, 'SF Pro Text', 'Helvetica Neue', 'Segoe UI', sans-serif;
  --font-primary: var(--font-text);

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;

  --shadow-card: 0 4px 30px rgba(0, 0, 0, 0.4);
  --shadow-glow: 0 0 40px rgba(200, 164, 90, 0.08);

  --transition-smooth: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);

  --container-max: 1320px;
  --container-padding: 24px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  max-width: 100%;
  overflow-x: hidden;
}

@keyframes gradientMesh {
  0% { background-position: 0% 0%; }
  50% { background-position: 100% 100%; }
  100% { background-position: 0% 0%; }
}

body {
  font-family: var(--font-text);
  background: linear-gradient(45deg, #050505, #111111, #1a1610, #0a0a0a);
  background-size: 400% 400%;
  animation: gradientMesh 15s ease infinite;
  color: var(--color-text-primary);
  line-height: 1.7;
  max-width: 100%;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--container-padding);
}

/* --- Section Defaults --- */
.section {
  padding: 80px 0;
  position: relative;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 20px;
}

.section-label::before {
  content: '';
  width: 30px;
  height: 1px;
  background: var(--color-accent);
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  line-height: 1.2;
  color: var(--color-text-primary);
  margin-bottom: 24px;
  letter-spacing: -0.02em;
}

.section-subtitle {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--color-text-secondary);
  max-width: 680px;
}

/* ============================================
   1. NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 40px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--transition-smooth), box-shadow var(--transition-smooth);
}

.nav.scrolled {
  background: rgba(10, 10, 10, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 1px 0 var(--color-border);
}

.nav-logo {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--color-text-primary);
  position: relative;
}

.nav-logo span {
  color: var(--color-accent);
  font-weight: 800;
}

/* --- Nav Links — More Readable Design --- */
.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: var(--color-text-secondary);
  position: relative;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  transition: color var(--transition-smooth), background var(--transition-smooth);
}

.nav-links a:hover {
  color: var(--color-text-primary);
  background: rgba(255, 255, 255, 0.06);
}

.nav-links a.active-link {
  color: var(--color-accent);
  background: var(--color-accent-dim);
}

/* Mobile Menu Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text-primary);
  transition: var(--transition-smooth);
  transform-origin: center;
}

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

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

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

/* ============================================
   2. HERO SECTION — SLIDESHOW
   ============================================ */
.hero {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  overflow: hidden;
}

.hero-slideshow {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transform: scale(1.05);
  transition: opacity 1.5s ease-in-out, transform 8s ease-in-out;
  will-change: opacity, transform;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1.0);
  animation: heroSlideZoom 8s ease-in-out forwards;
}

@keyframes heroSlideZoom {
  0%   { transform: scale(1.0); }
  100% { transform: scale(1.08); }
}

/* Slideshow indicators */
.hero-indicators {
  position: absolute;
  bottom: 100px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex;
  gap: 12px;
}

.hero-indicator {
  width: 40px;
  height: 3px;
  border: none;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background 0.4s ease, width 0.4s ease;
  padding: 0;
}

.hero-indicator.active {
  background: var(--color-accent);
  width: 60px;
}

.hero-indicator:hover {
  background: rgba(255, 255, 255, 0.6);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(10, 10, 10, 0.3) 0%,
    rgba(10, 10, 10, 0.05) 40%,
    rgba(10, 10, 10, 0.05) 60%,
    rgba(10, 10, 10, 0.85) 100%
  );
  z-index: 1;
}

.hero-bottom-fade {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(to bottom, transparent, var(--color-bg-primary));
  z-index: 2;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 50px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  opacity: 0.5;
  animation: scrollPulse 2.5s ease-in-out infinite;
}

.hero-scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLineMove 2.5s ease-in-out infinite;
}

@keyframes scrollPulse {
  0%, 100% { opacity: 0.3; }
  50% { opacity: 0.7; }
}

@keyframes scrollLineMove {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}

/* ============================================
   3. SERVICES SECTION — Enhanced Layout
   ============================================ */
.section-services {
  padding-top: 60px;
}

#hizmetler {
  background:
    radial-gradient(ellipse 70% 50% at 20% 0%, rgba(25, 22, 15, 0.8) 0%, transparent 60%),
    radial-gradient(ellipse 50% 60% at 90% 80%, rgba(20, 18, 12, 0.6) 0%, transparent 50%),
    linear-gradient(180deg, #0e0e0e 0%, #0a0a0a 50%, #0c0b09 100%);
  position: relative;
  overflow: hidden;
}

#hizmetler::before {
  content: '';
  position: absolute;
  top: -200px;
  right: -200px;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--color-accent-dim) 0%, transparent 70%);
  pointer-events: none;
}

.services-header {
  text-align: center;
  margin-bottom: 50px;
}

.services-header .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.services-header .section-subtitle {
  margin: 0 auto;
  font-size: 1.15rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 100%;
  margin: 0 auto;
}

.service-card {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  text-align: center;
  transition: transform var(--transition-smooth),
              border-color var(--transition-smooth),
              box-shadow var(--transition-smooth);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--color-border-hover);
  box-shadow: var(--shadow-glow);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
  opacity: 0;
  transition: opacity var(--transition-smooth);
}

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

.service-icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--color-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px auto;
  transition: background var(--transition-smooth);
}

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

.service-icon svg {
  width: 24px;
  height: 24px;
  color: var(--color-accent);
}

.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--color-text-primary);
  letter-spacing: -0.01em;
}

.service-card p {
  font-size: 0.85rem;
  line-height: 1.7;
  color: var(--color-text-secondary);
}

/* ============================================
   4. PORTFOLIO — BRAND GRID + GALLERY
   ============================================ */
#portfolyo {
  background:
    radial-gradient(ellipse 60% 40% at 30% 20%, rgba(22, 19, 13, 0.6) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 80% 70%, rgba(18, 16, 10, 0.5) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #0d0c0a 50%, #0a0a0a 100%);
}

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

.portfolio-header .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.portfolio-header .section-subtitle {
  margin: 0 auto;
}

/* Brand Grid */
.brand-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}

.brand-card {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  cursor: pointer;
  aspect-ratio: 3 / 4;
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  transition: transform var(--transition-smooth),
              border-color var(--transition-smooth),
              box-shadow var(--transition-smooth);
}

.brand-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(200, 164, 90, 0.25);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(200, 164, 90, 0.06);
}

.brand-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

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

.brand-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.5) 0%,
    rgba(0, 0, 0, 0.0) 45%
  );
  z-index: 5;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 18px 10px;
  transition: background var(--transition-smooth);
}

.brand-card:hover .brand-card__overlay {
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.65) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.0) 70%
  );
}

.brand-card__name {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.55);
  letter-spacing: 2.5px;
  text-align: center;
  text-transform: uppercase;
  transition: color var(--transition-smooth), transform var(--transition-smooth);
}

.brand-card:hover .brand-card__name {
  color: rgba(255, 255, 255, 0.85);
  transform: translateY(-3px);
}

/* Brand Gallery Lightbox */
.brand-gallery {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.96);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}

.brand-gallery.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.brand-gallery__header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 0 24px;
  z-index: 3;
}

.brand-gallery__title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

.brand-gallery__counter {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

.brand-gallery__close {
  position: absolute;
  right: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 50%;
  background: none;
  color: white;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
}

.brand-gallery__close:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.brand-gallery__nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  background: rgba(0,0,0,0.4);
  color: white;
  font-size: 2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-smooth);
  z-index: 3;
  line-height: 1;
}

.brand-gallery__nav:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: rgba(0,0,0,0.6);
}

.brand-gallery__prev { left: 24px; }
.brand-gallery__next { right: 24px; }

.brand-gallery__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: 74px 100px 24px;
  gap: 16px;
}

.brand-gallery__img-wrap {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 0;
  width: 100%;
}

.brand-gallery__img-wrap img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: var(--radius-md);
  transform: scale(0.92);
  transition: transform 0.4s ease;
}

.brand-gallery.active .brand-gallery__img-wrap img {
  transform: scale(1);
}

/* Thumbnail strip */
.brand-gallery__thumbs {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-shrink: 0;
  padding: 8px 0;
  overflow-x: auto;
  max-width: 100%;
}

.brand-gallery__thumb {
  width: 80px;
  height: 54px;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  opacity: 0.5;
  transition: opacity 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  flex-shrink: 0;
}

.brand-gallery__thumb:hover {
  opacity: 0.8;
  transform: scale(1.05);
}

.brand-gallery__thumb.active {
  opacity: 1;
  border-color: var(--color-accent);
}

.brand-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ============================================
   5. ABOUT SECTION
   ============================================ */
#hakkimizda {
  background:
    radial-gradient(ellipse 70% 50% at 70% 30%, rgba(25, 22, 15, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 10% 80%, rgba(18, 16, 12, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #0c0b09 50%, #0a0a0a 100%);
  position: relative;
}

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

.about-content .section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.about-text {
  font-size: 1.05rem;
  line-height: 2;
  color: var(--color-text-secondary);
  margin-bottom: 40px;
}

.about-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.stat-item {
  text-align: left;
}

.stat-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.03em;
}

.stat-label {
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
}

/* About Visual — Animated Collage */
.about-visual {
  position: relative;
}

.about-collage {
  position: relative;
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.about-collage-overlay {
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.3) 0%,
    transparent 40%,
    transparent 60%,
    rgba(10, 10, 10, 0.3) 100%
  );
  pointer-events: none;
  z-index: 2;
  border: 1px solid var(--color-border);
}

.collage-track {
  display: flex;
  gap: 8px;
  width: max-content;
  animation: collageScroll 25s linear infinite;
  flex: 1;
}

.collage-track--reverse {
  animation: collageScrollReverse 30s linear infinite;
}

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

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

.collage-img {
  flex-shrink: 0;
  height: 100%;
  width: 260px;
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.collage-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

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

/* ============================================
   6. REFERENCES — LOGO MARQUEE (Enhanced)
   ============================================ */
.section-refs {
  padding-top: 80px;
}

#referanslar {
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(28, 24, 16, 0.5) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 80% 100%, rgba(20, 18, 12, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #0e0e0e 0%, #0c0b09 50%, #0e0e0e 100%);
  overflow: hidden;
}

.references-header {
  text-align: center;
  margin-bottom: 50px;
}

.references-header .section-title {
  font-size: clamp(2.2rem, 4.5vw, 3.5rem);
}

.references-header .section-subtitle {
  margin: 0 auto;
}

.marquee-wrapper {
  position: relative;
  overflow: hidden;
  padding: 30px 0;
}

.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 150px;
  z-index: 2;
  pointer-events: none;
}

.marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-secondary), transparent);
}

.marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-secondary), transparent);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}

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

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

.marquee-item {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 60px;
}

.marquee-item img {
  height: 70px;
  width: auto;
  max-width: 180px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  opacity: 0.6;
  transition: filter var(--transition-slow), opacity var(--transition-slow), transform var(--transition-smooth);
}

.marquee-item:hover img {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.1);
}

/* Second row marquee — reverse direction */
.marquee-track-reverse {
  animation-direction: reverse;
}

/* ============================================
   7. CONTACT SECTION
   ============================================ */
#iletisim {
  background:
    radial-gradient(ellipse 60% 40% at 40% 20%, rgba(22, 19, 13, 0.5) 0%, transparent 50%),
    radial-gradient(ellipse 50% 50% at 70% 80%, rgba(18, 16, 10, 0.4) 0%, transparent 50%),
    linear-gradient(180deg, #0a0a0a 0%, #0c0b09 50%, #0a0a0a 100%);
  position: relative;
}

#iletisim::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-accent-dim) 0%, transparent 70%);
  pointer-events: none;
  opacity: 0.5;
}

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

.contact-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-info .section-title {
  font-family: var(--font-display);
  margin-bottom: 20px;
}

.contact-desc {
  font-size: 1.05rem;
  color: var(--color-text-secondary);
  line-height: 1.8;
  margin-bottom: 50px;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-detail-item {
  display: flex;
  align-items: center;
  gap: 18px;
}

.contact-detail-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: var(--color-accent-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-detail-icon svg {
  width: 20px;
  height: 20px;
  color: var(--color-accent);
}

.contact-detail-text h4 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: 4px;
}

.contact-detail-text p,
.contact-detail-text a {
  font-size: 1rem;
  color: var(--color-text-primary);
}

.contact-detail-text a:hover {
  color: var(--color-accent);
}

.contact-form-wrapper {
  background: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-xl);
  padding: 48px;
  position: relative;
  overflow: hidden;
}

.contact-form-wrapper::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--color-accent), transparent);
}

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

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  background: var(--color-bg-tertiary);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  color: var(--color-text-primary);
  font-family: var(--font-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px var(--color-accent-dim);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--color-text-muted);
}

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

.form-submit {
  width: 100%;
  padding: 18px;
  background: var(--color-accent);
  color: var(--color-bg-primary);
  border: none;
  border-radius: var(--radius-md);
  font-family: var(--font-primary);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  cursor: pointer;
  transition: background var(--transition-smooth), transform var(--transition-smooth);
}

.form-submit:hover {
  background: #d4b06a;
  transform: translateY(-2px);
}

.form-submit:active {
  transform: translateY(0);
}

/* ============================================
   8. FOOTER
   ============================================ */
.footer {
  background:
    radial-gradient(ellipse 60% 80% at 50% 100%, rgba(22, 19, 14, 0.4) 0%, transparent 60%),
    linear-gradient(180deg, #0e0e0e 0%, #0b0a08 100%);
  border-top: 1px solid var(--color-border);
  padding: 40px 0;
}

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

.footer-text {
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

.footer-text span {
  color: var(--color-accent);
}

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

.footer-social a {
  width: 40px;
  height: 40px;
  border: 1px solid var(--color-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  transition: border-color var(--transition-smooth), color var(--transition-smooth);
}

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

.footer-social a svg {
  width: 16px;
  height: 16px;
}

/* ============================================
   SCROLL ANIMATIONS (Reveal on Scroll)
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ============================================
   RESPONSIVE BREAKPOINTS
   ============================================ */

/* Mobile hero pan animation — right to left */
@keyframes heroSlidePanMobile {
  0%   { object-position: 70% center; }
  100% { object-position: 30% center; }
}

/* Tablet */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .brand-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .about-wrapper {
    display: flex;
    flex-direction: column;
    gap: 50px;
    overflow: hidden;
  }

  .about-visual {
    order: 1;
    overflow: hidden;
  }

  .about-collage {
    height: 350px;
    overflow: hidden;
  }

  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .nav-links {
    gap: 4px;
  }

  .nav-links a {
    padding: 8px 14px;
    font-size: 0.82rem;
  }
}

/* Mobile */
@media (max-width: 768px) {
  :root {
    --container-padding: 18px;
  }

  .section {
    padding: 60px 0;
  }

  .section-services {
    padding-top: 40px;
  }

  .section-refs {
    padding-top: 40px;
  }

  /* ── Mobile Nav: horizontal row ── */
  .nav {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 60px;
    padding: 0 20px;
    background: #0a0a0a;
    position: fixed;
    top: 0; left: 0; right: 0;
    width: 100%;
    z-index: 9998;
  }

  .nav.scrolled {
    background: #0a0a0a;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  .nav-logo {
    font-size: 1.1rem;
    margin-bottom: 0;
    position: relative;
    z-index: 10001;
  }

  .nav-toggle {
    display: flex;
    z-index: 10001;
    position: relative;
  }

  .nav-links {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #0a0a0a;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 8px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    z-index: 10000;
    transition: opacity var(--transition-smooth), visibility var(--transition-smooth);
    overflow-y: auto;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 1px;
    padding: 16px 32px;
    width: auto;
    text-align: center;
    color: var(--color-text-secondary);
    border-radius: var(--radius-md);
    transition: color var(--transition-smooth), background var(--transition-smooth);
  }

  .nav-links a:hover,
  .nav-links a.active-link {
    color: var(--color-accent);
    background: var(--color-accent-dim);
  }

  /* ── Mobile Hero: pan instead of zoom ── */
  .hero {
    height: 56vh;
    min-height: 340px;
  }

  .hero-slide {
    transform: none !important;
    transition: opacity 1.5s ease-in-out;
    object-position: center center;
  }

  .hero-slide.active {
    animation: heroSlidePanMobile 8s ease-in-out forwards !important;
  }

  .hero-indicators {
    bottom: 50px;
    gap: 8px;
  }

  .hero-indicator {
    width: 28px;
    height: 2px;
  }

  .hero-indicator.active {
    width: 44px;
  }

  .hero-scroll {
    bottom: 24px;
  }

  .hero-scroll-line {
    height: 24px;
  }

  /* ── Section Text: proportional ── */
  .section-title {
    font-size: clamp(1.5rem, 6vw, 2.2rem);
    margin-bottom: 14px;
  }

  .section-subtitle {
    font-size: 0.92rem;
    line-height: 1.7;
  }

  .section-label {
    font-size: 0.7rem;
    letter-spacing: 2px;
    margin-bottom: 12px;
  }

  /* ── Services ── */
  .services-header {
    margin-bottom: 28px;
  }

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

  .services-header .section-subtitle {
    font-size: 0.9rem;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 22px;
  }

  .service-card h3 {
    font-size: 1rem;
  }

  .service-card p {
    font-size: 0.82rem;
    line-height: 1.65;
  }

  /* ── Portfolio ── */
  .portfolio-header {
    margin-bottom: 28px;
  }

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

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .brand-card {
    border-radius: 14px;
  }

  .brand-card__name {
    font-size: 0.75rem;
    letter-spacing: 0.5px;
  }

  /* ── Gallery Mobile ── */
  .brand-gallery__content {
    padding: 60px 16px 16px;
    gap: 10px;
  }

  .brand-gallery__img-wrap {
    padding: 0;
  }

  .brand-gallery__nav {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .brand-gallery__prev { left: 10px; }
  .brand-gallery__next { right: 10px; }

  .brand-gallery__close {
    right: 14px;
    width: 36px;
    height: 36px;
    font-size: 1.1rem;
  }

  .brand-gallery__header {
    height: 52px;
  }

  .brand-gallery__title {
    font-size: 0.85rem;
  }

  .brand-gallery__thumbs {
    gap: 6px;
    padding: 4px 0;
  }

  .brand-gallery__thumb {
    width: 56px;
    height: 38px;
    border-radius: 6px;
  }

  /* ── About / Hakkımızda ── */
  #hakkimizda {
    padding: 40px 0;
    overflow: hidden;
  }

  #hakkimizda .container {
    overflow: hidden;
    max-width: 100%;
  }

  .about-wrapper {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 100%;
    overflow: hidden;
  }

  .about-visual {
    order: 1;
    max-width: 100%;
    overflow: hidden;
  }

  .about-content {
    order: 0;
    padding: 0;
    max-width: 100%;
    overflow: hidden;
  }

  .about-content .section-label {
    display: block;
    text-align: center;
    font-size: 0.65rem;
    letter-spacing: 2.5px;
    margin-bottom: 8px;
  }

  .about-content .section-title {
    font-size: 1.5rem;
    text-align: center;
    margin-bottom: 14px;
    line-height: 1.2;
    word-wrap: break-word;
  }

  .about-text {
    font-size: 0.85rem;
    line-height: 1.7;
    margin-bottom: 20px;
    color: var(--color-text-secondary);
    text-align: left;
    padding: 0;
    word-wrap: break-word;
  }

  .about-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    text-align: center;
    margin-top: 4px;
    padding: 16px 0 0;
    border-top: 1px solid var(--color-border);
    max-width: 100%;
  }

  .stat-item {
    text-align: center;
    padding: 0 4px;
    position: relative;
  }

  .stat-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 15%;
    height: 70%;
    width: 1px;
    background: var(--color-border);
  }

  .stat-number {
    font-size: 1.4rem;
    margin-bottom: 3px;
  }

  .stat-label {
    font-size: 0.6rem;
    letter-spacing: 0.8px;
    line-height: 1.2;
  }

  .about-collage {
    height: 180px;
    border-radius: 12px;
    max-width: 100%;
    overflow: hidden;
  }

  .about-collage-overlay {
    border-radius: 12px;
  }

  .collage-track {
    overflow: hidden;
  }

  .collage-img {
    width: 150px;
    flex-shrink: 0;
  }

  /* ── References ── */
  .references-header {
    margin-bottom: 28px;
  }

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

  .marquee-item {
    padding: 14px 24px;
  }

  .marquee-item img {
    height: 44px;
    max-width: 120px;
  }

  .marquee-wrapper::before,
  .marquee-wrapper::after {
    width: 50px;
  }

  /* ── Contact ── */
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 36px;
  }

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

  .contact-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    margin-bottom: 28px;
  }

  .contact-details {
    gap: 18px;
  }

  .contact-detail-icon {
    width: 40px;
    height: 40px;
  }

  .contact-detail-text h4 {
    font-size: 0.7rem;
  }

  .contact-detail-text p,
  .contact-detail-text a {
    font-size: 0.88rem;
  }

  .contact-form-wrapper {
    padding: 26px 20px;
    border-radius: var(--radius-lg);
  }

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

  .form-group label {
    font-size: 0.7rem;
    margin-bottom: 6px;
  }

  .form-group input,
  .form-group textarea {
    padding: 13px 16px;
    font-size: 0.88rem;
  }

  .form-group textarea {
    min-height: 100px;
  }

  .form-submit {
    padding: 15px;
    font-size: 0.82rem;
  }

  /* ── Footer ── */
  .footer {
    padding: 28px 0;
  }

  .footer-inner {
    flex-direction: column;
    gap: 14px;
    text-align: center;
  }

  .footer-text {
    font-size: 0.78rem;
  }

  /* ── Lightbox ── */
  .lightbox img {
    max-width: 96vw;
    max-height: 80vh;
    border-radius: var(--radius-sm);
  }

  .lightbox-close {
    top: 14px;
    right: 14px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

/* Small Mobile */
@media (max-width: 480px) {
  :root {
    --container-padding: 14px;
  }

  .section {
    padding: 44px 0;
  }

  .section-title {
    font-size: clamp(1.3rem, 7vw, 1.7rem);
  }

  .hero {
    height: 48vh;
    min-height: 280px;
  }

  #hakkimizda {
    padding: 30px 0;
  }

  .about-wrapper {
    gap: 18px;
  }

  .about-content .section-title {
    font-size: 1.3rem;
  }

  .about-text {
    font-size: 0.8rem;
    line-height: 1.65;
    margin-bottom: 16px;
  }

  .about-stats {
    padding: 12px 0 0;
  }

  .stat-number {
    font-size: 1.15rem;
  }

  .stat-label {
    font-size: 0.52rem;
    letter-spacing: 0.5px;
  }

  .about-collage {
    height: 140px;
  }

  .collage-img {
    width: 110px;
  }

  .marquee-item {
    padding: 10px 16px;
  }

  .marquee-item img {
    height: 34px;
    max-width: 90px;
  }

  .brand-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .brand-card {
    border-radius: 12px;
  }

  .service-card {
    padding: 22px 16px;
  }

  .nav {
    height: 54px;
    padding: 0 14px;
  }

  .nav-logo {
    font-size: 1rem;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 14px 24px;
  }
}
