:root {
  --color-gold: #d4af37;
  --color-gold-dark: #aa8c2c;
  --color-bg: #0a0a0a;
  --color-surface: #1a1a1a;
  --color-text: #ffffff;
  --color-text-muted: #a0a0a0;
}

body {
  background-color: var(--color-bg);
  color: var(--color-text);
  font-family: 'Cinzel', serif; /* Or any premium font */
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', serif;
}

.font-sans {
  font-family: 'Inter', sans-serif;
}

.text-gold {
  color: var(--color-gold);
}

.bg-gold {
  background-color: var(--color-gold);
}

.border-gold {
  border-color: var(--color-gold);
}

/* Glassmorphism */
.glass {
  background: rgba(26, 26, 26, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--color-bg);
}
::-webkit-scrollbar-thumb {
  background: var(--color-surface);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--color-gold);
}

/* Video Card Styles */
.video-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  background: var(--color-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.video-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212, 175, 55, 0.3);
  box-shadow: 0 10px 30px -10px rgba(212, 175, 55, 0.2);
}

.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.video-card:hover video {
  transform: scale(1.05);
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 60px;
  height: 60px;
  background: rgba(212, 175, 55, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.4s ease;
  z-index: 10;
}

.video-card:hover .play-button {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.play-button svg {
  width: 24px;
  height: 24px;
  fill: #fff;
  margin-left: 4px;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10, 10, 10, 0.9) 0%, rgba(10, 10, 10, 0) 50%);
  pointer-events: none;
}

.video-title {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 20;
}

/* Fullscreen Modal */
.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.98); /* Daha koyu arka plan */
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}

.modal.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  width: 95%; /* Genişlik artırıldı */
  max-width: 1400px; /* Max genişlik artırıldı */
  height: 90vh; /* Yükseklik %90 viewport yapıldı */
  position: relative;
  transform: scale(0.95);
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Mobil Cihazlar İçin Tam Ekran (Fullscreen) Ayarları */
@media (max-width: 768px) {
  .modal-content {
    width: 100vw;
    height: 100vh; /* Mobilde tam ekran */
    max-width: 100vw;
    border-radius: 0;
    transform: scale(1) !important;
  }
  .modal video {
    border-radius: 0; /* Mobilde köşe yuvarlamasını kaldır */
    object-fit: contain; /* Tam ekran sığdırma */
    width: 100vw;
    height: 100vh;
  }
  .modal-close {
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1010;
  }
}

.modal.active .modal-content {
  transform: scale(1);
}

.modal-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #fff;
  font-size: 32px; /* Çarpı boyutu artırıldı */
  cursor: pointer;
  background: none;
  border: none;
  padding: 10px;
  transition: color 0.3s;
  z-index: 1010;
}

.modal-close:hover {
  color: var(--color-gold);
}

.modal video {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Videonun kesilmemesi için contain yapıldı */
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  pointer-events: none; /* Prevents right-click and controls from appearing */
}

/* Hide all default video controls */
video::-webkit-media-controls {
  display: none !important;
}
video::-webkit-media-controls-enclosure {
  display: none !important;
}

/* -----------------------------------
   HERO SLIDER STYLES
   ----------------------------------- */
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 1.5s ease-in-out, visibility 1.5s ease-in-out;
  z-index: 10;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 20;
}

.hero-slide video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.05);
}

.hero-slide-content {
  position: relative;
  z-index: 30;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  transform: translateY(20px);
  opacity: 0;
  transition: all 1s ease-out 0.5s; /* Video geldikten yarım saniye sonra metin gelsin */
}

.hero-slide.active .hero-slide-content {
  transform: translateY(0);
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 15;
  pointer-events: none;
}

/* Video Loading Skeleton */
.video-loader-skeleton {
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: skeletonLoading 1.5s infinite;
  transition: opacity 0.5s ease;
}

@keyframes skeletonLoading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Chat Bubble Bounce Animation */
@keyframes chatBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.chat-bounce {
  animation: chatBounce 3s ease-in-out infinite;
}

/* Review Stars Animation */
@keyframes starEnterAndFloat {
  0%, 15% { transform: translateY(0); color: #e5e7eb; filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
  25% { transform: translateY(-12px) scale(1.2); color: #FFD700; filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.8)); }
  35% { transform: translateY(0) scale(1); color: #FFD700; filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5)); }
  45% { transform: translateY(-4px); color: #FFD700; filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9)); }
  55% { transform: translateY(0); color: #FFD700; filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5)); }
  65% { transform: translateY(-4px); color: #FFD700; filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.9)); }
  75% { transform: translateY(0); color: #FFD700; filter: drop-shadow(0 0 6px rgba(255, 215, 0, 0.5)); }
  85%, 100% { transform: translateY(0); color: #e5e7eb; filter: drop-shadow(0 0 0 rgba(255, 215, 0, 0)); }
}

.review-star {
  color: #e5e7eb; /* Default gray before animation */
  will-change: transform, color, filter;
}

/* Her yıldız sonsuz bir döngüye sahip. Her biri kısa bir gecikmeyle başlıyor */
.star-1 { animation: starEnterAndFloat 6s infinite 0s; }
.star-2 { animation: starEnterAndFloat 6s infinite 0.2s; }
.star-3 { animation: starEnterAndFloat 6s infinite 0.4s; }
.star-4 { animation: starEnterAndFloat 6s infinite 0.6s; }
.star-5 { animation: starEnterAndFloat 6s infinite 0.8s; }

/* Marquee Animation */
@keyframes scrollMarquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.marquee-container {
  overflow: hidden;
  display: flex;
  width: 100%;
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scrollMarquee 45s linear infinite;
}

.marquee-content:hover {
  animation-play-state: paused;
}
