/*
 * Wonderful Party — Tema floral-xv
 * Migrado de misxv_verde/public/css/main.css
 * Rutas de fuentes actualizadas a /themes/floral-xv/fonts/
 * Variables CSS con prefijo --wp- para aislar del tema base.
 */

body {
  font-family: "Dosis", sans-serif;
  position: relative;
  --color-primary: #BACBAF;
  --color-secondary: #BFCCB2;
  --color-deep: #9FAF96;
  --color-deep-custom: #7e9074;
  --color-cream: #fcfaf6;
  --color-gold: #C8A95B;
  --color-rose: #C4A090;
  --color-rose-soft: #D4A5A5;
  --main-color: #BACBAF;
  --second-color: #C8A95B;
}

#mute-icon {
  position: fixed;
  bottom: 20px;
  left: 20px;
  cursor: pointer;
  z-index: 9999;
  pointer-events: auto;
  padding: 8px;
  line-height: 0;
}

/*
 * Local @font-face TTFs removed in Sprint 2C (files were missing → 404).
 * Poppins, Montserrat, Tinos, and Rouge Script load via Google Fonts in
 * layouts/invitation.blade.php. Avenue du Vapoteur.ttf is intentionally
 * not a hard dependency (missing file + unclear license); decorative
 * titles use Rouge Script as the safe fallback.
 */

.poppins_regular {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 1.3rem;
}
.poppins_light {
  font-family: "Poppins", sans-serif;
  font-weight: 300;
  font-style: normal;
}

/* ── Hero ── */
.ww-home-page {
  background-color: #FAF7F2;
  background-image:
    radial-gradient(ellipse 55% 45% at 12% 88%, rgba(186, 203, 175, 0.35) 0%, transparent 70%),
    radial-gradient(ellipse 40% 35% at 88% 15%, rgba(191, 204, 178, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 30% 25% at 75% 80%, rgba(212, 165, 165, 0.12) 0%, transparent 60%);
  min-height: 100vh;
  padding-top: 70px;
  position: relative;
  overflow: hidden;
}
@media (max-width: 576px) {
  .ww-home-page {
    padding-top: 62px;
    min-height: auto;
  }
}
.ww-deco-floral {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  opacity: 0.92;
}
.ww-deco-floral--tl {
  top: 48px;
  left: -20px;
  width: min(38vw, 320px);
  max-width: 320px;
}
.ww-deco-floral--br {
  bottom: -30px;
  right: -40px;
  width: min(42vw, 380px);
  max-width: 380px;
  transform: scaleX(-1) rotate(8deg);
}
@media (max-width: 991px) {
  .ww-deco-floral--tl { width: 200px; top: 56px; left: -30px; opacity: 0.65; }
  .ww-deco-floral--br { width: 220px; right: -50px; opacity: 0.6; }
}
.ww-home-page .ww-wedding-announcement {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  min-height: calc(100vh - 70px);
  padding: 1rem 0 2.5rem;
  position: relative;
  z-index: 2;
  color: var(--color-deep);
  isolation: isolate;
  overflow: hidden;
}
.ww-home-page .ww-wedding-announcement::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(to bottom, rgba(186, 203, 175, 0.22) 0%, transparent 22%),
    linear-gradient(to top, rgba(186, 203, 175, 0.16) 0%, transparent 18%),
    linear-gradient(to right, rgba(191, 204, 178, 0.18) 0%, transparent 20%),
    linear-gradient(to left, rgba(212, 165, 165, 0.14) 0%, transparent 20%);
}
.ww-home-page .ww-wedding-announcement::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: radial-gradient(
    ellipse 72% 68% at 50% 48%,
    transparent 42%,
    rgba(243, 232, 216, 0.15) 68%,
    rgba(186, 203, 175, 0.2) 88%,
    rgba(159, 175, 150, 0.12) 100%
  );
}
@media (max-width: 576px) {
  .ww-home-page .ww-wedding-announcement { min-height: auto; padding: 0.5rem 0 2rem; }
}
.ww-hero-container { width: 100%; position: relative; z-index: 1; }
.ww-hero-row { min-height: calc(100vh - 100px); }
@media (max-width: 991px) {
  .ww-hero-row { min-height: auto; }
  .ww-hero-visual { order: -1; margin-bottom: 0.5rem; }
}
.ww-hero-content {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 1rem 1.25rem 2rem;
}
.ww-hero-text-block { max-width: 480px; width: 100%; }
.ww-hero-eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-deep);
  opacity: 0.75;
  margin-bottom: 0.35rem;
}
.ww_my_wedding {
  font-family: "Tinos", serif;
  font-size: clamp(0.85rem, 2.5vw, 1rem);
  font-weight: 400;
  color: var(--color-deep);
  letter-spacing: 0.35em;
  text-transform: uppercase;
  margin-bottom: 0.25rem;
}
.ww-hero-name {
  font-family: "Great Vibes", cursive;
  font-size: clamp(4rem, 14vw, 7.5rem);
  line-height: 1;
  color: var(--color-deep);
  margin: 0.15rem 0 0.75rem;
  text-shadow:
    0 0 18px rgba(255, 255, 255, 0.95),
    0 0 40px rgba(255, 255, 255, 0.65),
    0 2px 8px rgba(159, 175, 150, 0.25);
}
.ww-hero-name .ww-title { color: var(--color-deep); }
.ww-hero-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.5rem auto 1rem;
  max-width: 280px;
}
.ww-hero-divider-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
  position: relative;
}
.ww-hero-divider-line::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 4px;
  height: 4px;
  background: var(--color-gold);
  border-radius: 50%;
  transform: translateY(-50%);
}
.ww-hero-divider-line:first-child::before { right: 0; }
.ww-hero-divider-line:last-child::before  { left: 0; }
.ww-hero-divider-heart { color: var(--color-rose-soft); font-size: 0.85rem; }
.ww-title_date {
  font-family: "Tinos", serif;
  font-size: clamp(1rem, 3.2vw, 1.35rem);
  font-weight: 400;
  color: var(--color-rose);
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}
.ww-hero-gold-rule {
  width: min(220px, 70%);
  height: 1px;
  margin: 0 auto 1.25rem;
  background: linear-gradient(90deg, transparent, var(--color-gold) 20%, var(--color-gold) 80%, transparent);
  position: relative;
}
.ww-hero-gold-rule::after {
  content: "❦";
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  color: var(--color-gold);
  background: #FAF7F2;
  padding: 0 0.4rem;
  line-height: 1;
}
.ww-hero-countdown-label {
  font-family: "Tinos", serif;
  font-size: 0.95rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--color-deep);
  margin-bottom: 0.75rem;
}
.ww-hero-visual {
  display: flex;
  justify-content: center;
  align-items: flex-end;
  padding: 0 0.5rem;
  min-height: 420px;
}
.ww-hero-portrait-wrap {
  position: relative;
  width: 100%;
  max-width: 520px;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}
.ww-hero-wash {
  position: absolute;
  bottom: 5%;
  left: 50%;
  transform: translateX(-50%);
  width: 85%;
  height: 55%;
  background: radial-gradient(ellipse at center, rgba(186, 203, 175, 0.45) 0%, transparent 72%);
  z-index: 0;
  pointer-events: none;
}
.ww-hero-portrait {
  position: relative;
  z-index: 1;
  width: auto;
  max-width: 100%;
  height: auto;
  max-height: min(85vh, 720px);
  object-fit: contain;
  object-position: bottom center;
  filter: drop-shadow(0 8px 24px rgba(159, 175, 150, 0.2));
}
@media (max-width: 991px) {
  .ww-hero-portrait { max-height: min(62vh, 520px); }
  .ww-hero-visual { min-height: auto; padding-top: 0.5rem; }
}
@media (max-width: 576px) {
  .ww-hero-portrait { max-height: 50vh; }
}
.ww-hero-countdown {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin-bottom: 1.75rem;
}
.ww-hero-scroll {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: var(--color-rose-soft);
  color: #fff;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(196, 160, 144, 0.35);
  transition: transform 0.2s ease, background-color 0.2s ease;
}
.ww-hero-scroll:hover {
  color: #fff;
  text-decoration: none;
  background-color: var(--color-rose);
  transform: translateY(3px);
}
.ww-hero-scroll i { font-size: 0.95rem; }
.ww-home-page:before { display: none; }

/* ── Common ── */
.my_title  { font-size: 50px; }
@media (max-width: 576px) { .my_title { font-size: 60px; } }
.my_text   { font-family: "Dosis", sans-serif; color: gray; font-size: 20px; }
.ww-title  { font-family: "Great Vibes", cursive; }
.www-title-rose-color,
.www-title-accent { color: var(--color-gold); }
.ww_my_title_ { font-family: "Rouge Script", cursive; }
.ww_my_date   { font-size: 60px; }

/* ── Nav ── */
.ww-nav-bar {
  background: rgba(250, 247, 242, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: none;
  box-shadow: none;
  padding: 0.65rem 0;
}
.ww-nav-container {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  min-height: 48px;
}
.ww-nav-links .nav-link {
  color: var(--color-deep) !important;
  font-family: "Tinos", serif;
  font-size: clamp(0.62rem, 1.8vw, 0.78rem);
  font-weight: 400;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 0.5rem 0.85rem !important;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ww-nav-links .nav-link:hover,
.ww-nav-links .nav-link:focus { color: var(--color-rose) !important; }
.ww-nav-heart {
  position: absolute;
  right: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  line-height: 0;
  text-decoration: none;
  display: block;
}
.ww-nav-heart-img {
  display: block;
  height: 48px;
  width: auto;
  max-width: 116px;
  object-fit: contain;
  object-position: center;
  border-radius: 10px;
}
@media (max-width: 576px) {
  .ww-nav-heart-img { height: 40px; max-width: 97px; border-radius: 8px; }
}
.ww-nav-toggler {
  position: absolute;
  left: 0.75rem;
  border-color: var(--color-deep);
  padding: 0.35rem 0.55rem;
}
.ww-nav-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%239FAF96' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
@media (min-width: 992px) { .ww-nav-toggler { display: none; } }
@media (max-width: 991px) {
  .ww-nav-bar .navbar-collapse {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(250, 247, 242, 0.98);
    border-top: 1px solid rgba(200, 169, 91, 0.35);
    padding: 0.75rem 0;
    z-index: 1000;
  }
  .ww-nav-links .nav-link { letter-spacing: 0.12em; font-size: 0.75rem; }
}
.ww-btn-maps,
.ww-btn-location { min-height: 44px; padding: 0.5rem 1.25rem; font-size: 1rem; border-radius: 0.35rem; }

/* ── Sections ── */
.ww-section { padding: 100px 0; }
.ww-intro-section {
  padding: 4.5rem 0 3.5rem;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(186, 203, 175, 0.14) 0%, transparent 70%),
    radial-gradient(ellipse 60% 50% at 85% 100%, rgba(212, 165, 165, 0.08) 0%, transparent 65%),
    var(--color-cream);
}
.ww-intro-card {
  max-width: 640px;
  margin: 0 auto;
  padding: 2.5rem 2rem;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(186, 203, 175, 0.35);
  border-radius: 1rem;
  box-shadow: 0 8px 32px rgba(159, 175, 150, 0.1);
}
.ww-intro-greeting {
  font-family: "Great Vibes", cursive;
  font-size: clamp(2.2rem, 7vw, 3.25rem);
  color: var(--color-deep);
  line-height: 1.3;
  margin-bottom: 0.75rem;
}
.ww-intro-name { color: var(--color-deep); }
.ww-intro-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin: 0.75rem auto 1.5rem;
  max-width: 240px;
}
.ww-intro-text {
  line-height: 1.75;
  color: #5a6654;
  margin-bottom: 0.85rem;
  font-size: 1.3rem;
}
.ww-intro-text:last-of-type { margin-bottom: 0; }
@media (max-width: 576px) {
  .ww-intro-section { padding: 3rem 0 2.5rem; }
  .ww-intro-card { padding: 2rem 1.25rem; margin: 0 0.5rem; }
  .ww-intro-text { line-height: 1.65; }
}

/* ── Photo / Gallery ── */
.ww-spotlight-photo { width: 100%; }
.ww-spotlight-photo .card { border: none; margin-bottom: 0; }
@media (min-width: 992px) {
  .ww-spotlight-photo { max-width: 420px; margin-left: auto; margin-right: auto; }
}
.ww-photo-gallery .card-columns .card { border: none; margin-bottom: 15px; }
@media (max-width: 992px) { .ww-photo-gallery .card-columns { column-count: 2; } }
@media (max-width: 576px) { .ww-photo-gallery .card-columns { column-count: 1; } }

/* ── RSVP ── */
.form_class { border: 2px solid var(--color-deep); height: 50px !important; }
.ww-rsvp-detail { background-size: cover; min-height: 500px; position: relative; }
.ww-rsvp-detail .ww-rsvp-form { padding-left: 25%; }
@media (max-width: 768px) { .ww-rsvp-detail .ww-rsvp-form { padding-left: 10%; } }
@media (max-width: 576px) { .ww-rsvp-detail .ww-rsvp-form { padding-left: 0%; } }
.ww-rsvp-detail .ww-rsvp-form .form-control { border: 1px solid var(--color-deep); }
.ww-rsvp-detail .ww-rsvp-form .btn-submit {
  background-color: var(--color-deep);
  padding: 0.45rem 1.5rem;
  border: 0;
  height: 45px;
  font-size: 20px;
  color: white;
}
.ww-rsvp-detail:before {
  content: "";
  background-color: white;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
}

/* ── Footer ── */
.ww-footer a.credit {
  color: inherit;
  border-bottom: 1px dashed;
  text-decoration: none;
  cursor: pointer;
}

/* ── Utility classes ── */
.montserrat_my_text { font-family: "Montserrat", sans-serif !important; }
.btn-primary { color: #fff; }
.btn-outline-primary:hover { color: #fff; }
.tinos-regular { font-family: "Tinos", serif; font-weight: 400; font-style: normal; }
.my_text  { font-family: "Dosis", sans-serif; color: gray; font-size: 20px; }
.flower_class {
  max-width: 160px;
  max-height: 140px;
  display: block;
  margin: 0 auto;
}
.dress_class  { max-width: 90px;  max-height: 90px;  display: block; margin: 0 auto; }
.church_class { max-width: 120px; max-height: 100px; display: block; margin: 0 auto; }

/* ── Dividers ── */
.hr_rounded { border-top: 55px solid var(--color-primary); border-radius: 5px; }
.hr_second  { border-top: 55px solid var(--color-gold);    border-radius: 5px; }
.custom-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0,0,0,0.05), 0 0.5rem 1.5rem rgba(0,0,0,0.1) !important;
}

/* ── Buttons ── */
.church_btn,
.party_btn,
.ww-btn-location {
  color: var(--color-cream) !important;
  background-color: var(--color-deep) !important;
  border-color: var(--color-gold) !important;
}
.church_btn:hover,
.party_btn:hover,
.ww-btn-location:hover { background-color: #8a9a82 !important; }
.maps_color { color: var(--color-cream) !important; }

/* ── Event cards ── */
.ww-event-card { border: 1px solid var(--color-secondary); }
.ww-event-card-img { max-width: 280px; width: 100%; }

/* ── Quote / Mis Palabras ── */
.frame_blue {
  border: 1px solid #cf9c63;
  position: absolute;
  bottom: -70px;
  left: 30%;
  right: 0;
  width: 480px;
  max-width: calc(100% - 2rem);
}
.quote_color {
  color: #cf9c63;
  position: absolute;
  top: -17%;
  left: 44%;
}
.quote-container {
  background-color: #88957b;
  padding-top: 160px;
  position: relative;
  overflow-x: clip;
}
.green_class  { background-color: #88957b; }
.white-letter { color: white; }
.rouge-script {
  font-family: "Rouge Script", cursive;
  font-weight: 400;
  font-style: normal;
}
@media (max-width: 676px) {
  .frame_blue { width: auto; bottom: -70px; left: 0; }
  .quote_color { top: -20%; }
}
@media (max-width: 550px) { .quote_color { top: -13%; } }
@media (max-width: 354px) {
  .frame_blue { bottom: -80px; left: 0; }
  .quote_color { top: -16%; }
  .rouge-script { font-size: 30px; }
}

/* ── RSVP frame ── */
.frame_dorado { border: 1px solid var(--color-deep); }

/* ── Event schedule section background ── */
#events.bg-light { background-color: rgba(243, 232, 216, 0.35) !important; }

/* ── Simply Countdown ── */
.simply-countdown { margin-bottom: 0; }
.ww-hero-countdown.simply-countdown > .simply-section {
  display: inline-block;
  width: auto;
  min-width: 64px;
  height: auto;
  margin: 0 0.5rem;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
}
.ww-hero-countdown.simply-countdown > .simply-section > div {
  display: block;
  height: auto;
  width: auto;
  text-align: center;
}
.ww-hero-countdown.simply-countdown > .simply-section .simply-amount {
  font-size: clamp(2rem, 6vw, 3rem);
  font-family: "Tinos", serif;
  line-height: 1 !important;
  color: var(--color-rose);
  font-weight: 400;
}
.ww-hero-countdown.simply-countdown > .simply-section .simply-word {
  color: var(--color-rose);
  font-size: clamp(0.6rem, 2vw, 0.72rem);
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-top: 0.25rem;
  opacity: 1;
}
@media (max-width: 576px) {
  .ww-hero-countdown.simply-countdown > .simply-section { min-width: 52px; margin: 0 0.25rem; }
}
@media (max-width: 380px) {
  .ww-hero-countdown.simply-countdown { gap: 0.15rem 0.35rem; }
  .ww-hero-countdown.simply-countdown > .simply-section { min-width: 46px; }
}
