/* Reset y variables CSS */
:root {
  --primary-color: #d4af37;
  --secondary-color: #2c2c2c;
  --accent-color: #8b6914;
  --text-light: #f8f9fa;
  --text-dark: #212529;
  --background-pattern: rgba(212, 175, 55, 0.05);
}

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

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
}

/* Typography */
.hero-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(3rem, 8vw, 6rem);
  font-weight: 600;
  line-height: 0.9;
  letter-spacing: -0.02em;
}

.hero-line {
  display: block;
  opacity: 0;
  transform: translateY(50px);
  animation: slideInUp 0.8s ease forwards;
}

.hero-line:nth-child(1) { animation-delay: 0.2s; }
.hero-line:nth-child(2) { animation-delay: 0.4s; }
.hero-line:nth-child(3) { animation-delay: 0.6s; }

.hero-line.accent {
  color: var(--primary-color);
}

.section-title {
  font-family: 'Oswald', sans-serif;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 500;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6c757d;
  margin-bottom: 2rem;
}

/* Navigation */
.navbar {
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  padding: 1rem 0;
}

.navbar-scrolled {
  background: rgba(0, 0, 0, 0.98);
  padding: 0.5rem 0;
}

.logo-text {
  font-family: 'Oswald', sans-serif;
  font-size: 2rem;
  font-weight: 600;
  color: var(--primary-color);
  letter-spacing: 0.1em;
}

.navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
  color: var(--primary-color) !important;
}

/* Hero Section */
.hero-section {
  background: linear-gradient(135deg, #1a1a1a 0%, #2c2c2c 100%);
  color: var(--text-light);
  position: relative;
  overflow: hidden;
  padding-top: 100px!important;
}

.hero-section .btn{
  margin-bottom: 10px;
}

html{
  overflow-x: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23d4af37" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-subtitle {
  font-size: 1.3rem;
  margin: 2rem 0;
  opacity: 0;
  animation: fadeInUp 1s ease 0.8s forwards;
}

.hero-actions {
  opacity: 0;
  animation: fadeInUp 1s ease 1s forwards;
}

.hero-image img {
  opacity: 0;
  animation: fadeInUp 1s ease 0.4s forwards;
}

/* Background Patterns */
.bg-pattern-1 {
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
  position: relative;
}

.bg-pattern-1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><rect width="60" height="60" fill="none"/><path d="M30 30l15-15v30z" fill="%23d4af37" opacity="0.05"/></svg>');
  background-size: 60px 60px;
}
#scroll-top-btn{
  display: none!important;
}
.bg-pattern-2 {
  background: linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff),
              linear-gradient(45deg, #fff 25%, transparent 25%, transparent 75%, #fff 75%, #fff);
  background-color: #f8f9fa;
  background-size: 20px 20px;
  background-position: 0 0, 10px 10px;
}

.bg-pattern-3 {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-color) 100%);
  position: relative;
}

.bg-pattern-3::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 40 40"><circle cx="20" cy="20" r="2" fill="white" opacity="0.1"/></svg>');
  background-size: 40px 40px;
}
.navbar-brand img{
    max-width: 200px;
    width: 200px;
    object-fit: contain;
}

html{
    overflow-x: hidden;
}
/* Buttons */
.btn-primary {
  background: var(--primary-color);
  border-color: var(--primary-color);
  font-weight: 600;
  letter-spacing: 0.05em;
  padding: 0.75rem 2rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: var(--accent-color);
  border-color: var(--accent-color);
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.btn-outline-light:hover {
  background: transparent;
  border-color: var(--primary-color);
  color: var(--primary-color);
}

/* Lab Slider */
.lab-slider {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.lab-slider .swiper-slide {
  position: relative;
}

.slide-caption {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 5px;
  font-weight: 600;
}

.swiper-pagination-bullet-active {
  background: var(--primary-color) !important;
}

/* Product Cards */
.product-card {
  background: var(--secondary-color);
  border-radius: 15px;
  overflow: hidden;
  transition: transform 0.3s ease;
  cursor: pointer;
}

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

.product-image {
  position: relative;
  overflow: hidden;
}

.product-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(212, 175, 55, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
  opacity: 1;
}

.product-info {
  padding: 1.5rem;
  text-align: center;
}

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

/* Service Featured */
.service-featured {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
}

.featured-badge {
  position: absolute;
  top: -10px;
  left: 2rem;
  background: var(--primary-color);
  color: white;
  padding: 0.5rem 1.5rem;
  border-radius: 25px;
  font-weight: 600;
  font-size: 0.9rem;
}

.price-tag {
  font-family: 'Oswald', sans-serif;
  font-size: 3rem;
  color: var(--primary-color);
  font-weight: 600;
  margin: 1rem 0;
}

.service-details ul {
  list-style: none;
  padding: 0;
}

.service-details li {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
}

.service-details li i {
  position: absolute;
  left: 0;
  top: 0.2rem;
  color: var(--primary-color);
}

.service-duration {
  background: var(--background-pattern);
  padding: 1rem;
  border-radius: 10px;
  margin-top: 1rem;
  font-weight: 600;
}

/* Ritual Selector */
.ritual-selector {
  background: white;
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.ritual-step {
  margin-bottom: 2rem;
  opacity: 0.5;
  transition: opacity 0.3s ease;
}

.ritual-step.active {
  opacity: 1;
}

.options-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}

.ritual-option {
  background: var(--background-pattern);
  border: 2px solid transparent;
  border-radius: 15px;
  padding: 1.5rem;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
}

.ritual-option:hover {
  border-color: var(--primary-color);
  background: rgba(212, 175, 55, 0.1);
}

.ritual-option.selected {
  background: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.ritual-option i {
  font-size: 2rem;
  display: block;
  margin-bottom: 0.5rem;
}

.ritual-result {
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid var(--background-pattern);
}

.price-display {
  margin-bottom: 1.5rem;
}

.price-label {
  display: block;
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

.price-amount {
  font-family: 'Oswald', sans-serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  font-weight: 600;
}

/* Testimonials */
.testimonial-card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  height: 100%;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.stars {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

.testimonial-author {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-author span {
  display: block;
  opacity: 0.7;
  font-size: 0.9rem;
}

/* Newsletter */
.newsletter-form .input-group {
  max-width: 500px;
  margin: 0 auto;
}

.newsletter-form .form-control {
  border: none;
  border-radius: 50px 0 0 50px;
}

.newsletter-form .btn {
  border-radius: 0 50px 50px 0;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(0, 0, 0, 0.95);
  color: white;
  padding: 1rem 0;
  z-index: 9999;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.cookie-banner.show {
  transform: translateY(0);
}

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

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

/* Responsive */
@media (max-width: 768px) {
  .hero-title {
    font-size: 3rem;
  }
  
  .service-featured,
  .ritual-selector {
    padding: 2rem 1.5rem;
  }
  
  .options-grid {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    margin-bottom: 1rem;
  }
}

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

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

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