@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-color: #B76E79; /* Rose Gold */
  --primary-light: #d6a1a8;
  --primary-dark: #904c55;
  --secondary-color: #1A2530; /* Deep Navy */
  --accent-color: #D4AF37; /* Gold */
  --bg-color: #FDFBF7; /* Off white/cream */
  --text-main: #333333;
  --text-muted: #666666;
  --white: #FFFFFF;
  --border-color: #eaeaea;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-color);
  color: var(--text-main);
  padding-top: 76px; /* Space for fixed header */
}

h1, h2, h3, h4, h5, h6, .navbar-brand {
  font-family: var(--font-heading);
  color: var(--secondary-color);
  font-weight: 600;
}

.text-primary {
  color: var(--primary-color) !important;
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.bg-secondary {
  background-color: var(--secondary-color) !important;
}

.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
  color: var(--white);
  border-radius: 50px;
  padding: 10px 24px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.875rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(183, 110, 121, 0.4);
}

.btn-outline-primary {
  color: var(--primary-color);
  border-color: var(--primary-color);
  border-radius: 50px;
  padding: 10px 24px;
}

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

.glass {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.4);
}

/* Header */
.navbar {
  padding: 15px 0;
  transition: all 0.3s ease;
}

.navbar-brand .logo-accent {
  color: var(--primary-color);
  font-style: italic;
  font-weight: 400;
}

.nav-link {
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
  color: var(--secondary-color) !important;
  position: relative;
  margin: 0 10px;
}

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

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

.header-icons .btn {
  color: var(--secondary-color);
  border: none;
  background: transparent;
  font-size: 1.2rem;
  position: relative;
}

.header-icons .btn:hover {
  color: var(--primary-color);
}

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

/* Marquee */
.marquee-container {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 8px 0;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-content {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.marquee-content span {
  padding: 0 40px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Hero Slider */
.hero-slider {
  height: 80vh;
  min-height: 500px;
}

.hero-slider .carousel-item {
  height: 80vh;
  min-height: 500px;
  background-size: cover;
  background-position: center;
}

.hero-slider .carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.4);
}

.hero-caption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: var(--white);
  z-index: 10;
  width: 100%;
  padding: 0 20px;
}

.hero-caption h1 {
  font-size: 4rem;
  color: var(--white);
  text-shadow: 0 2px 4px rgba(0,0,0,0.5);
  margin-bottom: 20px;
}

/* Sections */
.py-section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  margin-bottom: 50px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: var(--primary-color);
}

/* Categories */
.category-card {
  text-align: center;
  text-decoration: none;
  display: block;
}

.category-image {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 15px;
  border: 4px solid var(--white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  background-color: #f8f8f8;
}

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

.category-card:hover .category-image {
  transform: translateY(-10px);
  border-color: var(--primary-light);
}

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

.category-card h4 {
  color: var(--secondary-color);
  font-size: 1.2rem;
  font-family: var(--font-body);
  transition: color 0.3s ease;
}

.category-card:hover h4 {
  color: var(--primary-color);
}

/* Product Card */
.product-card {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  background: var(--white);
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 10px 20px rgba(0,0,0,0.05);
  transform: translateY(-5px);
}

.product-image-wrapper {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #f8f8f8;
}

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

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

.product-actions {
  position: absolute;
  bottom: -50px;
  left: 0;
  width: 100%;
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 15px;
  background: linear-gradient(to top, rgba(255,255,255,0.9), transparent);
  transition: bottom 0.3s ease;
}

.product-card:hover .product-actions {
  bottom: 0;
}

.action-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  border: none;
  transition: all 0.2s ease;
}

.action-icon:hover {
  background: var(--primary-color);
  color: var(--white);
}

.product-info {
  padding: 20px;
  text-align: center;
}

.product-category {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.product-title {
  font-size: 1.1rem;
  margin: 5px 0;
  font-family: var(--font-body);
}

.product-title a {
  color: var(--secondary-color);
  text-decoration: none;
}

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

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

/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  padding: 60px 0 20px;
  margin-top: 60px;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 25px;
  position: relative;
  padding-bottom: 10px;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background-color: var(--primary-color);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

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

.footer-links a {
  color: #a0aab2;
  text-decoration: none;
  transition: all 0.2s ease;
}

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

.social-icons a {
  display: inline-flex;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  color: var(--white);
  align-items: center;
  justify-content: center;
  margin-right: 10px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.social-icons a:hover {
  background: var(--primary-color);
  transform: translateY(-3px);
}

/* Offcanvas Cart */
.offcanvas {
  width: 400px !important;
}

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

.cart-item-img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 4px;
}

/* Sticky Social Icons */
.sticky-social {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  display: flex;
  flex-direction: column;
}

.sticky-social a {
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  transition: all 0.3s ease;
  position: relative;
  right: -5px;
}

.sticky-social a:hover {
  width: 60px;
  right: 0;
}

.bg-instagram { background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%); border-top-left-radius: 8px; }
.bg-facebook { background: #3b5998; }
.bg-twitter { background: #1da1f2; }
.bg-whatsapp { background: #25d366; border-bottom-left-radius: 8px; }

/* Product Zoom */
.zoom-container {
  position: relative;
  overflow: hidden;
  cursor: crosshair;
}

.zoom-container img {
  width: 100%;
  display: block;
}

.zoom-lens {
  position: absolute;
  border: 1px solid #ccc;
  width: 200px;
  height: 200px;
  background-repeat: no-repeat;
  border-radius: 50%;
  pointer-events: none;
  display: none;
  box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.zoom-container:hover .zoom-lens {
  display: block;
}
