/* ========================================
   Mis Quince Boutique - Stylesheet
   ======================================== */

/* --- Reset & Base --- */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --pink: #C2185B;
  --pink-dark: #880E4F;
  --pink-light: #F8BBD0;
  --pink-soft: #FFF0F6;
  --purple: #7B1FA2;
  --purple-soft: #F3E5F5;
  --gold: #D4A056;
  --gold-light: #E8C88A;
  --dark: #1a1a2e;
  --dark-soft: #2d2d44;
  --white: #ffffff;
  --gray: #6c757d;
  --gray-light: #f8f9fa;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-script: 'Great Vibes', cursive;
  --font-body: 'Poppins', 'Segoe UI', sans-serif;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
  --radius: 12px;
  --transition: 0.3s ease;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--dark);
  line-height: 1.6;
  overflow-x: hidden;
  background: var(--white);
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

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

/* --- Buttons --- */
.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 50px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  text-align: center;
}

.btn-primary {
  background: var(--pink);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--pink-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(194, 24, 91, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid var(--white);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--dark);
}

.btn-small {
  padding: 10px 24px;
  font-size: 0.85rem;
  background: var(--white);
  color: var(--dark);
}

.btn-small:hover {
  background: var(--pink);
  color: var(--white);
}

.btn-nav {
  padding: 10px 24px;
  font-size: 0.85rem;
  background: var(--pink);
  color: var(--white);
}

.btn-nav:hover {
  background: var(--pink-dark);
}

.btn-full {
  width: 100%;
}

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  padding: 12px 0;
  box-shadow: var(--shadow);
  backdrop-filter: blur(10px);
}

.navbar.scrolled .logo,
.navbar.scrolled .nav-links a {
  color: var(--dark);
}

.navbar.scrolled .hamburger span {
  background: var(--dark);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.logo-butterfly {
  width: 28px;
  height: 28px;
  flex-shrink: 0;
}

.logo em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.1em;
  color: var(--pink-light);
}

.logo span {
  font-weight: 400;
  font-style: italic;
}

.logo-butterfly {
  width: 28px;
  height: 28px;
  vertical-align: middle;
  margin-left: 4px;
  opacity: 0.8;
  color: var(--pink-light);
}

.nav-links {
  display: flex;
  gap: 32px;
}

.nav-links a {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--white);
  transition: color var(--transition);
  position: relative;
}

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

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

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--white);
  transition: all var(--transition);
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* --- Hero Section --- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: url('images/dresses/hero-quinceanera.jpg') center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(50, 18, 40, 0.5) 0%,
    rgba(30, 12, 28, 0.75) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 700px;
  padding: 0 24px;
}

.hero-subtitle {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.5rem;
  letter-spacing: 1px;
  margin-bottom: 8px;
  color: var(--gold-light);
}

.hero h1 {
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero-text {
  font-size: 1.15rem;
  font-weight: 300;
  margin-bottom: 36px;
  opacity: 0.9;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  letter-spacing: 1px;
  opacity: 0.7;
}

.scroll-arrow {
  width: 20px;
  height: 20px;
  border-right: 2px solid var(--white);
  border-bottom: 2px solid var(--white);
  transform: rotate(45deg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: rotate(45deg) translateY(0); }
  40% { transform: rotate(45deg) translateY(8px); }
  60% { transform: rotate(45deg) translateY(4px); }
}


/* --- Section Titles --- */
.section-title {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 12px;
  color: var(--dark);
}

.section-title.text-left {
  text-align: left;
}

.section-subtitle {
  text-align: center;
  color: var(--gray);
  font-size: 1.05rem;
  font-weight: 300;
  margin-bottom: 48px;
}

.section-cta {
  text-align: center;
  margin-top: 48px;
}

/* --- Dress Grid --- */
.vestidos {
  padding: 100px 0;
}

.dress-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.dress-card {
  text-align: center;
}

.dress-image {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  margin-bottom: 16px;
}

.dress-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.dress-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 26, 46, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

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

.dress-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.dress-price {
  color: var(--pink);
  font-weight: 500;
  font-size: 0.95rem;
}

/* --- Showcase Section --- */
.showcase {
  padding: 100px 0;
  background: var(--gray-light);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.showcase-images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.showcase-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.5s ease;
}

.showcase-img:hover {
  transform: scale(1.02);
}

.showcase-label {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--pink);
  margin-bottom: 12px;
}

.showcase-heading {
  font-family: var(--font-display);
  font-size: 2.8rem;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 24px;
}

.showcase-text {
  color: var(--gray);
  font-size: 1.05rem;
  line-height: 1.8;
  margin-bottom: 36px;
}

.showcase-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.btn-showcase-outline {
  padding: 14px 32px;
  border: 2px solid var(--dark);
  color: var(--dark);
  background: transparent;
  border-radius: 50px;
  font-weight: 500;
  transition: all var(--transition);
}

.btn-showcase-outline:hover {
  background: var(--dark);
  color: var(--white);
}

/* --- Catalog Section --- */
.catalogo {
  padding: 100px 0;
  background: var(--pink-soft);
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.catalog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
}

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

.catalog-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3/4;
}

.catalog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.catalog-image .dress-overlay {
  position: absolute;
  inset: 0;
  background: rgba(194, 24, 91, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity var(--transition);
}

.catalog-card:hover .catalog-image .dress-overlay {
  opacity: 1;
}

.catalog-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  padding: 16px 20px 4px;
}

.catalog-card .dress-price {
  font-size: 0.95rem;
  color: var(--pink);
  font-weight: 600;
  padding: 0 20px 16px;
}

/* --- About Section --- */
.nosotros {
  padding: 100px 0;
  background: var(--gray-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-images {
  position: relative;
}

.about-img-main {
  border-radius: var(--radius);
  width: 100%;
  height: 500px;
  object-fit: cover;
  box-shadow: var(--shadow-lg);
}

.about-img-small {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: var(--radius);
  border: 4px solid var(--white);
  box-shadow: var(--shadow);
}

.about-content p {
  color: var(--gray);
  margin-bottom: 20px;
  line-height: 1.8;
}

.about-content strong {
  color: var(--dark);
}

.store-info {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 32px 0;
  padding: 24px 0;
  border-top: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}

.info-icon {
  width: 28px;
  height: 28px;
  color: var(--pink);
  margin-bottom: 8px;
}

.btn-icon {
  vertical-align: -2px;
  margin-right: 2px;
}

.info-item h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.info-item p {
  font-size: 0.85rem;
  color: var(--gray);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --- FAQ Section --- */
.faq {
  padding: 100px 0;
}

.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid #eee;
}

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--dark);
  text-align: left;
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--pink);
}

.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-answer p {
  color: var(--gray);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* --- Appointment Section --- */
.cita-section {
  padding: 100px 0;
  background: #5C0A2E;
  color: var(--white);
}

.cita-content {
  max-width: 680px;
  margin: 0 auto;
  text-align: center;
}

.cita-content h2 {
  font-family: var(--font-display);
  font-size: 2.5rem;
  margin-bottom: 16px;
}

.cita-content > p {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 40px;
  font-size: 1.05rem;
}

.cita-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.cita-form input,
.cita-form textarea {
  width: 100%;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.95rem;
  transition: border-color var(--transition);
}

.cita-form input::placeholder,
.cita-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cita-form input:focus,
.cita-form textarea:focus {
  outline: none;
  border-color: var(--pink);
}

.cita-form textarea {
  resize: vertical;
}

/* --- Footer --- */
.footer {
  padding: 64px 0 0;
  background: #3A0620;
  color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
}

.footer-logo {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--white);
  margin-bottom: 12px;
}

.footer-logo em {
  font-family: var(--font-script);
  font-style: normal;
  font-size: 1.1em;
  color: var(--pink-light);
}

.footer-logo span {
  font-weight: 400;
  font-style: italic;
}

.footer-col h4 {
  color: var(--white);
  font-size: 1rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.footer-col ul li {
  margin-bottom: 10px;
  font-size: 0.9rem;
}

.footer-col ul a:hover {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 12px;
  margin-top: 16px;
}

.social-links a {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.7);
  transition: all var(--transition);
}

.social-links a:hover {
  background: var(--pink);
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 24px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* --- WhatsApp Floating Button --- */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  width: 60px;
  height: 60px;
  background: #25D366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  transition: all var(--transition);
}

.whatsapp-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.5);
}

/* --- Butterfly Decorations (sprinkled, static brand marks) --- */
.floating-butterflies {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.floating-butterfly {
  position: absolute;
  opacity: 0.18;
  color: var(--pink);
  filter: drop-shadow(0 2px 6px rgba(194, 24, 91, 0.15));
}

.fb-2, .fb-4 {
  color: var(--pink-light);
}

.fb-1, .fb-3, .fb-5 {
  color: var(--purple);
}

.fb-1 {
  width: 60px;
  height: 60px;
  top: 8%;
  right: 5%;
  transform: rotate(-20deg);
}

.fb-2 {
  width: 40px;
  height: 40px;
  top: 28%;
  left: 3%;
  transform: rotate(15deg) scaleX(-1);
}

.fb-3 {
  width: 50px;
  height: 50px;
  top: 48%;
  right: 8%;
  transform: rotate(-10deg);
}

.fb-4 {
  width: 35px;
  height: 35px;
  top: 65%;
  left: 6%;
  transform: rotate(25deg) scaleX(-1);
}

.fb-5 {
  width: 45px;
  height: 45px;
  top: 82%;
  right: 4%;
  transform: rotate(-30deg);
}

/* --- Hero Butterfly Accent --- */
.hero-content {
  position: relative;
}

.hero-butterfly {
  position: absolute;
  top: -40px;
  right: -40px;
  width: 140px;
  height: 140px;
  opacity: 0.45;
  color: var(--pink-light);
  transform: rotate(-15deg);
  filter: drop-shadow(0 4px 12px rgba(255, 255, 255, 0.3));
}

/* --- Section Title Butterfly Accent --- */
.section-title {
  position: relative;
  display: inline-block;
}

.section-title .title-butterfly {
  width: 32px;
  height: 32px;
  vertical-align: middle;
  margin-left: 8px;
  opacity: 0.7;
  color: var(--pink);
}

/* --- Scroll Animations --- */
.animate-target {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Stagger children */
.dress-card.animate-target:nth-child(2) { transition-delay: 0.1s; }
.dress-card.animate-target:nth-child(3) { transition-delay: 0.2s; }
.dress-card.animate-target:nth-child(4) { transition-delay: 0.3s; }

.showcase-img.animate-target:nth-child(2) { transition-delay: 0.15s; }

.catalog-card.animate-target:nth-child(2) { transition-delay: 0.1s; }
.catalog-card.animate-target:nth-child(3) { transition-delay: 0.2s; }
.catalog-card.animate-target:nth-child(4) { transition-delay: 0.3s; }
.catalog-card.animate-target:nth-child(5) { transition-delay: 0.35s; }
.catalog-card.animate-target:nth-child(6) { transition-delay: 0.4s; }

.faq-item.animate-target:nth-child(2) { transition-delay: 0.05s; }
.faq-item.animate-target:nth-child(3) { transition-delay: 0.1s; }
.faq-item.animate-target:nth-child(4) { transition-delay: 0.15s; }
.faq-item.animate-target:nth-child(5) { transition-delay: 0.2s; }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .dress-grid,
  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about-grid {
    gap: 40px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .nav-links {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--white);
    flex-direction: column;
    padding: 80px 32px 32px;
    gap: 0;
    transition: right var(--transition);
    box-shadow: var(--shadow-lg);
  }

  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    color: var(--dark);
    padding: 16px 0;
    border-bottom: 1px solid #eee;
    display: block;
    font-size: 1rem;
  }

  .hamburger {
    display: flex;
    z-index: 1001;
  }

  .btn-nav {
    display: none;
  }

  .hero h1 {
    font-size: 2.8rem;
  }

  .hero-text {
    font-size: 1rem;
  }

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

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .showcase-heading {
    font-size: 2.2rem;
  }

  .catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

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

  .about-img-small {
    display: none;
  }

  .store-info {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .cita-content h2 {
    font-size: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }


}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .dress-grid {
    grid-template-columns: 1fr;
    max-width: 400px;
    margin: 0 auto;
  }

  .showcase-images {
    grid-template-columns: 1fr;
  }

  .showcase-img {
    height: 350px;
  }

  .showcase-heading {
    font-size: 1.8rem;
  }
}
