/* Custom CSS for Carl & Betty's Wedding Invitation */

/* CSS Variables */
:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f6f6f6;
  --bg-dark: #000000;
  --bg-dark-gray: #000000;
  --text-light: #ffffff;
  --text-dark: #111111;
  --text-muted: #666666;
  --text-muted-light: #aaaaaa;

  --border-light: #e0e0e0;
  --border-dark: #222222;
  --border-focus: #000000;

  --font-serif: "Playfair Display", Georgia, serif;
  --font-sans: "Montserrat", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  --transition-speed: 0.3s;
  --transition-ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all var(--transition-speed) var(--transition-ease);
}

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

/* Scrollbar styling */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg-primary);
}

::-webkit-scrollbar-thumb {
  background: #bbbbbb;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--text-dark);
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-serif);
  font-weight: 400;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

/* Sections */
.section {
  padding: 100px 20px;
  position: relative;
}

.bg-light {
  background-color: var(--bg-secondary);
}

.container {
  max-width: 1100px;
  margin: 0 auto;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  font-size: 0.75rem;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 12px;
}

.section-header h2 {
  font-size: 2.5rem;
  font-weight: 300;
  color: var(--text-dark);
}

.header-line {
  width: 50px;
  height: 1px;
  background-color: var(--text-dark);
  margin: 20px auto 0;
}

/* Navigation */
#main-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all var(--transition-speed) var(--transition-ease);
}

/* Initially transparent state (on dark hero) */
#main-nav .nav-logo {
  color: var(--text-light);
}

#main-nav .nav-links a {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-light);
}

#main-nav .nav-links a:hover {
  color: var(--accent-gold);
  opacity: 1;
}

.nav-rsvp-btn {
  background-color: transparent !important;
  color: white !important;
  border: 1px solid var(--accent-gold) !important;
  padding: 10px 24px !important;
  border-radius: 0;
  transition: all var(--transition-speed) var(--transition-ease);
}

.nav-rsvp-btn:hover {
  background-color: var(--accent-gold) !important;
  color: var(--bg-dark) !important;
}

#main-nav .mobile-nav-toggle span {
  background-color: var(--text-light);
}

/* Scrolled state (white background) */
#main-nav.scrolled {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  padding: 12px 0;
}

#main-nav.scrolled .nav-logo {
  color: var(--text-dark);
}

#main-nav.scrolled .nav-links a {
  color: var(--text-dark);
}

#main-nav.scrolled .nav-links a:hover {
  color: var(--accent-gold);
  opacity: 1;
}

#main-nav.scrolled .nav-rsvp-btn {
  background-color: var(--bg-dark) !important;
  color: var(--text-light) !important;
  border-color: var(--bg-dark) !important;
}

#main-nav.scrolled .nav-rsvp-btn:hover {
  background-color: transparent !important;
  color: var(--text-dark) !important;
  border-color: var(--text-dark) !important;
}

#main-nav.scrolled .mobile-nav-toggle span {
  background-color: var(--text-dark);
}

/* Force dark toggle when menu is open */
.mobile-nav-toggle.open span {
  background-color: var(--text-dark) !important;
}

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

.nav-logo {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 600;
  letter-spacing: 0.1em;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 6px;
  z-index: 1001;
}

.mobile-nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  transition: all var(--transition-speed);
}

/* Open states for mobile toggle */
.mobile-nav-toggle.open span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.mobile-nav-toggle.open span:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.open span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-primary);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  transform: translateY(-100%);
  transition: transform 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.open {
  transform: translateY(0);
}
}

.mobile-menu ul {
  list-style: none;
  text-align: center;
}

.mobile-menu li {
  margin: 25px 0;
}

.mobile-menu a {
  font-family: var(--font-serif);
  font-size: 2rem;
  letter-spacing: 0.1em;
  color: var(--text-dark);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  width: 100%;
  background-color: var(--bg-dark-gray);
  color: var(--text-light);
  display: flex;
  align-items: center;
  position: relative;
  padding: 140px 20px 100px 20px;
}

.hero-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
  z-index: 2;
}

.hero-text-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  text-align: left;
}

.hero-subtitle {
  font-size: 0.9rem;
  letter-spacing: 0.4em;
  text-transform: uppercase;
  margin-bottom: 20px;
  font-weight: 500;
  color: var(--accent-gold);
}

.hero-title {
  font-size: 5rem;
  font-weight: 300;
  margin-bottom: 25px;
  line-height: 1.1;
  color: var(--text-light);
}

.hero-divider {
  font-size: 1.2rem;
  margin-bottom: 25px;
  color: var(--accent-gold);
}

.hero-date {
  font-size: 1.6rem;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  font-weight: 300;
  font-family: var(--font-serif);
}

.hero-location {
  font-size: 0.85rem;
  letter-spacing: 0.3em;
  color: var(--text-muted-light);
  margin-bottom: 40px;
}

.hero-cta-container {
  margin-top: 10px;
}

.hero-rsvp-btn {
  display: inline-block;
  background-color: transparent;
  color: var(--accent-gold);
  border: 2px solid var(--accent-gold);

  font-size: 1.3rem;
  padding: 24px 70px;

  font-weight: 700;
  letter-spacing: 0.2em;
}

.hero-rsvp-btn:hover {
  background-color: var(--accent-gold);
  color: var(--bg-dark);
}

/* ===== FULL-SCREEN SPLIT HERO ===== */

.hero-section {
  min-height: 100vh;
  padding: 0;
  overflow: hidden;
}

.hero-container {
  width: 100%;
  max-width: none;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin: 0;
}

.hero-text-side {
  padding: 0 80px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
}

.hero-image-side {
  width: 100%;
  height: 100vh;
}

.hero-image-frame {
  width: 100%;
  height: 100%;
  max-width: none;
  overflow: hidden;

  /* BIG SMOOTH ARC */
  border-radius: 0;
}

@media screen and (max-width: 900px) {
  .hero-image-frame {
    border-radius: 200px 200px 0 0;
  }
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Mobile */
@media screen and (max-width: 900px) {
  .hero-container {
    grid-template-columns: 1fr;
  }

  @media screen and (max-width: 900px) {
    .hero-image-side {
      height: 70vh;
    }
  }

  .hero-text-side {
    padding: 20px 30px;
    align-items: center;
    text-align: center;
  }
}

.hero-scroll-btn {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  animation: bounce 2s infinite;
  z-index: 10;
}

.arrow-down {
  display: inline-block;
  color: var(--text-muted-light);
  transition: color 0.3s;
}

.arrow-down:hover {
  color: var(--accent-gold);
}

/*  Section */
.-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

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

.-card {
  background: var(--bg-secondary);
  padding: 50px 30px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.-card-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.-card-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

/* Countdown Section */
.countdown-section {
  background-color: var(--bg-primary);
  border-bottom: 1px solid var(--border-light);
}

.double-countdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.countdown-card {
  background: var(--bg-secondary);
  padding: 50px 30px;
  text-align: center;
  border: 1px solid var(--border-light);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.countdown-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
}

.countdown-card-title {
  font-size: 1.8rem;
  margin-bottom: 8px;
}

.countdown-card-subtitle {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--text-muted);
  letter-spacing: 0.1em;
  margin-bottom: 30px;
}

@media screen and (max-width: 900px) {
  .double-countdown-grid {
    grid-template-columns: 1fr;
    /* stack vertically */
    gap: 30px;
  }
}

.timer {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 30px;
}

.time-block {
  min-width: 70px;
  padding: 12px 6px;
  background: var(--bg-primary);
  border: 1px solid var(--border-light);
  display: flex;
  flex-direction: column;
  align-items: center;
}

.time-block .days,
.time-block .hours,
.time-block .minutes,
.time-block .seconds {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  font-weight: 300;
  display: block;
}

.time-block .label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-top: 4px;
}

.deadline-note {
  font-size: 0.85rem;
  font-style: italic;
  color: var(--text-muted);
}



/* Our Story (Timeline) */
.story-section {
  position: relative;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 1px;
  background-color: var(--border-light);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -0.5px;
  z-index: 1;
}

.timeline-item {
  padding: 10px 40px;
  position: relative;
  background-color: inherit;
  width: 50%;
  z-index: 2;
}

.timeline-item.left {
  left: 0;
}

.timeline-item.right {
  left: 50%;
}

.timeline-dot {
  position: absolute;
  width: 11px;
  height: 11px;
  right: -6px;
  background-color: var(--bg-primary);
  border: 2px solid var(--text-dark);
  top: 30px;
  border-radius: 50%;
  z-index: 3;
}

.timeline-item.right .timeline-dot {
  left: -6px;
}

.timeline-content {
  padding: 30px;
  background-color: var(--bg-primary);
  position: relative;
  border: 1px solid var(--border-light);
}

.timeline-date {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  display: block;
  margin-bottom: 10px;
}

.timeline-content h3 {
  font-size: 1.4rem;
  margin-bottom: 12px;
}

.timeline-content p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Details Section */
.details-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-bottom: 60px;
}

.details-card {
  text-align: center;
  padding: 50px 30px;
  border: 1px solid var(--border-light);
  background-color: var(--bg-primary);
  transition: all var(--transition-speed);
}

.details-card:hover {
  border-color: var(--text-dark);
}

.card-icon {
  margin-bottom: 25px;
  color: var(--text-dark);
  display: flex;
  justify-content: center;
}

.details-card h3 {
  font-size: 1.6rem;
  margin-bottom: 15px;
}

.details-highlight {
  font-size: 1.1rem;
  font-weight: 500;
  margin-bottom: 15px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 15px;
}

.details-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.dress-code-sub {
  margin-top: 15px;
  font-size: 0.8rem !important;
  font-style: italic;
}

/* Program Box */
.program-box {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 60px 40px;
  max-width: 800px;
  margin: 80px auto 0;
}

.program-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 40px;
}

.program-timeline {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.program-step {
  display: flex;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 15px;
}

.program-step:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.program-time {
  font-family: var(--font-serif);
  font-size: 1.1rem;
  font-weight: 600;
  width: 120px;
  flex-shrink: 0;
}

.program-event {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid var(--border-light);
  cursor: pointer;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(100%);
}

.gallery-item:hover .gallery-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-caption {
  color: var(--text-light);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  border-bottom: 1px solid var(--text-light);
  padding-bottom: 5px;
}

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

.outfit-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: none;
  cursor: pointer;
}

.outfits-section .container {
  padding: 0 20px;

}

.outfits-section .container>p {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 40px;
  font-size: 1rem;
  color: var(--text-muted);
}

.outfits-section {
  background-color: var(--bg-secondary);
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 100px 0;
}

.outfit-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  filter: grayscale(100%);
}

.outfit-item:hover .outfit-img {
  transform: scale(1.05);
  filter: grayscale(0%);
}

.outfit-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity var(--transition-speed);
}

.outfit-item:hover .outfit-overlay {
  opacity: 1;
}

.outfit-caption {
  color: var(--text-light);
  font-family: var(--font-serif);
  font-size: 1.2rem;
  border-bottom: 1px solid var(--text-light);
  padding-bottom: 5px;
}

/* Lightbox Modal */
.lightbox {
  display: none;
  position: fixed;
  z-index: 2000;
  padding-top: 100px;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.95);
}

.lightbox-content {
  margin: auto;
  display: block;
  max-width: 80%;
  max-height: 70vh;
  object-fit: contain;
}

#lightbox-caption {
  margin: auto;
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  color: #ccc;
  padding: 10px 0;
  font-family: var(--font-serif);
  font-size: 1.5rem;
}

.lightbox-close {
  position: absolute;
  top: 40px;
  right: 40px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  cursor: pointer;
}

.lightbox-close:hover,
.lightbox-close:focus {
  color: #bbb;
  text-decoration: none;
}

/* RSVP Portal */
.rsvp-section {
  background: var(--bg-primary);
}

.rsvp-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

.rsvp-card {
  background: var(--bg-secondary);
  border: 1px solid var(--border-light);
  padding: 60px 45px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

/* Lock Card */
.lock-card {
  text-align: center;
}

.lock-icon {
  margin-bottom: 25px;
  color: var(--text-dark);
}

.lock-card h3 {
  font-size: 1.8rem;
  margin-bottom: 15px;
}

.lock-instructions {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

.lock-question {
  font-size: 1.1rem;
  margin-bottom: 30px;
  font-family: var(--font-serif);
}

.riddle-options {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 0;
  transition: all var(--transition-speed) var(--transition-ease);
  text-align: center;
}

.btn-black {
  background-color: var(--bg-dark);
  color: var(--text-light);
  border: 1px solid var(--bg-dark);
}

.btn-black:hover {
  background-color: transparent;
  color: var(--text-dark);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-dark);
  border: 1px solid var(--border-light);
}

.btn-outline:hover {
  border-color: var(--text-dark);
  background-color: var(--text-dark);
  color: var(--text-light);
}

.w-full {
  width: 100%;
}

.feedback-msg {
  margin-top: 25px;
  font-size: 0.9rem;
  min-height: 20px;
  font-weight: 500;
}

.feedback-msg.error {
  color: #880000;
}

.feedback-msg.success {
  color: #006600;
}

/* Form Styles */
.form-title {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 10px;
}

.form-subtitle {
  font-size: 0.9rem;
  text-align: center;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.form-group {
  margin-bottom: 30px;
}

.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.form-group input[type="text"] {
  width: 100%;
  padding: 14px 18px;
  border: 1px solid var(--border-light);
  background: var(--bg-primary);
  font-family: var(--font-sans);
  font-size: 0.95rem;
  border-radius: 0;
  transition: border-color var(--transition-speed);
}

.form-group input[type="text"]:focus {
  outline: none;
  border-color: var(--border-focus);
}

/* Radio Group */
.radio-group {
  display: flex;
  gap: 30px;
  margin-top: 10px;
}

.radio-label {
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 0.95rem;
  padding-left: 30px;
  user-select: none;
}

.radio-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
}

.custom-radio {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  border-radius: 50%;
  transition: all var(--transition-speed);
}

.radio-label:hover input~.custom-radio {
  border-color: var(--text-dark);
}

.radio-label input:checked~.custom-radio {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
}

.custom-radio:after {
  content: "";
  position: absolute;
  display: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: white;
}

.radio-label input:checked~.custom-radio:after {
  display: block;
}

/* Menu Course & Selection */
.menu-title {
  font-size: 1.6rem;
  margin-top: 45px;
  border-top: 1px solid var(--border-light);
  padding-top: 35px;
  margin-bottom: 8px;
  text-align: center;
}

.menu-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 30px;
}

.menu-course-section {
  margin-bottom: 35px;
}

.course-header {
  font-size: 1.1rem;
  margin-bottom: 15px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-bottom: 1px dashed var(--border-light);
  padding-bottom: 8px;
}

.menu-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

/* Three columns for main course */
.menu-course-section:nth-of-type(2) .menu-grid {
  grid-template-columns: repeat(3, 1fr);
}

.menu-card {
  background-color: var(--bg-primary);
  border: 1px solid var(--border-light);
  padding: 20px;
  cursor: pointer;
  transition: all var(--transition-speed) var(--transition-ease);
  height: 100%;
}

.menu-card:hover {
  border-color: var(--text-dark);
}

.menu-card.selected {
  background-color: var(--bg-dark);
  border-color: var(--bg-dark);
  color: var(--text-light);
}

.menu-card h6 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.menu-card.selected h6 {
  color: var(--text-light);
}

.menu-card p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
}

.menu-card.selected p {
  color: var(--text-muted-light);
}

/* Success Card */
.success-card {
  text-align: center;
}

.success-icon {
  color: #006600;
  margin-bottom: 25px;
}

.success-card h3 {
  font-size: 2.2rem;
  margin-bottom: 15px;
}

.success-card p {
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.success-note {
  font-size: 0.85rem !important;
  font-style: italic;
  margin-bottom: 30px !important;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* Footer styling */
.footer {
  background-color: var(--bg-dark-gray);
  color: var(--text-light);
  padding: 80px 20px 40px;
  text-align: center;
}

.footer-names {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.footer-hashtag {
  font-size: 0.8rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted-light);
}

.footer-divider {
  width: 50px;
  height: 1px;
  background-color: var(--border-dark);
  margin: 30px auto;
}

.copyright {
  font-size: 0.75rem;
  color: #555;
  letter-spacing: 0.05em;
}

.admin-link-p {
  margin-top: 15px;
}

.admin-link {
  font-size: 0.7rem;
  color: #444;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.admin-link:hover {
  color: var(--text-light);
}

/* Utility / Helpers */
.hidden {
  display: none !important;
}

/* Animations */
@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-10px);
  }

  60% {
    transform: translateY(-5px);
  }
}

/* Scroll Animation classes */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.appear {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-up {
  animation: fadeInUp 1.2s forwards;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-left.appear {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-right.appear {
  opacity: 1;
  transform: translateX(0);
}

/* Responsive adjustments */
@media screen and (max-width: 900px) {
  .hero-section {
    padding: 70px 15px 30px 15px;
    height: auto;
    min-height: 100vh;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
  }

  .hero-text-side {
    align-items: center;
    order: 2;
  }

    {
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }


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

  .double--grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

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

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .menu-grid,
  .menu-course-section:nth-of-type(2) .menu-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .mobile-nav-toggle {
    display: flex;
  }

  .section {
    padding: 60px 15px;
  }

  /* Timeline Responsive */
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item.right {
    left: 0%;
  }

  .timeline-dot {
    left: 26px !important;
    right: auto !important;
  }
}

@media screen and (max-width: 480px) {
  .hero-title {
    font-size: 2.4rem;
  }

  .hero-date {
    font-size: 1.25rem;
  }

  .hero-location {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
  }

  .hero-subtitle {
    font-size: 0.8rem;
    letter-spacing: 0.3em;
  }
}

/* Custom Overrides for RSVP & Inspo Modal */
.rsvp-section .section-header h2 {
  font-size: 3.5rem !important;
  font-weight: 700 !important;
}

.rsvp-card {
  background: #ffffff !important;
  color: #000000 !important;
  border: 2px solid #000000 !important;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.1) !important;
}

.rsvp-card h3,
.rsvp-card h4,
.rsvp-card label,
.rsvp-card .lock-question {
  color: #000000 !important;
}

.rsvp-card .form-subtitle,
.rsvp-card .lock-instructions {
  color: #333333 !important;
}

/* Modal styling for outfit inspos */
.inspo-modal {
  display: none;
  position: fixed;
  z-index: 2500;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(10px);
}

.inspo-modal-content {
  background-color: #ffffff;
  margin: 5% auto;
  padding: 40px;
  border: 2px solid #000000;
  width: 90%;
  max-width: 900px;
  position: relative;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  color: #000000;
}

.inspo-close {
  position: absolute;
  top: 20px;
  right: 25px;
  color: #000000;
  font-size: 35px;
  font-weight: 300;
  cursor: pointer;
  transition: color 0.3s;
}

.inspo-close:hover {
  color: #666666;
}

.inspo-header {
  text-align: center;
  margin-bottom: 30px;
}

.inspo-header h3 {
  font-family: var(--font-serif);
  font-size: 2.2rem;
  margin-bottom: 10px;
  color: #000000;
}

.inspo-header p {
  font-size: 0.95rem;
  color: #555555;
}

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

.inspo-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border: 1px solid #e0e0e0;
}

.inspo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.inspo-item:hover .inspo-img {
  transform: scale(1.05);
}

@media screen and (max-width: 768px) {
  .inspo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .inspo-modal-content {
    margin: 10% auto;
    padding: 20px;
  }
}

@media screen and (max-width: 480px) {
  .inspo-grid {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 768px) {
  .rsvp-card {
    padding: 30px 20px !important;
  }

  .program-box {
    padding: 35px 20px !important;
  }
}