/* ── Design Tokens ─────────────────────────────────── */
:root {
  --gold:        #C9A84C;
  --gold-light:  #E2C97E;
  --gold-dark:   #A07830;
  --black:       #0A0A08;
  --black-2:     #111110;
  --black-3:     #1A1A17;
  --black-4:     #242420;
  --cream:       #F5F0E8;
  --cream-dim:   rgba(245,240,232,0.72);
  --cream-muted: rgba(245,240,232,0.42);
  /* aliases — eski adlar geriye dönük çalışsın */
  --white:       var(--cream);
  --white-dim:   var(--cream-dim);
  --white-muted: var(--cream-muted);
  --border:      rgba(201,168,76,0.18);
  --border-hover:rgba(201,168,76,0.55);
  --font-heading: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'Montserrat', system-ui, sans-serif;
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--black);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

ul {
  list-style: none;
}

/* ── Utility ───────────────────────────────────────── */
.container {
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  padding-inline: clamp(1.25rem, 5vw, 3rem);
}

/* ── Scrollbar ─────────────────────────────────────── */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--black-2);
}

::-webkit-scrollbar-thumb {
  background: var(--gold-dark); border-radius: 3px;
}

/* Reduced motion — animasyonlar kapanır, içerik görünür kalır */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    transition-duration: 0.01ms !important; animation-duration: 0.01ms !important;
  }
}

/* ═══════════════════════════════════════════════════ */
/*  NAVBAR                                             */
/* ═══════════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding-block: 1.25rem;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

#navbar.scrolled {
  background: rgba(10,10,8,0.92);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 1px 0 var(--border);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 1.55rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--gold);
}

.nav-logo svg {
  width: 28px; height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--white-dim);
  position: relative;
  transition: color 0.25s;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -3px; left: 0;
  width: 0; height: 1px;
  background: var(--gold);
  transition: width 0.35s var(--ease-out);
}

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

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 1.35rem;
  background: transparent;
  border: 1px solid var(--gold);
  color: var(--gold);
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
}

.nav-cta:hover {
  background: var(--gold); color: var(--black);
}

.nav-toggle {
  display: none; background: none; border: none; cursor: pointer; padding: 4px;
}

.nav-toggle span {
  display: block; width: 24px; height: 1.5px;
  background: var(--gold); margin: 5px 0;
  transition: transform 0.3s, opacity 0.3s;
}

/* ═══════════════════════════════════════════════════ */
/*  FOOTER                                             */
/* ═══════════════════════════════════════════════════ */
footer {
  background: var(--black);
  border-top: 1px solid var(--border);
  padding-block: 3.5rem 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .nav-logo {
  margin-bottom: 1rem;
}

.footer-brand p {
  font-size: 0.84rem;
  color: var(--white-muted);
  line-height: 1.75;
  max-width: 240px;
  margin-bottom: 1.5rem;
}

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.25rem;
}

.footer-col ul li {
  margin-bottom: 0.65rem;
}

.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--white-muted);
  transition: color 0.2s;
}

.footer-col ul li a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer-bottom p {
  font-size: 0.78rem; color: var(--white-muted);
}

.footer-bottom p a {
  color: var(--gold);
}

/* ═══════════════════════════════════════════════════ */
/*  SCROLL TO TOP                                      */
/* ═══════════════════════════════════════════════════ */
#scroll-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  border: none;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.3s, transform 0.3s;
  z-index: 99;
}

#scroll-top.visible {
  opacity: 1; transform: translateY(0);
}

#scroll-top svg {
  width: 18px; height: 18px; color: var(--black);
}

/* ═══════════════════════════════════════════════════ */
/*  MOBILE                                             */
/* ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr; gap: 2rem;
  }
}

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

  .nav-toggle {
    display: flex; flex-direction: column;
  }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: rgba(10,10,8,0.96);
    backdrop-filter: blur(20px);
    padding: 1.5rem 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid var(--border);
  }

  .nav-cta {
    display: none;
  }

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

/* Buton shimmer sweep */
.btn-primary, .form-submit, .nav-cta {
  position: relative;
  overflow: hidden;
}

/* ── Accessibility ─────────────────────────────────── */
.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 200;
  width: auto;
  height: auto;
  clip-path: none;
  padding: 0.75rem 1.25rem;
  background: var(--gold);
  color: var(--black);
  font-size: 0.85rem;
  font-weight: 600;
}

/* Reveal animations must never be the reason content is missing. */
html:not(.js) [data-reveal] {
  opacity: 1;
  transform: none;
}

/* ── Undesigned pages (privacy policy, search, 404) ─── */
.simple-page {
  padding: clamp(9rem, 7rem + 8vw, 13rem) 0 clamp(4rem, 3rem + 4vw, 7rem);
  min-height: 60vh;
}

.simple-page-title {
  font-family: var(--font-heading);
  font-size: clamp(2.2rem, 1.6rem + 2.6vw, 3.6rem);
  font-weight: 600;
  line-height: 1.1;
  color: var(--cream);
  margin-bottom: 2rem;
}

.simple-page-body,
.simple-page p {
  color: var(--cream-dim);
  max-width: 68ch;
  margin-bottom: 1.25rem;
}

.simple-page-body h2,
.simple-page-body h3 {
  font-family: var(--font-heading);
  color: var(--gold);
  margin: 2.5rem 0 1rem;
}

.simple-page-body a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.simple-page-body ul,
.simple-page-body ol {
  color: var(--cream-dim);
  max-width: 68ch;
  margin: 0 0 1.5rem 1.25rem;
  list-style: revert;
}

.simple-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  border-top: 1px solid var(--border);
  padding-top: 2rem;
}

.simple-list li a {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--cream);
  transition: color 0.25s var(--ease-out);
}

.simple-list li a:hover {
  color: var(--gold);
}
/* ── Footer social buttons ────────────────────────── */
/* Part of the footer, so it belongs to the shared chrome — it was only
   reachable on the front page while it lived in home.css. */
.social-links {
  display: flex;
  gap: 0.75rem;
}

.social-link {
  width: 36px; height: 36px;
  border: 1px solid var(--border);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.25s, background 0.25s;
  cursor: pointer;
}

.social-link svg {
  width: 16px; height: 16px; color: var(--white-muted); transition: color 0.25s;
}

.social-link:hover {
  border-color: var(--gold); background: rgba(201,168,76,0.08);
}

.social-link:hover svg {
  color: var(--gold);
}
