/* ============================================================
   BERLUVIA — Luxury Black & Gold Theme (shared tokens + base)
   Marka rengi: site, admin paneli ve login ekranı aynı
   siyah arka plan / gold vurgu paletini paylaşır.
   Sayfaya özel bileşenler (nav, hero, kartlar vb.) landing.css'te.
   ============================================================ */

:root {
  /* Surfaces */
  --bg-0: #0a0a0a;
  --bg-1: #131313;
  --bg-2: #1c1c1c;

  /* Gold */
  --gold: #D4AF37;
  --gold-h: #E8CC6A;
  --gold-dark: #9c7f23;
  --gold-soft: rgba(212, 175, 55, 0.12);

  /* White alphas */
  --w-100: #FFFFFF;
  --w-85: rgba(255, 255, 255, 0.85);
  --w-65: rgba(255, 255, 255, 0.65);
  --w-45: rgba(255, 255, 255, 0.45);
  --w-20: rgba(255, 255, 255, 0.16);
  --w-10: rgba(255, 255, 255, 0.08);
  --w-06: rgba(255, 255, 255, 0.06);

  /* Gold alphas */
  --g-div: rgba(212, 175, 55, 0.3);
  --g-10: rgba(212, 175, 55, 0.1);
  --g-20: rgba(212, 175, 55, 0.22);

  /* Back-compat aliases used inline in the EJS markup */
  --primary-color: var(--gold);
  --text-light: var(--w-65);
  --text-medium: var(--w-65);

  /* Fonts */
  --font-display: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;

  /* Radii */
  --r-btn: 8px;
  --r-card: 16px;
  --r-card-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  background: var(--bg-0);
  color: var(--w-65);
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.7;
  overflow-x: hidden;
}

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

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

center {
  display: block;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--w-100);
  letter-spacing: 0.2px;
}

/* ============================================================
   SECTION HEADER (used by /kirala)
   ============================================================ */

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 64px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.section-header.visible {
  opacity: 1;
  transform: translateY(0);
}

.section-header h2 {
  position: relative;
  display: inline-block;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 0.2px;
  margin-bottom: 18px;
}

.section-subtitle {
  font-size: 15px;
  color: var(--w-65);
  font-weight: 400;
  line-height: 1.8;
}

/* ============================================================
   EYEBROW LABEL
   ============================================================ */

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.eyebrow::before,
.eyebrow::after {
  content: '';
  width: 18px;
  height: 1px;
  background: var(--g-div);
}

/* ============================================================
   TYPE TABS (page-local filter navigation — /kirala)
   ============================================================ */

.type-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.type-tabs a {
  padding: 10px 20px;
  border-radius: 30px;
  border: 1px solid var(--w-10);
  color: var(--w-65);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: all 0.2s ease;
}

.type-tabs a:hover {
  border-color: var(--g-div);
  color: #fff;
}

.type-tabs a.active {
  background: linear-gradient(135deg, var(--gold), var(--gold-h));
  border-color: transparent;
  color: var(--bg-0);
}

/* ============================================================
   FOOTER (shared across all public pages)
   ============================================================ */

footer {
  background: var(--bg-0);
  border-top: 1px solid var(--w-10);
  padding: 80px 7% 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  max-width: 1280px;
  margin: 0 auto;
  padding-bottom: 56px;
}

.footer-section h4 {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--gold);
  margin-bottom: 22px;
  font-family: var(--font-body);
}

.footer-section > p {
  font-size: 14px;
  color: var(--w-65);
  line-height: 1.8;
  margin-bottom: 24px;
  font-weight: 400;
}

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--w-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--w-85);
  font-size: 14px;
  transition: border-color 0.25s ease, color 0.25s ease, background 0.25s ease;
}

.social-links a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--g-10);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-links a {
  font-size: 14px;
  color: var(--w-65);
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold);
  padding-left: 4px;
}

.contact-details {
  display: flex;
  flex-direction: column;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-contact-item i {
  color: var(--gold);
  font-size: 14px;
  width: 18px;
  text-align: center;
}

.footer-contact-item a,
.footer-contact-item span {
  color: var(--w-65);
  font-size: 14px;
  font-weight: 400;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  border-top: 1px solid var(--w-10);
  padding: 24px 0;
  text-align: center;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--w-45);
  font-weight: 400;
  letter-spacing: 0.3px;
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */

.whatsapp-button {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #25d366;
  color: #fff;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--g-div);
  z-index: 1000;
  transition: background 0.25s ease, transform 0.25s ease;
}

.whatsapp-button:hover {
  background: #128c7e;
  transform: scale(1.08);
}

/* ============================================================
   PRELOADER
   ============================================================ */

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  background: var(--bg-0);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 22px;
  transition: opacity 0.5s ease;
}

.site-loader.is-hidden {
  opacity: 0;
  pointer-events: none;
}

.site-loader-mark {
  width: 220px;
  height: 220px;
  position: relative;
  z-index: 2;
  animation: loaderPulse 1.8s ease-in-out infinite;
}

.site-loader-mark img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@keyframes loaderPulse {
  0%, 100% { opacity: 0.75; transform: scale(0.97); }
  50% { opacity: 1; transform: scale(1); }
}

.site-loader-fallback {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  color: var(--bg-0);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

@media (max-width: 1100px) {
  footer {
    padding-left: 48px;
    padding-right: 48px;
  }

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

@media (max-width: 768px) {
  footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .section-header h2 {
    font-size: 28px;
  }

  .footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .whatsapp-button {
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    font-size: 22px;
  }
}
