@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Playfair+Display:ital,wght@0,700;1,700&display=swap');

:root {
  --bg-dark: #050505;
  --bg-nebula: #0a0612;
  --accent-gold: #d4af37;
  --accent-gold-glow: rgba(212, 175, 55, 0.3);
  --accent-cyan: #000707;
  --accent-cyan-glow: rgba(0, 242, 255, 0.3);
  --accent-violet: #8a2be2;
  --accent-violet-glow: rgba(138, 43, 226, 0.3);
  
  --text-main: #ffffff;
  --text-dim: rgba(255, 255, 255, 0.7);
  --text-dark: #000000;

  --glass-bg: rgba(255, 255, 255, 0.03);
  --glass-border: rgba(255, 255, 255, 0.1);
  --glass-blur: 20px;

  --section-padding: clamp(4rem, 10vw, 8rem);
  --container-max: 1200px;

  --cursor-core: #e0451b;
  --cursor-stroke: rgba(255, 195, 140, 0.55);
  --cursor-glow: rgba(224, 69, 27, 0.55);
}

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

html {
  scroll-behavior: smooth;
  font-family: 'Outfit', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.has-custom-cursor,
body.has-custom-cursor * {
  cursor: none !important;
}

.stellar-cursor,
.stellar-cursor-trail {
  position: fixed;
  left: 0;
  top: 0;
  pointer-events: none;
  z-index: 99999;
  transform: translate3d(-100px, -100px, 0);
  will-change: transform, opacity;
}

.stellar-cursor {
  width: 18px;
  height: 18px;
  filter:
    drop-shadow(0 2px 10px rgba(0, 0, 0, 0.55))
    drop-shadow(0 0 18px var(--cursor-glow));
  opacity: 0;
  transition: opacity 120ms ease;
}

.stellar-cursor svg { display: block; width: 18px; height: 18px; }

body.has-custom-cursor .stellar-cursor {
  opacity: 1;
}

@media (hover: none), (pointer: coarse), (prefers-reduced-motion: reduce) {
  body.has-custom-cursor,
  body.has-custom-cursor * {
    cursor: auto !important;
  }
  .stellar-cursor,
  .stellar-cursor-trail {
    display: none !important;
  }
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  line-height: 1.1;
  text-transform: none;
}

p, span, li, a {
  font-family: 'Outfit', sans-serif;
  font-weight: 300;
}

.text-gradient {
  background: linear-gradient(135deg, var(--accent-gold), #fff, var(--accent-cyan));
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
}

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

section {
  padding: var(--section-padding) 0;
  position: relative;
}

.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  z-index: 1000;
  display: flex;
  align-items: center;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  border-bottom: 1px solid transparent;
}

.nav-bar.scrolled {
  background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(var(--glass-blur));
  height: 60px;
  border-bottom: 1px solid var(--glass-border);
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 0 1.5rem 0 0.5rem;
}

.nav-logo {
  height: 40px;
  transition: transform 0.3s ease;
}

.nav-logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
}

.nav-link {
  color: var(--text-dim);
  text-decoration: none;
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: var(--accent-gold);
}

.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
  background: radial-gradient(circle at center, var(--bg-nebula) 0%, var(--bg-dark) 100%);
}

.hero-content {
  z-index: 2;
  max-width: 900px;
}

.hero-logo-main {
  width: 100%;
  max-width: 600px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 0 30px var(--accent-violet-glow));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

.hero-tagline {
  font-size: clamp(1rem, 3vw, 1.5rem);
  color: var(--text-dim);
  margin-bottom: 3rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.btn-primary {
  display: inline-block;
  padding: 1.2rem 3rem;
  background: linear-gradient(135deg, var(--accent-gold), #b8860b);
  color: var(--text-dark);
  text-decoration: none;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  border-radius: 4px;
  box-shadow: 0 10px 30px var(--accent-gold-glow);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px var(--accent-gold-glow);
  filter: brightness(1.1);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(2, 350px);
  gap: 1.5rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: var(--accent-cyan);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}

.feature-1 { grid-column: span 8; }
.feature-2 { grid-column: span 4; }
.feature-3 { grid-column: span 4; }
.feature-4 { grid-column: span 8; }

.feature-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  opacity: 0.6;
  transition: transform 0.8s ease;
}

.feature-card:hover .feature-image {
  transform: scale(1.1);
  opacity: 0.8;
}

.feature-content {
  position: relative;
  z-index: 1;
  padding: 2.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(to top, rgba(0,0,0,0.9) 0%, transparent 100%);
}

.feature-card h3 {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  color: var(--accent-cyan);
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-dim);
}

.story-box {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(var(--glass-blur));
  padding: 4rem;
  border-radius: 30px;
  margin-top: 4rem;
  position: relative;
  overflow: hidden;
}

.story-box::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--accent-violet-glow) 0%, transparent 70%);
  z-index: -1;
  animation: drift 20s linear infinite;
}

@keyframes drift {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
}

.story-content h2 {
  font-size: clamp(2rem, 5vw, 4rem);
  margin-bottom: 2rem;
  text-align: center;
}

.story-content p {
  font-size: 1.1rem;
  color: var(--text-dim);
  margin-bottom: 1.5rem;
  text-align: justify;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.gallery-item {
  aspect-ratio: 16/9;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  cursor: pointer;
  position: relative;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle, transparent 0%, rgba(0,0,0,0.5) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover::after {
  opacity: 1;
}

footer {
  padding: 4rem 0;
  background: #000;
  border-top: 1px solid var(--glass-border);
  text-align: center;
}

.footer-socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-bottom: 2rem;
}

.social-link {
  color: var(--text-dim);
  font-size: 1.5rem;
  transition: color 0.3s ease;
  text-decoration: none;
}

.social-link:hover {
  color: var(--accent-gold);
}

.copyright {
  color: rgba(255, 255, 255, 0.3);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
}

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  
  .feature-1, .feature-2, .feature-3, .feature-4 {
    grid-column: span 12;
    height: 400px;
  }

  .nav-links {
    display: none;
  }

  .story-box {
    padding: 2rem;
  }
}
