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

/* Enhanced Color Variables */
:root {
  /* Primary Colors */
  --primary-grey: #bfb8b8;
  --primary-gold: #f1c40f;
  --primary-emerald: #00d084;
  --primary-coral: #ff4757;
  --primary-indigo: #5742f5;
  --primary-purple: #a742f5;

  /* Neutral Colors */
  --white: #ffffff;
  --gray-50: #f9fafb;
  --gray-100: #f3f4f6;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-400: #9ca3af;
  --gray-500: #6b7280;
  --gray-600: #4b5563;
  --gray-700: #374151;
  --gray-800: #1f2937;
  --gray-900: #111827;

  /* Semantic Colors */
  --text-primary: var(--gray-900);
  --text-secondary: var(--gray-600);
  --text-muted: var(--gray-500);
  --background: var(--white);
  --background-secondary: var(--gray-50);

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-emerald) 100%);
  --gradient-temp: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-coral) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-coral) 0%, var(--primary-indigo) 100%);
  --gradient-tertiary: linear-gradient(135deg, var(--primary-indigo) 0%, var(--primary-purple) 100%);
  --gradient-hero: linear-gradient(
    135deg,
    rgba(241, 196, 15, 0.15) 0%,
    rgba(0, 208, 132, 0.15) 50%,
    rgba(255, 71, 87, 0.1) 100%
  );
}

/* Typography */
body {
  font-family: "Poppins", sans-serif;
  color: var(--text-primary);
  line-height: 1.6;
  background: var(--background);
}

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

/* Navigation */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  z-index: 1000;
  transition: all 0.3s ease;
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow-md);
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Playfair Display", serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #111827;
  /*color: var(--primary-gold);*/
}

.logo i {
  font-size: 1.5rem;
}

.nav-menu {
  display: flex;
  gap: 2rem;
}

.nav-link {
  text-decoration: none;
  color: var(--text-secondary);
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 4px;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  transition: all 0.3s ease;
}

/* Hero Section */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 80px;
}

/* Enhanced comments for easier background image customization */
/* ========================================
   CAMBIAR IMAGEN DE FONDO DEL HERO
   ========================================
   
   INSTRUCCIONES PASO A PASO:
   
   1. Sube tu imagen de fiesta a la carpeta donde tienes estos archivos
   2. Cambia "party-background.png" por el nombre de tu imagen
   3. Ejemplo: background-image: url("mi-imagen-fiesta.jpg");
   
   FORMATOS SOPORTADOS: .jpg, .jpeg, .png, .webp
   
   RECOMENDACIONES:
   - Tamaño mínimo: 1920x1080 píxeles
   - Imagen horizontal funciona mejor
   - Colores vibrantes de fiesta (globos, confeti, decoraciones)
   
   ======================================== */
.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;

  /* AQUÍ CAMBIAS TU IMAGEN DE FONDO: */
  background-image: url("boda002.jpeg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Enhanced overlay for better text readability over party background */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  /*background: #9ca3af;*/
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(241, 196, 15, 0.2) 30%,
    rgba(0, 208, 132, 0.15) 60%,
    rgba(255, 71, 87, 0.15) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  /*background: rgba(241, 196, 15, 0.15);*/
  background: #353a44;
  color: #eceef1;
  /*color: var(--primary-gold);*/
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  /*border: 2px solid rgba(241, 196, 15, 0.3);*/
}

.hero-title {
  font-family: "Playfair Display", serif;
  font-size: 3.75rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
  letter-spacing: -0.02em;
}

.gradient-text {
  background: var(--gradient-temp);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-description {
  font-size: 1.25rem;
  /*color: var(--text-secondary);*/
  color:rgba(255, 255, 255, 0.9);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-weight: 400;
}

/* Hero Visual Cards */
.hero-image-container {
  position: relative;
  height: 500px;
}

.floating-card {
  position: absolute;
  background: var(--white);
  border-radius: 20px;
  padding: 1.5rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-100);
  animation: float 6s ease-in-out infinite;
}

.card-1 {
  top: 0;
  left: 0;
  width: 280px;
  animation-delay: 0s;
}

.card-2 {
  top: 120px;
  right: 0;
  width: 260px;
  animation-delay: -2s;
}

.card-3 {
  bottom: 0;
  left: 50px;
  width: 270px;
  animation-delay: -4s;
}

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

.card-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--gradient-primary);
}

/* Enhanced card avatars with more vibrant gradients */
.card-avatar.birthday {
  background: var(--gradient-secondary);
}

.card-avatar.quince {
  background: var(--gradient-tertiary);
}

.card-name {
  font-weight: 600;
  color: var(--text-primary);
}

.card-date {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.card-title {
  font-family: "Playfair Display", serif;
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--text-secondary);
  font-size: 0.875rem;
}

.card-location i {
  color: var(--primary-gold);
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-20px);
  }
}

/* Hero Decorations */
.hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
  z-index: 2;
}

.decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: var(--gradient-primary);
  opacity: 0.15;
  animation: float 8s ease-in-out infinite;
}

.circle-1 {
  width: 200px;
  height: 200px;
  top: 10%;
  right: 10%;
  animation-delay: 0s;
  background: var(--gradient-secondary);
}

.circle-2 {
  width: 150px;
  height: 150px;
  bottom: 20%;
  left: 5%;
  animation-delay: -3s;
  background: var(--gradient-tertiary);
}

.circle-3 {
  width: 100px;
  height: 100px;
  top: 60%;
  right: 20%;
  animation-delay: -6s;
  background: var(--gradient-primary);
}

/* Features Section */
.features {
  padding: 6rem 0;
  background: var(--background-secondary);
}

.section-header {
  text-align: center;
  margin-bottom: 4rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 208, 132, 0.15);
  color: var(--primary-emerald);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1rem;
  border: 2px solid rgba(0, 208, 132, 0.3);
}

.section-title {
  font-family: "Playfair Display", serif;
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: -0.01em;
}

.section-description {
  font-size: 1.125rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.feature-card {
  background: var(--white);
  padding: 2rem;
  border-radius: 20px;
  box-shadow: var(--shadow);
  border: 1px solid var(--gray-100);
  transition: all 0.3s ease;
  opacity: 0;
  transform: translateY(30px);
}

.feature-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

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

/* Enhanced feature icons with different gradients */
.feature-icon {
  width: 60px;
  height: 60px;
  border-radius: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.feature-card:nth-child(1) .feature-icon {
  background: var(--gradient-primary);
}

.feature-card:nth-child(2) .feature-icon {
  background: var(--gradient-secondary);
}

.feature-card:nth-child(3) .feature-icon {
  background: var(--gradient-tertiary);
}

.feature-card:nth-child(4) .feature-icon {
  background: var(--gradient-primary);
}

.feature-card:nth-child(5) .feature-icon {
  background: var(--gradient-secondary);
}

.feature-icon i {
  font-size: 1.5rem;
  color: var(--white);
}

.feature-title {
  font-size: 1.375rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-weight: 400;
}

/* Enhanced Pricing Section */
.pricing {
  padding: 6rem 0;
  background: var(--white);
}

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

.pricing-card {
  background: var(--white);
  border-radius: 24px;
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
  border: 2px solid var(--gray-100);
  transition: all 0.3s ease;
  position: relative;
  opacity: 0;
  transform: translateY(30px);
}

.pricing-card img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 16px; /* opcional, para que siga la curva del card */
  transition: transform 0.3s ease;
}

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

.pricing-card.animate-in {
  opacity: 1;
  transform: translateY(0);
}

.pricing-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--primary-gold);
}

.pricing-card.featured {
  border-color: var(--primary-gold);
  background: linear-gradient(135deg, var(--white) 0%, rgba(241, 196, 15, 0.05) 100%);
  transform: scale(1.05);
}

.pricing-card.featured:hover {
  transform: scale(1.05) translateY(-8px);
}

.pricing-badge {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--primary-gold);
  color: var(--white);
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.875rem;
  font-weight: 600;
}

/* Enhanced pricing icons with different gradients */
.pricing-icon {
  width: 80px;
  height: 80px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
}

.pricing-card:nth-child(1) .pricing-icon {
  background: var(--gradient-tertiary);
}

.pricing-card:nth-child(2) .pricing-icon {
  background: var(--gradient-primary);
}

.pricing-card:nth-child(3) .pricing-icon {
  background: var(--gradient-secondary);
}

.pricing-icon i {
  font-size: 2rem;
  color: var(--white);
}

.pricing-header {
  text-align: center;
  margin-bottom: 2rem;
}

.pricing-title {
  font-family: "Playfair Display", serif;
  font-size: 1.875rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.pricing-description {
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: 1rem;
  font-weight: 400;
}

.pricing-features {
  margin-bottom: 2rem;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1rem;
  padding: 0.5rem 0;
}

.feature-item i {
  color: var(--primary-emerald);
  font-size: 1rem;
  width: 20px;
}

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

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

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  cursor: pointer;
  font-size: 1rem;
}

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

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

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

.btn-large {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}

.btn-full {
  width: 100%;
}

/* CTA Section */
.cta {
  padding: 6rem 0;
  background: var(--gradient-hero);
  text-align: center;
}

.cta-title {
  font-family: "Playfair Display", serif;
  font-size: 2.75rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
}

.cta-description {
  font-size: 1.25rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  font-weight: 400;
}

/* Enhanced Footer */
.footer {
  background: var(--gray-900);
  color: var(--white);
  padding: 3rem 0 1.5rem;
}

.footer-content {
  text-align: center;
  margin-bottom: 2rem;
}

.footer-brand {
  max-width: 500px;
  margin: 0 auto;
}

.footer-brand .logo {
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--primary-gold);
  font-size: 1.5rem;
}

.footer-description {
  color: var(--gray-300);
  margin-bottom: 2rem;
  line-height: 1.6;
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 1rem;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.social-link:hover {
  background: var(--primary-gold);
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
}

.footer-bottom {
  border-top: 1px solid var(--gray-700);
  padding-top: 1.5rem;
}

.footer-bottom-content {
  text-align: center;
}

.footer-bottom p {
  color: var(--gray-400);
  font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-menu {
    position: fixed;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
  }

  .nav-menu.active {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-toggle {
    display: flex;
  }

  .hero-content {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-image-container {
    height: 400px;
  }

  .floating-card {
    width: 250px !important;
  }

  .section-title {
    font-size: 2rem;
  }

  .pricing-grid {
    grid-template-columns: 1fr;
  }

  .pricing-card.featured {
    transform: none;
  }

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

  .cta-title {
    font-size: 2rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }

  .hero-title {
    font-size: 2rem;
  }

  .hero-description {
    font-size: 1.125rem;
  }

  .floating-card {
    width: 220px !important;
    padding: 1rem;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .pricing-card {
    padding: 2rem 1.5rem;
  }
}

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

.animate-in {
  animation: fadeInUp 0.6s ease-out forwards;
}
