/* ══════════════════════════════════════════════
   Larenea — style.css
   Web & Mobil Çözümler
══════════════════════════════════════════════ */

/* ── VARIABLES ───────────────────────────────── */
:root {
  --ink: #0f0e0c;
  --cream: #f5f0e8;
  --warm-white: #faf8f3;
  --accent: #c8522a;
  --accent-light: #e8734a;
  --muted: #7a7166;
  --border: #e0d9ce;
  --card-bg: #ffffff;
  --shadow: 0 2px 32px rgba(15, 14, 12, 0.08);
}

/* ── DARK MODE ───────────────────────────────── */
[data-theme="dark"] {
  --ink: #f0ece4;
  --cream: #1a1916;
  --warm-white: #141311;
  --accent: #e8734a;
  --accent-light: #f09070;
  --muted: #8a8278;
  --border: #2e2c28;
  --card-bg: #1e1c19;
  --shadow: 0 2px 32px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] body {
  background: var(--warm-white);
  color: var(--ink);
}

[data-theme="dark"] nav {
  background: rgba(20, 19, 17, 0.94);
}

[data-theme="dark"] .particle {
  mix-blend-mode: screen;
  filter: drop-shadow(0 2px 6px rgba(232, 115, 74, 0.15));
}

/* footer ve #about dark modda sabit koyu arka plan —
   içlerindeki hardcoded cream renkleri her zaman doğru çalışsın */
[data-theme="dark"] footer {
  background: #0d0c0a;
  border-top-color: rgba(240, 236, 228, 0.05);
}

[data-theme="dark"] #about {
  background: #0d0c0a;
}

/* footer içindeki hardcoded renkler dark'ta da koyu zeminde,
   ek override gerekmez — ama footer var(--ink) background'u
   dark modda açılır diye footer-logo ve footer-links'i güvenceye al */
[data-theme="dark"] .footer-logo {
  color: rgba(245, 240, 232, 0.9);
}

[data-theme="dark"] .footer-links a {
  color: rgba(245, 240, 232, 0.4);
}

[data-theme="dark"] .footer-links a:hover {
  color: rgba(245, 240, 232, 0.9);
}

[data-theme="dark"] .footer-copy {
  color: rgba(245, 240, 232, 0.5);
}

[data-theme="dark"] .work-card:hover {
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}

/* select dropdown dark mode */
[data-theme="dark"] .form-group select option {
  background: var(--card-bg);
  color: var(--ink);
}

/* ── THEME RAIL ──────────────────────────────── */
.theme-rail {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 200;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 0.55rem 1rem;
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-right: none;
  border-radius: 6px 0 0 6px;
  cursor: pointer;
  box-shadow: -4px 0 24px rgba(15, 14, 12, 0.07);
  transition:
    background 0.4s,
    border-color 0.4s,
    box-shadow 0.4s;
  outline: none;
  user-select: none;
  /* slight pull-in on idle, fully visible on hover */
  translate: 4px 0;
}

.theme-rail:hover,
.theme-rail:focus-visible {
  translate: 0 0;
  box-shadow: -6px 0 32px rgba(15, 14, 12, 0.13);
}

/* ── track (the pill) ── */
.theme-rail-track {
  position: relative;
  width: 22px;
  height: 52px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: background 0.5s;
}

/* sky/night fill that slides */
.theme-rail-track::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 20px;
  background: linear-gradient(180deg, #1a2340 0%, #0d0c1a 100%);
  opacity: 0;
  transition: opacity 0.55s ease;
}

[data-theme="dark"] .theme-rail-track::before {
  opacity: 1;
}

/* ── thumb ── */
.theme-rail-thumb {
  position: absolute;
  left: 50%;
  translate: -50% 0;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--accent);
  top: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition:
    top 0.55s cubic-bezier(0.34, 1.56, 0.64, 1),
    background 0.4s;
  box-shadow: 0 2px 8px rgba(200, 82, 42, 0.4);
}

[data-theme="dark"] .theme-rail-thumb {
  top: 32px;
  background: #d4c8f0;
  box-shadow: 0 2px 10px rgba(180, 160, 240, 0.5);
  color: #2a2050;
}

.thumb-sun,
.thumb-moon {
  width: 10px;
  height: 10px;
  position: absolute;
  transition:
    opacity 0.3s,
    transform 0.4s;
}

.thumb-sun {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}
.thumb-moon {
  opacity: 0;
  transform: scale(0.5) rotate(-30deg);
}

[data-theme="dark"] .thumb-sun {
  opacity: 0;
  transform: scale(0.5) rotate(30deg);
}
[data-theme="dark"] .thumb-moon {
  opacity: 1;
  transform: scale(1) rotate(0deg);
}

/* ── stars (dark only) ── */
.theme-rail-stars {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.theme-rail-stars span {
  position: absolute;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: #fff;
  opacity: 0;
  transition: opacity 0.4s;
}

[data-theme="dark"] .theme-rail-stars span {
  opacity: 0.7;
}

.theme-rail-stars span:nth-child(1) {
  top: 28%;
  left: 30%;
}
.theme-rail-stars span:nth-child(2) {
  top: 55%;
  left: 65%;
  width: 1.5px;
  height: 1.5px;
}
.theme-rail-stars span:nth-child(3) {
  top: 70%;
  left: 25%;
  width: 1px;
  height: 1px;
}

/* ── label ── */
.theme-rail-label {
  font-family: "DM Mono", monospace;
  font-size: 0.55rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  rotate: 180deg;
  transition: color 0.3s;
  line-height: 1;
}

.label-light {
  display: block;
}
.label-dark {
  display: none;
}

[data-theme="dark"] .label-light {
  display: none;
}
[data-theme="dark"] .label-dark {
  display: block;
}

/* ── mobile ── */
@media (max-width: 900px) {
  .theme-rail {
    top: auto;
    bottom: 1.5rem;
    right: 0;
    transform: none;
    translate: 0 0;
    flex-direction: row-reverse;
    padding: 0.6rem 0.7rem 0.6rem 0.5rem;
    border-radius: 6px 0 0 6px;
    border-right: none;
  }

  .theme-rail-track {
    width: 52px;
    height: 22px;
  }

  .theme-rail-thumb {
    top: 50%;
    left: 4px;
    translate: 0 -50%;
  }

  [data-theme="dark"] .theme-rail-thumb {
    top: 50%;
    left: 32px;
  }

  .theme-rail-track::before {
    background: linear-gradient(90deg, #1a2340 0%, #0d0c1a 100%);
  }

  .theme-rail-stars span:nth-child(1) {
    top: 30%;
    left: 55%;
  }
  .theme-rail-stars span:nth-child(2) {
    top: 60%;
    left: 72%;
  }
  .theme-rail-stars span:nth-child(3) {
    top: 20%;
    left: 80%;
  }

  .theme-rail-label {
    writing-mode: horizontal-tb;
    rotate: none;
    font-size: 0.52rem;
  }
}

/* ── THEME TRANSITION ────────────────────────── */
html.theme-transitioning,
html.theme-transitioning *,
html.theme-transitioning *::before,
html.theme-transitioning *::after {
  transition:
    background-color 0.4s ease,
    border-color 0.4s ease,
    color 0.3s ease,
    box-shadow 0.4s ease !important;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: "DM Sans", sans-serif;
  background: var(--warm-white);
  color: var(--ink);
  overflow-x: hidden;
}

/* ── NAV ─────────────────────────────────────── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1.25rem 4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(245, 240, 232, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition:
    border-color 0.3s,
    background 0.4s;
}

nav.scrolled {
  border-color: var(--border);
}

.nav-logo {
  display: flex;
  text-decoration: none;
}

.nav-logo img {
  height: 36px;
  width: auto;
  object-fit: contain;
}

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

.nav-links {
  display: flex;
  gap: 2.5rem;
  list-style: none;
}

.nav-links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
  text-decoration: none;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-cta {
  background: var(--ink);
  color: var(--cream) !important;
  padding: 0.6rem 1.4rem;
  border-radius: 2px;
  letter-spacing: 0.06em;
}

.nav-cta:hover {
  background: var(--accent);
  color: #fff !important;
}

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 0 4rem;
  padding-top: 5rem;
  gap: 4rem;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  top: -200px;
  right: -200px;
  width: 700px;
  height: 700px;
  background: radial-gradient(
    circle,
    rgba(200, 82, 42, 0.08) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.hero-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.hero-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--accent);
  display: block;
}

.hero h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 5vw, 4.5rem);
  line-height: 1.08;
  letter-spacing: -0.03em;
  margin-bottom: 1.5rem;
  color: var(--ink);
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero-desc {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  max-width: 480px;
  margin-bottom: 2.5rem;
}

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

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary {
  background: var(--ink);
  color: var(--cream);
  padding: 0.9rem 2rem;
  border: none;
  border-radius: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    background 0.25s,
    transform 0.15s;
}

.btn-primary:hover {
  background: var(--accent);
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: var(--ink);
  padding: 0.9rem 2rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition:
    border-color 0.25s,
    color 0.25s;
}

.btn-secondary:hover {
  border-color: var(--ink);
}

/* ── HERO VISUAL (floating cards) ────────────── */
.hero-visual {
  position: relative;
  height: 520px;
}

.hero-card {
  position: absolute;
  background: var(--card-bg);
  border-radius: 8px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  padding: 1.5rem;
  animation: floatCard 6s ease-in-out infinite;
}

.hero-card:nth-child(2) {
  animation-delay: -2s;
}
.hero-card:nth-child(3) {
  animation-delay: -4s;
}

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

.card-main {
  top: 40px;
  left: 20px;
  width: 260px;
}
.card-stat {
  top: 200px;
  right: 10px;
  width: 180px;
}
.card-badge {
  bottom: 60px;
  left: 60px;
  width: 220px;
  animation-delay: -3s;
}

.card-label {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}

.card-desc {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.5;
}

.stat-number {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.badge-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.badge-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #3a9e5f;
  flex-shrink: 0;
}

/* ── MARQUEE ──────────────────────────────────── */
.marquee-section {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 1rem 0;
  overflow: hidden;
  background: var(--cream);
}

.marquee-track {
  display: flex;
  gap: 3rem;
  animation: marquee 20s linear infinite;
  white-space: nowrap;
}

.marquee-item {
  font-family: "DM Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  flex-shrink: 0;
}

.marquee-sep {
  color: var(--accent);
}

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

/* ── SECTIONS COMMON ──────────────────────────── */
section {
  padding: 6rem 4rem;
}

.section-eyebrow {
  font-family: "DM Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 1rem;
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  letter-spacing: -0.025em;
  line-height: 1.15;
  margin-bottom: 1rem;
}

.section-sub {
  font-size: 1.05rem;
  color: var(--muted);
  line-height: 1.7;
  max-width: 560px;
}

/* ── SERVICES ─────────────────────────────────── */
#services {
  background: var(--cream);
}

.services-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: end;
  margin-bottom: 4rem;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5px;
  background: var(--border);
}

.service-card {
  background: var(--warm-white);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transition: background 0.3s;
  cursor: default;
}

.service-card:hover {
  background: var(--ink);
}

.service-card:hover .service-number,
.service-card:hover .service-name,
.service-card:hover .service-desc,
.service-card:hover .service-tag {
  color: rgba(245, 240, 232, 0.7);
}

.service-card:hover .service-name {
  color: #f5f0e8;
}

.service-card:hover .service-number {
  color: rgba(245, 240, 232, 0.15);
}

.service-card:hover .service-tag {
  border-color: rgba(245, 240, 232, 0.2);
}

/* dark modda hover: sabit açık krem — gerçek kontrast */
[data-theme="dark"] .service-card:hover {
  background: #f0ebe0;
}

[data-theme="dark"] .service-card:hover .service-number,
[data-theme="dark"] .service-card:hover .service-name,
[data-theme="dark"] .service-card:hover .service-desc,
[data-theme="dark"] .service-card:hover .service-tag {
  color: rgba(15, 14, 12, 0.6);
}

[data-theme="dark"] .service-card:hover .service-name {
  color: #0f0e0c;
}

[data-theme="dark"] .service-card:hover .service-number {
  color: rgba(15, 14, 12, 0.12);
}

[data-theme="dark"] .service-card:hover .service-tag {
  border-color: rgba(15, 14, 12, 0.2);
}

.service-number {
  font-family: "Playfair Display", serif;
  font-size: 3.5rem;
  font-weight: 400;
  color: var(--border);
  line-height: 1;
  margin-bottom: 2rem;
  transition: color 0.3s;
}

.service-name {
  font-family: "Playfair Display", serif;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  transition: color 0.3s;
}

.service-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--muted);
  margin-bottom: 1.5rem;
  transition: color 0.3s;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.service-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  border: 1px solid var(--border);
  padding: 0.25rem 0.6rem;
  border-radius: 1px;
  transition:
    color 0.3s,
    border-color 0.3s;
}

/* ── WORKS ────────────────────────────────────── */
#works {
  background: var(--warm-white);
}

.works-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3rem;
}

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

.work-card {
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
  background: var(--card-bg);
  transition:
    transform 0.3s,
    box-shadow 0.3s;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(15, 14, 12, 0.12);
}

.work-image {
  height: 220px;
  background: var(--cream);
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-viz {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
  color: var(--muted);
}

.work-viz-roastery {
  background: linear-gradient(135deg, #1a0a00 0%, #3d1a00 100%);
  color: #c8863a;
}
.work-viz-mimarlik {
  background: linear-gradient(135deg, #f0ebe3 0%, #ddd5c7 100%);
  color: #6a5a4a;
}
.work-viz-villa {
  background: linear-gradient(135deg, #0a2a3d 0%, #1a4a6d 100%);
  color: #6aabcd;
}
.work-viz-larenea {
  background: linear-gradient(135deg, #1a1a2e 0%, #2a2a4e 100%);
  color: #8a8acd;
}
.work-viz-muzesi {
  background: linear-gradient(135deg, #2a1f0a 0%, #4a3a1a 100%);
  color: #c8a85a;
}
.work-viz-new {
  background: linear-gradient(135deg, #0a1f0a 0%, #1a4a1a 100%);
  color: #5a8a5a;
  border: 2px dashed rgba(90, 138, 90, 0.3);
}

.work-body {
  padding: 1.5rem;
}

.work-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.work-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

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

.work-tags {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.work-tag {
  font-family: "DM Mono", monospace;
  font-size: 0.62rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(200, 82, 42, 0.08);
  padding: 0.2rem 0.5rem;
  border-radius: 1px;
}

.work-link {
  font-size: 0.8rem;
  color: var(--muted);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: color 0.2s;
}

.work-link:hover {
  color: var(--accent);
}

/* ── ABOUT ────────────────────────────────────── */
#about {
  background: var(--ink);
  color: #f5f0e8;
}

#about .section-title {
  color: #f5f0e8;
}
#about .section-eyebrow {
  color: var(--accent-light);
}
#about .section-sub {
  color: rgba(245, 240, 232, 0.6);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
  margin-top: 4rem;
}

.about-text p {
  font-size: 1.05rem;
  line-height: 1.8;
  color: rgba(245, 240, 232, 0.75);
  margin-bottom: 1.5rem;
}

.about-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 2rem;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  font-size: 0.9rem;
  color: rgba(245, 240, 232, 0.8);
  line-height: 1.5;
}

.about-list li::before {
  content: "→";
  color: var(--accent-light);
  flex-shrink: 0;
  margin-top: 0.05em;
}

.about-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}

.stat-item {
  padding: 2rem;
  border: 1px solid rgba(245, 240, 232, 0.1);
  border-radius: 4px;
}

.stat-item .num {
  font-family: "Playfair Display", serif;
  font-size: 3rem;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-item .lbl {
  font-size: 0.85rem;
  color: rgba(245, 240, 232, 0.5);
  letter-spacing: 0.03em;
}

/* ── PROCESS ──────────────────────────────────── */
#process {
  background: var(--cream);
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  margin-top: 3rem;
  border: 1px solid var(--border);
}

.process-step {
  padding: 2.5rem 2rem;
  border-right: 1px solid var(--border);
  position: relative;
}

.process-step:last-child {
  border-right: none;
}

.step-num {
  font-family: "DM Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  color: var(--accent);
  margin-bottom: 1.5rem;
}

.step-title {
  font-family: "Playfair Display", serif;
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.step-desc {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.65;
}

/* ── CONTACT ──────────────────────────────────── */
#contact {
  background: var(--warm-white);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  margin-top: 4rem;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}

.contact-item:last-of-type {
  border-bottom: none;
}

.contact-icon {
  width: 44px;
  height: 44px;
  background: var(--cream);
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
}

.contact-item-label {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.3rem;
}

.contact-item-val {
  font-size: 0.95rem;
  color: var(--ink);
  text-decoration: none;
  transition: color 0.2s;
}

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

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-family: "DM Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  font-family: "DM Sans", sans-serif;
  font-size: 0.9rem;
  padding: 0.8rem 1rem;
  border: 1px solid var(--border);
  border-radius: 2px;
  background: var(--card-bg);
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ink);
}

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

.whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: #25d366;
  color: white;
  padding: 0.85rem 1.5rem;
  border-radius: 2px;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background 0.2s;
  margin-top: 1rem;
}

.whatsapp-btn:hover {
  background: #1da851;
}

/* ── FOOTER ───────────────────────────────────── */
footer {
  background: var(--ink);
  color: rgba(245, 240, 232, 0.5);
  padding: 3rem 4rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(245, 240, 232, 0.05);
}

.footer-logo {
  font-family: "Playfair Display", serif;
  font-size: 1.25rem;
  color: var(--cream);
  text-decoration: none;
}

.footer-logo img {
  height: 60px;
  width: auto;
  object-fit: contain;
}

/* Desktop — yatay logo */
.footer-logo .logo-dikey {
  display: none;
}
.footer-logo .logo-yatay {
  display: block;
  height: 36px;
  width: auto;
}

/* Mobil — dikey logo */
@media (max-width: 900px) {
  .footer-logo .logo-yatay {
    display: none;
  }
  .footer-logo .logo-dikey {
    display: block;
    height: 56px;
    width: auto;
  }
}

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

.footer-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.footer-links a {
  font-size: 0.8rem;
  color: rgba(245, 240, 232, 0.4);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover {
  color: var(--cream);
}

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

/* ── SCROLL ANIMATIONS ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ───────────────────────────────── */
@media (max-width: 900px) {
  nav {
    padding: 1rem 1.5rem;
  }
  .nav-links {
    display: none;
  }

  section {
    padding: 4rem 1.5rem;
  }

  .hero {
    grid-template-columns: 1fr;
    padding: 7rem 1.5rem 3rem;
    gap: 3rem;
  }
  .hero-visual {
    display: none;
  }

  .services-header {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .services-grid {
    grid-template-columns: 1fr;
    gap: 1px;
  }

  .works-grid {
    grid-template-columns: 1fr;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .process-step {
    border-right: none;
    border-bottom: 1px solid var(--border);
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

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

  footer {
    flex-direction: column;
    gap: 1.5rem;
    text-align: center;
    padding: 2rem 1.5rem;
  }
  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* ── Particle Layer ──────────────────────────────── */
#particle-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
  /* transform YOK — fixed child'lar doğru çalışsın */
}

.particle {
  position: absolute; /* scroll'dan tamamen bağımsız */
  top: -80px;
  display: block;
  will-change: transform;
  mix-blend-mode: multiply;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.08));
  animation: particle-fall linear infinite;
}

@keyframes particle-fall {
  0% {
    transform: translateY(-80px) translateX(0px) rotate(var(--rot-start));
    opacity: 0;
  }
  8% {
    opacity: 1;
  }
  25% {
    transform: translateY(300px) translateX(var(--swing-a))
      rotate(
        calc(var(--rot-start) + (var(--rot-end) - var(--rot-start)) * 0.25)
      );
  }
  60% {
    transform: translateY(700px) translateX(var(--swing-b))
      rotate(calc(var(--rot-start) + (var(--rot-end) - var(--rot-start)) * 0.6));
  }
  85% {
    transform: translateY(1000px) translateX(var(--swing-c))
      rotate(calc(var(--rot-end) * 0.9));
    opacity: 1;
  }
  100% {
    transform: translateY(1200px) translateX(0px) rotate(var(--rot-end));
    opacity: 0;
  }
}
