@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;700&display=swap');

:root {
  /* Pastel Soft Color Palette */
  --primary-color: #d19a9a; /* Soft Dusty Pink */
  --secondary-color: #aeb8a0; /* Pastel Sage Green */
  --accent-color: #e0bfae; /* Pastel Peach */
  --text-dark: #3b3633; /* Warm Dark Ash */
  --text-light: #8f8883; /* Warm Gray */
  --bg-light: #faf7f5; /* Soft Creamy Pearl */
  --white: #ffffff;
  --navbar-bg: rgba(250, 247, 245, 0.9); /* Transparent cream */
  --primary-gradient: linear-gradient(135deg, #e0bfae 0%, #d19a9a 100%);
}

body {
  font-family: 'Inter', sans-serif;
  color: var(--text-dark);
  background-color: var(--bg-light);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  color: var(--text-dark);
}

/* Typography Utilities */
.text-primary-custom {
  color: var(--primary-color) !important;
}

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

.bg-moda-gradient {
  background: var(--primary-gradient);
  color: white;
}

/* Navbar (Glassmorphism) */
.navbar {
  background: var(--navbar-bg);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.navbar-brand {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  letter-spacing: 1px;
  background: -webkit-linear-gradient(45deg, var(--primary-color), var(--text-dark));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.nav-link {
  font-weight: 500;
  color: var(--text-dark) !important;
  margin: 0 10px;
  transition: color 0.3s ease;
  position: relative;
}

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

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

/* Hero Section */
.hero-section {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  background: linear-gradient(135deg, rgba(156, 188, 217, 0.2) 0%, rgba(208, 226, 242, 0.3) 100%);
  overflow: hidden;
}

.hero-img-container img {
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  transform: translateY(0);
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }

  50% {
    transform: translateY(-20px);
  }

  100% {
    transform: translateY(0px);
  }
}

/* Hero Carousel Responsive Height */
.hero-carousel-item {
  height: 75vh;
  width: 100%;
}
@media (max-width: 991px) {
  .hero-carousel-item {
    height: 55vh;
  }
}
@media (max-width: 768px) {
  .hero-carousel-item {
    height: 45vh;
  }
}
@media (max-width: 576px) {
  .hero-carousel-item {
    height: 38vh;
  }
}

/* Enhanced Carousel Captions */
.carousel-caption {
  border-radius: 40px;
  padding: 40px !important;
  max-width: 750px;
  height: fit-content;
  margin: auto;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
}

.carousel-caption h1 {
  font-size: 2.8rem;
  font-weight: 800;
}

.carousel-caption p {
  font-size: 1.1rem;
  font-weight: 300;
}


.carousel-item img {
  filter: brightness(0.92) contrast(1.05);
  /* Make text pop more */
}


/* Primary Button */
.btn-custom {
  background: var(--primary-gradient);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 10px 20px rgba(78, 132, 166, 0.3);
}

.btn-custom:hover {
  background: linear-gradient(135deg, #3E4C59 0%, #4E84A6 100%);
  transform: translateY(-3px);
  box-shadow: 0 15px 25px rgba(78, 132, 166, 0.4);
  color: #fff;
}

/* Feature Cards (Glassmorphism & Hover effects) */
.feature-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 16px;
  padding: 30px;
  text-align: center;
  transition: all 0.4s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.9);
}

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

/* Product Gallery */
.product-card {
  border: none;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: all 0.4s ease;
}

.product-card:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-card img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 4;
  object-fit: contain;
  background-color: #f1f1f1;
  transition: all 0.5s ease;
}

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

.product-card .card-body {
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(5px);
  transition: all 0.3s ease;
}


/* Footer */
footer {
  background-color: var(--text-dark);
  color: var(--bg-light);
  padding: 60px 0 20px;
  border-top-left-radius: 40px;
  border-top-right-radius: 40px;
}

footer a {
  color: var(--bg-light);
  text-decoration: none;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

footer a:hover {
  opacity: 1;
  color: var(--primary-color);
}

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

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

/* Social Media Brand Colors */
.icon-facebook {
  color: #1877F2 !important;
}

.icon-instagram {
  color: #E1306C !important;
}

.icon-tiktok {
  color: #000000 !important;
}

.icon-x {
  color: #000000 !important;
}

/* Ensure header icons stand out on white background */
.navbar .bg-white i {
  transition: transform 0.3s ease;
}

.navbar .bg-white:hover i {
  transform: scale(1.2);
}


/* Skeletons & Layout Utilities for Subpages */
.page-header {
  padding: 80px 0 25px;
  background: linear-gradient(135deg, rgba(78, 132, 166, 0.05) 0%, rgba(156, 188, 217, 0.1) 100%);
  text-align: center;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
  margin-bottom: 0px;
}

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

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

/* Messaging Floating Buttons */
.whatsapp-float,
.telegram-float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.whatsapp-float {
  right: 110px;
  /* Moved left to make room for Telegram */
  background-color: #25d366;
}

.telegram-float {
  right: 40px;
  background-color: #0088cc;
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: #FFF;
  transform: translateY(-5px);
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.2);
}

.telegram-float:hover {
  background-color: #0077b3;
  color: #FFF;
  transform: translateY(-5px);
  box-shadow: 2px 5px 15px rgba(0, 0, 0, 0.2);
}

/* Cookie Banner (Glassmorphism & Brand Matching) */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.08);
  display: none;
  /* Hidden by default, JS handles display */
  animation: slideUp 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.cookie-text {
  font-size: 0.95rem;
  color: var(--text-dark);
  margin: 0;
  line-height: 1.6;
}

.cookie-text a {
  color: var(--primary-color);
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid rgba(78, 132, 166, 0.2);
  transition: all 0.3s ease;
}

.cookie-text a:hover {
  border-bottom-color: var(--primary-color);
}

.btn-accept {
  background: var(--primary-gradient);
  color: white !important;
  border: none;
  padding: 10px 30px;
  border-radius: 50px;
  font-size: 0.95rem;
  font-weight: 600;
  white-space: nowrap;
  transition: all 0.3s ease;
  box-shadow: 0 8px 20px rgba(78, 132, 166, 0.2);
}

.btn-accept:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(78, 132, 166, 0.4);
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }

  .btn-accept {
    width: 100%;
  }
}

/* --- Product Detail Enhancements --- */

/* 3:4 Aspect Ratio Image Container */
.main-img-container {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  overflow: hidden;
  border-radius: 20px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.1);
  cursor: zoom-in;
  background-color: #f1f1f1;
}

.main-img-container img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.main-img-container:hover img {
  transform: scale(1.08);
}

/* Thumbnails */
.thumb-img {
  aspect-ratio: 3/4;
  object-fit: cover;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 3px solid transparent;
}

.thumb-img:hover {
  opacity: 1 !important;
  transform: translateY(-3px);
}

.thumb-img.active {
  border-color: var(--primary-color);
  opacity: 1 !important;
}

/* Color Swatches */
.color-swatch {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  border: 2px solid #eee;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 3px;
  background-clip: content-box;
  display: inline-block;
}

.color-swatch.active {
  border-color: var(--primary-color);
  box-shadow: 0 0 10px rgba(78, 132, 166, 0.2);
}

.color-swatch:hover {
  transform: scale(1.15);
}

/* Size Selectors */
.size-btn {
  min-width: 33px;
  height: 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid #eee;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 600;
  font-size: 0.75rem;
  background: white;
  color: var(--text-dark);
}

.size-btn.active {
  border-color: var(--primary-color);
  background-color: rgba(78, 132, 166, 0.05);
  color: var(--primary-color);
  box-shadow: 0 4px 12px rgba(78, 132, 166, 0.1);
}

.size-btn:hover:not(.active) {
  border-color: #bbb;
  background-color: #f9f9f9;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.96);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(5px);
}

.lightbox-modal img {
  max-width: 95%;
  max-height: 95vh;
  object-fit: contain;
  border-radius: 8px;
  animation: lightboxZoom 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
}

@keyframes lightboxZoom {
  from {
    transform: scale(0.7);
    opacity: 0;
  }

  to {
    transform: scale(1);
    opacity: 1;
  }
}

.lightbox-close {
  position: absolute;
  top: 30px;
  right: 40px;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  opacity: 0.7;
  transition: opacity 0.3s;
}

.lightbox-close:hover {
  opacity: 1;
}

/* Product Filter Pills */
.filter-pills {
  background-color: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
}

.btn-filter {
  border: none !important;
  background: transparent !important;
  color: #666;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  outline: none;
}

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

.btn-filter.active {
  background: var(--primary-gradient) !important;
  color: white !important;
  box-shadow: 0 4px 15px rgba(78, 132, 166, 0.3);
}

/* Hide scrollbars but keep functionality */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}