:root {
  --color-bg: #050505; /* Pitch black */
  --color-text: #FDFBF7; /* Off-white */
  --color-accent: #D4AF37; /* Champagne gold */
  --color-accent-dim: rgba(212, 175, 55, 0.3);
  --font-serif: 'Amiri', serif;
  --font-sans: 'Tajawal', sans-serif;
  --spacing-unit: 1rem;
}

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

html, body, #root, #app {
  max-width: 100vw;
  width: 100%;
  height: 100%;
  background-color: #050505 !important;
  color: var(--color-text);
  font-family: var(--font-sans);
  overflow-x: hidden !important;
  margin: 0;
  padding: 0;
}

/* Custom Ultra-Luxury Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg);
}

::-webkit-scrollbar-thumb {
  background: #1a1a1a;
  border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-accent);
}

html {
  scrollbar-width: thin;
  scrollbar-color: #1a1a1a var(--color-bg);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 400;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color 0.3s ease;
}

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 4rem;
  z-index: 100;
  mix-blend-mode: difference;
}

.nav-left, .nav-right {
  flex: 1;
}

.nav-center {
  flex: 1;
  display: flex;
  justify-content: center;
}

.brand-logo {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-text);
}

.gold-trend {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.8;
}

.trend-indicator {
  width: 6px;
  height: 6px;
  background-color: var(--color-accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--color-accent);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.7); }
  70% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
  100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0); }
}

.trend-up {
  color: #85bb65;
  margin-right: 0.5rem;
}

.nav-right {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 3rem;
}

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

.nav-links a {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.4s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.btn-menu {
  background: none;
  border: none;
  color: var(--color-text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 10%;
}

.hero-image-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  background-image:
    linear-gradient(to left, rgba(5, 5, 5, 0.95) 0%, rgba(5, 5, 5, 0.7) 40%, transparent 100%),
    url('/public/hero.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: slowPan 30s ease-in-out infinite alternate;
}

@keyframes slowPan {
  from { background-position: center center; }
  to { background-position: 48% 48%; }
}

.hero-content {
  position: relative;
  z-index: 10;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-text {
  max-width: 800px;
  margin-top: 10vh;
}

.hero-title {
  font-size: 4.5vw;
  font-weight: 400;
  line-height: 1.15;
  margin-bottom: 2rem;
  color: var(--color-text);
}

.hero-title .line {
  display: block;
  overflow: hidden;
}

.hero-subtitle {
  font-size: 1.25rem;
  line-height: 1.9;
  max-width: 500px;
  color: rgba(253, 251, 247, 0.7);
  margin-bottom: 3rem;
  font-weight: 300;
}

.hero-actions {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.btn-primary {
  display: inline-block;
  padding: 1rem 2.5rem;
  background-color: transparent;
  color: var(--color-accent);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  font-weight: 500;
  border: 1px solid var(--color-accent);
  transition: all 0.4s ease;
}

.btn-primary:hover {
  background-color: var(--color-accent-dim);
  color: var(--color-text);
}

.btn-secondary {
  display: inline-block;
  padding: 1rem 0;
  color: var(--color-text);
  font-family: var(--font-sans);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.8rem;
  position: relative;
}

.btn-secondary::before {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: rgba(253, 251, 247, 0.3);
}

.btn-secondary::after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-text);
  transition: width 0.4s ease;
}

.btn-secondary:hover::after {
  width: 100%;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.scroll-text {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(253, 251, 247, 0.5);
}

.scroll-line {
  width: 1px;
  height: 60px;
  background-color: rgba(253, 251, 247, 0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-text);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { top: -100%; }
  50% { top: 0%; }
  100% { top: 100%; }
}

/* Animations */
.reveal-text {
  opacity: 0;
  transform: translateY(30px);
  animation: revealUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.delay-1 { animation-delay: 0.3s; }
.delay-2 { animation-delay: 0.6s; }

@keyframes revealUp {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Featured Collections */
.collections {
  width: 100%;
  overflow-x: hidden;
  padding: 15vh 10%;
  background-color: var(--color-bg);
  position: relative;
  z-index: 10;
}

.collections-header {
  text-align: center;
  margin-bottom: 12vh;
}

.section-title {
  font-size: 3.5vw;
  color: var(--color-text);
  margin-bottom: 2rem;
}

.collections-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8vw;
  align-items: center;
}

.collection-card {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.offset-down {
  margin-top: 15vh;
}

.offset-up {
  margin-top: -10vh;
}

.collection-img-wrapper {
  overflow: hidden;
  position: relative;
  aspect-ratio: 4 / 5;
}

.collection-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1.5s ease;
}

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

.collection-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.collection-title {
  font-size: 2.5rem;
  margin-bottom: 1rem;
  color: var(--color-text);
}

.collection-desc {
  font-size: 1.1rem;
  line-height: 1.8;
  color: rgba(253, 251, 247, 0.7);
  margin-bottom: 2rem;
  max-width: 400px;
}

.link-elegant {
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-accent);
  position: relative;
  padding-bottom: 0.5rem;
  font-family: var(--font-sans);
}

.link-elegant::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 0%;
  height: 1px;
  background-color: var(--color-accent);
  transition: width 0.4s ease;
}

.link-elegant:hover::after {
  width: 100%;
}

/* Global Curation Section */
.global-curation {
  position: relative;
  width: 100%;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background-image: url('https://images.unsplash.com/photo-1617038220319-276d3cfab638?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  overflow: hidden;
}

.curation-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at center, rgba(5,5,5,0.6) 0%, rgba(5,5,5,0.95) 100%);
  z-index: 1;
}

.curation-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 4rem 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.curation-subtitle {
  font-family: var(--font-sans);
  font-weight: 400;
  color: var(--color-accent);
  font-size: 1.2rem;
  letter-spacing: 0.1em;
}

.curation-title {
  font-family: var(--font-serif);
  font-size: 4.5vw;
  color: var(--color-text);
  margin-bottom: 1rem;
}

.curation-desc {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  line-height: 1.9;
  color: rgba(253, 251, 247, 0.85);
  margin-bottom: 2rem;
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1.2s cubic-bezier(0.16, 1, 0.3, 1), transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.animate-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Ultra-Luxury Footer */
.diora-footer {
  width: 100%;
  background-color: var(--color-bg);
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  padding: 10vh 10% 2vh;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4rem;
  margin-bottom: 8vh;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-brand {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  color: var(--color-text);
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-heading {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--color-text);
  margin-bottom: 0.5rem;
}

.footer-text, .footer-link {
  font-family: var(--font-sans);
  font-size: 1rem;
  color: rgba(253, 251, 247, 0.7);
  line-height: 1.6;
}

.footer-link {
  transition: color 0.3s ease;
  width: fit-content;
}

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

.directions-link {
  color: var(--color-accent);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.footer-bottom {
  text-align: center;
  border-top: 1px solid rgba(253, 251, 247, 0.1);
  padding-top: 2rem;
}

.footer-bottom p {
  font-family: var(--font-sans);
  font-size: 0.85rem;
  color: rgba(253, 251, 247, 0.5);
}

/* Responsive */
@media (max-width: 1024px) {
  .hero-title { font-size: 6vw; }
  .nav-links { display: none; }
  
  .collections-grid {
    grid-template-columns: 1fr;
    gap: 10vh;
  }
  .offset-down, .offset-up {
    margin-top: 0;
  }
  .section-title { font-size: 6vw; }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }
}

@media (max-width: 768px) {
  .hero-title { font-size: 8vw; }
  .navbar { padding: 1.5rem 2rem; }
  .gold-trend { display: none; }
  .scroll-indicator { display: none; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .section-title { font-size: 8vw; }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 3rem;
  }
}

