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

:root {
  /* Color Palette */
  --primary-color: #E51A65;
  --primary-hover: #C8155A;
  --secondary-color: #A0AEC0;
  --text-color: #1A202C;
  --text-light: #4A5568;
  --bg-white: #FFFFFF;
  --bg-light: #F7FAFC;
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Montserrat', sans-serif;
  
  /* Spacing */
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 2rem;
  --spacing-xl: 4rem;
  
  /* Border Radius */
  --border-radius: 8px;
  --border-radius-lg: 16px;
  --border-radius-pill: 50px;
  
  /* Shadows */
  --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  --box-shadow-hover: 0 10px 20px rgba(229, 26, 101, 0.15);
  
  /* Transitions */
  --transition: all 0.3s ease;
}

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

body {
  font-family: var(--font-body);
  color: var(--text-color);
  background-color: var(--bg-white);
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: 80px; /* For fixed navbar */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-color);
  margin-bottom: var(--spacing-md);
  font-weight: 700;
}

p {
  margin-bottom: var(--spacing-md);
  color: var(--text-light);
}

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

ul {
  list-style: none;
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Navigation Menu */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  z-index: 1000;
  transition: var(--transition);
  height: 80px;
}

.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
}

.logo {
  max-height: 50px;
  width: auto;
  display: block;
  transition: transform var(--transition);
}

.logo:hover {
  transform: scale(1.05);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links li a {
  font-weight: 500;
  color: var(--text-color);
  position: relative;
  font-size: 1rem;
}

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

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

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

/* Language Selector */
.lang-selector {
  display: flex;
  gap: 0.5rem;
  margin-left: 2rem;
  padding-left: 2rem;
  border-left: 1px solid var(--secondary-color);
}

.lang-selector button {
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--secondary-color);
  transition: var(--transition);
  padding: 0.3rem 0.5rem;
  border-radius: var(--border-radius);
}

.lang-selector button:hover {
  color: var(--primary-color);
  background-color: var(--bg-light);
}

.lang-selector button.active {
  color: var(--bg-white);
  background-color: var(--primary-color);
}

/* Hamburger Menu */
.hamburger {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.hamburger span {
  width: 25px;
  height: 2px;
  background-color: var(--text-color);
  transition: var(--transition);
  border-radius: 2px;
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 400px;
    height: 100vh;
    background-color: var(--bg-white);
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    gap: 2rem;
    transition: var(--transition);
    box-shadow: -5px 0 15px rgba(0,0,0,0.1);
  }
  
  .nav-links.active {
    right: 0;
  }
  
  .hamburger {
    display: flex;
  }
  
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
  }
  
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -7px);
  }
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  font-family: var(--font-body);
  font-weight: 600;
  text-align: center;
  border-radius: var(--border-radius-pill);
  cursor: pointer;
  transition: var(--transition);
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--bg-white);
  box-shadow: 0 4px 15px rgba(229, 26, 101, 0.4);
}

.btn-primary:hover {
  background-color: var(--primary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(229, 26, 101, 0.5);
  color: var(--bg-white);
}

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

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--bg-white);
  transform: translateY(-2px);
}

/* Product Cards */
.products-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
}

.section-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xl);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

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

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

.product-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  position: relative;
}

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

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

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

.product-img-wrapper {
  overflow: hidden;
  position: relative;
}

.product-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: 0.3rem 1rem;
  border-radius: var(--border-radius-pill);
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.product-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  z-index: 2;
  background: var(--bg-white);
}

.product-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  font-family: var(--font-heading);
}

.product-desc {
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

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

/* Wave Divider and Colored Sections */
.bg-primary-section {
  position: relative;
  background-color: var(--primary-color);
  color: var(--bg-white);
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.bg-primary-section h1, 
.bg-primary-section h2, 
.bg-primary-section h3, 
.bg-primary-section p {
  color: var(--bg-white);
}

.bg-primary-section .section-title::after {
  background-color: var(--bg-white);
}

/* Base style for wave dividers */
.wave-divider {
  position: absolute;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
}

.wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 80px;
}

.wave-divider .shape-fill {
  fill: var(--bg-white);
}

.wave-divider-top {
  top: -79px;
  transform: rotate(180deg);
}

.wave-divider-top .shape-fill {
  fill: var(--primary-color);
}

.wave-divider-bottom {
  bottom: 0;
}

.wave-divider-bottom .shape-fill {
  fill: var(--bg-light); /* Or whichever background is below it */
}

/* Footer Simplificado */
.footer {
  background-color: var(--text-color);
  color: var(--secondary-color);
  padding: 2rem 0;
  font-size: 0.95rem;
}

.footer-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-left p {
  margin-bottom: 0.5rem;
  color: var(--bg-white);
}

.footer-links a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: var(--transition);
  margin-right: 1rem;
  font-size: 0.85rem;
}

.footer-links a:hover {
  color: var(--primary-color);
}

.footer-right {
  text-align: right;
  color: var(--bg-light);
  font-weight: 500;
  font-style: italic;
}

@media (max-width: 768px) {
  .footer-flex {
    flex-direction: column;
    text-align: center;
    align-items: center;
  }
  .footer-right {
    text-align: center;
    margin-top: 1rem;
  }
  .footer-links a {
    margin: 0 0.5rem;
  }
}

/* Helper Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: var(--spacing-sm); }
.mt-2 { margin-top: var(--spacing-md); }
.mt-3 { margin-top: var(--spacing-lg); }
.mt-4 { margin-top: var(--spacing-xl); }
.mb-1 { margin-bottom: var(--spacing-sm); }
.mb-2 { margin-bottom: var(--spacing-md); }
.mb-3 { margin-bottom: var(--spacing-lg); }
.mb-4 { margin-bottom: var(--spacing-xl); }

/* Stores Section */
.stores-section {
  padding: var(--spacing-xl) 0;
  background-color: var(--bg-light);
  min-height: calc(100vh - 80px - 200px); /* Fill the screen roughly */
}

.stores-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

@media (max-width: 992px) {
  .stores-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  }
}

@media (max-width: 768px) {
  .stores-grid {
    grid-template-columns: 1fr;
  }
}

.store-card {
  background-color: var(--bg-white);
  border-radius: var(--border-radius-lg);
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.store-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--box-shadow-hover);
}

.store-map {
  width: 100%;
  height: 250px;
  background-color: #E2E8F0;
}

.store-map iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.store-info {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.store-title {
  color: var(--primary-color);
  font-size: 1.4rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.store-address {
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.store-address p {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.store-address i {
  color: var(--primary-color);
  margin-top: 0.3rem; /* Align perfectly with text */
}




/* Advanced Drag-and-Scroll Testimonials Carousel */
.advanced-carousel-section {
  user-select: none;
}

.carousel-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  cursor: grab;
  /* Hide scrollbar for Chrome, Safari and Opera */
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
  padding: 1rem 0 3rem 0; /* Extra padding for card shadows */
}

.carousel-wrapper::-webkit-scrollbar {
  display: none;
}

.carousel-wrapper:active {
  cursor: grabbing;
}

.carousel-track {
  display: flex;
  gap: 2rem;
  padding: 0 5vw; /* Start with an offset */
  flex-wrap: nowrap;
  width: max-content;
  pointer-events: none; /* Let the wrapper handle interaction to prevent image drag interference */
}

/* Permit pointer events on elements inside cards if they were links, but currently they are text */

.testimonial-card {
  background-color: var(--bg-white, #FFFFFF);
  min-width: 340px;
  width: 80vw;
  max-width: 400px;
  border-radius: 1.5rem;
  box-shadow: 0 10px 30px rgba(26, 32, 44, 0.08);
  padding: 2.5rem 2rem;
  border-top: 6px solid var(--primary-color, #E51A65);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease;
  pointer-events: auto; /* Re-enable pointer events inside cards */
}

.testimonial-card:hover {
  transform: translateY(-5px);
}

.card-header {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  margin-bottom: 1.5rem;
}

.testimonial-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-color, #E51A65);
}

.client-name {
  font-family: 'Playfair Display', serif;
  color: var(--text-color, #1A202C);
  font-size: 1.2rem;
  margin-bottom: 0.2rem;
  font-weight: 700;
}

.stars {
  font-size: 1rem;
  letter-spacing: 2px;
}

.testimonial-text {
  font-family: 'Montserrat', sans-serif;
  color: #4A5568; /* Gris suave */
  font-size: 1.05rem;
  line-height: 1.7;
  font-style: italic;
}

@media (min-width: 768px) {
  .testimonial-card {
    min-width: 380px;
    width: 380px;
  }
}
