/* ═══════════════════════════════════════════════════
   İLAY BİLİŞİM — common.css
   Paylaşılan: Nav, Footer, Butonlar, Animasyonlar
═══════════════════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');

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

:root {
  --bg:        #F8F7F5;
  --surface:   #FFFFFF;
  --surface2:  #F2F0ED;
  --surface3:  #E8E5E0;
  --dark:      #1A1814;
  --muted:     rgba(26,24,20,.50);
  --border:    rgba(26,24,20,.10);
  --gold:      #A67C52;
  --gold-lt:   #BF9468;
  --gold-bg:   rgba(166,124,82,.07);
  --radius:    4px;
  --font-head: 'Cormorant Garamond', Georgia, serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --nav-h:     72px;
}

html  { scroll-behavior: smooth; }

body {
  background:  var(--bg);
  color:       var(--dark);
  font-family: var(--font-body);
  font-size:   15px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x:  hidden;
}

/* ── NAV ── */
nav#navbar {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 6vw;
  height: var(--nav-h);
  background: rgba(248,247,245,.93);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow .3s;
}
nav#navbar.scrolled { box-shadow: 0 4px 24px rgba(0,0,0,.08); }

/* Logo */
.nav-logo-link {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; flex-shrink: 0;
}
.nav-logo-img {
  height: 36px; width: auto;
  max-width: 160px;
  display: block;
  object-fit: contain;
}
.footer-logo-img {
  height: 28px; width: auto;
  max-width: 130px;
  display: block;
  object-fit: contain;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 22px; font-weight: 400;
  letter-spacing: .04em;
  color: var(--dark);
}
.nav-logo-text .gold { color: var(--gold); }

/* Desktop links */
.nav-links {
  display: flex; gap: 28px; list-style: none;
  align-items: center;
}
.nav-links a {
  font-size: 12px; font-weight: 400;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none;
  transition: color .25s; white-space: nowrap;
}
.nav-links a:hover       { color: var(--dark); }
.nav-links a.active      { color: var(--gold); }
.nav-links a.ai-link     { color: var(--gold); font-weight: 500; }
.nav-links a.ai-link:hover { color: #7a5b39; }

/* CTA */
.nav-cta {
  font-size: 12px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--gold);
  padding: 10px 22px; border-radius: var(--radius);
  text-decoration: none;
  transition: background .25s, transform .2s;
  white-space: nowrap; flex-shrink: 0;
}
.nav-cta:hover { background: var(--gold-lt); transform: translateY(-1px); }

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  background: none;
  border: none;
  border-radius: var(--radius);
  margin-left: 12px;
  transition: background .2s;
}
.nav-hamburger:hover { background: rgba(26,24,20,.06); }
.nav-hamburger span {
  display: block;
  width: 22px; height: 1.5px;
  background: var(--dark);
  border-radius: 2px;
  transition: transform .32s cubic-bezier(.4,0,.2,1), opacity .25s;
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ── MOBILE MENU OVERLAY ── */
.mobile-menu {
  position: fixed;
  top: var(--nav-h); left: 0; right: 0; bottom: 0;
  z-index: 190;
  background: rgba(248,247,245,.98);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 6px;
  transform: translateX(105%);
  transition: transform .38s cubic-bezier(.4,0,.2,1);
  padding: 40px 24px;
  overflow-y: auto;
}
.mobile-menu.open { transform: none; }

.mobile-menu a {
  font-family: var(--font-head);
  font-size: clamp(28px, 6vw, 42px);
  font-weight: 300;
  letter-spacing: .02em;
  color: var(--dark);
  text-decoration: none;
  padding: 12px 32px;
  border-radius: var(--radius);
  transition: color .2s, background .2s;
  width: 100%; text-align: center;
  display: block;
}
.mobile-menu a:hover       { color: var(--gold); background: var(--gold-bg); }
.mobile-menu a.active      { color: var(--gold); }
.mobile-menu a.ai-mobile   { color: var(--gold); }
.mobile-menu a.ai-mobile:hover { color: #7a5b39; }
.mobile-menu .mobile-divider {
  width: 40px; height: 1px;
  background: var(--border);
  margin: 8px auto;
}
.mobile-menu .mobile-cta {
  margin-top: 20px;
  font-family: var(--font-body);
  font-size: 13px; font-weight: 500;
  letter-spacing: .1em; text-transform: uppercase;
  color: #fff; background: var(--gold);
  padding: 15px 48px; border-radius: var(--radius);
  text-decoration: none;
  transition: background .25s;
  display: inline-block;
}
.mobile-menu .mobile-cta:hover { background: var(--gold-lt); }

/* ── FOOTER ── */
footer#footer {
  border-top: 1px solid var(--border);
  padding: 52px 6vw;
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: 24px;
  background: var(--surface);
}
.footer-logo-link {
  font-family: var(--font-head);
  font-size: 20px; font-weight: 400;
  letter-spacing: .04em;
  color: var(--dark); text-decoration: none;
  display: flex; align-items: center; gap: 10px;
}
.footer-logo-text { font-family: var(--font-head); font-size: 20px; font-weight: 400; color: var(--dark); }
.footer-logo-text .gold { color: var(--gold); }
.footer-copy { font-size: 13px; color: var(--muted); font-weight: 300; }
.footer-links { display: flex; gap: 24px; flex-wrap: wrap; }
.footer-links a {
  font-size: 12px; letter-spacing: .08em; text-transform: uppercase;
  color: var(--muted); text-decoration: none; transition: color .25s;
}
.footer-links a:hover { color: var(--dark); }

/* ── SHARED BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 500; letter-spacing: .1em;
  text-transform: uppercase; color: #fff; background: var(--gold);
  padding: 15px 36px; border-radius: var(--radius);
  text-decoration: none; transition: background .25s, transform .2s;
  border: none; cursor: pointer; font-family: var(--font-body);
}
.btn-primary:hover { background: var(--gold-lt); transform: translateY(-2px); }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 400; letter-spacing: .08em;
  text-transform: uppercase; color: rgba(237,232,223,.65);
  text-decoration: none; transition: color .25s;
}
.btn-ghost:hover { color: #EDE8DF; }
.btn-ghost svg   { transition: transform .25s; }
.btn-ghost:hover svg { transform: translateX(4px); }

/* ── SECTION LABEL & HEADING ── */
.section-label {
  display: inline-flex; align-items: center; gap: 14px;
  font-size: 11px; font-weight: 500;
  letter-spacing: .2em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 24px;
}
.section-label::before {
  content: ''; display: block;
  width: 30px; height: 1px; background: var(--gold);
}

.section-heading {
  font-family: var(--font-head);
  font-size: clamp(36px, 5vw, 62px);
  font-weight: 300; line-height: 1.1; letter-spacing: -.01em;
}
.section-heading em { font-style: italic; color: var(--gold); }

/* ── ANIMATIONS ── */
@keyframes fadeUp   { from { opacity:0; transform: translateY(28px); } to { opacity:1; transform: none; } }
@keyframes fadeIn   { from { opacity:0; } to { opacity:1; } }
@keyframes scrollDown {
  0%   { transform: scaleY(0); transform-origin: top;    opacity: 0; }
  30%  { transform: scaleY(1);                           opacity: 1; }
  70%  { transform: scaleY(1);                           opacity: 1; }
  100% { transform: scaleY(0); transform-origin: bottom; opacity: 0; }
}
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.4; } }
@keyframes spin  { to { transform: rotate(360deg); } }

.reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }

/* ── MOBILE RESPONSIVE ── */
@media (max-width: 900px) {
  .nav-links  { display: none; }
  .nav-cta    { display: none; }
  .nav-hamburger { display: flex; }
}
@media (max-width: 600px) {
  footer#footer { flex-direction: column; align-items: flex-start; gap: 20px; }
  .footer-links { gap: 16px; }
}
