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

:root {
  /* Primary Luxury Palette */
  --deep-black: #0A0A0A;
  --warm-white: #F8F8F8;
  --luxury-gold: #D4AF37;
  --navy-blue: #1B365D;
  --cream: #F5F5DC;
  
  /* Secondary Accent Colors */
  --rose-gold: #B76E79;
  --charcoal: #36454F;
  --silver: #C0C0C0;
  --burgundy: #800020;
  
  /* Legacy Support with Luxury Updates */
  --neon-pink: #ff00ff;
  --neon-pink-glow: 0 0 10px #ff00ff, 0 0 20px #ff00ff, 0 0 30px #ff00ff;
  --dark-bg: #121212;
  --light-text: #ffffff; /* Improved contrast - pure white */
  --accent-color: var(--luxury-gold);
  --secondary-accent: var(--navy-blue);
  --card-bg: rgba(20, 20, 20, 0.9); /* Increased opacity for better contrast */
  
  /* Typography Improvements */
  --font-size-small: 0.875rem; /* 14px */
  --font-size-base: 1rem; /* 16px */
  --font-size-large: 1.125rem; /* 18px */
  --font-size-xl: 1.25rem; /* 20px */
  --font-size-2xl: 1.5rem; /* 24px */
  --font-size-3xl: 1.875rem; /* 30px */
  --font-size-4xl: 2.25rem; /* 36px */
  
  /* Line Heights for Better Readability */
  --line-height-tight: 1.25;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.75;
  
  /* Spacing */
  --spacing-xs: 0.25rem; /* 4px */
  --spacing-sm: 0.5rem; /* 8px */
  --spacing-md: 1rem; /* 16px */
  --spacing-lg: 1.5rem; /* 24px */
  --spacing-xl: 2rem; /* 32px */
  --spacing-2xl: 3rem; /* 48px */
}

html {
  scroll-behavior: smooth;
  font-size: 16px; /* Base font size for better accessibility */
}

body {
  font-family: 'Poppins', 'Helvetica Neue', Arial, sans-serif;
  line-height: var(--line-height-normal);
  color: var(--light-text);
  background-color: var(--dark-bg);
  overflow-x: hidden;
  font-size: var(--font-size-base);
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Improved Typography Hierarchy */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: var(--line-height-tight);
  margin-bottom: var(--spacing-md);
  color: var(--light-text);
}

h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
}

h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
}

h3 {
  font-size: var(--font-size-2xl);
  font-weight: 600;
}

h4 {
  font-size: var(--font-size-xl);
  font-weight: 500;
}

h5 {
  font-size: var(--font-size-large);
  font-weight: 500;
}

h6 {
  font-size: var(--font-size-base);
  font-weight: 500;
}

p {
  margin-bottom: var(--spacing-md);
  line-height: var(--line-height-relaxed);
  color: var(--light-text);
}

a {
  text-decoration: none;
  color: var(--accent-color);
  transition: color 0.3s ease;
  font-weight: 500;
}

a:hover {
  color: #b8941f; /* Darker gold for better contrast */
  text-decoration: underline;
}

a:focus {
  outline: 2px solid var(--accent-color);
  outline-offset: 2px;
}

ul {
  list-style: none;
  margin-bottom: var(--spacing-md);
}

li {
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-relaxed);
}

.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes neonPulse {
  0% { text-shadow: var(--neon-pink-glow); }
  50% { text-shadow: 0 0 5px #ff00ff, 0 0 10px #ff00ff; }
  100% { text-shadow: var(--neon-pink-glow); }
}

@keyframes goldPulse {
  0% { text-shadow: 0 0 10px var(--luxury-gold), 0 0 20px var(--luxury-gold); }
  50% { text-shadow: 0 0 5px var(--luxury-gold), 0 0 10px var(--luxury-gold); }
  100% { text-shadow: 0 0 10px var(--luxury-gold), 0 0 20px var(--luxury-gold); }
}

@keyframes backgroundShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* Header & Navigation */
header {
  background-color: rgba(12, 12, 12, 0.95); /* Increased opacity for better contrast */
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 20px rgba(255, 0, 255, 0.2);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: all 0.4s ease;
}

header.scrolled {
  background-color: rgba(12, 12, 12, 0.98);
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.3);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md) 0;
}

.logo {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--accent-color);
  text-decoration: none;
  letter-spacing: 1px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: var(--spacing-xl);
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  color: var(--light-text);
  text-decoration: none;
  font-weight: 500;
  font-size: var(--font-size-base);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: 4px;
  transition: all 0.3s ease;
  position: relative;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--accent-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

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

.nav-links a:hover {
  color: var(--accent-color);
  background: rgba(212, 175, 55, 0.1);
}

/* Hero Section */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 100%);
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  padding: var(--spacing-2xl);
}

.hero h1 {
  font-size: var(--font-size-4xl);
  font-weight: 700;
  margin-bottom: var(--spacing-lg);
  color: var(--light-text);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
  line-height: var(--line-height-tight);
}

.hero h2 {
  font-size: var(--font-size-xl);
  font-weight: 400;
  margin-bottom: var(--spacing-xl);
  color: var(--cream);
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  line-height: var(--line-height-normal);
}

.cta-button {
  display: inline-block;
  background: var(--accent-color);
  color: var(--deep-black);
  padding: var(--spacing-md) var(--spacing-xl);
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  font-size: var(--font-size-large);
  transition: all 0.3s ease;
  border: 2px solid var(--accent-color);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.cta-button:hover, .cta-button:focus {
  background: transparent;
  color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(212, 175, 55, 0.4);
  text-decoration: none;
}

.scroll-indicator {
  position: absolute;
  bottom: var(--spacing-xl);
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  color: var(--accent-color);
  font-size: var(--font-size-2xl);
}

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

.scroll-indicator svg {
  width: 30px;
  height: 30px;
  fill: var(--accent-color);
}

/* Featured Products Section */
.featured-products {
  padding: var(--spacing-2xl) 0;
  background: var(--card-bg);
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.section-header h2 {
  font-size: var(--font-size-3xl);
  font-weight: 600;
  color: var(--accent-color);
  margin-bottom: var(--spacing-md);
  position: relative;
  display: inline-block;
}

.section-header h2::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 2px;
}

.section-header p {
  font-size: var(--font-size-large);
  color: var(--light-text);
  max-width: 600px;
  margin: 0 auto;
  line-height: var(--line-height-relaxed);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
}

.product-card {
  background: rgba(20, 20, 20, 0.9);
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
  border-color: var(--accent-color);
}

.product-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

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

.product-info {
  padding: var(--spacing-lg);
}

.product-brand {
  font-size: var(--font-size-small);
  color: var(--accent-color);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--spacing-sm);
}

.product-name {
  font-size: var(--font-size-large);
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: var(--spacing-sm);
  line-height: var(--line-height-tight);
}

.product-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--accent-color);
  margin-bottom: var(--spacing-md);
}

/* Why Choose Us Section */
.why-choose-us {
  padding: var(--spacing-2xl) 0;
  background: linear-gradient(135deg, var(--deep-black) 0%, var(--navy-blue) 100%);
  position: relative;
}

.why-choose-us::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  margin-top: var(--spacing-2xl);
  position: relative;
  z-index: 2;
}

.feature {
  text-align: center;
  padding: var(--spacing-xl);
  background: rgba(20, 20, 20, 0.8);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

.feature:hover {
  transform: translateY(-5px);
  border-color: var(--accent-color);
  box-shadow: 0 8px 30px rgba(212, 175, 55, 0.2);
}

.feature-icon {
  font-size: var(--font-size-4xl);
  color: var(--accent-color);
  margin-bottom: var(--spacing-lg);
}

.feature h3 {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--light-text);
  margin-bottom: var(--spacing-md);
}

.feature p {
  font-size: var(--font-size-base);
  color: var(--light-text);
  line-height: var(--line-height-relaxed);
  opacity: 0.9;
}

/* Footer */
footer {
  background: var(--deep-black);
  color: var(--light-text);
  padding: var(--spacing-2xl) 0 var(--spacing-lg);
  position: relative;
  border-top: 2px solid var(--accent-color);
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, var(--deep-black) 0%, var(--charcoal) 100%);
  opacity: 0.8;
  z-index: 1;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: var(--spacing-xl);
  position: relative;
  z-index: 2;
  margin-bottom: var(--spacing-xl);
}

.footer-section h3 {
  color: var(--accent-color);
  font-size: var(--font-size-xl);
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  position: relative;
  display: inline-block;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background: var(--accent-color);
  border-radius: 1px;
}

.footer-section p {
  color: var(--light-text);
  line-height: var(--line-height-relaxed);
  margin-bottom: var(--spacing-md);
}

.footer-section ul li {
  margin-bottom: var(--spacing-sm);
}

.footer-section a {
  color: var(--light-text);
  text-decoration: none;
  transition: color 0.3s ease;
  position: relative;
  padding-left: var(--spacing-md);
}

.footer-section a::after {
  content: '→';
  position: absolute;
  left: 0;
  color: var(--accent-color);
  transition: transform 0.3s ease;
}

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

.footer-section a:hover::after {
  transform: translateX(5px);
}

.copyright {
  text-align: center;
  padding-top: var(--spacing-lg);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-small);
  position: relative;
  z-index: 2;
}

.social-icons {
  display: flex;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.social-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.social-icon:hover {
  background: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.social-icon svg {
  width: 20px;
  height: 20px;
  fill: var(--light-text);
  transition: fill 0.3s ease;
}

/* Responsive Design */
@media (max-width: 1200px) {
  .hero h1 {
    font-size: var(--font-size-3xl);
  }
  
  .hero h2 {
    font-size: var(--font-size-large);
  }
  
  .section-header h2 {
    font-size: var(--font-size-2xl);
  }
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: var(--font-size-2xl);
  }
  
  .hero h2 {
    font-size: var(--font-size-base);
  }
  
  .section-header h2 {
    font-size: var(--font-size-xl);
  }
  
  .features {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none; /* Add mobile menu functionality */
  }
  
  .hero h1 {
    font-size: var(--font-size-xl);
  }
  
  .hero h2 {
    font-size: var(--font-size-small);
  }
  
  .cta-button {
    padding: var(--spacing-sm) var(--spacing-lg);
    font-size: var(--font-size-base);
  }
  
  .product-grid {
    grid-template-columns: 1fr;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: var(--font-size-large);
  }
  
  .section-header h2 {
    font-size: var(--font-size-base);
  }
  
  .featured-products,
  .why-choose-us {
    padding: var(--spacing-xl) 0;
  }
  
  .product-grid {
    gap: var(--spacing-lg);
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
}

/* Scroll Animations */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

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

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--deep-black);
}

::-webkit-scrollbar-thumb {
  background: var(--accent-color);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #b8941f;
}

/* Brand Carousel */
.brand-carousel .brand-logo {
  width: 120px;
  height: 60px;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.7);
  transition: all 0.3s ease;
  margin: 0 var(--spacing-lg);
  opacity: 0.6;
}

.brand-carousel .brand-logo:hover {
  filter: grayscale(0%) brightness(1);
  opacity: 1;
  transform: scale(1.1);
}

@keyframes neonGoldPulse {
  0% { 
    text-shadow: 0 0 10px var(--luxury-gold), 0 0 20px var(--luxury-gold), 0 0 30px var(--luxury-gold);
    color: var(--luxury-gold);
  }
  50% { 
    text-shadow: 0 0 5px var(--luxury-gold), 0 0 10px var(--luxury-gold);
    color: #b8941f;
  }
  100% { 
    text-shadow: 0 0 10px var(--luxury-gold), 0 0 20px var(--luxury-gold), 0 0 30px var(--luxury-gold);
    color: var(--luxury-gold);
  }
}

/* Brand-specific styling */
.brand-lv {
  animation: neonGoldPulse 3s infinite;
}

.brand-prada {
  filter: grayscale(100%) brightness(0.8);
}

.brand-gucci {
  filter: grayscale(100%) brightness(0.8);
}

.brand-fendi {
  filter: grayscale(100%) brightness(0.8);
}

.brand-dior {
  filter: grayscale(100%) brightness(0.8);
}

.brand-chanel {
  filter: grayscale(100%) brightness(0.8);
}