:root {
  --bg-1: #23272f;
  --bg-2: #3a2c1a;
  --gold: #b8860b;
  --emerald: #1a4d2e;
  --text: #e8edf2;
  --muted: #b6c0cc;
  --surface: #101317cc;
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px 600px at 20% 10%, #263041 0%, transparent 60%),
              radial-gradient(900px 600px at 80% 30%, #2b1f13 0%, transparent 60%),
              linear-gradient(135deg, var(--bg-1) 60%, var(--bg-2) 100%);
  font-family: 'Philosopher', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  overflow-x: hidden;
}

/* Canvas sparkles */
#bg-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1;
}

/* Navbar */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; height: 64px; display: flex; align-items: center; justify-content: space-between;
  padding: 0 16px; z-index: 20; background: linear-gradient(to bottom, rgba(16,19,23,0.8), rgba(16,19,23,0)); backdrop-filter: blur(8px);
}
.brand { display: flex; align-items: center; gap: 10px; color: var(--text); text-decoration: none; }
.brand-logo { width: 60px; height: 60px; filter: drop-shadow(0 4px 16px #0008); }
.brand-name { font-family: 'Cinzel Decorative', serif; font-size: 1.3rem; letter-spacing: 0.5px; color: var(--gold); text-shadow: 0 1px 0 #000; font-weight: bold; }

.nav-links { display: none; gap: 16px; align-items: center; }
.nav-link { color: var(--muted); text-decoration: none; transition: color .2s ease; }
.nav-link:hover { color: var(--text); }
.nav-cta { color: #101317; background: linear-gradient(135deg, #ffd56a, var(--gold)); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; box-shadow: 0 6px 20px rgba(184,134,11,0.35), inset 0 0 0 0 rgba(255, 255, 255, 0.5); transition: all 0.3s ease; }
.nav-cta:hover { box-shadow: 0 8px 25px rgba(184,134,11,0.4), inset 0 0 0 0 rgba(255, 255, 255, 0.7); transform: translateY(-2px); }
.nav-cta:active { box-shadow: 0 4px 10px rgba(184,134,11,0.3), inset 0 0 0 0 rgba(255, 255, 255, 0.3); transform: translateY(0); }

.hamburger { background: transparent; border: 0; width: 44px; height: 44px; display: grid; place-items: center; cursor: pointer; position: relative; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 4px 0; transition: transform .3s ease, opacity .3s ease; }
.hamburger.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.mobile-menu { position: fixed; top: 64px; right: 12px; background: var(--surface); border: 1px solid #2a313b; border-radius: 14px; padding: 10px; display: grid; gap: 6px; transform: scale(0.96) translateY(-8px); opacity: 0; pointer-events: none; transition: .2s ease; z-index: 30; backdrop-filter: blur(8px); }
.mobile-menu.show { opacity: 1; pointer-events: auto; transform: scale(1) translateY(0); }
.mobile-link { color: var(--text); text-decoration: none; padding: 10px 12px; border-radius: 10px; }
.mobile-link:hover { background: #161b22; }
.mobile-cta { display: inline-block; color: #101317; background: linear-gradient(135deg, #ffd56a, var(--gold)); padding: 10px 12px; border-radius: 10px; text-decoration: none; font-weight: 700; margin-top: 4px; }

/* Hero */
.hero { min-height: 100svh; display: grid; place-items: center; padding: 96px 16px 56px; position: relative; text-align: center; }
.hero-inner { max-width: 720px; }
.hero-logo { width: 250px; height: auto; filter: drop-shadow(0 0 30px rgba(255,215,128,0.3)); animation: pop-in .9s cubic-bezier(.2,.9,.2,1) .15s both; }
.hero-title { font-family: 'Cinzel Decorative', serif; color: var(--gold); font-size: clamp(1.6rem, 5vw, 3rem); margin: 14px 0 6px; letter-spacing: .5px; text-shadow: 0 2px 0 #000; animation: rise .9s cubic-bezier(.2,.9,.2,1) .25s both; }
.hero-tag { color: var(--muted); font-size: clamp(1rem, 2.8vw, 1.2rem); margin: 0; animation: rise .9s cubic-bezier(.2,.9,.2,1) .35s both; }
.hero-actions { margin-top: 18px; display: flex; justify-content: center; gap: 12px; animation: rise .9s cubic-bezier(.2,.9,.2,1) .45s both; }

.play-btn { color: #101317; background: linear-gradient(135deg, #ffd56a, var(--gold)); padding: 10px 14px; border-radius: 10px; text-decoration: none; font-weight: 700; box-shadow: 0 6px 20px rgba(184,134,11,0.35), inset 0 0 0 0 rgba(255, 255, 255, 0.5); display: inline-flex; align-items: center; gap: 10px; transform: translateZ(0); transition: all 0.3s ease; }
.play-btn:hover { box-shadow: 0 8px 25px rgba(184,134,11,0.4), inset 0 0 0 0 rgba(255, 255, 255, 0.7); transform: translateY(-2px) translateZ(0); }
.play-btn:active { box-shadow: 0 4px 10px rgba(184,134,11,0.3), inset 0 0 0 0 rgba(255, 255, 255, 0.3); transform: translateY(0) translateZ(0); }
.play-btn:active { transform: translateY(1px); }
.play-btn-icon { width: 24px; height: 24px; color: #1f2a36; }
.play-btn-text .small { display: block; font-size: 10px; opacity: .8; line-height: 1; }
.play-btn-text .big { display: block; font-weight: 800; font-size: 16px; line-height: 1.15; letter-spacing: .2px; }

.hero-scroll { position: absolute; bottom: 16px; left: 0; right: 0; text-align: center; color: #a6b0be; opacity: .6; animation: float 3s ease-in-out infinite; }

/* Promo Banner */
.promo-banner {
  padding: 40px 16px;
  background: linear-gradient(135deg, rgba(0,0,0,0.2), rgba(0,0,0,0.1));
  overflow: hidden;
}

.promo-banner-container {
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
  background: rgba(0,0,0,0.15);
  border: 1px solid rgba(184, 134, 11, 0.2);
}

.promo-banner-container img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.promo-banner-container:hover img {
  transform: scale(1.02);
}

@media (max-width: 768px) {
  .promo-banner {
    padding: 24px 12px;
  }
  .promo-banner-container {
    border-radius: 16px;
  }
}

/* Features */
.features { display: grid; grid-template-columns: repeat(12, 1fr); gap: 14px; padding: 24px 16px 56px; max-width: 1000px; margin: 0 auto; }
.feature { grid-column: span 12; background: rgba(0,0,0,0.25); border: 1px solid #273242; border-radius: 16px; padding: 18px; box-shadow: 0 12px 32px rgba(0,0,0,0.25); }
.feature h3 { color: var(--gold); margin: 0 0 8px 0; font-family: 'Cinzel Decorative', serif; }
.feature p { margin: 0; color: var(--muted); }

@media (min-width: 720px) {
  .nav-links { display: flex; }
  .hamburger { display: none; }
  .features .feature { grid-column: span 4; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .reviews-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
  .gallery-swiper .swiper-slide { width: 360px; max-height: 600px; }
}

@media (max-width: 768px) {
  .gallery-swiper .swiper-slide { width: 280px; max-height: 600px; }
  .gallery-swiper .swiper-button-next,
  .gallery-swiper .swiper-button-prev { width: 40px; height: 40px; }
}

@media (max-width: 600px) {
  .gallery-swiper .swiper-slide { width: 250px; max-height: 600px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .social-buttons { flex-direction: column; align-items: center; }
  .social-btn { width: 100%; max-width: 280px; justify-content: center; }
}

/* Section Titles */
.section-title {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  text-align: center;
  margin: 0 0 32px 0;
  text-shadow: 0 2px 0 #000;
}

/* Gallery */
.gallery {
  padding: 80px 20px;
  background: linear-gradient(135deg, var(--dark-bg) 0%, var(--emerald-dark) 100%);
  overflow: hidden;
  position: relative;
}

.gallery::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 30% 20%, rgba(184, 134, 11, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 80%, rgba(26, 77, 46, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.gallery-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
}

/* Swiper Gallery Styles */
.gallery-swiper {
  padding: 40px 0;
  overflow: visible;
}

.gallery-swiper .swiper-wrapper {
  align-items: center;
}

.gallery-swiper .swiper-slide {
  width: 300px;
  height: auto; /* Changed to auto */
  max-height: 600px; /* Increased max-height to accommodate portrait images */
  background: rgba(255, 255, 255, 0.05);
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  position: relative;
  transform-style: preserve-3d;
  perspective: 1000px;
  cursor: grab;
}

.gallery-swiper .swiper-slide-active {
  transform: scale(1.1) translateZ(20px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5),
              0 0 30px rgba(184, 134, 11, 0.3);
  border-color: var(--gold);
}

.gallery-swiper .swiper-slide-prev,
.gallery-swiper .swiper-slide-next {
  transform: scale(0.9) translateZ(10px);
  opacity: 0.7;
}

.gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Changed to contain */
  transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  transform-style: preserve-3d;
}

.gallery-swiper .swiper-slide-active img {
  transform: scale(1.05);
}

/* Swiper Navigation Buttons */
.gallery-swiper .swiper-button-next,
.gallery-swiper .swiper-button-prev {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: white;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

/* 404 Page Styles */
.error-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

.error-animation {
  width: 100%;
  max-width: 500px;
  height: 400px;
  margin-bottom: 40px; /* Increased margin */
  background-color: rgba(0, 0, 0, 0.3); /* Slightly transparent background for better contrast */
  border-radius: 10px; /* Rounded corners for the background */
  padding: 10px; /* Padding around the animation */
}

.error-title {
  font-family: 'Cinzel Decorative', serif;
  color: var(--gold);
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 10px;
  text-shadow: 0 2px 0 #000;
}

.error-message {
  color: var(--muted);
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin: 0 0 30px;
  max-width: 600px;
}

.home-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #0b0f14;
  text-decoration: none;
  padding: 12px 20px;
  border-radius: 14px;
  background: radial-gradient(120% 100% at 0% 0%, #fff2c4, #ffcf63 40%, #f0b23a 100%);
  box-shadow: inset 0 1px 0 #fff6d7, 0 10px 30px rgba(184,134,11,.35), 0 2px 8px rgba(0,0,0,.35);
  transform: translateZ(0);
  transition: transform .15s ease;
  font-weight: 700;
}

.home-btn:active {
  transform: translateY(1px);
}

@media (max-width: 768px) {
  .error-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }
  .error-message {
    font-size: clamp(0.9rem, 3vw, 1.1rem);
  }
  .error-animation {
    height: 300px;
  }
}

@media (max-width: 480px) {
  .error-animation {
    height: 250px;
  }
}

/* Fallback animation styles */
.fallback-animation {
  display: none;
  width: 300px;
  height: 300px;
  position: relative;
  margin-bottom: 20px;
}

.fallback-circle {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 4px solid var(--gold);
  border-radius: 50%;
  animation: rotate 10s linear infinite;
}

.fallback-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 80px;
  font-weight: bold;
  color: var(--gold);
  font-family: 'Cinzel Decorative', serif;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.gallery-swiper .swiper-button-next:hover,
.gallery-swiper .swiper-button-prev:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--dark-bg);
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(184, 134, 11, 0.3);
}

.gallery-swiper .swiper-button-next::after,
.gallery-swiper .swiper-button-prev::after {
  font-size: 18px;
  font-weight: bold;
}

/* Swiper Pagination */
.gallery-swiper .swiper-pagination {
  bottom: -20px;
}

.gallery-swiper .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: rgba(255, 255, 255, 0.3);
  opacity: 1;
  transition: all 0.3s ease;
}

.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--gold);
  transform: scale(1.2);
  box-shadow: 0 0 10px rgba(184, 134, 11, 0.5);
}

/* Video Section */
.video-section {
  padding: 56px 16px;
  background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.video-container {
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  background: rgba(0,0,0,0.25);
  border: 1px solid #273242;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
}

.video-container video {
  width: 100%;
  height: auto;
  max-height: 70vh;
  display: block;
  border-radius: 16px;
}

.video-controls {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 10;
}

.mute-btn {
  background: rgba(0,0,0,0.7);
  border: 1px solid var(--gold);
  color: var(--gold);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

.mute-btn:hover {
  background: var(--gold);
  color: #000;
  transform: scale(1.1);
}

/* Reviews */
.reviews {
  padding: 56px 16px;
  max-width: 1200px;
  margin: 0 auto;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 32px;
}

.review-card {
  background: rgba(0,0,0,0.25);
  border: 1px solid #273242;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 12px 32px rgba(0,0,0,0.25);
  text-align: center;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-4px);
}

.stars {
  color: #ffd700;
  font-size: 1.5rem;
  margin-bottom: 16px;
}

.review-card p {
  color: var(--text);
  font-style: italic;
  margin: 0 0 16px 0;
  line-height: 1.6;
}

.reviewer {
  color: var(--gold);
  font-weight: 700;
  font-size: 0.9rem;
}

/* Social Section */
.social-section {
  padding: 56px 16px;
  background: linear-gradient(135deg, rgba(0,0,0,0.3), rgba(0,0,0,0.1));
}

.social-buttons {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 32px;
}

.social-btn {
   display: flex;
   align-items: center;
   gap: 8px;
   padding: 12px 20px;
   border-radius: 12px;
   text-decoration: none;
   color: white;
   font-weight: 600;
   transition: all 0.3s ease;
   border: 2px solid transparent;
 }
 
 .social-btn:hover {
   transform: translateY(-4px) scale(1.02);
   border-color: currentColor;
   box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
 }
 
 .social-btn:active {
   transform: translateY(-1px) scale(0.98);
   box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
 }
 
 .social-btn.facebook {
   background: #1877f2;
 }
 
 .social-btn.twitter {
   background: #1da1f2;
 }
 
 .social-btn.instagram {
   background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
 }
 
 .social-btn.youtube {
   background: #ff0000;
 }
 
 .social-btn.linkedin {
   background: #0077b5;
 }

/* Footer */
.site-footer { text-align: center; color: #9aa5b3; padding: 32px 16px 56px; border-top: 1px solid #253141; background: linear-gradient(to top, rgba(0,0,0,.25), transparent); }

/* Splash screen */
.splash { position: fixed; inset: 0; display: grid; place-items: center; z-index: 50; pointer-events: none; }
.splash-backdrop { position: absolute; inset: 0; background: radial-gradient(1200px 600px at 50% 30%, rgba(255,221,130,.2), transparent 60%), linear-gradient(135deg, var(--bg-1) 60%, var(--bg-2) 100%); animation: fadeout .9s ease .9s forwards; }
.splash-content { position: relative; display: grid; place-items: center; gap: 8px; transform: scale(.9); animation: scaleout .9s cubic-bezier(.2,.9,.2,1) .75s forwards; }
.splash-logo { width: 160px; filter: drop-shadow(0 0 40px rgba(255,200,100,.35)); }
.splash-title { font-family: 'Cinzel Decorative', serif; color: var(--gold); font-size: 1.6rem; text-shadow: 0 2px 0 #000; }

@keyframes fadeout { to { opacity: 0; } }
@keyframes scaleout { to { transform: scale(1); opacity: 0; } }
@keyframes pop-in { 0% { transform: translateY(10px) scale(.96); opacity: 0; } 100% { transform: translateY(0) scale(1); opacity: 1; } }
@keyframes rise { 0% { transform: translateY(8px); opacity: 0; } 100% { transform: translateY(0); opacity: 1; } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }

