/* ==========================================================================
   1. SIFIRLAMA VE GENEL DEĞİŞKENLER
   ========================================================================== */
* {
  box-sizing: border-box;
}

:root {
  --ink: #2d261f;
  --paper: #f3eee7;
  --white: #fffdf9;
  --overlay-bg: rgba(20, 18, 16, 0.96);
}

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

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "DM Sans",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  background-color: var(--paper);
  overflow-x: hidden;
}

body.menu-open {
  overflow: hidden;
}

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

/* ==========================================================================
   2. HERO ALANI & ARKA PLAN
   ========================================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  isolation: isolate;
  color: var(--white);
  background: #777c80;
}

.hero-image {
  position: absolute;
  inset: 0;
  z-index: -3;
  background-image: url("IMG/OUTLİNE.jpeg");
  background-size: cover;
  background-position: center 53%;
  transform: scale(1.015);
}

.image-shade {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(
      90deg,
      rgba(244, 226, 204, 0.45) 0%,
      rgba(44, 44, 43, 0.15) 50%,
      rgba(12, 15, 16, 0.35) 100%
    ),
    linear-gradient(
      180deg,
      rgba(17, 23, 28, 0.5) 0%,
      transparent 25%,
      transparent 70%,
      rgba(20, 19, 18, 0.5) 100%
    );
}

/* ==========================================================================
   3. ÜST BİLGİ / HEADER & NAVİGASYON
   ========================================================================== */
.site-header {
  position: absolute;
  z-index: 5;
  top: 0;
  left: 0;
  width: 100%;
  padding: 30px 6%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  flex-direction: column;
  gap: 6px;
  color: white;
  z-index: 6;
}

.brand-name {
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(1.8rem, 3.2vw, 3.25rem);
  letter-spacing: 0.28em;
  line-height: 1;
}

.brand-tagline {
  font-size: clamp(0.48rem, 0.7vw, 0.67rem);
  letter-spacing: 0.28em;
  white-space: nowrap;
}

/* Desktop Menü */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3.1vw, 54px);
  padding-top: 10px;
}

.mobile-nav-header {
  display: none;
}

.main-nav a {
  position: relative;
  padding-bottom: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 300;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1px;
  content: "";
  background: white;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}

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

.header-note {
  margin: 0;
  padding-left: 24px;
  border-left: 1px solid rgba(255, 255, 255, 0.4);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.85rem;
  line-height: 1.4;
  font-weight: 300;
}

/* Mobil Hamburger Menü Butonu */
.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 22px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 6;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background-color: white;
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-overlay {
  display: block;
  opacity: 1;
}

/* ==========================================================================
   4. HERO İÇERİK (METİNLER & BUTTON)
   ========================================================================== */
.hero-copy {
  position: relative;
  z-index: 1;
  width: min(480px, 90vw);
  margin-left: 6%;
  padding-top: clamp(140px, 22vh, 230px);
  padding-bottom: 120px;
  color: #302820;
}

.eyebrow {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 24px;
  font-size: clamp(0.68rem, 1.1vw, 0.82rem);
  letter-spacing: 0.19em;
  white-space: nowrap;
  font-weight: 500;
}

.eyebrow i {
  display: block;
  width: 80px;
  height: 1px;
  background: rgba(48, 40, 32, 0.62);
}

h1 {
  margin: 0 0 21px;
  font-family: "Playfair Display", Georgia, serif;
  font-weight: 400;
  font-size: clamp(2.5rem, 4.5vw, 4.65rem);
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.hero-copy > p {
  max-width: 380px;
  margin: 0 0 32px;
  color: rgba(35, 30, 25, 0.88);
  font-size: clamp(0.92rem, 1.2vw, 1.05rem);
  line-height: 1.55;
  font-weight: 400;
}

.outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-width: 240px;
  height: 52px;
  padding: 0 24px;
  border: 1px solid rgba(48, 40, 32, 0.75);
  font-size: 0.92rem;
  font-weight: 500;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(4px);
}

.outline-button .arrow {
  font-size: 1.3rem;
  transition: transform 0.3s ease;
}

.outline-button:hover {
  color: white;
  background: var(--ink);
  border-color: var(--ink);
}

.outline-button:hover .arrow {
  transform: translateX(6px);
}

/* ==========================================================================
   5. ŞERİT HİZMETLER & KAYDIRMA UYARISI
   ========================================================================== */
.service-strip {
  position: absolute;
  z-index: 2;
  bottom: 40px;
  left: 6%;
  display: flex;
  align-items: center;
  color: white;
}

.service-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-right: 32px;
  margin-right: 32px;
  border-right: 1px solid rgba(255, 255, 255, 0.35);
  transition: opacity 0.3s ease;
}

.service-item:hover {
  opacity: 0.85;
}

.service-item:last-child {
  border-right: 0;
  margin-right: 0;
  padding-right: 0;
}

.service-item svg {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-item span {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.service-item strong {
  font-weight: 500;
  font-size: 0.98rem;
  letter-spacing: 0.02em;
}

.service-item small {
  font-size: 0.78rem;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.82);
}

.scroll-cue {
  position: absolute;
  right: 6%;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.75rem;
  letter-spacing: 0.05em;
  transition: opacity 0.3s ease;
}

.scroll-cue i {
  font-size: 1.4rem;
  font-style: normal;
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-6px);
  }
  60% {
    transform: translateY(-3px);
  }
}

/* ==========================================================================
   6. ALT SEKSİYON VE FOOTER
   ========================================================================== */
.below-section {
  padding: 120px 8%;
  text-align: center;
  background: var(--paper);
}

.section-kicker {
  font-size: 0.78rem;
  letter-spacing: 0.25em;
  font-weight: 700;
  color: #8c8275;
  margin-bottom: 12px;
}

.below-section h2 {
  max-width: 760px;
  margin: 0 auto 20px;
  font:
    400 clamp(2rem, 4.2vw, 3.8rem) / 1.15 "Playfair Display",
    Georgia,
    serif;
}

.below-section > p:not(.section-kicker) {
  max-width: 580px;
  margin: 0 auto;
  color: #665d54;
  font-size: 1.05rem;
  line-height: 1.6;
}

.dark-button {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  margin-top: 36px;
  padding: 16px 32px;
  color: white;
  background: var(--ink);
  font-size: 0.95rem;
  font-weight: 500;
  transition: background 0.3s ease;
}

.dark-button:hover {
  background: #000000;
}

footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 40px 6%;
  color: #eee7de;
  background: #211e1a;
  font-size: 0.88rem;
}

.footer-brand span {
  font:
    400 1.6rem "Playfair Display",
    Georgia,
    serif;
  letter-spacing: 0.2em;
  display: block;
}

.footer-brand p {
  margin: 6px 0 0;
  color: #a3998e;
  font-size: 0.8rem;
}

.footer-contact a {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
  padding-bottom: 2px;
  transition: border-color 0.3s ease;
}

.footer-contact a:hover {
  border-color: white;
}

/* ==========================================================================
   7. RESPONSIVE (MEDYA SORGULARI - BREAKPOINTS)
   ========================================================================== */

/* --- TABLET YATAY & KÜÇÜK MASAÜSTÜ (max-width: 1100px) --- */
@media (max-width: 1100px) {
  .site-header {
    padding: 24px 4%;
  }

  .header-note {
    display: none;
  }

  .main-nav {
    gap: 24px;
  }

  .hero-copy {
    margin-left: 4%;
    width: min(440px, 50vw);
  }

  .service-strip {
    left: 4%;
  }

  .service-item {
    padding-right: 20px;
    margin-right: 20px;
  }

  .scroll-cue {
    right: 4%;
  }
}

/* --- TABLET DİKEY & MOBİL (max-width: 768px) --- */
@media (max-width: 768px) {
  .hero {
    min-height: 100vh;
    justify-content: flex-start;
  }

  .site-header {
    padding: 20px 5%;
    align-items: center;
  }

  /* Mobil Menü Tasarımı (Side Drawer) */
  .menu-toggle {
    display: flex;
  }

  .nav-overlay.active {
    display: block;
    opacity: 1;
  }

  .main-nav {
    position: fixed;
    top: 0;
    right: -100%;
    bottom: 0;
    width: 80%;
    max-width: 320px;
    height: 100vh;
    background: var(--overlay-bg);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 0;
    padding: 30px 24px;
    z-index: 10;
    transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: -5px 0 25px rgba(0, 0, 0, 0.5);
  }

  .main-nav.open {
    right: 0;
  }

  .mobile-nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  }

  .menu-close {
    background: transparent;
    border: none;
    color: white;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    padding: 0;
  }

  .main-nav a {
    font-size: 1.15rem;
    padding: 16px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .main-nav a::after {
    display: none;
  }

  /* İçerik Düzeni */
  .hero-copy {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 130px 6% 40px;
  }

  .eyebrow i {
    width: 40px;
  }

  /* Hizmet Kartları Mobil Görünümü */
  .service-strip {
    position: relative;
    bottom: auto;
    left: auto;
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin: 20px 6% 40px;
    width: calc(100% - 12%);
  }

  .service-item {
    padding: 14px 18px;
    margin: 0;
    border-right: none;
    border-left: 2px solid rgba(255, 255, 255, 0.6);
    background: rgba(0, 0, 0, 0.25);
    backdrop-filter: blur(8px);
    border-radius: 0 4px 4px 0;
  }

  .scroll-cue {
    display: none; /* Mobilde yer kazanmak için kaldırıldı */
  }

  .below-section {
    padding: 70px 6%;
  }

  footer {
    flex-direction: column;
    align-items: flex-start;
    padding: 36px 6%;
    gap: 20px;
  }
}

/* --- KÜÇÜK MOBİL EKRANLAR (max-width: 480px) --- */
@media (max-width: 480px) {
  .brand-name {
    font-size: 1.6rem;
  }

  .brand-tagline {
    font-size: 0.42rem;
    letter-spacing: 0.18em;
  }

  .outline-button {
    width: 100%;
  }

  .below-section h2 {
    font-size: 2rem;
  }

  .dark-button {
    width: 100%;
    justify-content: space-between;
  }
}
