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

:root {
  --color-bg: #0B0E11;
  --color-secondary: #1C232B;
  --color-surface: #11161B;
  --color-background: #0A0D10;
  --color-accent: #C9A87C;
  --color-text: #E8E6E1;
  --color-muted: #9A9A9A;
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  --shadow-low: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-mid: 0 8px 32px rgba(0,0,0,0.45);
  --shadow-high: 0 16px 64px rgba(0,0,0,0.6);
  --radius: 4px;
  --radius-btn: 8px;
  --section-pad-mobile: 80px;
  --section-pad-desktop: 120px;
  --info-bar-height: 36px;
  --header-height: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --transition-slow: 0.8s var(--ease-out);
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--color-background);
  color: var(--color-text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding-left: 24px;
  padding-right: 24px;
}

.section {
  padding-top: var(--section-pad-mobile);
  padding-bottom: var(--section-pad-mobile);
}

.eyebrow {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.section-title em {
  font-style: italic;
  color: var(--color-accent);
}

.lead {
  font-weight: 300;
  font-size: 1.125rem;
  margin-top: 24px;
  color: var(--color-text);
}

.body-text {
  font-weight: 300;
  font-size: 0.95rem;
  margin-top: 16px;
  color: var(--color-muted);
}

.text-link {
  display: inline-block;
  margin-top: 24px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: var(--color-accent);
  border-bottom: 1px solid transparent;
  transition: color 0.3s, border-color 0.3s;
}

.text-link:hover {
  color: #E0C8A5;
  border-color: currentColor;
}

.text-link span {
  margin-left: 4px;
  transition: transform 0.3s;
}

.text-link:hover span {
  transform: translateX(3px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s, transform 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
  min-height: 48px;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn:focus-visible,
a:focus-visible,
.hamburger:focus-visible,
.text-link:focus-visible,
.main-nav a:focus-visible,
.form-group input:focus-visible,
.form-group textarea:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
}

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

.btn-primary:hover {
  background-color: #D9BC8F;
  border-color: #D9BC8F;
  color: var(--color-bg);
}

.btn-outline {
  background: transparent;
  color: var(--color-text);
  border-color: rgba(255,255,255,0.4);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.1);
  border-color: var(--color-text);
  color: var(--color-text);
}

.btn-whatsapp {
  background: transparent;
  color: #A8D5BA;
  border-color: #A8D5BA;
}

.btn-whatsapp:hover {
  background: rgba(168, 213, 186, 0.15);
}

.btn-lg {
  padding: 18px 40px;
  font-size: 1rem;
}

.btn-sm {
  padding: 10px 20px;
  font-size: 0.8rem;
  min-height: 40px;
}

.btn-block {
  width: 100%;
}

/* ============ INFO BAR ============ */
.info-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  height: var(--info-bar-height);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 16px;
  background: var(--color-bg);
  font-size: 0.8rem;
  color: var(--color-muted);
  opacity: 0.7;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

/* ============ HEADER ============ */
.site-header {
  position: fixed;
  top: var(--info-bar-height);
  left: 0;
  right: 0;
  z-index: 1000;
  min-height: var(--header-height);
  background: transparent;
  transition: background-color 0.4s ease, box-shadow 0.4s ease;
  padding: 16px 0;
}

.site-header.scrolled {
  background: rgba(10, 13, 16, 0.95);
  box-shadow: var(--shadow-mid);
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: var(--color-text);
  z-index: 1101;
}

.main-nav ul {
  display: flex;
  gap: 32px;
}

.main-nav a {
  font-size: 0.9rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-text);
  padding: 8px 0;
  position: relative;
  transition: color 0.3s;
}

.main-nav a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}

.main-nav a:hover::after {
  transform: scaleX(1);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-phone {
  background: transparent;
  border: 1px solid var(--color-accent);
  color: var(--color-accent);
}

.btn-phone:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1101;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-text);
  transition: transform 0.3s, opacity 0.3s;
}

.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);
}

/* ============ HERO ============ */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--color-text);
  isolation: isolate;
}

.hero-background {
  position: absolute;
  inset: 0;
  background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=1600&q=80');
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.1);
  will-change: transform;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,13,16,0.7) 0%, rgba(10,13,16,0.4) 50%, rgba(10,13,16,0.7) 100%);
  z-index: -1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 1280px;
}

.hero-eyebrow {
  margin-bottom: 20px;
  animation: fadeUp 1s var(--ease-out) 0.2s both;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 5.5rem);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
  animation: fadeUp 1s var(--ease-out) 0.4s both;
}

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

.hero-subtitle {
  font-weight: 300;
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin-bottom: 40px;
  animation: fadeUp 1s var(--ease-out) 0.6s both;
}

.hero-ctas {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 1s var(--ease-out) 0.8s both;
}

.hero-scroll {
  position: absolute;
  bottom: 40px;
  right: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  animation: float 2s ease-in-out infinite;
}

.hero-scroll svg {
  animation: bounceDown 2s ease-in-out infinite;
}

.hero-scroll path {
  stroke: var(--color-accent);
}

/* ============ SECTION CLIP TRANSITIONS ============ */
html.js .section-clip:not(.visible) {
  clip-path: inset(12% 0 12% 0);
  opacity: 0;
  transition: clip-path var(--transition-slow), opacity var(--transition-slow);
}

html.js .section-clip.visible {
  clip-path: inset(0);
  opacity: 1;
}

/* ============ INTRO SECTION ============ */
.intro {
  background: var(--color-background);
  padding-bottom: 0;
}

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

.intro-text {
  padding-right: 20px;
}

.intro-image {
  position: relative;
  margin-right: -15%;
  width: 100%;
}

.intro-image::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  width: 120px;
  height: 120px;
  border: 1px solid var(--color-accent);
  z-index: -1;
}

.intro-image img {
  border-radius: var(--radius);
  box-shadow: var(--shadow-high);
}

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

.section-header {
  text-align: center;
  padding: var(--section-pad-mobile) 0 60px;
}

.service-scene {
  position: relative;
  height: 100vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  overflow: hidden;
  isolation: isolate;
  margin-bottom: 4px;
}

.scene-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  z-index: -2;
  transform: scale(1.05);
  will-change: transform;
}

.scene-bg--1 {
  background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=1600&q=80');
}

.scene-bg--2 {
  background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=1600&q=80');
}

.scene-bg--3 {
  background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=1600&q=80');
}

.scene-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.service-scene--left .scene-overlay {
  background: linear-gradient(to right, rgba(10,13,16,0.95) 0%, rgba(10,13,16,0.5) 50%, rgba(10,13,16,0.15) 100%);
}

.service-scene--right .scene-overlay {
  background: linear-gradient(to left, rgba(10,13,16,0.95) 0%, rgba(10,13,16,0.5) 50%, rgba(10,13,16,0.15) 100%);
}

.service-scene--bottom .scene-overlay {
  background: linear-gradient(to top, rgba(10,13,16,0.95) 30%, rgba(10,13,16,0.4) 70%, rgba(10,13,16,0.1) 100%);
}

.scene-content {
  max-width: 520px;
  padding: 40px;
  z-index: 2;
}

.service-scene--left {
  justify-content: flex-start;
}

.service-scene--left .scene-content {
  margin-left: 5%;
  margin-right: 0;
}

.service-scene--right .scene-content {
  margin-right: 5%;
  margin-left: 0;
}

.service-scene--bottom {
  justify-content: center;
  align-items: flex-end;
}

.service-scene--bottom .scene-content {
  margin: 0 auto 60px;
  text-align: center;
}

.service-scene--bottom .scene-content p:not(.scene-index) {
  margin-left: auto;
  margin-right: auto;
}

.scene-index {
  font-size: 4rem;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 1px var(--color-accent);
  font-family: var(--font-display);
  margin-bottom: 16px;
  opacity: 0.8;
}

.scene-content h3 {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 600;
  margin-bottom: 16px;
  line-height: 1.1;
}

.scene-content p:not(.scene-index) {
  font-weight: 300;
  color: var(--color-text);
  margin-bottom: 32px;
  max-width: 420px;
}

.scene-content .btn {
  background: rgba(11, 14, 17, 0.7);
  backdrop-filter: blur(4px);
  border-color: var(--color-accent);
  color: var(--color-accent);
}

.scene-content .btn:hover {
  background: var(--color-accent);
  color: var(--color-bg);
}

/* ============ CONTACT ============ */
.contact {
  background: var(--color-surface);
  padding: var(--section-pad-mobile) 0;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 100px;
  align-items: start;
}

.contact-info .lead {
  margin-bottom: 40px;
}

.contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 40px;
  max-width: 360px;
}

.contact-buttons .btn {
  justify-content: flex-start;
}

.contact-location {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 360px;
}

.address {
  font-weight: 300;
  color: var(--color-muted);
}

.contact-form {
  background: var(--color-bg);
  padding: 40px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-mid);
  border: 1px solid rgba(255,255,255,0.05);
}

.form-label {
  font-size: 0.75rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-muted);
  margin-bottom: 32px;
  display: block;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  padding-bottom: 16px;
}

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

.form-group label {
  display: block;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 8px;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 14px 16px;
  background: var(--color-surface);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  color: var(--color-text);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-accent);
  box-shadow: 0 0 0 3px rgba(201,168,124,0.1);
}

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

.form-error {
  color: #ff6b6b;
  font-size: 0.8rem;
  margin-top: 4px;
  display: none;
}

.form-group.has-error .form-error {
  display: block;
}

.form-group.has-error input,
.form-group.has-error textarea {
  border-color: #ff6b6b;
}

.form-message {
  margin-top: 16px;
  color: var(--color-accent);
  font-weight: 500;
  text-align: center;
}

/* ============ FOOTER ============ */
.site-footer {
  background: var(--color-background);
  padding: 40px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  color: var(--color-muted);
}

/* ============ PROGRESS INDICATOR ============ */
.progress-indicator {
  position: fixed;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 3px;
  height: 200px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  z-index: 999;
  pointer-events: none;
}

#progressBar {
  display: block;
  width: 100%;
  height: 0;
  background: var(--color-accent);
  border-radius: 2px;
  transition: height 0.1s linear;
}

/* ============ REVEAL ANIMATIONS ============ */
html.js .reveal:not(.visible) {
  opacity: 0;
  clip-path: inset(15% 0 15% 0);
  transition: opacity var(--transition-slow), clip-path var(--transition-slow);
}

html.js .reveal:not(.visible).from-left {
  clip-path: inset(0 15% 0 0);
}

html.js .reveal:not(.visible).from-right {
  clip-path: inset(0 0 0 15%);
}

html.js .reveal.visible {
  opacity: 1;
  clip-path: inset(0);
}

/* ============ CINEMATIC GRAIN ============ */
body::after {
  content: '';
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
  opacity: 0.04;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ============ SCROLL MARGIN ============ */
.intro,
.services,
.contact {
  scroll-margin-top: calc(var(--info-bar-height) + var(--header-height) + 16px);
}

/* ============ KEYFRAMES ============ */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounceDown {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(8px);
  }
}

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

/* ============ RESPONSIVE ============ */
@media (max-width: 1024px) {
  .intro-image {
    margin-right: 0;
  }

  .scene-content {
    margin-right: 0;
  }

  .service-scene--left .scene-content {
    margin-left: 4%;
  }

  .contact-grid {
    gap: 60px;
  }
}

@media (max-width: 768px) {
  .container {
    padding-left: 16px;
    padding-right: 16px;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 70%;
    max-width: 300px;
    background: var(--color-bg);
    box-shadow: var(--shadow-high);
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    z-index: 1100;
  }

  .main-nav.open {
    transform: translateX(0);
  }

  .main-nav ul {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }

  .main-nav a {
    font-size: 1.2rem;
    letter-spacing: 0.1em;
  }

  .hamburger {
    display: flex;
  }

  .header-actions .btn-phone {
    display: none;
  }

  .hero-background {
    background-image: url('https://images.unsplash.com/photo-1486406146926-c627a92ad1ab?w=800&q=80');
  }

  .scene-bg--1 {
    background-image: url('https://images.unsplash.com/photo-1600880292203-757bb62b4baf?w=800&q=80');
  }

  .scene-bg--2 {
    background-image: url('https://images.unsplash.com/photo-1512917774080-9991f1c4c750?w=800&q=80');
  }

  .scene-bg--3 {
    background-image: url('https://images.unsplash.com/photo-1600585154340-be6161a56a0c?w=800&q=80');
  }

  .hero-scroll {
    right: 20px;
    bottom: 20px;
  }

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

  .intro-text {
    padding-right: 0;
  }

  .intro-image {
    margin-right: 0;
  }

  .service-scene,
  .service-scene--left,
  .service-scene--right {
    justify-content: center;
    align-items: flex-end;
    padding-bottom: 80px;
  }

  .service-scene--left .scene-content,
  .service-scene--right .scene-content,
  .service-scene--bottom .scene-content {
    max-width: 100%;
    margin: 0 16px;
    padding: 24px;
    text-align: center;
  }

  .service-scene--bottom .scene-content {
    margin-bottom: 0;
  }

  .scene-content p:not(.scene-index) {
    margin-left: auto;
    margin-right: auto;
  }

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

  .contact-form {
    padding: 24px;
  }

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

  .progress-indicator {
    left: auto;
    right: 12px;
    height: 150px;
  }

  .contact-buttons .btn {
    justify-content: center;
  }
}

@media (max-width: 480px) {
  .section {
    --section-pad-mobile: 60px;
  }

  .contact {
    padding: 60px 0;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-ctas {
    flex-direction: column;
    gap: 12px;
  }

  .hero-ctas .btn {
    width: 100%;
  }

  .btn-lg {
    padding: 16px 24px;
  }

  .scene-content h3 {
    font-size: 1.8rem;
  }

  .contact-location {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-location .btn {
    width: 100%;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .section-header {
    padding-top: var(--section-pad-desktop);
  }
}

@media (min-width: 1025px) {
  .section {
    padding-top: var(--section-pad-desktop);
    padding-bottom: var(--section-pad-desktop);
  }

  .intro {
    padding-bottom: 0;
  }

  .contact {
    padding: var(--section-pad-desktop) 0;
  }

  .section-header {
    padding-top: var(--section-pad-desktop);
  }
}

/* ============ PREFERS REDUCED MOTION ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
    scroll-behavior: auto !important;
  }

  html {
    scroll-behavior: auto;
  }

  html.js .section-clip:not(.visible),
  html.js .section-clip:not(.visible).from-left,
  html.js .section-clip:not(.visible).from-right {
    clip-path: none !important;
    opacity: 1 !important;
  }

  html.js .reveal:not(.visible),
  html.js .reveal:not(.visible).from-left,
  html.js .reveal:not(.visible).from-right {
    opacity: 1 !important;
    clip-path: none !important;
  }

  .hero-background,
  .scene-bg {
    transform: none !important;
  }

  .hero-scroll svg {
    animation: none !important;
  }

  .hero-scroll {
    animation: none !important;
  }
}

/* Outreach demo disclosure — otomatik kaldırmayın. */
.outreach-demo-notice{position:relative;z-index:9999;width:100%;padding:8px 16px;background:#111;color:#fff;font:600 12px/1.4 Arial,sans-serif;text-align:center;letter-spacing:.01em}
