/* ============================================================
   uiCookies:Wedding — modern design layer (2026)
   An elegant, contemporary refresh over the existing markup.
   Loaded LAST so it wins. Markup is untouched.
   Accent: soft rose-gold / warm caramel. Elegant serif accents.
   ============================================================ */

:root {
  /* Wedding palette */
  --ivory: #F6F1E7;
  --maroon: #6E2C3A;
  --terracotta: #B65E3C;
  --olive: #6F7B4B;
  --gold: #B08D57;
  --espresso: #4A3428;
  --aubergine: #4B2942;

  /* Functional colors */
  --bg: var(--ivory);
  --text: #5D5148;
  --heading: var(--espresso);
  --muted: #8A7D73;

  --accent: var(--terracotta);
  --accent-deep: var(--maroon);
  --footer: var(--espresso);

  --line: #DED5C8;

  --radius: 14px;
  --radius-sm: 10px;
  --shadow: 0 2px 10px rgba(60,40,25,.06), 0 8px 30px rgba(60,40,25,.07);
  --shadow-hover: 0 18px 44px rgba(60,40,25,.18);
}

/* ---------- base ---------- */
body {
  color: var(--text);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); transition: color .2s ease; }
a:hover, a:focus, a:active { color: var(--accent-deep); text-decoration: none; }
img { max-width: 100%; }

/* elegant headings in warm charcoal; accent stays for captions/dividers.
   Colored-band + hero headings keep their own (higher-specificity) white rules. */
h1, h2, h3, h4 { color: var(--heading); font-weight: 700; letter-spacing: -.005em; }

::selection { background: var(--accent); color: #fff; }
::-moz-selection { background: var(--accent); color: #fff; }

/* ---------- navbar: animated accent underline on hover ---------- */
@media (min-width: 768px) {
  .probootstrap-navbar .navbar-nav > li > a::after {
    content: ""; position: absolute; left: 16px; right: 16px; bottom: 32px;
    height: 2px; background: var(--gold);
    transform: scaleX(0); transform-origin: center;
    transition: transform .22s ease; pointer-events: none;
  }
  .probootstrap-navbar.scrolled .navbar-nav > li > a:hover {
  color: var(--maroon) !important;
}

.probootstrap-navbar.scrolled .navbar-nav > li.active > a {
  color: var(--maroon) !important;
}
}
.probootstrap-navbar .navbar-nav > li > a { font-weight: 600; letter-spacing: .04em; }
.probootstrap-navbar .navbar-nav > li > a:hover,
.probootstrap-navbar .navbar-nav > li > a:focus { color: #fff; }
.probootstrap-navbar.scrolled .navbar-nav > li > a:hover { color: var(--accent) !important; }
.probootstrap-navbar.scrolled .navbar-nav > li.active > a { color: var(--accent) !important; }

/* ---------- hero ---------- */
.flexslider {
  background: var(--espresso);
}

.flexslider::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;

  background: linear-gradient(
    to bottom,
    rgba(74, 52, 40, .68) 0%,
    rgba(74, 52, 40, .30) 30%,
    rgba(74, 52, 40, .32) 65%,
    rgba(74, 52, 40, .70) 100%
  );
}

.text-intro-wrap .text-intro h1,
.text-intro-wrap .text-intro h2 {
  color: var(--ivory);
}

/* ---------- colored bands: dated olive → warm rose-gold gradient ---------- */
.probootstrap-section.probootstrap-section-colored p,
.probootstrap-section.probootstrap-section-colored-darker p { color: rgba(255,255,255,.85); }
.probootstrap-wedding-countdown h4 { color: rgba(255,255,255,.82); letter-spacing: .22em; }
.date-countdown > div .simply-word { color: rgba(255,255,255,.55); }

/* ---------- groom & bride ---------- */
.probootstrap-groom-bride .probootstrap-groom figure,
.probootstrap-groom-bride .probootstrap-bride figure { overflow: visible; margin-bottom: 0; }
.probootstrap-groom-bride .probootstrap-groom img,
.probootstrap-groom-bride .probootstrap-bride img {
  border: 4px solid var(--gold);
  box-shadow: 0 16px 40px rgba(60,40,25,.18);
  transition: transform .5s ease;
}
.probootstrap-groom-bride .probootstrap-groom figure:hover img,
.probootstrap-groom-bride .probootstrap-bride figure:hover img { transform: scale(1.03); }
.probootstrap-groom-bride .probootstrap-caption {
  color: var(--terracotta);
}

.probootstrap-groom-bride .probootstrap-divider span {
  color: var(--gold);
}

/* ---------- when & where images ---------- */
.img-rounded { border-radius: var(--radius); }
.probootstrap-section-colored .img-rounded,
.probootstrap-section-colored img.img-fluid {
  border-radius: var(--radius);
  box-shadow: 0 14px 34px rgba(40,25,12,.22);
}

/* ---------- gallery cards: rounder corners + soft shadow + hover lift ---------- */
.probootstrap-image {
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
  transition: transform .4s ease, box-shadow .3s ease;
}
.probootstrap-image::after {
  content: ""; position: absolute; inset: 0; border-radius: inherit;
  background: linear-gradient(to top, rgba(40,25,12,.22), rgba(40,25,12,0) 55%);
  opacity: 0; transition: opacity .3s ease; pointer-events: none;
}
.probootstrap-image:hover { transform: translateY(-5px); box-shadow: var(--shadow-hover); }
.probootstrap-image:hover::after { opacity: 1; }

/* ---------- section-title flourish (white sections only) ---------- */
.probootstrap-section:not(.probootstrap-section-colored):not(.probootstrap-section-colored-darker) .text-center > h2::after {
  content: ""; display: block; width: 64px; height: 2px;
  margin: 20px auto 0; background: var(--accent); border-radius: 2px;
}

/* ---------- buttons: pill + accent ---------- */
.btn.btn-primary {
  background: var(--accent); border-color: var(--accent);
  box-shadow: 0 8px 22px rgba(196,138,90,.28);
  letter-spacing: .06em; font-weight: 600;
}
.btn.btn-primary:hover, .btn.btn-primary:active, .btn.btn-primary:focus {
  background: var(--accent-deep); border-color: var(--accent-deep);
}
.btn.btn-ghost { border-color: var(--accent); color: var(--accent); }
.btn.btn-ghost:hover { background: var(--accent); color: #fff; }

/* ---------- RSVP card + form ---------- */
.probootstrap-card {
  border: 1px solid rgba(196,138,90,.28);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 44px;
}
.probootstrap-form .form-control {
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  transition: border-color .2s ease, box-shadow .2s ease;
}
.probootstrap-form .form-control:focus,
.probootstrap-form .form-control:active {
  border: 2px solid var(--accent);
  box-shadow: 0 0 0 3px rgba(196,138,90,.14);
}

/* ---------- register logos (white artwork) — frosted chips on the darker band ---------- */
.btn-register {
  display: inline-block;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.20);
  border-radius: var(--radius);
  padding: 26px 30px;
  transition: transform .3s ease, background .3s ease, border-color .3s ease;
}
.btn-register:hover, .btn-register:focus {
  transform: translateY(-6px);
  background: rgba(255,255,255,.16);
  border-color: rgba(255,255,255,.34);
}
.btn-register img { top: 0; transform: scale(.9); }
.btn-register:hover img, .btn-register:focus img { top: 0; opacity: 1; transform: scale(.98); }

/* ---------- footer: polished, warm dark ---------- */
.probootstrap-footer {
  background: var(--espresso);
  color: rgba(246, 241, 231, .70);
}

.probootstrap-footer a {
  color: var(--gold);
}

.probootstrap-footer a:hover {
  color: var(--ivory);
}
/* ---------- responsive ---------- */
@media (max-width: 767.98px) {
  .probootstrap-card { padding: 26px; }
  .btn-register { padding: 16px 18px; }
}

/* ---------- countdown ---------- */
.probootstrap-wedding-countdown {
  background: var(--maroon) !important;
}

.probootstrap-wedding-countdown h4 {
  color: var(--ivory);
}

.probootstrap-wedding-countdown .date-countdown {
  color: var(--ivory);
}

.probootstrap-wedding-countdown .simply-word {
  color: rgba(246, 241, 231, .72);
}

/* ---------- groom & bride section ---------- */
[data-section="groom-bride"] {
  background: var(--ivory);
}

[data-section="groom-bride"] h2 {
  color: var(--espresso);
}

.probootstrap-groom-bride .probootstrap-caption {
  color: var(--terracotta);
}

.probootstrap-groom-bride .probootstrap-divider span {
  color: var(--gold);
}

/* ---------- when & where ---------- */
[data-section="when-where"] {
  background: var(--olive) !important;
}

[data-section="when-where"] h2,
[data-section="when-where"] h3 {
  color: var(--ivory);
}

[data-section="when-where"] p {
  color: rgba(246, 241, 231, .88);
}

/* ---------- gallery ---------- */
[data-section="gallery"] {
  background: var(--ivory);
}

[data-section="gallery"] h2 {
  color: var(--espresso);
}

/* ---------- RSVP ---------- */
[data-section="rsvp"] {
  background: var(--aubergine);
  border-top: none !important;
}

[data-section="rsvp"] h2,
[data-section="rsvp"] p,
[data-section="rsvp"] label,
[data-section="rsvp"] .hint {
  color: var(--ivory);
}

[data-section="rsvp"] h2::after {
  background: var(--gold) !important;
}

[data-section="rsvp"] input,
[data-section="rsvp"] textarea,
[data-section="rsvp"] select {
  background: var(--ivory);
  color: var(--espresso);
  border: 2px solid var(--gold);
  border-radius: 8px;
}

[data-section="rsvp"] input:focus,
[data-section="rsvp"] textarea:focus,
[data-section="rsvp"] select:focus {
  outline: none;
  border-color: var(--terracotta);
  box-shadow: 0 0 0 3px rgba(176, 141, 87, .22);
}

[data-section="rsvp"] .btn-primary,
[data-section="rsvp"] #submitButton {
  display: block;
  margin: 12px auto 0;

  background: var(--gold);
  color: var(--espresso);

  border: 2px solid var(--gold);
  border-radius: 8px;

  padding: 10px 24px;

  font-family: inherit;
  font-size: 16px;
  font-weight: 700;

  cursor: pointer;
  transition: all 0.2s ease;
}

[data-section="rsvp"] .btn-primary:hover,
[data-section="rsvp"] .btn-primary:focus,
[data-section="rsvp"] #submitButton:hover,
[data-section="rsvp"] #submitButton:focus {
  background: var(--terracotta);
  border-color: var(--terracotta);
  color: var(--ivory);
}

/* ---------- registry ---------- */
[data-section="registry"] {
  background: var(--maroon) !important;
}

[data-section="registry"] h2 {
  color: var(--ivory);
}

.btn-register {
  display: inline-block;
  background: rgba(246, 241, 231, .12);
  border: 1px solid rgba(246, 241, 231, .28);
  border-radius: var(--radius);
  padding: 26px 30px;

  transition:
    transform .3s ease,
    background .3s ease,
    border-color .3s ease;
}

.btn-register:hover,
.btn-register:focus {
  transform: translateY(-6px);
  background: rgba(246, 241, 231, .20);
  border-color: var(--gold);
}

[data-section="rsvp"] fieldset legend {
  color: var(--ivory);
  font-family: "Rokkitt", serif;
  font-size: 28px;
  font-weight: 700;
  text-align: center;
  margin-bottom: 18px;
}

[data-section="rsvp"] fieldset {
  max-width: 520px;
  margin: 0 auto 36px auto;
}

[data-section="rsvp"] fieldset .form-group {
  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

[data-section="rsvp"] fieldset .form-group label {
  text-align: right;
  margin: 0;
}

[data-section="rsvp"] fieldset .form-group input,
[data-section="rsvp"] fieldset .form-group select {
  width: 100%;
  box-sizing: border-box;
}

[data-section="rsvp"] #rsvpForm > .form-group {
  width: 520px;
  margin: 0 auto 12px auto;

  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 10px;
}

[data-section="rsvp"] #rsvpForm > .form-group label {
  text-align: right;
  margin: 0;
}

[data-section="rsvp"] #rsvpForm > .form-group input,
[data-section="rsvp"] #rsvpForm > .form-group textarea {
  width: 100%;
  box-sizing: border-box;
}

[data-section="rsvp"] #message {
  min-height: 120px;
  resize: vertical;
}

[data-section="rsvp"] #submitButton {
  display: block;
  margin: 10px auto 0;
}

[data-section="rsvp"] .guest-setup > .form-group {
  width: 520px;
  max-width: 100%;
  margin: 0 auto 24px auto;

  display: grid;
  grid-template-columns: 130px 1fr;
  align-items: center;
  gap: 10px;
}

[data-section="rsvp"] .guest-setup > .form-group label {
  text-align: right;
  margin: 0;
}

[data-section="rsvp"] .guest-setup > .form-group select {
  width: 100%;
  box-sizing: border-box;
}

[data-section="rsvp"] #rsvpForm {
  scroll-margin-top: 80px;
}

.rsvp-confirmation {
  scroll-margin-top: 80px;
  text-align: center;
}

.venue-map-link {
  display: inline-block;
  margin-top: 18px;
  padding: 8px 18px;

  color: var(--ivory);
  border: 2px solid var(--gold);
  border-radius: 8px;

  font-weight: 600;
  text-decoration: none;

  transition: all 0.2s ease;
}

.venue-map-link:hover,
.venue-map-link:focus {
  background-color: var(--gold);
  color: var(--espresso);
  text-decoration: none;
}

.venue-address a,
.venue-address a:visited,
.venue-address a:hover,
.venue-address a:focus,
.venue-address a:active {
  color: inherit;
  text-decoration: none;
}