/* ==========================================================================
   TRUEKİM — Kurumsal Aydınlık
   Fildişi gövde, antrasit hero/footer çerçevesi, ölçülü altın aksan.
   ========================================================================== */

:root {
  color-scheme: light;

  /* Zeminler */
  --ivory: #faf8f4;
  --paper: #ffffff;
  --wash: #f3efe6;
  --anthracite: #17181a;
  --anthracite-soft: #1f2024;

  /* Metin */
  --ink: #1e1d1a;
  --text: #3a3833;
  --muted: #6b675c;
  --light-text: #f3f0e9;
  --light-sub: #c9c5b9;

  /* Marka: altın */
  --gold: #c9a96a;
  --gold-bright: #dbbc80;
  --gold-deep: #7f6327;      /* açık zeminde erişilebilir altın */
  --gold-line: rgba(201, 169, 106, 0.35);
  --gold-a65: rgba(201, 169, 106, 0.65);
  --gold-a50: rgba(201, 169, 106, 0.5);
  --gold-a25: rgba(201, 169, 106, 0.25);
  --gold-a12: rgba(201, 169, 106, 0.12);

  /* Çizgi & gölge */
  --line: #e7e1d4;
  --line-dark: rgba(255, 255, 255, 0.08);
  --radius: 6px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 2px rgba(30, 26, 18, 0.06);
  --shadow-md: 0 12px 28px rgba(30, 26, 18, 0.10);

  /* Tipografi */
  --font-serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --font-sans: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;

  /* Ölçüler */
  --container: 1120px;
  --header-h: 68px;
}

/* ---------- Reset & taban ---------- */

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-padding-top: calc(var(--header-h) + 16px);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text);
  background: var(--ivory);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

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

address {
  font-style: normal;
}

h1,
h2 {
  font-family: var(--font-serif);
  color: var(--ink);
  line-height: 1.2;
  font-weight: 700;
}

h3 {
  font-family: var(--font-sans);
  color: var(--ink);
  font-weight: 600;
  line-height: 1.35;
}

::selection {
  background: var(--gold);
  color: var(--ink);
}

/* Erişilebilirlik: odak halkası (koyu yüzeyler --focus-color'ı geçersiz kılar) */
:focus-visible {
  outline: 3px solid var(--focus-color, var(--gold-deep));
  outline-offset: 3px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 1rem;
  z-index: 200;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  text-decoration: none;
  padding: 0.6rem 1.1rem;
  border-radius: 0 0 var(--radius) var(--radius);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 0;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 4vw, 2rem);
}

/* ---------- Header / Nav ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--anthracite);
  border-bottom: 1px solid var(--gold-line);
  transition: box-shadow 0.25s ease;
  --focus-color: var(--gold-bright);
}

.site-header.is-scrolled {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.brand img {
  height: 40px;
  width: auto;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 2rem;
  list-style: none;
}

.site-nav a {
  display: inline-block;
  color: #e8e4da;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
  padding: 0.35rem 0.1rem;
  border-bottom: 2px solid transparent;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.site-nav a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: 1px solid var(--gold-line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ---------- Butonlar ---------- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  padding: 0.85rem 1.7rem;
  border-radius: var(--radius);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.btn svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

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

.btn-gold {
  background: var(--gold);
  border-color: var(--gold);
  color: #161410;
}

.btn-gold:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
}

.btn-ghost {
  border-color: var(--gold-a65);
  color: var(--gold);
  background: transparent;
}

.btn-ghost:hover {
  background: var(--gold-a12);
  color: var(--gold-bright);
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(201, 169, 106, 0.14), transparent 60%),
    linear-gradient(180deg, #1a1b1e 0%, #141518 100%);
  color: var(--light-text);
  padding: clamp(4.5rem, 10vw, 7.5rem) 0;
  --focus-color: var(--gold-bright);
}

.hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-a50), transparent);
}

.hero-inner {
  max-width: 800px;
}

.hero-eyebrow {
  position: relative;
  padding-left: 2.9rem;
  color: var(--gold);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1.4rem;
}

.hero-eyebrow::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.65em;
  width: 2.2rem;
  height: 1px;
  background: var(--gold);
}

.hero h1 {
  color: #f8f5ee;
  font-size: clamp(2.05rem, 4.5vw + 0.4rem, 3.65rem);
  max-width: 18ch;
  margin-bottom: 1.4rem;
}

.hero-sub {
  color: var(--light-sub);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
  max-width: 58ch;
  margin-bottom: 2.4rem;
}

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

/* ---------- Ortak bölüm düzeni ---------- */

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section-eyebrow {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: var(--gold-deep);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.section-eyebrow::before {
  content: "";
  width: 2rem;
  height: 1px;
  background: var(--gold);
}

.section-eyebrow::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
  margin-left: 0.5rem;
}

.section h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  max-width: 26ch;
  margin-bottom: 1.1rem;
}

.section-lead {
  max-width: 64ch;
  color: var(--muted);
  font-size: 1.05rem;
}

/* ---------- Hakkımızda ---------- */

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2.5rem;
  margin-top: 3rem;
}

.feature {
  position: relative;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
}

.feature::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 0;
  width: 44px;
  height: 2px;
  background: var(--gold);
}

.feature-icon {
  width: 30px;
  height: 30px;
  color: var(--gold-deep);
  margin-bottom: 0.9rem;
}

.feature h3 {
  font-size: 1.15rem;
  margin-bottom: 0.45rem;
}

.feature p {
  color: var(--muted);
  font-size: 0.97rem;
}

/* ---------- Ürün Gruplarımız ---------- */

.products {
  background: var(--wash);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.product-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}

.card {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-sm);
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
}

.card::before {
  content: "";
  position: absolute;
  top: -1px;
  left: 1.4rem;
  right: 1.4rem;
  height: 1px;
  background: linear-gradient(90deg, var(--gold), transparent);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: #dcd2bd;
}

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

.card-num {
  position: absolute;
  top: 1.3rem;
  right: 1.5rem;
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 1.05rem;
  color: var(--gold-a65);
}

.card-icon {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 4px;
  border: 1px solid #e3d9c2;
  color: var(--gold-deep);
  margin-bottom: 1.1rem;
}

.card-icon svg {
  width: 25px;
  height: 25px;
}

.card h3 {
  font-size: 1.12rem;
  margin-bottom: 0.45rem;
}

.card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.products-note {
  margin-top: 2.6rem;
  color: var(--muted);
  font-size: 0.97rem;
}

.products-note a {
  color: var(--gold-deep);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.products-note a:hover {
  color: var(--ink);
}

/* ---------- İletişim ---------- */

.contact-panel {
  margin-top: 3rem;
  background: linear-gradient(160deg, var(--anthracite-soft), #141518);
  border: 1px solid var(--gold-line);
  border-radius: var(--radius-lg);
  color: var(--light-text);
  padding: clamp(1.8rem, 4vw, 3rem);
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 2.5rem;
  --focus-color: var(--gold-bright);
}

.contact-list {
  display: grid;
  align-content: center;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-item:first-child {
  padding-top: 0;
}

.contact-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.contact-item > svg {
  width: 22px;
  height: 22px;
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 0.2rem;
}

.contact-item dt {
  color: var(--gold);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 0.3rem;
}

.contact-item dd {
  margin: 0;
}

.contact-item address,
.contact-item a {
  color: #f2efe8;
  font-size: 1.02rem;
}

.contact-item a {
  text-decoration: none;
  border-bottom: 1px solid var(--gold-a50);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.contact-item a:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}

.contact-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 0.55rem;
  border-left: 1px solid var(--gold-a25);
  padding-left: 2.5rem;
}

.cta-label {
  color: var(--gold);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.contact-cta h3 {
  color: var(--light-text);
  font-size: 1.2rem;
}

.contact-cta p:not(.cta-label) {
  color: var(--light-sub);
  font-size: 0.97rem;
}

.contact-cta .btn {
  margin-top: 0.9rem;
}

/* ---------- Footer ---------- */

.site-footer {
  background: var(--anthracite);
  border-top: 1px solid var(--gold-line);
  color: #b9b5aa;
  padding: 3.5rem 0 2.5rem;
  --focus-color: var(--gold-bright);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.4rem;
}

.footer-brand {
  margin-bottom: 1.2rem;
}

.footer-brand img {
  height: 40px;
  width: auto;
}

.footer-name {
  color: #eae6dc;
  font-weight: 600;
}

.footer-loc {
  font-size: 0.95rem;
}

.footer-copy {
  font-size: 0.9rem;
  margin-top: 0.6rem;
}

/* ---------- Responsive ---------- */

@media (max-width: 1000px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 820px) {
  .feature-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: none;
    background: var(--anthracite);
    border-bottom: 1px solid var(--gold-line);
    padding: 0.5rem 1.25rem 1.25rem;
    box-shadow: 0 16px 30px rgba(0, 0, 0, 0.35);
  }

  .site-nav.is-open {
    display: block;
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.85rem 0.25rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .site-nav a:hover {
    border-bottom-color: var(--gold);
  }

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

  .contact-cta {
    border-left: 0;
    padding-left: 0;
    border-top: 1px solid var(--gold-a25);
    padding-top: 2rem;
  }
}

@media (max-width: 620px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .brand img {
    height: 34px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }

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

/* ---------- Hareket azaltma tercihi ---------- */

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

  .card:hover,
  .btn:hover {
    transform: none;
  }
}
