/* Modern Color Palette */
:root {
  --gold: #D4AF37;
  --deep-purple: #3A2465;
  --soft-pink: #FFD6E0;
  --ivory: #F9F5F0;
  --charcoal: #2E2E2E;
  --white: #FFFFFF;
  --success: #4BB543;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: var(--ivory);
  color: var(--charcoal);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--deep-purple);
}

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

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.btn-primary {
  background-color: var(--gold);
  color: var(--deep-purple);
  border: 2px solid var(--gold);
}

.btn-primary:hover {
  background-color: transparent;
  color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--deep-purple);
  color: var(--white);
  text-align: center;
  padding: 10px 0;
  font-size: 14px;
  font-weight: 500;
}

.announcement-bar p {
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { opacity: 0.8; }
  50% { opacity: 1; }
  100% { opacity: 0.8; }
}

/* Modern Navigation */
.main-nav {
  background-color: var(--white);
  box-shadow: 0 2px 15px rgba(58, 36, 101, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-size: 28px;
  font-weight: 700;
  color: var(--deep-purple);
  display: flex;
  align-items: center;
}

.logo img {
  height: 40px;
  margin-right: 10px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 25px;
}

.nav-links a {
  font-weight: 500;
  position: relative;
  padding: 5px 0;
}

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

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

.nav-icons {
  display: flex;
  gap: 20px;
}

.nav-icons a {
  font-size: 18px;
  transition: transform 0.3s ease;
}

.nav-icons a:hover {
  transform: translateY(-3px);
  color: var(--gold);
}

.cart-count {
  background-color: var(--gold);
  color: var(--deep-purple);
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  position: relative;
  top: -10px;
  left: -8px;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-content {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--white);
  min-width: 200px;
  border-radius: 8px;
  box-shadow: 0 10px 25px rgba(58, 36, 101, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s ease;
  z-index: 100;
}

.dropdown:hover .dropdown-content {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-content a {
  display: block;
  padding: 12px 20px;
  color: var(--charcoal);
  transition: all 0.3s ease;
}

.dropdown-content a:hover {
  background-color: var(--soft-pink);
  color: var(--deep-purple);
  padding-left: 25px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, rgba(58, 36, 101, 0.8) 0%, rgba(212, 175, 55, 0.6) 100%), 
              url('../images/hero-bg.jpg') center/cover no-repeat;
  height: 80vh;
  min-height: 500px;
  display: flex;
  align-items: center;
  color: var(--white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.hero h1 {
  font-size: clamp(2.5rem, 5vw, 4rem);
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.2;
  text-shadow: 0 2px 5px rgba(0,0,0,0.2);
  animation: fadeInUp 1s ease;
}

.hero p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  margin-bottom: 30px;
  opacity: 0.9;
  animation: fadeInUp 1s ease 0.2s forwards;
  opacity: 0;
}

.hero .btn {
  animation: fadeInUp 1s ease 0.4s forwards;
  opacity: 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Collections Section */
.collections {
  padding: 80px 0;
  background-color: var(--white);
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
}

.section-title:after {
  content: '';
  display: block;
  width: 80px;
  height: 3px;
  background: var(--gold);
  margin: 15px auto 0;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.collection-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(58, 36, 101, 0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}

.collection-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(58, 36, 101, 0.2);
}

.collection-card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.collection-card h3 {
  padding: 20px;
  text-align: center;
  font-size: 1.3rem;
  color: var(--deep-purple);
  position: relative;
}

.collection-card h3:after {
  content: '';
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
}

/* Featured Products */
.featured {
  padding: 80px 0;
  background-color: var(--ivory);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
}

.product-card {
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(58, 36, 101, 0.1);
  transition: all 0.3s ease;
  position: relative;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(58, 36, 101, 0.15);
}

.product-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--gold);
  color: var(--deep-purple);
  padding: 5px 15px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  z-index: 2;
}

.product-image {
  position: relative;
  overflow: hidden;
  height: 300px;
}

.product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.product-info {
  padding: 20px;
}

.product-title {
  font-size: 1.1rem;
  margin-bottom: 10px;
  color: var(--deep-purple);
}

.product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.current-price {
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--gold);
}

.original-price {
  text-decoration: line-through;
  color: var(--charcoal);
  opacity: 0.6;
  font-size: 0.9rem;
}

.product-actions {
  display: flex;
  gap: 10px;
}

.add-to-cart {
  flex: 1;
  background: var(--deep-purple);
  color: var(--white);
  border: none;
  padding: 10px;
  border-radius: 5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.add-to-cart:hover {
  background: var(--gold);
  color: var(--deep-purple);
}

.wishlist-btn {
  width: 40px;
  height: 40px;
  background: var(--soft-pink);
  color: var(--deep-purple);
  border: none;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.wishlist-btn:hover {
  background: var(--gold);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  color: var(--deep-purple);
  cursor: pointer;
}

/* Responsive Design */
@media (max-width: 992px) {
  .nav-links {
    position: fixed;
    top: 80px;
    left: -100%;
    width: 80%;
    height: calc(100vh - 80px);
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 30px;
    box-shadow: 5px 0 15px rgba(0,0,0,0.1);
    transition: left 0.3s ease;
    z-index: 999;
  }
  
  .nav-links.active {
    left: 0;
  }
  
  .dropdown-content {
    position: static;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
    margin-left: 15px;
  }
  
  .dropdown:hover .dropdown-content {
    display: none;
  }
  
  .dropdown.active .dropdown-content {
    display: block;
  }
  
  .mobile-menu-btn {
    display: block;
  }
  
  .hero {
    height: 70vh;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
}

@media (max-width: 768px) {
  .collection-grid, .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .hero {
    height: 60vh;
  }
}

@media (max-width: 576px) {
  .collection-grid, .product-grid {
    grid-template-columns: 1fr;
  }
  
  .announcement-bar p {
    font-size: 12px;
  }
  
  .hero {
    height: 50vh;
  }
  
  .hero h1 {
    font-size: 2rem;
  }
}
