/* ==========================================================================
   EVENTIX MASTER FRONTEND LAYOUT CSS
   Brand Concept: Kutlama, duygu, özel gün
   Palette: #D6246E (Fuşya Ana), #A3174F (Koyu Ton), #FDEAF2 (Açık Zemin)
   Yazı tipleri: başlık DIN, metin FreeSans (yerel, font-display: swap; üçüncü taraf istek yok).
   ========================================================================== */

@font-face { font-family: "DIN"; src: url("../../landing/fonts/din-medium.woff2") format("woff2"); font-weight: 500; font-display: swap; }
@font-face { font-family: "DIN"; src: url("../../landing/fonts/din-bold.woff2") format("woff2"); font-weight: 700 900; font-display: swap; }
@font-face { font-family: "FreeSans"; src: url("../../landing/fonts/freesans-regular.woff2") format("woff2"); font-weight: 300 500; font-display: swap; }
@font-face { font-family: "FreeSans"; src: url("../../landing/fonts/freesans-bold.woff2") format("woff2"); font-weight: 600 900; font-display: swap; }
@font-face { font-family: "FreeSans"; src: url("../../landing/fonts/freesans-oblique.woff2") format("woff2"); font-weight: 400; font-style: italic; font-display: swap; }

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

:root {
  /* EVENTIX BRAND PALETTE */
  --eventix-fuchsia: #D6246E;     /* Ana renk */
  --eventix-dark: #A3174F;        /* Koyu ton (yazı & koyu butonlar) */
  --eventix-surface: #FDEAF2;     /* Açık zemin */
  --eventix-subtle: rgba(214, 36, 110, 0.12);
  --eventix-glow: rgba(214, 36, 110, 0.28);
  --eventix-border: rgba(163, 23, 79, 0.14);

  /* SURFACES */
  --cream: #FDF8FA;
  --cream-light: #FFFFFF;
  --cream-tint: #F9EBF1;

  /* DARK WINE / NIGHT PALETTE */
  --dark: #1C0A13;
  --dark-card: #2C0F1E;
  --dark-card-hover: #3E162B;
  --mid: #4A1A33;

  /* TEXT & MUTED */
  --text: #1C0A13;
  --muted: #6B525E;
  --muted-light: #9B7E8C;

  /* ACCENTS */
  --emerald: #10B981;
  --ai-indigo: #4338CA;
  --ai-indigo-surface: #EEF2FF;

  /* BORDERS & SHADOWS */
  --border: rgba(163, 23, 79, 0.12);
  --border-hover: rgba(214, 36, 110, 0.45);
  --shadow-sm: 0 2px 8px rgba(28, 10, 19, 0.04);
  --shadow-md: 0 8px 24px rgba(28, 10, 19, 0.08);
  --shadow-lg: 0 20px 40px rgba(28, 10, 19, 0.14);
  --shadow-fuchsia: 0 10px 28px rgba(214, 36, 110, 0.25);

  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-full: 9999px;

  --font-head: "DIN", Arial, sans-serif;
  --font-body: "FreeSans", Arial, sans-serif;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  -webkit-tap-highlight-color: transparent;
}

body {
  font-family: var(--font-body);
  background: var(--cream);
  color: var(--text);
  overflow-x: hidden;
  width: 100%;
  position: relative;
  line-height: 1.6;
}

body.drawer-open {
  overflow: hidden !important;
}

/* UTILITY CLASSES */
.text-success { color: var(--emerald) !important; }
.text-danger { color: #EF4444 !important; }
.text-fuchsia { color: var(--eventix-dark) !important; }
.text-muted { color: var(--muted) !important; }

/* ==========================================================================
   GLOBAL BUTTONS
   Rule: White text ONLY on dark tones (#A3174F, #1C0A13, #2C0F1E)
   ========================================================================== */
.btn-primary {
  background: var(--eventix-dark);
  color: #FFFFFF !important;
  padding: 0.85rem 1.85rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  box-shadow: 0 4px 16px rgba(163, 23, 79, 0.3);
  cursor: pointer;
  border: 1px solid transparent;
  line-height: 1.2;
  min-height: 46px;
}

.btn-primary:hover {
  background: #83103E;
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(163, 23, 79, 0.42);
}

.btn-primary:active {
  transform: scale(0.97);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  color: #FFFFFF !important;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  line-height: 1.2;
  min-height: 46px;
}

.btn-secondary:hover {
  background: #FFFFFF;
  color: var(--eventix-dark) !important;
  border-color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.btn-secondary:active {
  transform: scale(0.97);
}

/* OUTLINE BUTTON (Surface: Dark Text) */
.btn-outline-gold,
.btn-outline-fuchsia {
  background: #FFFFFF;
  color: var(--eventix-dark) !important;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-full);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none !important;
  border: 1.5px solid var(--eventix-border);
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 46px;
}

.btn-outline-gold:hover,
.btn-outline-fuchsia:hover {
  border-color: var(--eventix-dark);
  color: #FFFFFF !important;
  background: var(--eventix-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(163, 23, 79, 0.25);
}

.btn-outline-gold:active,
.btn-outline-fuchsia:active {
  transform: scale(0.97);
}

/* ==========================================================================
   NAVIGATION
   ========================================================================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 70px;
  padding: 0 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(253, 248, 250, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: all 0.3s ease;
}

.nav-logo {
  font-family: var(--font-head);
  font-size: 1.65rem;
  color: var(--dark);
  letter-spacing: -0.03em;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-shrink: 0;
}

.nav-logo span {
  color: var(--eventix-fuchsia);
  font-weight: 900;
}

.nav-logo img {
  display: block;
  height: 28px;
  width: auto;
}

.nav-logo {
  min-height: 44px;
}

.nav-logo i {
  color: var(--eventix-fuchsia);
  font-size: 1.25rem;
  margin-right: 0.25rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: 0.925rem;
  font-weight: 600;
  transition: color 0.2s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--eventix-dark);
  font-weight: 700;
}

/* BRAND RULE: Renkli zemin üzerindeki yazı koyu ton */
.nav-badge-pill {
  background: var(--eventix-surface);
  color: var(--eventix-dark);
  font-size: 0.68rem;
  font-weight: 800;
  padding: 0.18rem 0.55rem;
  border-radius: var(--radius-full);
  margin-left: 0.35rem;
  letter-spacing: 0.04em;
  display: inline-block;
  border: 1px solid rgba(214, 36, 110, 0.25);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.nav-secondary {
  color: var(--eventix-dark);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  padding: 0.55rem 1.15rem;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-full);
  background: #FFFFFF;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  line-height: 1;
  min-height: 44px;
}

.nav-secondary:hover {
  border-color: var(--eventix-dark);
  background: var(--eventix-surface);
  color: var(--eventix-dark);
}

.nav-cta {
  background: var(--eventix-dark);
  color: #FFFFFF !important;
  padding: 0.55rem 1.35rem;
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  box-shadow: 0 4px 14px rgba(163, 23, 79, 0.28);
  white-space: nowrap;
  line-height: 1;
  min-height: 44px;
}

.nav-cta:hover {
  background: #83103E;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(163, 23, 79, 0.4);
}

.mobile-menu-btn {
  display: none;
  background: #FFFFFF;
  border: 1px solid var(--border);
  font-size: 1.1rem;
  color: var(--eventix-dark);
  cursor: pointer;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  box-shadow: var(--shadow-sm);
}

.mobile-menu-btn:hover {
  border-color: var(--eventix-dark);
  background: var(--eventix-surface);
}

/* ==========================================================================
   MOBILE DRAWER
   ========================================================================== */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 70px;
  left: 0;
  right: 0;
  background: rgba(253, 248, 250, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 1.5rem 2rem;
  z-index: 999;
  box-shadow: var(--shadow-lg);
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-drawer.open {
  transform: translateY(0);
  opacity: 1;
  display: block;
}

.mobile-nav-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  margin-bottom: 1.5rem;
}

.mobile-nav-links a {
  text-decoration: none;
  color: var(--dark);
  font-size: 1.05rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.4rem 0;
}

.mobile-nav-links a.active {
  color: var(--eventix-dark);
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
footer {
  background: var(--dark);
  color: rgba(253, 248, 250, 0.7);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 4.5rem 3rem 2.5rem;
}

.footer-container {
  max-width: 1300px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-brand .logo {
  font-family: var(--font-head);
  font-size: 1.75rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 1rem;
  display: inline-block;
  text-decoration: none;
  letter-spacing: -0.03em;
}

.footer-brand .logo span {
  color: var(--eventix-fuchsia);
}

.footer-brand p {
  font-size: 0.875rem;
  line-height: 1.7;
  color: rgba(253, 248, 250, 0.65);
}

.footer-column h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
  letter-spacing: 0.02em;
}

.footer-column ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.footer-column a {
  color: rgba(253, 248, 250, 0.65);
  text-decoration: none;
  font-size: 0.875rem;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: #FFFFFF;
}

.footer-column a,
.footer-column button {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  min-width: 44px;
}

.nav-links a {
  min-height: 44px;
  min-width: 44px;
  justify-content: center;
  white-space: nowrap;
}

.nav-cta-short { display: none; }

.footer-column ul {
  gap: 0;
}

.footer-cookie-btn {
  background: none;
  border: 0;
  padding: 0;
  font: inherit;
  font-size: 0.875rem;
  color: rgba(253, 248, 250, 0.65);
  cursor: pointer;
  text-align: left;
}

.footer-cookie-btn:hover { color: #FFFFFF; }

.footer-social {
  list-style: none;
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.footer-social a {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
  text-decoration: none;
}

.footer-social a:hover { background: var(--eventix-fuchsia); }

.footer-brand .logo img {
  display: block;
  height: 30px;
  width: auto;
  /* Logo koyu zeminde beyaz görünür */
  filter: brightness(0) invert(1);
}

/* Dil seçici (TR / EN / DE) */
.nav-lang {
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: #F4F0F2;
  border-radius: var(--radius-full);
  padding: 3px;
}

.nav-lang a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 44px;
  padding: 0 0.55rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--muted);
  text-decoration: none;
}

.nav-lang a:hover { color: var(--dark); }
.nav-lang a.is-active { background: var(--dark); color: #FFFFFF; }
.nav-lang-drawer { margin-bottom: 1rem; }
.nav-lang-drawer a { min-height: 44px; min-width: 48px; font-size: 0.9rem; }

.footer-bottom {
  max-width: 1300px;
  margin: 0 auto;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.825rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   RESPONSIVE COMMON
   ========================================================================== */
@media (max-width: 1080px) {
  nav { padding: 0 1.75rem; }
  .nav-links { display: none; }
  .mobile-menu-btn { display: flex; }
  .footer-container { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  nav {
    padding: 0 1rem;
    height: 62px;
  }
  .nav-logo {
    font-size: 1.45rem;
  }
  .nav-actions {
    gap: 0.5rem;
  }
  .nav-actions .nav-secondary {
    display: none;
  }
  .nav-actions .nav-cta {
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
  }
  .mobile-drawer {
    top: 62px;
    max-height: calc(100dvh - 62px);
    overflow-y: auto;
  }
  .nav-actions .nav-lang { display: none; }
  .nav-logo img { height: 24px; }
}

@media (max-width: 430px) {
  .nav-actions .nav-cta-long { display: none; }
  .nav-actions .nav-cta-short { display: inline; }
  .nav-actions .nav-cta { padding: 0.45rem 0.8rem; }
  .nav-actions .nav-cta i { display: none; }
}

@media (max-width: 640px) {
  footer { padding: 3rem 1.25rem 2rem; }
  .footer-container {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* Künye (partials.site-imprint) footer içinde okunur boyutta */
footer .cxr-site-imprint { font-size: 0.875rem !important; }
