:root {
  --gold: #c9a227;
  --blood: #7f1d1d;
}

html.dark-mode {
  color-scheme: dark;
}

body.light-forced {
  background: #0f172a;
}

.grain {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='140' height='140'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

.glass-panel {
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  backdrop-filter: blur(14px);
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-video-wrap video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.05) contrast(1.05) brightness(0.45);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, #0a0a0c 0%, rgba(10, 10, 12, 0.65) 45%, rgba(10, 10, 12, 0.35) 100%);
}

.btn-gold {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: #0a0a0c;
  background: linear-gradient(90deg, #c9a227, #f59e0b);
  box-shadow: 0 10px 40px rgba(201, 162, 39, 0.25);
  transition: filter 0.2s ease, box-shadow 0.2s ease;
}
.btn-gold:hover {
  filter: brightness(1.08);
  box-shadow: 0 14px 50px rgba(201, 162, 39, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.75rem 2rem;
  font-weight: 600;
  color: #fff;
  backdrop-filter: blur(8px);
  transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.btn-outline:hover {
  border-color: rgba(201, 162, 39, 0.5);
  background: rgba(201, 162, 39, 0.1);
  color: #c9a227;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

.loader-ring {
  width: 48px;
  height: 48px;
  border-radius: 999px;
  border: 3px solid rgba(201, 162, 39, 0.25);
  border-top-color: #c9a227;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.masonry {
  column-count: 1;
  column-gap: 1rem;
}
@media (min-width: 640px) {
  .masonry {
    column-count: 2;
  }
}
@media (min-width: 1024px) {
  .masonry {
    column-count: 3;
  }
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1rem;
}

/* Ana sayfa foto galeri — düzgün hizalı, eşit oranlı kartlar */
.home-gallery-grid {
  align-items: stretch;
}

.home-gallery-cell button:focus-visible {
  outline: 2px solid rgba(201, 162, 39, 0.55);
  outline-offset: 3px;
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #c9a227;
  transition: 0.25s;
}
.social-icon:hover {
  background: rgba(201, 162, 39, 0.12);
  border-color: rgba(201, 162, 39, 0.45);
}

.section-title {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.08em;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  color: #fff;
}

.section-title span {
  color: #c9a227;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.88);
  padding: 1rem;
}
.lightbox.open {
  display: flex;
}
.lightbox img {
  max-width: 100%;
  max-height: 90vh;
  border-radius: 0.75rem;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.65);
}

.article-body {
  font-size: 1rem;
  line-height: 1.75;
  color: #cbd5e1;
}
.article-body h2,
.article-body h3 {
  font-family: "Bebas Neue", sans-serif;
  letter-spacing: 0.06em;
  color: #fff;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
}
.article-body p {
  margin-bottom: 1rem;
}
.article-body a {
  color: #c9a227;
  text-decoration: underline;
}
.article-body ul {
  list-style: disc;
  padding-left: 1.5rem;
  margin-bottom: 1rem;
}
.article-body img {
  max-width: 100%;
  height: auto;
  border-radius: 0.5rem;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  #cursor-dot {
    display: none !important;
  }
}
