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

:root {
  /* Ultra Modern Elegant Theme */
  --primary-color: #521EA9; /* Deep Purple */
  --secondary-color: #E8E2F5; /* Soft Purple accent */
  --accent-color: #A37A74; /* Muted Rose accent */
  --text-dark: #1A1A1A;
  --text-light: #737373;
  --bg-color: #FFFFFF;
  --bg-alt: #F9F9F9;
  --white: #FFFFFF;
  --border-color: #EAEAEA;
  --success: #28a745;
  
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Outfit', sans-serif;
  
  --shadow-sm: 0 4px 20px rgba(0,0,0,0.03);
  --shadow-md: 0 10px 30px rgba(0,0,0,0.06);
  --shadow-lg: 0 20px 40px rgba(82,30,169,0.15);
  
  --transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 4px;
  --radius-md: 12px;
  --radius-lg: 24px;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 400;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 32px;
  background-color: var(--primary-color);
  color: var(--white);
  border: 1px solid var(--primary-color);
  border-radius: 100px; /* Pill shape for modern look */
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  text-align: center;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

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

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 1px solid var(--border-color);
}

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

.btn-full {
  width: 100%;
}

.btn-whatsapp {
  background-color: #25D366;
  color: white;
  border-color: #25D366;
}

.btn-whatsapp:hover {
  background-color: #1DA851;
  border-color: #1DA851;
  color: white;
}

/* Utilities */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 100px 0;
}

.text-center {
  text-align: center;
}

/* Sticky Top Bar */
.top-bar {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  text-align: center;
  padding: 12px;
  font-size: 0.85rem;
  font-weight: 500;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.top-bar .timer {
  background: var(--primary-color);
  color: var(--white);
  padding: 4px 10px;
  border-radius: 100px;
  font-weight: 600;
}

/* Header & Nav */
.header {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border-color);
  position: sticky;
  top: 45px; /* Below top bar */
  z-index: 999;
  transition: var(--transition);
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  max-width: 1280px;
  margin: 0 auto;
}

.logo img {
  height: 45px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  font-weight: 400;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  position: relative;
  transition: var(--transition);
  color: var(--text-light);
}

.nav-links a:hover, .nav-links a.active {
  color: var(--primary-color);
}

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

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

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-dark);
}

/* SPA Views */
.view {
  display: none;
  animation: fadeUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  min-height: calc(100vh - 200px);
  opacity: 0;
}

.view.active {
  display: block;
}

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

/* Home View */
.hero {
  background-image: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.6)), url('https://images.unsplash.com/photo-1596700813959-1e35d10b7d34?q=80&w=1920&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--primary-color);
  height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

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

.hero-content h1 {
  font-size: 4.5rem;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.1;
  font-style: italic;
}

.hero-content p {
  font-size: 1.2rem;
  color: var(--white);
  margin-bottom: 40px;
  font-weight: 300;
  letter-spacing: 1px;
}

/* Products Grid */
.section-title {
  text-align: center;
  font-size: 2.8rem;
  margin-bottom: 60px;
  color: var(--primary-color);
  font-weight: 400;
}

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

.product-card {
  background: transparent;
  border-radius: 0;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
}

.product-image-container {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
  background-color: var(--bg-alt);
  border-radius: var(--radius-md);
  margin-bottom: 15px;
}

.product-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.sale-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background-color: var(--white);
  color: var(--primary-color);
  padding: 6px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 100px;
  text-transform: uppercase;
  letter-spacing: 1px;
  box-shadow: var(--shadow-sm);
  z-index: 10;
}

.product-info {
  text-align: center;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.product-title {
  font-size: 1.1rem;
  font-weight: 400;
  margin-bottom: 10px;
  color: var(--primary-color);
  font-family: var(--font-body);
}

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

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

.price-original {
  font-size: 0.95rem;
  color: var(--text-light);
  text-decoration: line-through;
}

.product-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0 5px;
  margin-top: auto;
}

.product-actions .btn {
  padding: 8px 15px;
  font-size: 0.85rem;
  letter-spacing: 1px;
  width: 100%;
}

/* Feature & Testimonial Sections (New) */
.features-section {
  background-color: var(--bg-alt);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  text-align: center;
}

.feature-item {
  padding: 30px;
}

.feature-icon {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 20px;
}

.feature-item h3 {
  font-family: var(--font-body);
  font-size: 1.2rem;
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--text-light);
  font-size: 0.95rem;
}

.reviews-section {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 80px 0;
}

.reviews-section .section-title {
  color: var(--white);
}

.reviews-grid {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding-bottom: 20px;
  scrollbar-width: thin;
}

.review-card {
  min-width: 320px;
  background: rgba(255, 255, 255, 0.1);
  padding: 40px 30px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(5px);
}

.review-stars {
  color: #F59E0B;
  margin-bottom: 15px;
  font-size: 1.1rem;
}

.review-text {
  font-size: 1.05rem;
  font-style: italic;
  margin-bottom: 20px;
  color: var(--white);
}

.review-author {
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--secondary-color);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Animations & Marquee */
.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

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

.marquee-container {
  overflow: hidden;
  background: var(--primary-color);
  color: var(--white);
  padding: 12px 0;
  white-space: nowrap;
  display: flex;
}

.marquee-content {
  display: flex;
  animation: marquee 25s linear infinite;
}

.marquee-item {
  padding: 0 40px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  gap: 15px;
}
.marquee-item i {
  color: var(--secondary-color);
}

/* Product Detail View */
.product-detail-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  margin-top: 20px;
}

.detail-image img {
  width: 100%;
  border-radius: var(--radius-md);
  background-color: var(--bg-alt);
}

.detail-info {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  padding-top: 20px;
  padding-left: 30px; /* Push content to the right */
  text-align: left;
}

.detail-title {
  font-size: 3rem;
  margin-bottom: 15px;
  color: var(--text-dark);
}

.detail-stats {
  display: flex;
  gap: 20px;
  margin-bottom: 30px;
  font-size: 0.9rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.rating {
  color: var(--text-dark);
  font-weight: 500;
}

.detail-price {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

.detail-price .price-offer {
  font-size: 2.2rem;
  font-weight: 400;
}
.detail-price .price-original {
  font-size: 1.2rem;
}
.save-tag {
  background-color: var(--secondary-color);
  color: var(--primary-color);
  padding: 6px 12px;
  border-radius: 100px;
  font-weight: 500;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.trust-badges {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 400;
  color: var(--text-dark);
  font-size: 0.9rem;
}
.trust-badge i {
  color: var(--text-light);
  font-size: 1.2rem;
}

.buy-action {
  margin-top: 20px;
}

/* Accordion */
.accordion {
  margin-top: 30px;
  border-top: 1px solid var(--border-color);
}
.accordion-item {
  border-bottom: 1px solid var(--border-color);
}
.accordion-header {
  width: 100%;
  text-align: left;
  padding: 18px 0;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--text-dark);
  transition: var(--transition);
}
.accordion-header:hover {
  color: var(--primary-color);
}
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  color: var(--text-light);
  font-size: 0.95rem;
}
.accordion-content p {
  padding-bottom: 15px;
}
.accordion-header.active .fa-chevron-down {
  transform: rotate(180deg);
}
.fa-chevron-down {
  transition: transform 0.3s ease;
}

/* Modal - Checkout Form */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
  backdrop-filter: blur(8px);
}

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

.modal-content {
  background: var(--white);
  padding: 50px;
  border-radius: var(--radius-md);
  width: 90%;
  max-width: 550px;
  position: relative;
  transform: translateY(20px);
  transition: var(--transition);
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 25px;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  border: none;
  background: none;
  transition: var(--transition);
}
.close-modal:hover {
  color: var(--primary-color);
  transform: rotate(90deg);
}

.modal-title {
  margin-bottom: 30px;
  font-size: 2rem;
  color: var(--primary-color);
  text-align: center;
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 15px;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 1rem;
  transition: var(--transition);
  background-color: var(--bg-alt);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--primary-color);
  background-color: var(--white);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Cart Drawer */
.cart-drawer {
  position: fixed;
  top: 0;
  right: -450px;
  width: 100%;
  max-width: 400px;
  height: 100vh;
  background: var(--white);
  box-shadow: -5px 0 30px rgba(0,0,0,0.1);
  z-index: 2001;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

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

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

.cart-header h2 {
  font-family: var(--font-body);
  font-size: 1.5rem;
  margin: 0;
  color: var(--text-dark);
}

.cart-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--text-light);
  transition: var(--transition);
}

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

.cart-items {
  flex-grow: 1;
  overflow-y: auto;
  padding: 20px 25px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.cart-item-img {
  width: 80px;
  height: 100px;
  object-fit: cover;
  border-radius: var(--radius-sm);
  background: var(--bg-alt);
}

.cart-item-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

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

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

.cart-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 10px;
}

.qty-control {
  display: flex;
  align-items: center;
  border: 1px solid var(--border-color);
  border-radius: 4px;
}

.qty-btn {
  background: none;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  color: var(--text-dark);
}

.qty-input {
  width: 30px;
  text-align: center;
  border: none;
  font-family: var(--font-body);
  font-size: 0.9rem;
}

.remove-item {
  background: none;
  border: none;
  color: #dc3545;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
}

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

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

.cart-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  backdrop-filter: blur(4px);
  z-index: 2000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

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

.floating-cart-btn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  cursor: pointer;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.floating-cart-btn:hover {
  transform: scale(1.1);
  background-color: var(--secondary-color);
  color: var(--primary-color);
}

.cart-badge {
  position: absolute;
  top: 0;
  right: 0;
  background: #dc3545; /* Red badge to stand out */
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 600;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-sm);
}

/* About Us View */
.about-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.about-content p {
  font-size: 1.2rem;
  color: var(--text-light);
  margin-bottom: 25px;
  font-weight: 300;
}
.about-logo {
  max-width: 150px;
  margin: 0 auto 40px;
}

/* Footer */
.footer {
  background-color: var(--bg-alt);
  color: var(--text-dark);
  padding: 80px 0 30px;
  margin-top: 80px;
  border-top: 1px solid var(--border-color);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 60px;
  margin-bottom: 60px;
}

.footer-col h4 {
  font-size: 1.1rem;
  margin-bottom: 25px;
  color: var(--primary-color);
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 1.5px;
}

.footer-col p, .footer-col li {
  color: var(--text-light);
  margin-bottom: 15px;
  font-size: 0.95rem;
}

.footer-col ul {
  list-style: none;
}

.footer-col a {
  transition: var(--transition);
}

.footer-col a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-light);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 900px) {
  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  
  .product-title {
    font-size: 0.95rem;
  }
  
  .price-offer {
    font-size: 1rem;
  }
  
  .product-actions .btn {
    padding: 6px 10px;
    font-size: 0.75rem;
  }

  .nav-container {
    justify-content: space-between;
  }
  
  .menu-toggle {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    padding: 30px;
    box-shadow: var(--shadow-md);
    text-align: left; /* Menu items aligned to the left */
    border-bottom: 1px solid var(--border-color);
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .hero-content h1 {
    font-size: 3rem;
  }
  
  .product-detail-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .top-bar {
    font-size: 0.75rem;
    padding: 10px;
  }
  
  .detail-title {
    font-size: 1.8rem;
    line-height: 1.3;
    word-wrap: break-word;
    margin-bottom: 10px;
  }

  .detail-stats {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 20px;
  }

  .detail-price {
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
    padding-bottom: 20px;
  }

  .detail-price .price-offer {
    font-size: 1.8rem;
  }
  
  .floating-cart-btn {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
    font-size: 1.2rem;
  }
  
  .section-title {
    font-size: 2.2rem;
    margin-bottom: 40px;
  }
}
