/* ========================================
   ODALISKAA NAILS - CUSTOM STYLES
   ======================================== */

/* ========================================
   1. FONTS & TYPOGRAPHY
   ======================================== */
body {
  font-family: 'Manrope', sans-serif;
}

.font-serif {
  font-family: 'Cormorant Garamond', serif;
}

/* ========================================
   2. HERO SECTION
   ======================================== */
.hero-gradient {
  background:
    linear-gradient(135deg, rgba(199, 161, 228, 0.7) 0%, rgba(205, 186, 114, 0.7) 100%),
    url('../img/bg-mobile.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
  overflow: hidden;
}

@media (min-width: 768px) {
  .hero-gradient {
    background:
      linear-gradient(135deg, rgba(199, 161, 228, 0.7) 0%, rgba(205, 186, 114, 0.7) 100%),
      url('../img/bg-desktop.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }
}

.orchid-pattern {
  position: relative;
}

.orchid-pattern::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 60% 90%, rgba(205, 186, 114, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

/* Sparkle animation */
@keyframes sparkle {
  0%, 100% {
    opacity: 0;
    transform: scale(0);
  }
  50% {
    opacity: 1;
    transform: scale(1);
  }
}

.sparkle {
  animation: sparkle 3s ease-in-out infinite;
}

/* ========================================
   3. NAVIGATION
   ======================================== */
.nav-blur {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.text-gradient {
  background: linear-gradient(135deg, #c7a1e4, #cdba72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ========================================
   4. BUTTONS
   ======================================== */
.btn-primary {
  background: linear-gradient(135deg, #c7a1e4, #cdba72);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #cdba72, #c7a1e4);
  transition: left 0.3s ease;
}

.btn-primary:hover::before {
  left: 0;
}

.btn-primary > * {
  position: relative;
  z-index: 1;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

/* ========================================
   5. CARDS
   ======================================== */
.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(199, 161, 228, 0.2);
}

/* ========================================
   6. SERVICES SECTION
   ======================================== */
.scroll-snap {
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
}

.scroll-snap > * {
  scroll-snap-align: center;
}

.hide-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Service card images */
.service-icon-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: none; /* Hidden by default */
}

/* Mobile service cards - show only one at a time */
@media (max-width: 767px) {
  #servicios .flex.overflow-x-auto {
    scroll-snap-type: x mandatory;
    scroll-padding: 1rem;
  }

  #servicios article {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}

/* ========================================
   7. ABOUT SECTION - REDESIGNED
   ======================================== */
.about-section {
  background: linear-gradient(135deg, #faf8ff 0%, #fff9f5 100%);
  padding: 4rem 1rem;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(199, 161, 228, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.about-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (min-width: 768px) {
  .about-section {
    padding: 6rem 2rem;
  }

  .about-inner {
    flex-direction: row;
    gap: 4rem;
  }
}

.about-media {
  flex-shrink: 0;
  position: relative;
}

.about-photo {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  object-fit: cover;
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.5),
    0 0 0 20px rgba(199, 161, 228, 0.2),
    0 20px 40px rgba(199, 161, 228, 0.3);
  transition: all 0.3s ease;
}

.about-photo:hover {
  transform: scale(1.05);
  box-shadow:
    0 0 0 10px rgba(255, 255, 255, 0.6),
    0 0 0 20px rgba(199, 161, 228, 0.3),
    0 25px 50px rgba(199, 161, 228, 0.4);
}

@media (min-width: 768px) {
  .about-photo {
    width: 350px;
    height: 350px;
  }
}

.about-content {
  flex: 1;
  max-width: 600px;
}

.about-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, #c7a1e4, #cdba72);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 1.5rem;
  line-height: 1.2;
}

@media (min-width: 768px) {
  .about-title {
    font-size: 3.5rem;
  }
}

.about-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.125rem;
  line-height: 1.8;
  color: #4a5568;
  margin-bottom: 2rem;
  font-style: italic;
}

.about-text em {
  font-weight: 600;
  color: #c7a1e4;
  font-style: normal;
}

@media (min-width: 768px) {
  .about-text {
    font-size: 1.25rem;
  }
}

.about-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-bullets li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: #2d3748;
  font-weight: 500;
  padding: 0.75rem 1rem;
  background: rgba(255, 255, 255, 0.7);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(199, 161, 228, 0.1);
  transition: all 0.3s ease;
}

.about-bullets li:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateX(5px);
  box-shadow: 0 4px 12px rgba(199, 161, 228, 0.2);
}

.about-bullets li::before {
  content: '✨';
  font-size: 1.25rem;
  flex-shrink: 0;
}

.about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 2rem;
  background: linear-gradient(135deg, #c7a1e4, #cdba72);
  color: white;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(199, 161, 228, 0.4);
}

.about-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(199, 161, 228, 0.5);
}

/* ========================================
   8. GALLERY SECTION
   ======================================== */
.gallery-section {
  background: white;
  padding: 4rem 1rem;
}

@media (min-width: 768px) {
  .gallery-section {
    padding: 6rem 2rem;
  }
}

.gallery-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: #2d3748;
  margin-bottom: 0.5rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.gallery-subtitle {
  text-align: center;
  font-size: 1rem;
  color: #718096;
  margin-bottom: 3rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }
}

@media (min-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

.gallery-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  aspect-ratio: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(199, 161, 228, 0.3);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-card:hover img {
  transform: scale(1.1);
}

/* ========================================
   9. FLOATING ELEMENTS
   ======================================== */
.floating-cta {
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* ========================================
   10. UTILITY CLASSES
   ======================================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}

/* Selection color */
::selection {
  background-color: #c7a1e4;
  color: white;
}

::-moz-selection {
  background-color: #c7a1e4;
  color: white;
}
