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

:root {
  --primary: #4A0E17;
  --primary-light: #6A1A25;
  --primary-hover: #36080F;
  --accent: #D4AF37;
  --accent-light: #E5C158;
  --accent-hover: #C5A059;
  --bg-cream: #FCF9F2;
  --bg-white: #FFFFFF;
  --text-dark: #1E1E1E;
  --text-light: #FFFFFF;
  --text-muted: #6B7280;
  --border-color: #EADBB6;
  --border-color-light: #F3EFE0;
  --font-serif: 'Playfair Display', serif;
  --font-sans: 'Outfit', sans-serif;
  --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --shadow-premium: 0 15px 35px rgba(74, 14, 23, 0.06);
  --shadow-hover: 0 20px 40px rgba(74, 14, 23, 0.12);
  --shadow-glass: 0 8px 32px 0 rgba(74, 14, 23, 0.08);
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-cream);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-serif);
  font-weight: 600;
  letter-spacing: 0.5px;
}

a {
  text-decoration: none;
  color: inherit;
  transition: var(--transition);
}

button, input, select, textarea {
  font-family: inherit;
}

/* Premium Buttons */
.btn-primary {
  display: inline-block;
  background-color: var(--primary);
  color: var(--bg-white);
  padding: 12px 28px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--primary);
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background-color: var(--accent);
  transition: var(--transition);
  z-index: -1;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary:hover {
  color: var(--primary-hover);
  border-color: var(--accent);
}

.btn-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--primary);
  padding: 12px 28px;
  font-weight: 500;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--primary);
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

.btn-accent {
  display: inline-block;
  background-color: var(--accent);
  color: var(--primary);
  padding: 12px 28px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  border: 1px solid var(--accent);
  border-radius: 0;
  cursor: pointer;
  transition: var(--transition);
}

.btn-accent:hover {
  background-color: var(--primary);
  color: var(--bg-white);
  border-color: var(--primary);
}

/* Announcement Bar */
.announcement-bar {
  background-color: var(--primary);
  color: var(--accent);
  text-align: center;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.5px;
  padding: 8px 10px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.3);
  text-transform: uppercase;
}

/* Header & Navigation */
header {
  position: sticky;
  top: 0;
  background: rgba(252, 249, 242, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  z-index: 1000;
  transition: var(--transition);
}

header.scrolled {
  box-shadow: var(--shadow-premium);
  background: var(--bg-cream);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1400px;
  margin: 0 auto;
  padding: 15px 30px;
}

.logo a {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.logo-main {
  font-family: var(--font-serif);
  font-size: 32px;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 3px;
  line-height: 1;
}

.logo-sub {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 4px;
  margin-top: 5px;
  font-weight: 600;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

nav ul li a {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 500;
  letter-spacing: 1px;
  color: var(--text-dark);
  padding: 5px 0;
  position: relative;
}

nav ul li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--accent);
  transition: var(--transition);
}

nav ul li a:hover {
  color: var(--primary);
}

nav ul li a:hover::after {
  width: 100%;
}

.header-icons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--primary);
  position: relative;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.header-icon-btn:hover {
  color: var(--accent);
  transform: scale(1.1);
}

.cart-badge {
  position: absolute;
  top: -8px;
  right: -8px;
  background-color: var(--accent);
  color: var(--primary);
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero Section */
.hero-slider {
  position: relative;
  height: 650px;
  overflow: hidden;
  background-color: var(--primary-hover);
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  transition: opacity 1s ease-in-out;
  opacity: 0;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  z-index: 2;
}

.hero-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(74,14,23,0.85) 0%, rgba(74,14,23,0.3) 100%);
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 800px;
  margin-left: 10%;
  color: var(--text-light);
  padding: 20px;
}

.hero-tagline {
  font-size: 14px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 4px;
  margin-bottom: 15px;
  font-weight: 600;
  animation: fadeInUp 1s ease;
}

.hero-title {
  font-size: 64px;
  font-family: var(--font-serif);
  line-height: 1.1;
  margin-bottom: 25px;
  font-weight: 500;
  animation: fadeInUp 1.2s ease;
}

.hero-description {
  font-size: 18px;
  margin-bottom: 35px;
  color: #E5D5C5;
  animation: fadeInUp 1.4s ease;
}

.hero-buttons {
  animation: fadeInUp 1.6s ease;
}

/* Collections Grid */
.section-header {
  text-align: center;
  max-width: 600px;
  margin: 80px auto 40px auto;
  padding: 0 20px;
}

.section-subtitle {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 10px;
}

.section-title {
  font-size: 38px;
  color: var(--primary);
  font-family: var(--font-serif);
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 2px;
  background-color: var(--accent);
}

.collections-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 25px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
}

.collection-card {
  position: relative;
  height: 400px;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
}

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

.collection-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(74, 14, 23, 0.1) 50%, rgba(74, 14, 23, 0.8) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 30px;
  color: var(--text-light);
  transition: var(--transition);
}

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

.collection-card:hover .collection-overlay {
  background: linear-gradient(180deg, rgba(74, 14, 23, 0.2) 30%, rgba(74, 14, 23, 0.9) 100%);
}

.collection-card h3 {
  font-size: 24px;
  margin-bottom: 8px;
}

.collection-card p {
  font-size: 13px;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 500;
}

/* Product Listing Grid */
.products-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px 80px 30px;
}

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

.product-card {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color-light);
  box-shadow: var(--shadow-premium);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
  border-color: var(--border-color);
}

.product-image-container {
  position: relative;
  height: 380px;
  overflow: hidden;
  background-color: #F8F5EE;
}

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

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

.product-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--primary);
  color: var(--accent);
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.product-quick-buy {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  background-color: rgba(74, 14, 23, 0.95);
  color: var(--bg-white);
  border: none;
  padding: 12px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  cursor: pointer;
  transition: var(--transition);
}

.product-card:hover .product-quick-buy {
  bottom: 0;
}

.product-quick-buy:hover {
  background-color: var(--accent);
  color: var(--primary-hover);
}

.product-info {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  letter-spacing: 1.5px;
  margin-bottom: 5px;
}

.product-title {
  font-size: 18px;
  color: var(--text-dark);
  margin-bottom: 10px;
  font-weight: 500;
  height: 52px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-title a:hover {
  color: var(--primary);
}

.product-rating {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 10px;
  color: #FFA800;
  font-size: 13px;
}

.rating-count {
  color: var(--text-muted);
  font-size: 12px;
}

.product-price-container {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: auto;
}

.product-price {
  font-size: 18px;
  font-weight: 600;
  color: var(--primary);
}

.product-original-price {
  font-size: 14px;
  text-decoration: line-through;
  color: var(--text-muted);
}

.product-discount-tag {
  font-size: 11px;
  color: #22C55E;
  font-weight: 600;
}

/* Promo Banner Section */
.promo-banner {
  background-color: var(--primary-hover);
  color: var(--bg-cream);
  padding: 80px 20px;
  text-align: center;
  position: relative;
  background-size: cover;
  background-position: center;
  border-top: 1px solid var(--accent);
  border-bottom: 1px solid var(--accent);
}

.promo-banner::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(74, 14, 23, 0.9);
}

.promo-content {
  position: relative;
  z-index: 2;
  max-width: 700px;
  margin: 0 auto;
}

.promo-tag {
  font-size: 12px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 3px;
  font-weight: 600;
  margin-bottom: 15px;
}

.promo-title {
  font-size: 42px;
  font-family: var(--font-serif);
  margin-bottom: 20px;
  line-height: 1.2;
}

.promo-desc {
  font-size: 16px;
  color: #DBCFBA;
  margin-bottom: 30px;
}

/* Testimonial slider */
.testimonials-section {
  background-color: #F6F2E8;
  padding: 80px 30px;
}

.testimonial-card {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 22px;
  font-style: italic;
  color: var(--primary);
  margin-bottom: 20px;
  line-height: 1.6;
}

.testimonial-author {
  font-size: 14px;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 2px;
  color: var(--text-dark);
}

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

/* Cart Drawer */
.cart-drawer-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.cart-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 450px;
  height: 100%;
  background-color: var(--bg-cream);
  z-index: 10001;
  box-shadow: -10px 0 30px rgba(0,0,0,0.15);
  display: flex;
  flex-direction: column;
  transition: right 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.cart-drawer-overlay.active .cart-drawer {
  right: 0;
}

.cart-header {
  padding: 25px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--primary);
  color: var(--bg-white);
}

.cart-header h3 {
  font-size: 20px;
  letter-spacing: 1px;
}

.close-cart-btn {
  background: none;
  border: none;
  font-size: 24px;
  color: var(--bg-white);
  cursor: pointer;
  transition: var(--transition);
}

.close-cart-btn:hover {
  color: var(--accent);
}

.cart-body {
  flex-grow: 1;
  overflow-y: auto;
  padding: 25px;
}

.cart-empty-message {
  text-align: center;
  color: var(--text-muted);
  margin-top: 50px;
  font-family: var(--font-serif);
  font-size: 18px;
  font-style: italic;
}

.cart-item {
  display: flex;
  gap: 15px;
  padding-bottom: 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid var(--border-color-light);
}

.cart-item-img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border: 1px solid var(--border-color-light);
}

.cart-item-details {
  flex-grow: 1;
}

.cart-item-title {
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 5px;
  color: var(--text-dark);
}

.cart-item-category {
  font-size: 11px;
  text-transform: uppercase;
  color: var(--accent);
  letter-spacing: 1px;
  margin-bottom: 5px;
}

.cart-item-price {
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 10px;
}

.qty-btn {
  width: 25px;
  height: 25px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  transition: var(--transition);
}

.qty-btn:hover {
  background-color: var(--primary);
  color: var(--bg-white);
}

.qty-val {
  font-size: 14px;
  font-weight: 500;
}

.remove-cart-item {
  background: none;
  border: none;
  color: #EF4444;
  font-size: 12px;
  cursor: pointer;
  margin-top: 10px;
  text-decoration: underline;
}

.cart-footer {
  padding: 25px;
  border-top: 1px solid var(--border-color);
  background-color: var(--bg-white);
}

.cart-total-row {
  display: flex;
  justify-content: space-between;
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 20px;
  color: var(--primary);
}

.cart-checkout-btn {
  width: 100%;
  text-align: center;
  padding: 15px;
}

/* Footer styling */
footer {
  background-color: #2E0816; /* Dark plum */
  color: #DBCFBA;
  padding: 80px 30px 30px 30px;
  border-top: 3px solid var(--accent);
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
}

.footer-col h3 {
  color: var(--accent);
  font-size: 20px;
  margin-bottom: 25px;
  font-weight: 500;
  position: relative;
  padding-bottom: 10px;
}

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

.footer-col p {
  font-size: 14px;
  line-height: 1.8;
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  font-size: 14px;
}

.footer-links li a:hover {
  color: var(--accent);
  padding-left: 5px;
}

.newsletter-form {
  display: flex;
  margin-top: 15px;
}

.newsletter-input {
  flex-grow: 1;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(212, 175, 55, 0.3);
  padding: 12px;
  color: var(--bg-white);
  font-size: 14px;
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--accent);
}

.newsletter-btn {
  background-color: var(--accent);
  color: var(--primary-hover);
  border: none;
  padding: 0 20px;
  cursor: pointer;
  transition: var(--transition);
}

.newsletter-btn:hover {
  background-color: var(--bg-white);
}

.footer-bottom {
  max-width: 1400px;
  margin: 60px auto 0 auto;
  padding-top: 30px;
  border-top: 1px solid rgba(212, 175, 55, 0.15);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

.trust-badges {
  display: flex;
  gap: 15px;
  margin-top: 15px;
}

.trust-badge-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  color: var(--accent);
  border: 1px solid rgba(212, 175, 55, 0.25);
  padding: 4px 10px;
}

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

/* Responsive Grid Tweaks */
.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 22px;
  color: var(--primary);
  cursor: pointer;
  order: 3;
  transition: var(--transition);
}

.mobile-menu-toggle:hover {
  color: var(--accent);
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-container {
    flex-wrap: wrap;
    padding: 15px 20px;
    gap: 10px;
  }

  .logo {
    order: 1;
  }

  .header-icons {
    order: 2;
    gap: 15px;
  }

  nav {
    display: none;
    width: 100%;
    order: 4;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid var(--border-color-light);
  }

  nav.active {
    display: block;
    animation: fadeInUp 0.3s ease;
  }

  nav ul {
    flex-direction: column;
    gap: 15px;
    align-items: center;
    width: 100%;
  }

  .hero-slider {
    height: 500px;
  }

  .hero-title {
    font-size: 36px;
  }

  .hero-content {
    margin-left: 5%;
    margin-right: 5%;
  }

  .section-title {
    font-size: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
}

/* Stepper Visual Timeline Mobile Responsiveness */
@media (max-width: 600px) {
  .timeline-stepper {
    flex-direction: column;
    gap: 40px;
    align-items: flex-start;
    padding-left: 20px;
  }

  .timeline-line-bg {
    left: 45px;
    top: 0;
    width: 3px;
    height: 100%;
  }

  .timeline-line-progress {
    left: 45px;
    top: 0;
    width: 3px;
  }

  .timeline-step {
    flex-direction: row;
    width: 100%;
    gap: 20px;
    justify-content: flex-start;
    align-items: center;
    text-align: left;
  }

  .step-label {
    margin-top: 0;
    text-align: left;
    font-size: 13px;
  }
}

