/* Tab Navigation Styles (as buttons below countdown) */
.tab-nav {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin: 1.5rem 0 1.5rem 0;
  background: none;
  border: none;
  box-shadow: none;
}
.tab-btn {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  background: #f7ede7;
  color: #cf5b63;
  border: 2px solid #eecda3;
  border-radius: 12px;
  padding: 0.7rem 1.8rem;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(239,98,159,0.07);
  transition: background 0.2s, color 0.2s, border 0.2s;
  outline: none;
  margin-bottom: 0;
}
.tab-btn.active, .tab-btn:hover, .tab-btn:focus {
  background: linear-gradient(90deg, #eecda3 0%, #cf5b63 100%);
  color: #fff;
  border-color: #cf5b63;
}
.tab-content {
  display: none;
  animation: fadeInTab 0.3s;
}
@keyframes fadeInTab {
  from { opacity: 0; }
  to { opacity: 1; }
}
.story-tab-inner {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.2rem 0.4rem 2.2rem 0.4rem;
}
/* Countdown Timer Styling */
.countdown-timer {
  margin: 1.2rem auto 2.2rem auto;
  padding: 0.7em 1em;
  background: #f7ede7;
  border-radius: 14px;
  box-shadow: 0 2px 8px rgba(207,91,99,0.07);
  font-size: 1.05rem;
  text-align: center;
  max-width: 350px;
  color: #7a5c58;
  font-family: 'Inter', 'Arial', sans-serif;
  /* letter-spacing: 0.01em; */
}
.countdown-label {
  font-weight: 600;
  color: #cf5b63;
  margin-right: 0.5em;
}
.countdown-num {
  font-weight: 700;
  color: #cf5b63;
  margin: 0 0.1em;
  display: inline-block;
  width: 2.2em;
  text-align: center;
}
#countdown-days,
#countdown-hours,
#countdown-minutes,
#countdown-seconds {
  width: 1.2em;
}
@media (min-width: 600px) {
  .countdown-timer {
    font-size: 1.05rem;
    min-width: 375px;
    max-width: fit-content;
    padding: 1rem 2rem;
  }
}
/* Venmo Link Styling */
  .venmo-link {
    display: inline-flex;
    align-items: center;
    background: #ecd3bb;
    color: #5f4b4b;
    font-weight: 700;
    text-decoration: none;
    padding: 0.2em 1.1em 0.2em 1.1em;
    border-radius: 22px;
    font-size: 1em;
    box-shadow: 0 2px 8px rgba(61,149,206,0.10);
    transition: background 0.2s, color 0.2s, box-shadow 0.2s;
    border: none;
    cursor: pointer;
    font-family: 'Inter', 'Arial', sans-serif;
    letter-spacing: 0.01em;
  }
  .venmo-link:hover, .venmo-link:focus {
    background: #4ea2b3;
    color: #fff;
    text-decoration: none;
    box-shadow: 0 4px 16px rgba(61,149,206,0.18);
  }
  .venmo-icon {
    display: inline-flex;
    align-items: center;
    margin-right: 0.2em;
  }
  .venmo-btn-text {
    font-family: 'Inter', 'Arial', sans-serif;
    font-weight: 700;
    font-size: 1.00em;
    color: #fff;
    letter-spacing: 0.01em;
  }

/* General Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', 'Georgia', serif;
  background: #ede7e3;
  color: #333;
  line-height: 1.7;
  text-align: left;
  padding: 0 0.5rem;
  max-width: 800px;
  margin: 0 auto;
}

h1 {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem;
  color: #fff;
  margin-top: 0rem;
  margin-bottom: 0.5rem;
  letter-spacing: 1px;
  background: linear-gradient(90deg, #eecda3 0%, #cf5b63 100%);
  padding: 0.5rem 1rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(239,98,159,0.08);
  display: inline-block;
}
h2, h3 {
  font-family: 'Playfair Display', serif;
  /* color: #2c2c2c; */
}

h2 {
  font-size: 1.5rem;
  margin-top: 0rem;
  margin-bottom: 0.5rem;
  color: #cf5b63;
  position: relative;
}
section > h2::after {
  content: "";
  display: block;
  width: 60px;
  height: 4px;
  background: linear-gradient(90deg, #cf5b63 0%, #eecda3 100%);
  border-radius: 2px;
  margin: 0.4rem 0 0.8rem 0;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  color: #5f4b4b;
  font-weight: 600;
}


p, li {
  font-size: 1.05rem;
  margin: 0.5rem 0;
  text-align: left;
  margin-left: 1rem;
}

/* Decorative Header Image Styling */
.header-image-wrapper {
  text-align: center;
  margin-top: 0;
  margin-bottom: -1.5rem;
    background: linear-gradient(to bottom, #fff8f3 90%, rgba(255,248,243,0) 100%);
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}
@media (max-width: 600px) {
  .header-image-wrapper {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    left: auto;
    right: auto;
    position: static;
  }
  .header-image {
    width: 100%;
    max-width: 100%;
  }
}

.header-image {
  width: 100%;
    max-width: 800px;
  height: auto;
  display: block;
  margin: 0 auto;
  border: none;
  box-shadow: 0 12px 36px 0 rgba(180, 140, 120, 0.18), 0 2px 0 #eecda3;
  background: none;
  position: relative;
  z-index: 2;
}

/* Hero Section */
.hero {
  padding: 2.5rem 2rem 1rem 2rem;
  margin-top: -1.5rem;
  background: linear-gradient(135deg, #fdf6f0, #fefefe);
  border-radius: 0px 0px 22px 22px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  z-index: 3;
}

@media (max-width: 600px) {
  .no-line-break {
    display: block;
  }
  .hero h2 {
    text-align: center;
  }
}

.hero h2 {
  font-size: 2rem;
  color: #555;
  margin-bottom: 0.5rem;
}


.hero-img {
  width: 180px;
  height: auto;
  border-radius: 50%;
  margin: 1.2rem 0 1.2rem 0;
  display: block;
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}


.date {
  font-size: 1.4rem;
  color: #7a5c58;
  font-family: 'Playfair Display', serif;
  margin-top: 0.5rem;
}

/* Section Styling */

section {
  max-width: 700px;
  margin: 2rem auto;
  padding: 1.5rem 2rem;
  background: #f7ede7;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-align: left;
  border: 1px solid #f2e9e1;
}


ul {
  list-style: none;
  margin-top: 1rem;
  padding-left: 0;
}


.hotel {
  margin: 1rem 0;
  padding: 1rem;
  border-radius: 8px;
  background: #f0e3d6;
  border: 1px solid #f2e9e1;
}

/* RSVP Button */

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  background: #7a5c58;
  color: #fff;
  font-size: 1.2rem;
  text-decoration: none;
  border-radius: 30px;
  transition: background 0.3s ease;
  font-family: 'Playfair Display', serif;
}

.btn:hover {
  background: #5c423f;
}

/* Footer */

footer {
  margin: 2rem 0;
  font-size: 0.9rem;
  color: #777;
  text-align: left;
  border-top: 1px solid #f2e9e1;
  padding-top: 1rem;
}
/* RSVP Link Styling */
.rsvp-link {
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  background: linear-gradient(90deg, #cf5b63 0%, #eecda3 100%);
  padding: 0.38em 1.1em 0.38em 1.1em;
  border-radius: 22px;
  box-shadow: 0 2px 8px rgba(239,98,159,0.13);
  border: 2px solid #cf5b63;
  transition: background 0.2s, color 0.2s, border 0.2s;
  font-family: 'Playfair Display', serif;
  font-size: 1.13em;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
}
.rsvp-link:hover, .rsvp-link:focus {
  background: #fff8f3;
  color: #cf5b63;
  border: 2px solid #eecda3;
  text-decoration: none;
}
.rsvp-arrow {
  font-size: 1.1em;
  transition: transform 0.2s;
}
.rsvp-link:hover .rsvp-arrow, .rsvp-link:focus .rsvp-arrow {
  transform: translateX(4px);
}

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

/* Responsive: prevent overflow for long emails and text on mobile, end of file so that overrides happen */
@media (max-width: 600px) {
  .hotel p,
  .hotel a {
    overflow-wrap: break-word;
    font-size: 0.95rem;
    white-space: normal;
  }
  section {
    padding: .75rem 1rem;
  }
  body {
    padding: 0 0.2rem;
  }
  p, li {
    font-size: 1rem;
    margin-left: 0rem;
  }
}
