@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@300;400;500;600;700&family=Dancing+Script:wght@400;600;700&display=swap');

@font-face {
  font-family: 'Gellatio';
  src: url('/fonts/gellatio.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Cambria';
  src: url('/fonts/cambria.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #f5e1e8;
  --bg-card: #e8cdd6;
  --fg: #4a1a24;
  --primary: #722F37;
  --primary-fg: #ffffff;
  --muted: #8c5a66;
  --border: #d4a8b5;
  --font-heading: 'Gellatio', 'Dancing Script', cursive;
  --font-cambria: 'Cambria', 'Georgia', serif;
  --font-body: 'DM Sans', sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
}

a {
  color: var(--primary);
  text-decoration: none;
}

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

/* NAV BAR - hamburger only, no desktop menu */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  background: rgba(245, 225, 232, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(212, 168, 181, 0.5);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  padding: 0.75rem 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  color: var(--fg);
}

.nav-logo span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  letter-spacing: 0.05em;
}

.nav-toggle {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  color: var(--fg);
  display: flex;
  align-items: center;
}

.nav-toggle svg {
  width: 24px;
  height: 24px;
}

/* FULLSCREEN MENU - opens on hamburger tap */
.fullscreen-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 55;
  background: var(--bg);
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fullscreen-menu.open {
  display: flex;
}

.fullscreen-menu-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.fullscreen-menu-link {
  font-family: var(--font-cambria);
  font-size: 1.5rem;
  color: var(--fg);
  text-decoration: none;
  transition: color 0.2s;
  letter-spacing: 0.02em;
}

.fullscreen-menu-link:hover {
  color: var(--primary);
}

.fullscreen-menu-link.active {
  color: var(--primary);
}

@media (min-width: 768px) {
  .fullscreen-menu-link {
    font-size: 2.0rem;
  }
}

/* PAGE WRAPPER */
.page {
  padding-top: 3.5rem;
  min-height: 100vh;
}

/* SECTION */
.section {
  padding: 4rem 1.5rem;
  max-width: 42rem;
  margin: 0 auto;
}

.section-wide {
  max-width: 56rem;
}

.section-narrow {
  max-width: 28rem;
}

/* HEADINGS */
.heading {
  font-family: var(--font-heading);
  color: var(--primary);
}

.section-heading {
  text-align: center;
  margin-bottom: 2rem;
}

.section-heading h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--primary);
}

.section-heading .sub {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.05em;
}

.section-heading .divider {
  width: 4rem;
  height: 2px;
  background: rgba(114, 47, 55, 0.4);
  border-radius: 9999px;
  margin: 1rem auto 0;
}

.header-sub { max-width: 700px; 
width: 90%; margin: 0 auto; 
text-align: center; 

/* Fix overflow properly */ 
overflow-wrap: break-word; 
word-wrap: break-word; 
hyphens: auto; 

/* Responsive font scaling */ 
font-size: clamp(1rem, 4vw, 1.25rem); }

/* RIBBON BADGE */
.ribbon {
  display: flex;
  justify-content: center;
}

.ribbon-inner {
  position: relative;
  width: 5rem;
  background: var(--primary);
  color: var(--primary-fg);
  text-align: center;
  padding: 1rem 0 2rem;
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}

.ribbon-label {
  display: block;
  font-size: 0.70rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  line-height: 1;
  padding: 15px;
}

.ribbon-number {
  display: block;
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 0.125rem;
}

@media (min-width: 768px) {
  .ribbon-inner { width: 6.0rem; }
  .ribbon-number { font-size: 2.0rem; }
}

/* COUNTDOWN */
.countdown {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}

.countdown-label {
  font-size: 0.625rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--muted);
  margin-top: 0.25rem;
}

.countdown-sep {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: rgba(114, 47, 55, 0.4);
  margin-top: -0.75rem;
}

@media (min-width: 768px) {
  .countdown { gap: 2rem; }
  .countdown-value { font-size: 3rem; }
  .countdown-sep { font-size: 2.5rem; }
}

/* PHOTOS */
.photos-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 2.5rem;
}

.photo-frame {
  width: 10rem; /* Increased width for larger frame */
  height: 14rem; /* Increased height for larger frame */
  overflow: hidden;
  position: relative;
  border: 7px solid #fef3de; /* Bold polaroid-like border color */
  border-radius: 0.1rem;  /* More rounded corners for that retro look */
  background-color: #f3eae0; /* Vintage off-white background */
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.2); /* Larger shadow for depth */
  transform: rotate(-3deg); /* Slight rotation for a 1970s feel */
  transition: transform 0.3s ease, box-shadow 0.3s ease; /* Smooth hover transition */
  margin-bottom: 20px;
}

/* Add random tilts */
.photo-frame:nth-child(even) {
  transform: rotate(3deg); /* Tilt even images */
}

.photo-frame:nth-child(3n) {
  transform: none;
  position: relative;
  top: -5px;
}

.photo-frame:nth-child(5n) {
  transform: rotate(6deg);
  position: relative;
  right: 5px;
}

.photo-frame:nth-child(8n) {
  position: relative;
  top: 8px;
  right: 5px;
}

.photo-frame:nth-child(11n) {
  position: relative;
  top: 3px;
  left: -5px;
}

/* On hover - smooth straighten and scale */
.photo-frame:hover {
  transform: rotate(0deg) scale(1.1); /* Smooth straighten with scaling */
  z-index: 5;
  box-shadow: 0 12px 20px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
}

/* Image Styling - Grayscale with sepia filter for a retro look */
.photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(70%) sepia(10%) contrast(120%); /* Strong grayscale and sepia for vintage look */
  border-radius: 0.5rem;  /* Adding a border radius for the image itself */
}

/* Title/Caption from the title attribute */
.photo-frame a:after {
  content: attr(title); /* Use title attribute for captions */
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-size: 14px;
  color: #333;
  text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.6);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.5rem;
  border-radius: 5px;
  font-weight: 700;
  max-width: calc(100% - 20px);
  box-sizing: border-box;
}

/* Responsive design */
@media (min-width: 768px) {
  .photo-frame { width: 16rem; height: 18rem; } /* Bigger size on larger screens */
}



/* HERO SECTION */
.hero {
  min-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 4rem 1.5rem;
  text-align: center;
  margin-top: -2rem;
}

.hero h1 {
  color: var(--primary);
  line-height: 1.1;
}

.hero .these-kids { 
display: block; 
font-family: var(--font-cambria); 
font-size: 1.2rem; 
margin-bottom: 0.25rem; 
margin-left: auto; 
margin-right: 1rem; 
width: fit-content; 
font-weight: 300; 
} 

.hero .getting-married { 
display: block; 
font-family: var(--font-heading); 
font-size: 1.5rem; 
font-weight: 500; 
} 

@media (min-width: 480px) { 
.hero .these-kids { 
font-size: 1.0rem; 
margin-right: 1.0rem; 
padding-bottom:10px; } 
.hero .getting-married { font-size: 1.0rem; font-weight: 200; } 
} 

@media (min-width: 768px) { 
.hero .these-kids { 
font-size: 2.0rem; 
margin-right: 1.5rem; 
padding-bottom:10px; 
} 

.hero .getting-married { font-size: 2.5rem; font-weight: 300; } 
} 

@media (min-width: 1024px) { 
.hero .these-kids { 
font-size: 2.0rem; 
margin-right: 1.5rem; 
padding-bottom:10px; 
} 

.hero .getting-married { font-size: 3.0rem; font-weight: 400; } 
}

.date-text { 
font-family: var(--font-cambria); 
font-size: 1.0rem; 
color: var(--primary); 
letter-spacing: 0.80rem; 
text-transform: uppercase; 
margin-top: 2.5rem; } 

@media (min-width: 768px) { 
.date-text { font-size: 0.60 letter-spacing: 0.60rem; } 
} 

@media (min-width: 768px) { 
.date-text { font-size: 0.80; letter-spacing: 0.60rem; } 
}

@media (min-width: 1024px) { 
.date-text { font-size: 1.2rem;letter-spacing: 0.60rem; } 
}

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.5rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  border: none;
  transition: opacity 0.2s, transform 0.1s;
  text-decoration: none;
}

.btn:hover { opacity: 0.9; }
.btn:active { transform: scale(0.98); }

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

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

.btn-outline:hover { background: rgba(114, 47, 55, 0.05); }

.btn-full { width: 100%; justify-content: center; }

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* CARDS */
.card {
  background: var(--bg-card);
  border: 1px solid rgba(212, 168, 181, 0.5);
  border-radius: 0.375rem;
  overflow: hidden;
}

.card-body {
  padding: 1.25rem;
}

/* INFO GRID */
.info-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 1.5rem;
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(232, 205, 214, 0.5);
  max-width: 56rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .info-grid { grid-template-columns: repeat(3, 1fr); }
}

.info-grid-item h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--primary);
  margin: 0.75rem 0 0.5rem;
}

.info-grid-item p {
  font-size: 0.75rem;
  color: var(--muted);
}

/* ICON */
.icon {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: middle;
}

.icon-sm { width: 1rem; height: 1rem; }
.icon-md { width: 1.25rem; height: 1.25rem; }
.icon-lg { width: 2rem; height: 2rem; }
.icon-xl { width: 3rem; height: 3rem; }

.icon-heart { color: var(--primary); }

/* FORMS */
.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 0.375rem;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.625rem 0.875rem;
  border: 1px solid var(--border);
  border-radius: 0.375rem;
  background: rgba(245, 225, 232, 0.5);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 0.875rem;
  transition: border-color 0.2s;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 2px rgba(114, 47, 55, 0.15);
}

.form-textarea {
  resize: none;
  min-height: 100px;
}

.dietary-multiselect {
  position: relative;
}

.dietary-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.375rem;
  margin-bottom: 0.375rem;
}

.dietary-tags:empty {
  margin-bottom: 0;
}

.dietary-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.25rem 0.5rem;
  border-radius: 1rem;
  font-size: 0.75rem;
  font-weight: 500;
  line-height: 1.2;
}

.dietary-tag button {
  background: none;
  border: none;
  color: var(--primary-fg);
  cursor: pointer;
  font-size: 0.875rem;
  line-height: 1;
  padding: 0;
  margin-left: 0.125rem;
  opacity: 0.8;
}

.dietary-tag button:hover {
  opacity: 1;
}

.dietary-dropdown {
  font-size: 0.8125rem;
}

.dietary-other-wrap textarea {
  font-size: 0.8125rem;
}

.form-error {
  color: #b91c1c;
  font-size: 0.75rem;
  margin-top: 0.25rem;
}

/* TIMELINE */
.timeline {
  position: relative;
  margin-top: 2.5rem;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 1rem;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(114, 47, 55, 0.2);
}

.timeline-item {
  position: relative;
  padding-left: 2.5rem;
  margin-bottom: 2.5rem;
}

.timeline-dot {
  position: absolute;
  left: 0.625rem;
  top: 0.375rem;
  width: 0.75rem;
  height: 0.75rem;
  border-radius: 50%;
  background: var(--primary);
}

.timeline-year {
  font-size: 0.75rem;
  color: var(--primary);
  letter-spacing: 0.1em;
  font-weight: 600;
}

.timeline-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: var(--primary);
  margin-top: 0.25rem;
}

.timeline-desc {
  font-size: 0.875rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.6;
}

@media (min-width: 768px) {
  .timeline::before { left: 50%; }
  .timeline-item { padding-left: 0; width: 50%; }
  .timeline-item:nth-child(odd) { padding-right: 2rem; text-align: right; margin-left: 0; }
  .timeline-item:nth-child(even) { padding-left: 2rem; margin-left: 50%; }
  .timeline-dot { left: auto; }
  .timeline-item:nth-child(odd) .timeline-dot { right: -0.375rem; left: auto; }
  .timeline-item:nth-child(even) .timeline-dot { left: -0.375rem; }
}

/* GALLERY GRID */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}

@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

.gallery-thumb {
  position: relative;
  aspect-ratio: 1;
  cursor: pointer;
  overflow: hidden;
  border-radius: 0.375rem;
}

.gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.gallery-thumb:hover img { transform: scale(1.1); }

.gallery-thumb .overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  display: flex;
  align-items: flex-end;
}

.gallery-thumb:hover .overlay { background: rgba(0,0,0,0.3); }

.gallery-thumb .caption {
  padding: 0.5rem;
  color: white;
  font-size: 0.75rem;
  opacity: 0;
  transition: opacity 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}

.gallery-thumb:hover .caption { opacity: 1; }

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(0,0,0,0.9);
  align-items: center;
  justify-content: center;
}

.lightbox.open { display: flex; }

.lightbox img, .lightbox video {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  color: white;
  font-size: 2rem;
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.15);
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 1rem;
  border-radius: 50%;
  line-height: 1;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

.lightbox-caption {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
  color: white;
  font-size: 0.875rem;
  text-align: center;
  max-width: 80%;
}

/* HOTEL CARDS */
.hotel-card {
  margin-bottom: 1.25rem;
}

.hotel-card img {
  width: 100%;
  height: 10rem;
  object-fit: cover;
  filter: grayscale(100%);
}

@media (min-width: 768px) {
  .hotel-card img { height: 12rem; }
}

.hotel-info {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.hotel-info h3 {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--primary);
  margin-bottom: 0.25rem;
}

.hotel-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  color: var(--muted);
}

/* COMMENT CARDS */
.comment-card {
  margin-bottom: 1rem;
}

.comment-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.comment-avatar {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: rgba(114, 47, 55, 0.1);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  flex-shrink: 0;
}

.comment-name {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
}

.comment-date {
  font-size: 0.625rem;
  color: var(--muted);
  margin-left: 0.5rem;
}

.comment-body {
  font-size: 0.875rem;
  color: rgba(74, 26, 36, 0.8);
  margin-top: 0.25rem;
  line-height: 1.6;
  padding-left: 3rem;
}

.comment-media {
  margin-top: 0.75rem;
  padding-left: 3rem;
  cursor: pointer;
}

.comment-media img,
.comment-media video {
  max-height: 10rem;
  border-radius: 0.375rem;
  object-fit: cover;
}

/* POEM */
.poem {
  text-align: center;
  padding: 0 0.5rem;
  margin-bottom: 2.5rem;
}

.poem p {
  font-size: 0.75rem;
  color: var(--muted);
  line-height: 1.6;
}

@media (min-width: 768px) {
  .poem p { font-size: 0.875rem; }
}

/* QUOTE */
.quote-section {
  padding: 3rem 1.5rem;
  background: rgba(232, 205, 214, 0.5);
  text-align: center;
  min-height: 260px;
}

.quote {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: rgba(74, 26, 36, 0.8);
  font-style: italic;
  max-width: 36rem;
  margin: 0 auto;
}

.quote-author {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.75rem;
}

/* SUCCESS STATE */
.success-state {
  text-align: center;
  padding: 6rem 1.5rem;
  max-width: 28rem;
  margin: 0 auto;
}

.success-icon {
  width: 4rem;
  height: 4rem;
  color: var(--primary);
  margin: 0 auto 1.5rem;
}

.success-state h2 {
  font-family: var(--font-heading);
  font-size: 1.875rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

.success-state p {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* HERO IMAGE */
.hero-image {
  position: relative;
  height: 50vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  filter: grayscale(70%) sepia(10%) contrast(120%); /* Strong grayscale and sepia for vintage look */
}

.hero-image img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-image .wash {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.4), rgba(0,0,0,0.3), rgba(0,0,0,0.6));
}

.hero-image .content {
  position: relative;
  z-index: 10;
  text-align: center;
}

.hero-image h1 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: white;
  letter-spacing: 0.05em;
}

.hero-image p {
  margin-top: 0.5rem;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.05em;
}

@media (min-width: 768px) {
  .hero-image h1 { font-size: 3rem; }
}

/* VIDEO PLACEHOLDER */
.video-placeholder {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, rgba(114,47,55,0.1), rgba(114,47,55,0.05));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: 0.375rem;
  border: 1px solid rgba(212, 168, 181, 0.5);
}

.video-placeholder .play-circle {
  width: 5rem;
  height: 5rem;
  border-radius: 50%;
  background: rgba(114, 47, 55, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}

.video-placeholder p {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: rgba(74, 26, 36, 0.6);
}

.video-placeholder .sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* ADMIN STATS GRID */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  margin-bottom: 1rem;
}

.stat-box {
  text-align: center;
  padding: 0.75rem;
  background: rgba(245, 225, 232, 0.5);
  border-radius: 0.375rem;
  border: 1px solid rgba(212, 168, 181, 0.5);
}

.stat-value {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  color: var(--primary);
}

.stat-label {
  font-size: 0.625rem;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

/* GUEST LIST */
.guest-row {
  padding: 0.75rem;
  border: 1px solid rgba(212, 168, 181, 0.5);
  border-radius: 0.375rem;
  margin-bottom: 0.5rem;
}

.guest-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.guest-name {
  font-size: 0.875rem;
  font-weight: 500;
}

.badge {
  display: inline-block;
  font-size: 0.625rem;
  padding: 0.125rem 0.5rem;
  border-radius: 0.375rem;
}

.badge-green { background: #dcfce7; color: #166534; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-primary { background: rgba(114, 47, 55, 0.1); color: var(--primary); }

.guest-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.25rem;
  flex-wrap: wrap;
  font-size: 0.625rem;
  color: var(--muted);
}

/* ADMIN GALLERY */
.admin-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.admin-gallery-item {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  border-radius: 0.375rem;
}

.admin-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.admin-gallery-item .delete-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0);
  transition: background 0.3s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-gallery-item:hover .delete-overlay { background: rgba(0,0,0,0.5); }

.admin-gallery-item .delete-btn {
  opacity: 0;
  transition: opacity 0.3s;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  font-size: 1.25rem;
}

.admin-gallery-item:hover .delete-btn { opacity: 1; }

.admin-gallery-item .img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.5);
  color: white;
  font-size: 0.625rem;
  padding: 0.125rem 0.375rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* VENUE */
.venue-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border-radius: 0.375rem;
  padding: 0.75rem 1rem;
  border: 1px solid rgba(212, 168, 181, 0.5);
  margin-bottom: 1.5rem;
}

.venue-badge span {
  font-family: var(--font-heading);
  font-size: 1.125rem;
  color: var(--primary);
}

/* MAP */
.map-container {
  border-radius: 0.375rem;
  overflow: hidden;
  border: 1px solid rgba(212, 168, 181, 0.5);
}

.map-container iframe {
  border: 0;
  display: block;
}

/* FOOTER */
.site-footer {
  padding: 2rem 1.5rem;
  text-align: center;
  border-top: 1px solid rgba(212, 168, 181, 0.5);
}

.site-footer p {
  font-size: 0.75rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* EMPTY STATE */
.empty-state {
  text-align: center;
  padding: 4rem 0;
}

.empty-state p {
  font-size: 0.875rem;
  color: var(--muted);
}

/* COMING SOON */
.coming-soon-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
}

.coming-soon-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 3rem 1.5rem;
  text-align: center;
  margin-top: -2rem;
}

.coming-soon-msg {
  font-size: 0.875rem;
  color: var(--muted);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-top: 2rem;
}

/* EMAIL INFO BOX */
.email-info {
  background: rgba(245, 225, 232, 0.5);
  padding: 0.75rem;
  border-radius: 0.375rem;
  border: 1px solid rgba(212, 168, 181, 0.5);
  margin-bottom: 1rem;
}

.email-info p {
  font-size: 0.625rem;
  color: var(--muted);
}

/* NOTE BOX */
.note-box {
  margin-top: 2rem;
  padding: 1rem;
  background: rgba(232, 205, 214, 0.6);
  border-radius: 0.375rem;
  text-align: center;
  border: 1px solid rgba(212, 168, 181, 0.3);
}

.note-box p {
  font-size: 0.75rem;
  color: var(--muted);
}

/* TOAST */
.toast-container {
  position: fixed;
  top: 4rem;
  right: 1rem;
  z-index: 200;
}

.toast {
  background: var(--primary);
  color: var(--primary-fg);
  padding: 0.75rem 1.25rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  margin-bottom: 0.5rem;
  animation: fadeInOut 3s forwards;
  max-width: 20rem;
}

.toast-error {
  background: #b91c1c;
}

@keyframes fadeInOut {
  0% { opacity: 0; transform: translateX(20px); }
  10% { opacity: 1; transform: translateX(0); }
  80% { opacity: 1; }
  100% { opacity: 0; }
}

/* SVG ICONS (inline) */
.svg-heart { fill: var(--primary); }

/* MISC UTILITY */
.text-center { text-align: center; }
.text-primary { color: var(--primary); }
.text-muted { color: var(--muted); }
.text-sm { font-size: 0.875rem; }
.text-xs { font-size: 0.75rem; }
.text-xxs { font-size: 0.625rem; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 0.75rem; }
.mt-4 { margin-top: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.mt-12 { margin-top: 3rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-10 { margin-bottom: 2.5rem; }
.mb-12 { margin-bottom: 3rem; }
.mx-auto { margin-left: auto; margin-right: auto; }
.w-full { width: 100%; }
.font-bold { font-weight: 700; }
.hidden { display: none; }
.inline-flex { display: inline-flex; align-items: center; gap: 0.5rem; }
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.flex-wrap { flex-wrap: wrap; }
.shrink-0 { flex-shrink: 0; }
.rounded-md { border-radius: 0.375rem; }
.overflow-hidden { overflow: hidden; }
.leading-relaxed { line-height: 1.6; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* MODAL */
.modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 1000;
}

.modal.open {
  display: flex;
}

.modal-content {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 500px;
  width: 80%;
  text-align: center;
  position: relative;
}

.modal h2 {
  font-family: var(--font-heading);
  color: var(--primary);
  font-size: 2rem;
}

.modal p {
  font-size: 1rem;
  margin-top: 1rem;
}

.modal form input {
  padding: 0.75rem;
  margin-top: 1rem;
  width: 80%;
  font-size: 1rem;
  border-radius: 4px;
  border: 1px solid var(--border);
}

.modal button {
  padding: 0.75rem 1.5rem;
  margin-top: 1rem;
  background: var(--primary);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.modal button:hover {
  transform: scale(1.05);
}

#errorModal .modal-content {
  background-color: white;
  color: #b91c1c;
}

.close-btn {
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary);
  cursor: pointer;
  user-select: none;
}

.close-btn:hover {
  color: var(--fg);
}
