/* ============================================
   Bijouterie Mille & Line - Luxury Effects
   ============================================ */

/* ========== Header & Navigation ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(15, 15, 15, 0.9);
  backdrop-filter: var(--blur-glass);
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.header.scrolled {
  background: rgba(15, 15, 15, 0.98);
  box-shadow: var(--shadow-soft);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem var(--container-padding);
  max-width: var(--container-max);
  margin: 0 auto;
}

.logo {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.logo-text {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--text-primary);
  letter-spacing: 0.05em;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
}

/* Navigation */
.nav {
  display: flex;
  align-items: center;
  gap: var(--space-lg);
}

.nav-link {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold-primary);
  transition: var(--transition);
}

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

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background: var(--text-primary);
  transition: var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ========== Hero Section ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: var(--gradient-dark);
  overflow: hidden;
  padding-top: 80px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0.3;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 15, 0.4) 0%,
    rgba(15, 15, 15, 0.8) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 800px;
  padding: var(--space-lg);
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  backdrop-filter: var(--blur-glass);
  font-size: 0.85rem;
  color: var(--gold-primary);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: var(--space-lg);
}

.hero-title {
  font-size: clamp(3rem, 7vw, 5rem);
  color: var(--text-primary);
  margin-bottom: var(--space-md);
  line-height: 1.1;
}

.hero-title .highlight {
  background: var(--gradient-gold);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: var(--space-xl);
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta {
  display: flex;
  gap: var(--space-md);
  justify-content: center;
  flex-wrap: wrap;
}

/* Hero Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: var(--space-xl);
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.8rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  animation: bounce 2s infinite;
}

.scroll-indicator svg {
  width: 24px;
  height: 24px;
  stroke: var(--gold-primary);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

/* ========== Glass Cards ========== */
.glass-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--blur-glass);
  padding: var(--space-lg);
  transition: var(--transition);
}

.glass-card:hover {
  border-color: var(--glass-border-hover);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}

/* Product Card */
.product-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--blur-glass);
  overflow: hidden;
  transition: var(--transition);
}

.product-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold-strong);
}

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

.product-image {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--bg-secondary);
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.product-badge {
  position: absolute;
  top: var(--space-sm);
  left: var(--space-sm);
  padding: 0.25rem 0.75rem;
  background: var(--gradient-gold);
  color: var(--bg-primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: var(--radius-sm);
}

.product-content {
  padding: var(--space-md);
}

.product-category {
  font-size: 0.75rem;
  color: var(--gold-primary);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: var(--space-xs);
}

.product-title {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.product-description {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* Universe Card */
.universe-card {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  cursor: pointer;
}

.universe-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 40%,
    rgba(15, 15, 15, 0.95) 100%
  );
  z-index: 1;
  transition: var(--transition);
}

.universe-card:hover::before {
  background: linear-gradient(
    180deg,
    rgba(212, 175, 55, 0.1) 0%,
    rgba(15, 15, 15, 0.95) 100%
  );
}

.universe-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

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

.universe-content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-lg);
  z-index: 2;
}

.universe-icon {
  width: 48px;
  height: 48px;
  margin-bottom: var(--space-sm);
  color: var(--gold-primary);
}

.universe-title {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: var(--space-xs);
}

.universe-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ========== Service Cards ========== */
.service-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--blur-glass);
  padding: var(--space-xl);
  text-align: center;
  transition: var(--transition);
}

.service-card:hover {
  border-color: var(--gold-primary);
  box-shadow: var(--shadow-gold);
  transform: translateY(-5px);
}

.service-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-md);
  color: var(--gold-primary);
}

.service-title {
  font-size: 1.25rem;
  margin-bottom: var(--space-sm);
}

.service-description {
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* ========== Testimonials ========== */
.testimonial-card {
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  backdrop-filter: var(--blur-glass);
  padding: var(--space-xl);
  position: relative;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--gold-primary);
  position: absolute;
  top: var(--space-md);
  left: var(--space-lg);
  opacity: 0.3;
}

.testimonial-text {
  font-style: italic;
  color: var(--text-secondary);
  margin-bottom: var(--space-md);
  line-height: 1.8;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

.testimonial-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--bg-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-primary);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.testimonial-name {
  font-weight: 500;
  color: var(--text-primary);
}

.testimonial-location {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.testimonial-stars {
  display: flex;
  gap: 2px;
  color: var(--gold-primary);
  margin-top: var(--space-xs);
}

.testimonial-stars svg {
  width: 16px;
  height: 16px;
  fill: var(--gold-primary);
}

/* ========== Footer ========== */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--glass-border);
  padding: var(--space-3xl) 0 var(--space-lg);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-2xl);
}

.footer-brand .logo-text {
  margin-bottom: var(--space-md);
}

.footer-description {
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: var(--space-md);
}

.footer-social {
  display: flex;
  gap: var(--space-sm);
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  transition: var(--transition);
}

.footer-social a:hover {
  border-color: var(--gold-primary);
  color: var(--gold-primary);
}

.footer-title {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: var(--space-md);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.9rem;
  transition: var(--transition-fast);
}

.footer-links a:hover {
  color: var(--gold-primary);
}

.footer-contact p {
  display: flex;
  align-items: flex-start;
  gap: var(--space-sm);
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: var(--space-sm);
}

.footer-contact svg {
  width: 18px;
  height: 18px;
  color: var(--gold-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-lg);
  border-top: 1px solid var(--glass-border);
}

.footer-copy {
  color: var(--text-muted);
  font-size: 0.85rem;
}

.footer-legal {
  display: flex;
  gap: var(--space-md);
}

.footer-legal a {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ========== Gold Dust Particles ========== */
.particles-container {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.particle {
  position: absolute;
  width: 3px;
  height: 3px;
  background: var(--gold-primary);
  border-radius: 50%;
  opacity: 0;
  animation: float-particle 15s infinite;
}

@keyframes float-particle {
  0% {
    opacity: 0;
    transform: translateY(100vh) rotate(0deg);
  }
  10% {
    opacity: 0.6;
  }
  90% {
    opacity: 0.6;
  }
  100% {
    opacity: 0;
    transform: translateY(-100vh) rotate(720deg);
  }
}

/* ========== Glow Effects ========== */
.glow-gold {
  position: relative;
}

.glow-gold::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  transform: translate(-50%, -50%);
  background: radial-gradient(
    ellipse at center,
    rgba(212, 175, 55, 0.15) 0%,
    transparent 70%
  );
  pointer-events: none;
  z-index: -1;
}

/* ========== Page Header ========== */
.page-header {
  padding: calc(80px + var(--space-3xl)) 0 var(--space-2xl);
  background: var(--bg-secondary);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.page-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 300px;
  background: radial-gradient(
    ellipse at center,
    rgba(212, 175, 55, 0.1) 0%,
    transparent 70%
  );
  pointer-events: none;
}

.page-title {
  position: relative;
  z-index: 1;
}

.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-sm);
  margin-top: var(--space-md);
  color: var(--text-muted);
  font-size: 0.9rem;
}

.breadcrumb a {
  color: var(--text-muted);
}

.breadcrumb a:hover {
  color: var(--gold-primary);
}

.breadcrumb svg {
  width: 16px;
  height: 16px;
}

/* ========== Filter Buttons ========== */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.filter-btn {
  padding: 0.75rem 1.5rem;
  background: var(--bg-glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-xl);
  color: var(--text-secondary);
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold-primary);
  border-color: var(--gold-primary);
  color: var(--bg-primary);
}

/* ========== Map Container ========== */
.map-container {
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  height: 400px;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  filter: grayscale(1) invert(1) contrast(1.1);
}

/* ========== Animations ========== */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-left.visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered Animation */
.stagger > * {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.stagger.visible > *:nth-child(1) { transition-delay: 0.1s; }
.stagger.visible > *:nth-child(2) { transition-delay: 0.2s; }
.stagger.visible > *:nth-child(3) { transition-delay: 0.3s; }
.stagger.visible > *:nth-child(4) { transition-delay: 0.4s; }
.stagger.visible > *:nth-child(5) { transition-delay: 0.5s; }
.stagger.visible > *:nth-child(6) { transition-delay: 0.6s; }

.stagger.visible > * {
  opacity: 1;
  transform: translateY(0);
}
