/* ========================================
   Patricia & James Wedding Website Styles
   ======================================== */

/* ========================================
   Custom Fonts
   ======================================== */
@font-face {
  font-family: 'Lucy Said OK';
  src: url('../fonts/lucy-said-ok-personal-use.italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
  font-display: swap;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

@font-face {
  font-family: 'Great Vibes';
  src: url('../fonts/great-vibes.regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
  font-feature-settings: "kern" 1, "liga" 1;
  text-rendering: optimizeLegibility;
}

/* ========================================
   CSS Variables (Custom Properties)
   Summer Solstice Ethereal Theme
   ======================================== */
:root {
  /* Summer Solstice Ethereal Color Palette */
  --solstice-blue: #4DC5E3;
  --solstice-blue-light: #7DD3ED;
  --solstice-blue-dark: #2BA8C7;
  --lavender-haze: #ED9FE3;
  --lavender-haze-light: #F2B5E8;
  --lavender-haze-dark: #E085D8;
  --blush-pink: #FBCFE8;
  --blush-pink-light: #FDD7ED;
  --blush-pink-dark: #F9B7E1;
  
  /* Neutral Colors - Clean and Ethereal */
  --cultured-white: #F7F7F7;
  --pure-white: #FFFFFF;
  --white: #FFFFFF;
  --light-gray: #E5E7EB;
  --charcoal: #333333;
  --slate-gray: #6B7280;
  --soft-gray: #9CA3AF;
  --warm-gray: #F3F4F6;

  /* Gray Scale */
  --gray-50: #F9FAFB;
  --gray-100: #F3F4F6;
  --gray-200: #E5E7EB;
  --gray-300: #D1D5DB;
  --gray-400: #9CA3AF;
  --gray-500: #6B7280;
  --gray-600: #4B5563;
  --gray-700: #374151;
  --gray-800: #1F2937;
  --gray-900: #111827;

  /* Primary Pink (for links and accents) */
  --primary-pink: var(--lavender-haze);
  --primary-pink-light: var(--lavender-haze-light);
  --primary-pink-dark: var(--lavender-haze-dark);
  
  /* Typography - Modern Elegance & Historic Charm */
  --font-family-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-family-script: 'Dancing Script', cursive;
  --font-family-serif: 'Playfair Display', serif;
  --font-family-elegant: 'Cormorant Garamond', serif;
  
  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  
  /* Spacing */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-2xl: 3rem;
  --spacing-3xl: 4rem;
  
  /* Border Radius */
  --radius-sm: 0.25rem;
  --radius-md: 0.375rem;
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
  
  /* Transitions */
  --transition-fast: 0.15s ease-in-out;
  --transition-normal: 0.3s ease-in-out;
  --transition-slow: 0.5s ease-in-out;
  
  /* Z-index */
  --z-dropdown: 1000;
  --z-sticky: 1020;
  --z-fixed: 1030;
  --z-modal-backdrop: 1040;
  --z-modal: 1050;
  --z-popover: 1060;
  --z-tooltip: 1070;
}

/* ========================================
   Base Styles
   ======================================== */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family-primary);
  line-height: 1.6;
  color: var(--charcoal);
  background: var(--cultured-white);
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* ========================================
   Typography
   ======================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-serif);
  font-weight: 400;
  line-height: 1.3;
  margin: 0 0 var(--spacing-lg) 0;
  color: var(--charcoal);
}

h1 {
  font-size: var(--text-5xl);
  font-weight: 700;
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-3xl);
}

h4 {
  font-size: var(--text-2xl);
}

h5 {
  font-size: var(--text-xl);
}

h6 {
  font-size: var(--text-lg);
}

p {
  margin: 0 0 var(--spacing-md) 0;
  color: var(--gray-600);
}

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

a:hover {
  color: var(--primary-pink-dark);
}

/* ========================================
   Navigation Styles
   ======================================== */
/* Default navbar - modern glassmorphism for all pages */
.navbar {
  background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.98) 0%,
    rgba(247, 247, 247, 0.95) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-sticky);
  transition: box-shadow var(--transition-normal);
  border-bottom: 1px solid rgba(229, 231, 235, 0.5);
}

.navbar:hover {
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12);
}

/* Home page navbar - override with transparent style (MUST come after .navbar) */
body.home-page .navbar {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  border-bottom: none;
  transition: none;
}

body.home-page .navbar:hover {
  box-shadow: none;
}

.navbar-container {
  padding: 0 var(--spacing-lg);
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 4rem;
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.navbar-brand {
  font-family: 'Lucy Said OK';
  font-size: 3.8rem;
  font-weight: normal;
  color: var(--solstice-blue-dark);
  text-decoration: none;
  font-style: italic;
  white-space: nowrap;
  flex-shrink: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  font-feature-settings: "kern" 1, "liga" 1;
  transform: translateZ(0);
  backface-visibility: hidden;
  perspective: 1000px;
}

/* Only change color on home page */
body.home-page .navbar-brand {
  color: #F5F1E8;
  text-shadow: 0 0 0 transparent;
}

/* Ensure consistent rendering on all pages */
.navbar-brand {
  text-shadow: 0 0 0 transparent;
}

.navbar-brand:hover {
  color: var(--solstice-blue-dark);
}

.navbar-nav {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  list-style: none;
  margin: 0;
  padding: 0;
  margin-left: auto;
  flex-shrink: 0;
  min-width: 0;
}

.nav-link {
  color: #F5F1E8;
  font-weight: 400;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
  text-decoration: none;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-link,
.nav-link:focus,
.nav-link:active,
.nav-link:focus-visible {
  outline: none !important;
}

.nav-link:hover {
  color: var(--pure-white);
  background: rgba(255, 255, 255, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

/* Nav-link styles for non-home pages */
body:not(.home-page) .nav-link {
  color: var(--slate-gray);
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

body:not(.home-page) .nav-link:hover {
  color: var(--pure-white);
  background: var(--solstice-blue);
  backdrop-filter: blur(15px);
  border: 1px solid var(--solstice-blue-dark);
  box-shadow: 0 4px 15px rgba(77, 197, 227, 0.3);
  transform: translateY(-2px) scale(1.05);
}

body:not(.home-page) .nav-link.active {
  color: var(--solstice-blue) !important;
  border: 2px solid var(--solstice-blue) !important;
}

body:not(.home-page) .nav-link.active:hover {
  color: white !important;
}

body.home-page .nav-link.active {
  color: var(--solstice-blue) !important;
  border: 2px solid var(--solstice-blue) !important;
}

body.home-page .nav-link.active:hover {
  color: white !important;
}

.mobile-menu-button {
  display: none;
  background: none;
  border: none;
  color: var(--solstice-blue-dark);
  cursor: pointer;
  padding: var(--spacing-sm);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  z-index: 1000;
  position: relative;
}

.mobile-menu-button:hover {
  color: var(--primary-pink);
  background: rgba(255, 255, 255, 0.1);
}

/* Ensure button is visible on home page */
body.home-page .mobile-menu-button {
  color: #F5F1E8;
}

body.home-page .mobile-menu-button:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.15);
}

.mobile-menu {
  display: none;
  background: var(--white);
  border-top: 1px solid var(--gray-200);
  padding: var(--spacing-md);
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: var(--z-dropdown);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-in-out;
}

.mobile-menu.active {
  display: block;
  max-height: 500px;
}

/* Mobile menu on home page - semi-transparent background */
body.home-page .mobile-menu {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
}

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  list-style: none;
  margin: 0;
  padding: 0;
}

.mobile-nav .nav-link {
  display: block;
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
  color: var(--solstice-blue-dark);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.mobile-nav .nav-link:hover {
  background: var(--primary-pink-light);
  color: var(--primary-pink);
}

.mobile-nav .nav-link.active {
  background: var(--primary-pink-light);
  color: var(--solstice-blue);
  font-weight: 600;
}

/* ========================================
   Layout Components
   ======================================== */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--spacing-lg);
}

.main-content {
  padding: var(--spacing-2xl) 0;
  padding-top: calc(var(--spacing-2xl) + 4rem); /* Account for fixed navbar */
}

/* Remove top padding for home page since it has full-screen background */
body.home-page .main-content {
  padding-top: 0;
}

/* Prevent scrolling on home page */
body.home-page {
  overflow: hidden;
  height: 100vh;
}

.page {
  display: none;
  animation: fadeIn var(--transition-slow) ease-in-out;
}

.page.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ========================================
   Card Components
   ======================================== */
.card {
  background: var(--pure-white);
  border-radius: var(--radius-xl);
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
  padding: var(--spacing-2xl);
  transition: all var(--transition-normal);
  border: 1px solid rgba(229, 231, 235, 0.6);
}

.card:hover {
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.10);
  transform: translateY(-2px);
  border-color: rgba(77, 197, 227, 0.3);
}

.card-header {
  margin-bottom: var(--spacing-lg);
  padding-bottom: var(--spacing-md);
  border-bottom: 1px solid var(--gray-200);
}

.card-title {
  font-family: var(--font-family-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--gray-900);
  margin: 0;
}

.card-body {
  color: var(--gray-600);
}

.card-footer {
  margin-top: var(--spacing-lg);
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--gray-200);
}

/* ========================================
   Button Components
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-sm) var(--spacing-lg);
  font-size: var(--text-base);
  font-weight: 500;
  line-height: 1.5;
  border-radius: var(--radius-lg);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

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

.btn-primary {
  background: var(--solstice-blue);
  color: var(--pure-white);
  border-color: var(--solstice-blue);
}

.btn-primary:hover:not(:disabled) {
  background: var(--solstice-blue-dark);
  border-color: var(--solstice-blue-dark);
}

.btn-secondary {
  background: var(--lavender-haze);
  color: var(--pure-white);
  border-color: var(--lavender-haze);
}

.btn-secondary:hover:not(:disabled) {
  background: var(--lavender-haze-dark);
  border-color: var(--lavender-haze-dark);
}

.btn-outline {
  background: transparent;
  color: var(--solstice-blue);
  border-color: var(--solstice-blue);
}

.btn-outline:hover:not(:disabled) {
  background: var(--solstice-blue);
  color: var(--pure-white);
}

.btn-lg {
  padding: var(--spacing-md) var(--spacing-xl);
  font-size: var(--text-lg);
}

.btn-sm {
  padding: var(--spacing-xs) var(--spacing-md);
  font-size: var(--text-sm);
}

/* ========================================
   RSVP Form Styles
   ======================================== */

/* Dynamic Form Styles */
.login-required-message {
  text-align: center;
  padding: var(--spacing-xl);
  background: var(--cultured-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--light-gray);
}

.login-required-message p {
  margin-bottom: var(--spacing-lg);
  color: var(--slate-gray);
  font-size: var(--text-lg);
}

/* Radio Group Styles */
.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
  margin-top: var(--spacing-sm);
}

.radio-label {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  background: var(--cultured-white);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all 0.3s ease;
}

.radio-label:hover {
  border-color: var(--solstice-blue);
  background: var(--solstice-blue-light);
}

.radio-label input[type="radio"] {
  margin-right: var(--spacing-md);
  accent-color: var(--solstice-blue);
}

.radio-label input[type="radio"]:checked + span {
  font-weight: 600;
  color: var(--solstice-blue-dark);
}

/* Plus-One Section */
.plus-one-section {
  background: var(--blush-pink-light);
  border: 1px solid var(--blush-pink);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin: var(--spacing-lg) 0;
}

.plus-one-section h3 {
  color: var(--lavender-haze-dark);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}

/* Couple Info Header */
.couple-info-header {
  text-align: center;
  background: var(--solstice-blue-light);
  border: 1px solid var(--solstice-blue);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.couple-info-header h3 {
  color: var(--solstice-blue-dark);
  margin-bottom: var(--spacing-sm);
  font-family: var(--font-heading);
}

.couple-info-header p {
  color: var(--slate-gray);
  margin: 0;
  font-size: var(--text-base);
}

/* Couple RSVP Sections */
.couple-rsvp-section,
.partner-rsvp-section {
  background: var(--cultured-white);
  border: 1px solid var(--light-gray);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin: var(--spacing-md) 0;
}

.couple-rsvp-section h4,
.partner-rsvp-section h4 {
  color: var(--solstice-blue-dark);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
  border-bottom: 2px solid var(--solstice-blue-light);
  padding-bottom: var(--spacing-sm);
  font-size: var(--text-lg);
}

.couple-rsvp-section {
  border-left: 4px solid var(--solstice-blue);
}

.partner-rsvp-section {
  border-left: 4px solid var(--lavender-haze);
}

/* Admin Options */
.admin-notice {
  background: var(--solstice-blue-light);
  border: 1px solid var(--solstice-blue);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.admin-notice p {
  margin: 0;
  color: var(--solstice-blue-dark);
  font-weight: 600;
}

.admin-options {
  background: var(--lavender-haze-light);
  border: 1px solid var(--lavender-haze);
  border-radius: var(--radius-lg);
  padding: var(--spacing-lg);
  margin-top: var(--spacing-lg);
}

.admin-options h3 {
  color: var(--lavender-haze-dark);
  margin-bottom: var(--spacing-md);
  font-family: var(--font-heading);
}

/* Form Group Enhancements */
.form-group label {
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--spacing-sm);
  display: block;
}

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

.form-group input[type="text"] {
  width: 100%;
  padding: var(--spacing-md);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  transition: border-color 0.3s ease;
}

.form-group input[type="text"]:focus {
  outline: none;
  border-color: var(--solstice-blue);
  box-shadow: 0 0 0 3px rgba(77, 197, 227, 0.1);
}

/* Button Enhancements - Modern Design */
.btn {
  padding: 14px 28px;
  border: none;
  border-radius: var(--radius-lg);
  font-size: var(--text-base);
  font-weight: 600;
  cursor: pointer;
  transition: all var(--transition-normal);
  text-decoration: none;
  display: inline-block;
  text-align: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow: hidden;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
}

.btn:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background: linear-gradient(135deg, var(--solstice-blue) 0%, var(--lavender-haze) 100%);
  color: white;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--solstice-blue-dark) 0%, var(--lavender-haze-dark) 100%);
  box-shadow: 0 6px 20px rgba(77, 197, 227, 0.4);
}

.btn-primary:active {
  transform: translateY(0);
}
.rsvp-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-section {
  margin-bottom: var(--spacing-2xl);
}

.section-title {
  font-family: var(--font-family-serif);
  font-size: var(--text-2xl);
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--spacing-lg);
  text-align: center;
}

.guest-info {
  background: var(--warm-gray);
  padding: var(--spacing-lg);
  border-radius: var(--radius-lg);
  margin-bottom: var(--spacing-lg);
  border-left: 4px solid var(--solstice-blue);
}

.guest-info p {
  margin: 0 0 var(--spacing-sm) 0;
  color: var(--charcoal);
}

.guest-info p:last-child {
  margin-bottom: 0;
}

.radio-group {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
}

.radio-option {
  display: flex;
  align-items: center;
  padding: var(--spacing-md);
  border: 2px solid var(--light-gray);
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--pure-white);
}

.radio-option:hover {
  border-color: var(--solstice-blue-light);
  background: var(--cultured-white);
}

.radio-option input[type="radio"] {
  margin-right: var(--spacing-md);
  transform: scale(1.2);
}

.radio-option input[type="radio"]:checked + .radio-label {
  color: var(--solstice-blue-dark);
  font-weight: 600;
}

.radio-option:has(input[type="radio"]:checked) {
  border-color: var(--solstice-blue);
  background: var(--blush-pink-light);
}

.radio-label {
  font-size: var(--text-lg);
  color: var(--charcoal);
  transition: color var(--transition-normal);
}

.form-help {
  display: block;
  margin-top: var(--spacing-xs);
  font-size: var(--text-sm);
  color: var(--slate-gray);
  font-style: italic;
}

.rsvp-status {
  margin-bottom: var(--spacing-lg);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  text-align: center;
  font-weight: 500;
  transition: all 0.3s ease-in-out;
  opacity: 1;
  transform: translateY(0);
}

.rsvp-status.status-info {
  background: var(--solstice-blue-light);
  color: var(--solstice-blue-dark);
  border: 1px solid var(--solstice-blue);
}

.rsvp-status.status-success {
  background: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.rsvp-status.status-error {
  background: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.rsvp-status.hidden {
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
}

/* ========================================
   Form Components
   ======================================== */
.form-group {
  margin-bottom: var(--spacing-lg);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--gray-700);
  margin-bottom: var(--spacing-sm);
  letter-spacing: 0.01em;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: var(--text-base);
  line-height: 1.5;
  color: var(--gray-900);
  background: var(--white);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--solstice-blue);
  box-shadow: 0 0 0 3px rgba(77, 197, 227, 0.1);
}

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

.form-radio,
.form-checkbox {
  margin-right: var(--spacing-sm);
}

.form-error {
  color: #dc2626;
  font-size: var(--text-sm);
  margin-top: var(--spacing-xs);
}

.form-success {
  color: var(--accent-green);
  font-size: var(--text-sm);
  margin-top: var(--spacing-xs);
}

/* ========================================
   Grid System
   ======================================== */
.grid {
  display: grid;
  gap: var(--spacing-lg);
}

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

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

.grid-cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.grid-cols-4 {
  grid-template-columns: repeat(4, 1fr);
}

/* ========================================
   Utility Classes
   ======================================== */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.font-bold {
  font-weight: 700;
}

.font-semibold {
  font-weight: 600;
}

.font-medium {
  font-weight: 500;
}

.text-primary {
  color: var(--solstice-blue);
}

.text-secondary {
  color: var(--lavender-haze);
}

.text-success {
  color: var(--golden-hour);
}

.text-warning {
  color: var(--golden-hour);
}

.text-danger {
  color: #dc2626;
}

.bg-primary {
  background-color: var(--solstice-blue);
}

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

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

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

.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-xl {
  border-radius: var(--radius-xl);
}

.shadow {
  box-shadow: var(--shadow-md);
}

.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.shadow-xl {
  box-shadow: var(--shadow-xl);
}

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--spacing-xs); }
.mb-2 { margin-bottom: var(--spacing-sm); }
.mb-3 { margin-bottom: var(--spacing-md); }
.mb-4 { margin-bottom: var(--spacing-lg); }
.mb-5 { margin-bottom: var(--spacing-xl); }
.mb-6 { margin-bottom: var(--spacing-2xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--spacing-xs); }
.mt-2 { margin-top: var(--spacing-sm); }
.mt-3 { margin-top: var(--spacing-md); }
.mt-4 { margin-top: var(--spacing-lg); }
.mt-5 { margin-top: var(--spacing-xl); }
.mt-6 { margin-top: var(--spacing-2xl); }

.p-0 { padding: 0; }
.p-1 { padding: var(--spacing-xs); }
.p-2 { padding: var(--spacing-sm); }
.p-3 { padding: var(--spacing-md); }
.p-4 { padding: var(--spacing-lg); }
.p-5 { padding: var(--spacing-xl); }
.p-6 { padding: var(--spacing-2xl); }

/* ========================================
   Simple Venue Showcase
   ======================================== */
.venue-showcase {
  position: relative;
  height: 300vh; /* 3x viewport height for scroll distance */
}

/* Phase Container */
.phase {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Phase Content */
.phase-content {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Phase Text */
.phase-text {
  position: absolute;
  top: 20%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: var(--charcoal);
}

.phase-title {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.phase-subtitle {
  font-family: 'Inter', sans-serif;
  font-size: 1.25rem;
  color: var(--slate-gray);
  font-weight: 400;
}

/* Phase 1: Skyline (Side View) */
.skyline-phase {
  background: linear-gradient(135deg, var(--cultured-white) 0%, var(--solstice-blue-light) 50%, var(--lavender-haze-light) 100%);
  z-index: 3;
}

.skyline-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.skyline-image {
  width: 100%;
  height: auto;
  max-width: 1200px;
  max-height: 400px;
  object-fit: contain;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.skyline-svg {
  width: 100%;
  height: auto;
  max-width: 1200px;
  max-height: 400px;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.skyline-svg.fallback {
  display: none;
}

.skyline-buildings {
  transform-style: preserve-3d;
  transform-origin: center center;
}

/* Show fallback SVG when image fails to load */
.skyline-image:not([src]) + .skyline-svg.fallback,
.skyline-image[src=""] + .skyline-svg.fallback {
  display: block;
}

.skyline-image:not([src]),
.skyline-image[src=""] {
  display: none;
}

/* Phase 2: Map (Top-Down View) */
.map-phase {
  background: var(--cultured-white);
  z-index: 2;
  opacity: 0;
}

.map-visual {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.sf-map-image {
  width: 100%;
  height: auto;
  max-width: 800px;
  max-height: 600px;
  object-fit: contain;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.sf-map {
  width: 100%;
  height: auto;
  max-width: 800px;
  max-height: 600px;
  transform-style: preserve-3d;
  transform-origin: center center;
}

.sf-map.fallback {
  display: none;
}

/* Show fallback SVG when image fails to load */
.sf-map-image:not([src]) + .sf-map.fallback,
.sf-map-image[src=""] + .sf-map.fallback {
  display: block;
}

.sf-map-image:not([src]),
.sf-map-image[src=""] {
  display: none;
}

/* Phase 3: Venue Information */
.venue-phase {
  background: var(--cultured-white);
  z-index: 1;
  opacity: 0;
  padding-top: 4rem;
  align-items: flex-start;
  justify-content: flex-start;
  overflow-y: auto;
}

.venue-phase .phase-content {
  align-items: flex-start;
  justify-content: flex-start;
  padding: 2rem 0;
}

.venue-photo {
  text-align: center;
}

.photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-top: var(--spacing-md);
}

.photo-placeholder {
  background: var(--light-gray);
  border-radius: var(--radius-md);
  padding: var(--spacing-lg);
  text-align: center;
  color: var(--slate-gray);
  font-size: var(--text-sm);
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ========================================
   Full-Screen Background Styles
   ======================================== */
.full-screen-background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}

/* Hide background on non-home pages */
body:not(.home-page) .full-screen-background {
  display: none;
}

.full-screen-bg-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
}

.full-screen-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.3) 0%,
    rgba(0, 0, 0, 0.1) 50%,
    rgba(0, 0, 0, 0.4) 100%
  );
  z-index: 1;
}

/* ========================================
   Save the Date Page Styles
   ======================================== */
.save-the-date-hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  z-index: 1;
}

.save-the-date-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  text-align: center;
  color: #F5F1E8;
}

.save-the-date-title {
  font-family: 'Great Vibes';
  font-size: 3.5rem;
  font-weight: normal;
  color: #F5F1E8;
  margin-bottom: var(--spacing-md);
  letter-spacing: 0.02em;
  text-shadow: 0 2px 6px rgba(40, 54, 38, 0.7);
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.save-the-date-date {
  font-family: var(--font-family-serif);
  font-size: 1.8rem;
  font-weight: 300;
  color: #F5F1E8;
  margin-bottom: var(--spacing-lg);
  letter-spacing: 0.05em;
  text-shadow: 0 2px 6px rgba(40, 54, 38, 0.7);
}

.save-the-date-text {
  font-family: var(--font-family-primary);
  font-size: 1.1rem;
  font-weight: 300;
  color: #F5F1E8;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-shadow: 0 2px 6px rgba(40, 54, 38, 0.7);
}

/* ========================================
   Wedding Specific Styles
   ======================================== */
.wedding-hero {
  text-align: center;
  padding: var(--spacing-3xl) 0;
  background: var(--cultured-white);
}

/* Background Image Option */
.wedding-hero.background-style {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(247, 247, 247, 0.85) 0%,
    rgba(125, 211, 237, 0.75) 30%,
    rgba(237, 159, 227, 0.75) 70%,
    rgba(251, 207, 232, 0.85) 100%
  );
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 100%;
}

/* Featured Image Option */
.proposal-photo-container {
  margin: var(--spacing-2xl) auto;
  max-width: 500px;
  position: relative;
}

.proposal-photo {
  width: 100%;
  height: auto;
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
  transition: transform var(--transition-normal);
}

.proposal-photo:hover {
  transform: scale(1.02);
}

/* Photo caption styling moved to photo gallery section below */

/* Split Layout Option */
.hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  min-height: 80vh;
  padding: var(--spacing-3xl) 0;
}

.hero-split .hero-content {
  text-align: left;
}

.hero-split .proposal-photo-container {
  margin: 0;
  max-width: none;
}

.hero-split .proposal-photo {
  border-radius: var(--radius-xl);
}

/* Card Integration Option */
.card-with-photo {
  position: relative;
  overflow: hidden;
}

.card-photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  margin-bottom: var(--spacing-lg);
}

.card-photo-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3) 0%,
    transparent 100%
  );
  display: flex;
  align-items: flex-end;
  padding: var(--spacing-lg);
}

.card-photo-caption {
  color: var(--pure-white);
  font-family: var(--font-family-script);
  font-size: var(--text-xl);
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Unconventional Design Styles
   ======================================== */

/* Floating Asymmetrical Cards */
.floating-cards {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: var(--spacing-xl);
  margin-top: var(--spacing-3xl);
  flex-wrap: wrap;
}

.floating-card {
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-xl);
  box-shadow: var(--shadow-xl);
  text-align: center;
  transition: all var(--transition-normal);
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.floating-card:hover {
  transform: translateY(-10px) scale(1.05);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
}

.ceremony-card {
  transform: rotate(-2deg);
  margin-top: var(--spacing-lg);
}

.reception-card {
  transform: rotate(1deg);
  margin-top: var(--spacing-md);
}

.location-card {
  transform: rotate(-1deg);
  margin-top: var(--spacing-xl);
}

.card-icon {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-md);
}

.floating-card h3 {
  font-family: var(--font-family-serif);
  font-size: var(--text-xl);
  color: var(--charcoal);
  margin-bottom: var(--spacing-sm);
}

.floating-card p {
  color: var(--slate-gray);
  margin: var(--spacing-xs) 0;
  font-weight: 500;
}

/* Timeline Journey */
.timeline-journey {
  margin-top: var(--spacing-3xl);
  display: flex;
  justify-content: center;
}

.timeline-container {
  display: flex;
  align-items: center;
  gap: var(--spacing-lg);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  padding: var(--spacing-xl);
  border-radius: var(--radius-2xl);
  box-shadow: var(--shadow-xl);
}

.timeline-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
}

.timeline-dot {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--solstice-blue);
  margin-bottom: var(--spacing-md);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.8);
}

.timeline-line {
  width: 60px;
  height: 2px;
  background: linear-gradient(90deg, var(--solstice-blue), var(--lavender-haze));
  margin: 0 var(--spacing-md);
}

.timeline-content h4 {
  font-family: var(--font-family-serif);
  color: var(--charcoal);
  margin-bottom: var(--spacing-xs);
}

.timeline-content p {
  color: var(--slate-gray);
  font-size: var(--text-sm);
  margin: var(--spacing-xs) 0;
}

/* Minimalist Overlay */
.minimalist-overlay {
  margin-top: var(--spacing-3xl);
  display: flex;
  justify-content: center;
}

.minimalist-content {
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(10px);
  padding: var(--spacing-2xl);
  border-radius: var(--radius-xl);
  text-align: center;
  color: var(--pure-white);
}

.date-display {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.month {
  font-size: var(--text-lg);
  font-weight: 300;
  letter-spacing: 0.2em;
}

.day {
  font-size: 4rem;
  font-weight: 700;
  font-family: var(--font-family-serif);
  line-height: 1;
}

.year {
  font-size: var(--text-lg);
  font-weight: 300;
}

.event-details p {
  color: rgba(255, 255, 255, 0.9);
  margin: var(--spacing-sm) 0;
  font-size: var(--text-lg);
}

/* Geometric Design */
.geometric-design {
  margin-top: var(--spacing-3xl);
  display: flex;
  justify-content: center;
}

.geometric-shapes {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
  flex-wrap: wrap;
  justify-content: center;
}

.shape {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.shape:hover {
  transform: scale(1.1);
}

.circle {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--solstice-blue), var(--solstice-blue-light));
  color: var(--pure-white);
}

.triangle {
  width: 0;
  height: 0;
  border-left: 60px solid transparent;
  border-right: 60px solid transparent;
  border-bottom: 104px solid var(--lavender-haze);
  color: var(--pure-white);
}

.square {
  width: 120px;
  height: 120px;
  background: linear-gradient(135deg, var(--blush-pink), var(--blush-pink-light));
  color: var(--charcoal);
  transform: rotate(45deg);
}

.square .shape-content {
  transform: rotate(-45deg);
}

.shape-content {
  text-align: center;
  z-index: 2;
}

.shape-content h4 {
  font-family: var(--font-family-serif);
  font-size: var(--text-lg);
  margin-bottom: var(--spacing-xs);
}

.shape-content p {
  font-size: var(--text-sm);
  font-weight: 500;
}

.wedding-title {
  font-family: var(--font-family-script);
  font-size: var(--text-6xl);
  color: var(--charcoal);
  margin-bottom: var(--spacing-lg);
  font-weight: 400;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

.wedding-subtitle {
  font-size: var(--text-xl);
  color: var(--charcoal);
  margin-bottom: var(--spacing-2xl);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
  font-weight: 500;
}

.event-card {
  background: var(--white);
  border-radius: var(--radius-2xl);
  padding: var(--spacing-2xl);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: all var(--transition-normal);
  border-left: 5px solid var(--primary-pink);
  position: relative;
  overflow: hidden;
}

.event-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, transparent 0%, rgba(77, 197, 227, 0.03) 100%);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.event-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
  border-left-width: 6px;
}

.event-card:hover::before {
  opacity: 1;
}

.event-card.ceremony {
  border-left-color: var(--solstice-blue);
}

.event-card.ceremony::before {
  background: linear-gradient(135deg, transparent 0%, rgba(77, 197, 227, 0.05) 100%);
}

.event-card.reception {
  border-left-color: var(--lavender-haze);
}

.event-card.reception::before {
  background: linear-gradient(135deg, transparent 0%, rgba(237, 159, 227, 0.05) 100%);
}

.event-card.welcome {
  border-left-color: var(--blush-pink);
}

.event-card.welcome::before {
  background: linear-gradient(135deg, transparent 0%, rgba(251, 207, 232, 0.05) 100%);
}

.event-card.brunch {
  border-left-color: var(--blush-pink-dark);
}

.event-card.brunch::before {
  background: linear-gradient(135deg, transparent 0%, rgba(249, 183, 225, 0.05) 100%);
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: var(--spacing-lg);
}

.photo-item {
  aspect-ratio: 1;
  background: var(--gray-200);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gray-500);
  font-weight: 500;
  transition: all var(--transition-normal);
  cursor: pointer;
}

.photo-item:hover {
  transform: scale(1.05);
  box-shadow: var(--shadow-lg);
}

.rsvp-form {
  max-width: 600px;
  margin: 0 auto;
}

.hashtag {
  background: var(--blush-pink);
  color: var(--charcoal);
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-lg);
  font-size: var(--text-xl);
  font-weight: 500;
  display: inline-block;
  margin: var(--spacing-lg) 0;
}

/* ========================================
   Responsive Design - Basic Fixes
   ======================================== */

/* Large Tablets/Small Desktop - Start reducing nav spacing */
@media (max-width: 1200px) {
  .navbar-brand {
    font-size: 3.2rem;
  }

  .navbar-nav {
    gap: var(--spacing-md);
  }

  .nav-link {
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
  }
}

/* Tablet/Medium Screens - Further adjustments */
@media (max-width: 992px) {
  .navbar-brand {
    font-size: 2.5rem;
  }

  .navbar-nav {
    gap: var(--spacing-sm);
  }

  .nav-link {
    font-size: 0.85rem;
    padding: 0.4rem 0.6rem;
  }
}

/* Mobile First - Basic Responsive Fixes */
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  
  /* Fix Navigation Issues */
  .navbar-container {
    padding: 0 1rem;
    height: 3.5rem;
  }
  
  .navbar-brand {
    font-size: 2rem;
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .navbar-nav {
    display: none;
  }
  
  .mobile-menu-button {
    display: block;
  }
  
  .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .category-nav {
    flex-wrap: wrap;
    gap: 0.5rem;
  }
  
  .category-btn {
    flex: 1;
    min-width: 0;
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
  }
  
  .card,
  .rsvp-form,
  .event-card {
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 0.75rem;
  }
  
  /* Fix Navigation for Small Screens */
  .navbar-container {
    padding: 0 0.75rem;
    height: 3rem;
  }
  
  .navbar-brand {
    font-size: 1.5rem;
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .nav-link {
    font-size: 0.8rem;
    padding: 0.375rem 0.5rem;
  }
  
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
  
  .category-nav {
    flex-direction: column;
  }
  
  .category-btn {
    width: 100%;
  }
}

/* ========================================
   Responsive Design
   ======================================== */
@media (max-width: 768px) {
  /* Venue Showcase Mobile Styles */
  .venue-showcase {
    height: 400vh;
  }
  
  .phase-title {
    font-size: 2.5rem;
  }
  
  .phase-subtitle {
    font-size: 1rem;
  }
  
  .skyline-svg {
    max-height: 300px;
  }
  
  .sf-map {
    max-height: 400px;
  }
  
  .photo-grid {
    grid-template-columns: 1fr;
  }
  
  .venue-phase .grid {
    grid-template-columns: 1fr;
  }
  
  .venue-phase .grid.grid-cols-2 {
    grid-template-columns: 1fr;
  }
  .navbar-nav {
    display: none;
  }
  
  .mobile-menu-button {
    display: block;
  }
  
  .mobile-menu {
    display: none;
  }
  
  .mobile-menu.active {
    display: block;
  }
  
  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 {
    grid-template-columns: 1fr;
  }
  
  .wedding-hero {
    min-height: 80vh;
    padding: var(--spacing-xl) 0;
  }
  
  .wedding-hero.background-style {
    min-height: 80vh;
    padding: var(--spacing-xl) 0;
  }
  
  .wedding-title {
    font-size: var(--text-4xl);
  }
  
  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(247, 247, 247, 0.9) 0%,
      rgba(125, 211, 237, 0.8) 30%,
      rgba(237, 159, 227, 0.8) 70%,
      rgba(251, 207, 232, 0.9) 100%
    );
  }
  
  .hero-split {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
    min-height: auto;
    padding: var(--spacing-xl) 0;
  }
  
  .hero-split .hero-content {
    text-align: center;
  }
  
  .proposal-photo-container {
    max-width: 400px;
  }
  
  .floating-cards {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-lg);
  }
  
  .floating-card {
    transform: none !important;
    margin-top: 0 !important;
  }
  
  /* Save the Date Mobile Styles */
  .save-the-date-hero {
    padding-top: 3%;
    padding-left: 1.5%;
  }
  
  .save-the-date-content {
    max-width: 90%;
  }
  
  .save-the-date-title {
    font-size: 2.5rem;
  }
  
  .save-the-date-date {
    font-size: 1.4rem;
  }
  
  .save-the-date-text {
    font-size: 1rem;
  }
  
  .timeline-container {
    flex-direction: column;
    gap: var(--spacing-md);
  }
  
  .timeline-line {
    width: 2px;
    height: 40px;
    margin: var(--spacing-sm) 0;
  }
  
  .geometric-shapes {
    flex-direction: column;
    gap: var(--spacing-lg);
  }
  
  .date-display {
    flex-direction: column;
    gap: var(--spacing-sm);
  }
  
  .day {
    font-size: 3rem;
  }
  
  .container {
    padding: 0 var(--spacing-md);
  }
  
  .card {
    padding: var(--spacing-lg);
  }
  
  .photo-gallery {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-md);
  }
}

@media (max-width: 480px) {
  .wedding-hero {
    min-height: 70vh;
    padding: var(--spacing-lg) 0;
  }
  
  .wedding-title {
    font-size: var(--text-3xl);
  }
  
  .hero-overlay {
    background: linear-gradient(
      135deg,
      rgba(247, 247, 247, 0.95) 0%,
      rgba(125, 211, 237, 0.85) 30%,
      rgba(237, 159, 227, 0.85) 70%,
      rgba(251, 207, 232, 0.95) 100%
    );
  }
  
  .card {
    padding: var(--spacing-md);
  }
  
  .btn {
    width: 100%;
  }
  
  .photo-gallery {
    grid-template-columns: 1fr;
  }
  
  /* Save the Date Small Mobile Styles */
  .save-the-date-hero {
    padding-top: 2.5%;
    padding-left: 1%;
  }
  
  .save-the-date-content {
    max-width: 95%;
  }
  
  .save-the-date-title {
    font-size: 2rem;
  }
  
  .save-the-date-date {
    font-size: 1.2rem;
  }
  
  .save-the-date-text {
    font-size: 0.9rem;
    letter-spacing: 0.1em;
  }
}

/* ========================================
   Print Styles
   ======================================== */
@media print {
  .navbar,
  .mobile-menu-button,
  .btn {
    display: none;
  }
  
  .page {
    display: block !important;
    page-break-inside: avoid;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid var(--gray-300);
  }
  
  body {
    background: white;
  }
}

/* ========================================
   Accessibility
   ======================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus styles for keyboard navigation */
.nav-link:focus,
.btn:focus,
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: 2px solid var(--solstice-blue);
  outline-offset: 2px;
}

/* ========================================
   Loading States
   ======================================== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid var(--gray-300);
  border-radius: 50%;
  border-top-color: var(--primary-pink);
  animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ========================================
   Authentication System Styles
   ======================================== */

/* Authentication Modal */
.auth-modal {
  display: none;
  position: fixed;
  z-index: 1030;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(5px);
}

.auth-modal-content {
  background-color: var(--pure-white);
  margin: 5% auto;
  padding: 0;
  border-radius: 20px;
  width: 90%;
  max-width: 500px;
  max-height: 90vh;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.auth-close {
  position: absolute;
  top: 15px;
  right: 20px;
  font-size: 28px;
  font-weight: bold;
  color: var(--slate-gray);
  cursor: pointer;
  z-index: 1031;
  transition: color 0.3s ease;
}

.auth-close:hover {
  color: var(--charcoal);
}

/* Authentication Tabs */
.auth-tabs {
  display: flex;
  background-color: var(--cultured-white);
  border-radius: 20px 20px 0 0;
}

.auth-tab {
  flex: 1;
  padding: 20px;
  background: none;
  border: none;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 18px;
  color: var(--slate-gray);
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 3px solid transparent;
}

.auth-tab.active {
  color: var(--solstice-blue);
  border-bottom-color: var(--solstice-blue);
  background-color: var(--pure-white);
}

.auth-tab:hover {
  color: var(--solstice-blue);
  background-color: var(--blush-pink-light);
}

/* Authentication Forms */
.auth-form {
  display: none;
  padding: 40px;
}

.auth-form.active {
  display: block;
}

.auth-form h2 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 28px;
  color: var(--charcoal);
  text-align: center;
  margin-bottom: 30px;
  background: linear-gradient(135deg, var(--solstice-blue), var(--lavender-haze));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Form styling inherits from main Form Components section above */

/* Authentication Button */
.auth-button {
  width: 100%;
  padding: 15px;
  background: linear-gradient(135deg, var(--solstice-blue), var(--lavender-haze));
  color: var(--pure-white);
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  margin-top: 10px;
}

.auth-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(77, 197, 227, 0.3);
}

.auth-button:active {
  transform: translateY(0);
}

/* Authentication Messages */
.auth-message {
  margin: 20px;
  padding: 15px;
  border-radius: 10px;
  text-align: center;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  transition: all 0.3s ease;
  position: sticky;
  bottom: 0;
  z-index: 10;
}

.auth-message.success {
  background-color: rgba(34, 197, 94, 0.1);
  color: #059669;
  border: 1px solid rgba(34, 197, 94, 0.2);
}

.auth-message.error {
  background-color: rgba(239, 68, 68, 0.1);
  color: #DC2626;
  border: 1px solid rgba(239, 68, 68, 0.2);
}

/* User Info in Navigation */
.user-info {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-left: var(--spacing-lg);
}

.user-name {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: var(--charcoal);
  font-weight: 500;
}

.logout-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg, var(--lavender-haze), var(--blush-pink));
  color: var(--pure-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 400;
}

.logout-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(237, 159, 227, 0.3);
}

.login-btn {
  padding: var(--spacing-sm) var(--spacing-md);
  background: linear-gradient(135deg, var(--solstice-blue), var(--lavender-haze));
  color: var(--pure-white);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  font-weight: 400;
}

.login-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 5px 15px rgba(77, 197, 227, 0.3);
}

/* Responsive Authentication */
@media (max-width: 768px) {
  .auth-modal-content {
    margin: 10% auto;
    width: 95%;
    border-radius: 15px;
  }
  
  .auth-form {
    padding: 30px 20px;
  }
  
  .auth-form h2 {
    font-size: 24px;
  }
  
  .auth-tab {
    padding: 15px;
    font-size: 16px;
  }
  
  .user-info {
    flex-direction: column;
    gap: 10px;
    margin-left: 0;
  }
  
  .user-name {
    font-size: 14px;
  }
  
  .logout-btn {
    padding: 6px 12px;
    font-size: 12px;
  }
}

@media (max-width: 480px) {
  .auth-modal-content {
    margin: 5% auto;
    width: 98%;
  }
  
  .auth-form {
    padding: 20px 15px;
  }
  
  .auth-form h2 {
    font-size: 20px;
  }
  
  .form-group input {
    padding: 12px;
    font-size: 14px;
  }
  
  .auth-button {
    padding: 12px;
    font-size: 16px;
  }
}

/* ========================================
   Photo Gallery Styles - Clean & Modern
   ======================================== */

.photo-categories {
  margin-bottom: 3rem;
  text-align: center;
}

.category-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 800px;
  margin: 0 auto;
}

.category-btn {
  padding: 0.75rem 1.5rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  background: rgba(255, 255, 255, 0.8);
  color: var(--slate-gray);
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-weight: 400;
  font-size: 0.9rem;
  white-space: nowrap;
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.category-btn,
.category-btn:focus,
.category-btn:active,
.category-btn:focus-visible {
  outline: none !important;
}

.category-btn:hover {
  color: var(--pure-white);
  background: var(--solstice-blue);
  border: 1px solid var(--solstice-blue-dark);
  box-shadow: 0 4px 15px rgba(77, 197, 227, 0.3);
  transform: translateY(-2px) scale(1.05);
}

.category-btn.active {
  color: var(--solstice-blue) !important;
  border: 1px solid var(--solstice-blue) !important;
  box-shadow: inset 0 0 0 1px var(--solstice-blue) !important;
  transform: none !important; /* Prevent scaling on hover */
}

.category-btn.active:hover {
  color: white !important;
  box-shadow: none !important;
  transform: none !important; /* Prevent scaling on hover */
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
  padding: 0 1rem;
}

.photo-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.4s ease;
  background: white;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  aspect-ratio: 4/3;
}

.photo-item:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

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

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  color: white;
  padding: 40px 16px 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.photo-caption {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.4;
  font-weight: 500;
  text-align: center;
  color: white;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.photo-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  opacity: 0.9;
}

.photo-actions {
  display: flex;
  gap: 0.75rem;
}

.action-btn {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  padding: 0.5rem 0.75rem;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.action-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
}

/* Photo Upload Section */
.photo-upload-section {
  margin-top: 2rem;
}

.photo-upload-section .card {
  max-width: 600px;
  margin: 0 auto;
}

.file-preview {
  margin-top: 1rem;
  padding: 1rem;
  background: var(--light-gray);
  border-radius: 8px;
  display: none;
}

.file-preview-content {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.preview-image {
  width: 100px;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.preview-info {
  flex: 1;
}

.file-list {
  margin-top: 0.5rem;
}

.file-item {
  padding: 0.25rem 0;
  font-size: 0.9rem;
  color: var(--slate-gray);
}

/* Photo Modal */
.photo-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
  display: none;
}

.photo-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
}

.modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  background: white;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 1.5rem;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-photo {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.modal-photo-image {
  max-width: 100%;
  max-height: 60vh;
  object-fit: contain;
}

.modal-info {
  padding: 1.5rem;
  border-top: 1px solid #e9ecef;
}

.modal-photo-details {
  margin-bottom: 1rem;
}

.modal-photo-caption {
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

.modal-photo-meta {
  font-size: 0.9rem;
  color: var(--slate-gray);
  display: flex;
  justify-content: space-between;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.modal-comments {
  border-top: 1px solid #e9ecef;
  padding-top: 1rem;
}

.comments-header h3 {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

.comments-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 1rem;
}

.comment-item {
  padding: 0.75rem 0;
  border-bottom: 1px solid #f1f3f4;
}

.comment-item:last-child {
  border-bottom: none;
}

.comment-text {
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.comment-meta {
  font-size: 0.8rem;
  color: var(--slate-gray);
}

.comment-form {
  display: flex;
  gap: 0.5rem;
}

.comment-form textarea {
  flex: 1;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
  resize: vertical;
  min-height: 60px;
}

.comment-form button {
  padding: 0.5rem 1rem;
  background: var(--primary-blue);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  align-self: flex-end;
}

/* Loading States */
.loading-state {
  text-align: center;
  padding: 2rem;
  color: var(--slate-gray);
}

.loading-spinner {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 2px solid #f3f3f3;
  border-top: 2px solid var(--primary-blue);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-right: 0.5rem;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 0.75rem;
  }
  
  .category-nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding: 0.25rem 0.5rem 0.5rem 0.5rem; /* Add horizontal padding to prevent overflow */
    margin: 0 -0.5rem; /* Negative margin to offset container padding */
  }

  .category-btn {
    white-space: nowrap;
    flex-shrink: 0;
  }
  
  .modal-content {
    max-width: 95vw;
    max-height: 95vh;
  }
  
  .modal-photo-image {
    max-height: 50vh;
  }
  
  .file-preview-content {
    flex-direction: column;
  }
  
  .preview-image {
    width: 100%;
    height: 150px;
  }
}

/* ========================================
   Utility Classes (Tailwind-like)
   ======================================== */

.w-full { width: 100%; }
.p-2 { padding: 0.5rem; }
.p-4 { padding: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-4 { margin-bottom: 1rem; }
.mt-6 { margin-top: 1.5rem; }
.mt-8 { margin-top: 2rem; }
.text-center { text-align: center; }
.text-sm { font-size: 0.875rem; }
.font-medium { font-weight: 500; }
.block { display: block; }
.border { border: 1px solid #e5e7eb; }
.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }

/* Form elements */
input[type="file"],
input[type="text"],
input[type="email"],
input[type="password"],
select,
textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  transition: border-color 0.2s ease;
}

input[type="file"]:focus,
input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

textarea {
  resize: vertical;
  min-height: 80px;
}

/* Button styles */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

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

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-primary:disabled {
  background: #9ca3af;
  cursor: not-allowed;
}

/* Share Your Photos button - inverse styling */
#open-upload-modal {
  background: var(--solstice-blue) !important;
  color: var(--pure-white) !important;
  border: 1px solid var(--solstice-blue-dark) !important;
  box-shadow: 0 4px 15px rgba(77, 197, 227, 0.3) !important;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 400;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#open-upload-modal:hover {
  background: rgba(255, 255, 255, 0.8) !important;
  color: var(--slate-gray) !important;
  border: 2px solid var(--solstice-blue) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

#open-upload-modal,
#open-upload-modal:focus,
#open-upload-modal:active,
#open-upload-modal:focus-visible {
  outline: none !important;
}

/* Upload Photos button in modal - same styling as Share Your Photos */
#submit-upload:not(:disabled) {
  background: var(--solstice-blue) !important;
  color: var(--pure-white) !important;
  border: 1px solid var(--solstice-blue-dark) !important;
  box-shadow: 0 4px 15px rgba(77, 197, 227, 0.3) !important;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 400;
  font-size: 0.9rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

#submit-upload:disabled {
  background: #9ca3af !important;
  color: white !important;
  border: 1px solid #9ca3af !important;
  cursor: not-allowed;
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 400;
  font-size: 0.9rem;
}

#submit-upload:hover:not(:disabled) {
  background: rgba(255, 255, 255, 0.8) !important;
  color: var(--slate-gray) !important;
  border: 2px solid var(--solstice-blue) !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
  transform: translateY(-2px);
}

#submit-upload,
#submit-upload:focus,
#submit-upload:active,
#submit-upload:focus-visible {
  outline: none !important;
}

/* Card styles */
.card {
  background: white;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.card-header {
  padding: 1rem 1.5rem;
  border-bottom: 1px solid #e5e7eb;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin: 0;
}

/* Text colors */
.text-primary { color: var(--primary-blue); }
.text-secondary { color: var(--secondary-green); }
.text-success { color: var(--accent-green); }
.text-gray-500 { color: #6b7280; }
.text-gray-700 { color: #374151; }

/* Spacing utilities */
.space-y-4 > * + * { margin-top: 1rem; }
.space-y-2 > * + * { margin-top: 0.5rem; }

/* Emergency button fix */
button[type="submit"] {
  display: inline-block !important;
  padding: 12px 24px !important;
  background: #3b82f6 !important;
  color: white !important;
  border: none !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  text-decoration: none !important;
  margin-top: 16px !important;
  width: 100% !important;
}

button[type="submit"]:hover {
  background: #1d4ed8 !important;
}

button[type="submit"]:disabled {
  background: #9ca3af !important;
  cursor: not-allowed !important;
}


/* ========================================
   Notifications & Alerts
   ======================================== */
.notification {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: calc(100% - 40px);
  max-width: 500px;
  background: var(--white);
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  transform: translateY(-100%);
  transition: all var(--transition-normal);
  z-index: 99999;  /* Ensure notifications are always on top */
  /* Support for iPhone notch */
  padding-top: env(safe-area-inset-top);
}

.notification.show {
  opacity: 1;
  transform: translateY(0);
}

.notification-content {
  display: flex;
  align-items: center;
  padding: 1rem;
  gap: 0.75rem;
}

.notification-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.notification-message {
  flex: 1;
  font-size: 0.9375rem;
  word-wrap: break-word;
  overflow-wrap: break-word;
  line-height: 1.5;
}

.notification-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--gray-500);
  padding: 0;
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.notification-close:hover {
  background: var(--gray-100);
  color: var(--gray-700);
}

.notification-success {
  border-left: 4px solid #10B981;
}

.notification-success .notification-icon {
  color: #10B981;
}

.notification-error {
  border-left: 4px solid #EF4444;
}

.notification-error .notification-icon {
  color: #EF4444;
}

.notification-warning {
  border-left: 4px solid #F59E0B;
}

.notification-warning .notification-icon {
  color: #F59E0B;
}

.notification-info {
  border-left: 4px solid var(--solstice-blue);
}

.notification-info .notification-icon {
  color: var(--solstice-blue);
}

/* ========================================
   Form States & Validation
   ======================================== */
.form-group input.error,
.form-group textarea.error,
.form-group select.error {
  border-color: #EF4444;
  background: #FEF2F2;
}

.field-error-message {
  color: #EF4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: block;
}

button.loading {
  position: relative;
  color: transparent !important;
}

button.loading::after {
  content: '';
  position: absolute;
  width: 16px;
  height: 16px;
  top: 50%;
  left: 50%;
  margin-left: -8px;
  margin-top: -8px;
  border: 2px solid transparent;
  border-top-color: currentColor;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  color: var(--white) !important;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Mobile notification adjustments */
@media (max-width: 768px) {
  .notification {
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100%;
    border-radius: 0 0 var(--radius-lg) var(--radius-lg);
    z-index: 99999;
  }

  .notification-content {
    padding: 1.5rem 1rem;  /* Extra padding on mobile for easier reading */
  }

  .notification-message {
    font-size: 1rem;  /* Slightly larger text on mobile */
    line-height: 1.6;
  }

  .notification-close {
    font-size: 2rem;  /* Larger close button for easier tapping on mobile */
    width: 32px;
    height: 32px;
  }
}

/* ========================================
   Under Construction Component
   ======================================== */
.under-construction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 60vh;
  text-align: center;
  padding: 2rem;
}

.under-construction h1 {
  font-size: var(--text-4xl);
  color: var(--lavender-haze);
  margin-bottom: var(--spacing-lg);
}

.under-construction p {
  font-size: var(--text-lg);
  color: var(--gray-600);
  max-width: 600px;
}

.under-construction-icon {
  font-size: 4rem;
  margin-bottom: var(--spacing-xl);
  opacity: 0.5;
}

/* ========================================
   Photo Lightbox Styles
   ======================================== */
.photo-lightbox {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
}

.photo-lightbox.active {
  display: flex;
}

.lightbox-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(10px);
}

.lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

.lightbox-image {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.lightbox-caption {
  color: white;
  font-size: var(--text-lg);
  margin-top: var(--spacing-lg);
  text-align: center;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.lightbox-counter {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--text-sm);
  margin-top: var(--spacing-sm);
  text-align: center;
}

.lightbox-close,
.lightbox-prev,
.lightbox-next {
  position: fixed;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  font-size: 2rem;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  cursor: pointer;
  transition: all var(--transition-fast);
  backdrop-filter: blur(10px);
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover,
.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: scale(1.1);
}

.lightbox-close {
  position: fixed;
  top: 20px;
  right: 20px;
}

.lightbox-prev {
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-prev:hover {
  transform: translateY(-50%) scale(1.1);
}

.lightbox-next {
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.lightbox-next:hover {
  transform: translateY(-50%) scale(1.1);
}

/* Mobile lightbox adjustments */
@media (max-width: 768px) {
  .lightbox-image {
    max-height: 70vh;
  }

  .lightbox-close,
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }

  .lightbox-close {
    top: 10px;
    right: 10px;
  }

  .lightbox-prev {
    left: 10px;
  }

  .lightbox-next {
    right: 10px;
  }
}

/* Photo item styling improvements */
.photo-item {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: transform var(--transition-normal);
}

.photo-item:hover {
  transform: translateY(-4px);
}

.photo-item .photo-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--transition-slow);
}

.photo-item:hover .photo-image {
  transform: scale(1.05);
}

.photo-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
  padding: 40px 16px 16px;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

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

.photo-caption {
  color: white;
  font-size: 0.95rem;
  font-weight: 500;
  text-align: center;
  margin: 0;
  line-height: 1.4;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* ========================================
   Accommodations Page - Modern Styling
   ======================================== */

/* Main accommodations container */
#accommodations .container {
  max-width: 1200px;
  padding-top: 6rem;
  padding-bottom: 4rem;
}

#accommodations h1 {
  font-family: var(--font-family-serif);
  font-size: var(--text-5xl);
  color: var(--solstice-blue-dark);
  margin-bottom: var(--spacing-2xl);
  background: linear-gradient(135deg, var(--solstice-blue), var(--lavender-haze));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Hotel block card - featured styling */
#accommodations .card:first-of-type {
  background: linear-gradient(135deg, rgba(77, 197, 227, 0.02) 0%, rgba(237, 159, 227, 0.02) 100%);
  border: 2px solid rgba(77, 197, 227, 0.2);
}

#accommodations .card-header {
  border-bottom: 2px solid rgba(77, 197, 227, 0.15);
}

#accommodations .card-title {
  font-family: var(--font-family-serif);
  font-size: var(--text-3xl);
  color: var(--solstice-blue);
}

#accommodations .text-secondary {
  color: var(--lavender-haze);
}

#accommodations .text-success {
  color: var(--solstice-blue-dark);
}

/* Hotel info styling */
#accommodations p {
  margin-bottom: var(--spacing-sm);
  font-size: var(--text-base);
  line-height: 1.8;
}

#accommodations p strong {
  color: var(--solstice-blue-dark);
  font-weight: 600;
  margin-right: var(--spacing-xs);
}

#accommodations ul {
  list-style: none;
  padding: 0;
}

#accommodations ul li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--gray-200);
  font-size: var(--text-base);
}

#accommodations ul li:last-child {
  border-bottom: none;
}

/* Alternative hotels cards */
#accommodations .grid-cols-2 .card {
  transition: all var(--transition-normal);
}

#accommodations .grid-cols-2 .card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Hotel item borders */
#accommodations [style*="border-left"] {
  border-left: 4px solid var(--lavender-haze) !important;
  padding-left: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
  padding-top: var(--spacing-sm);
  padding-bottom: var(--spacing-sm);
  background: linear-gradient(to right, rgba(237, 159, 227, 0.03), transparent);
  border-radius: var(--radius-md);
}

#accommodations h4 {
  font-family: var(--font-family-serif);
  font-size: var(--text-xl);
  color: var(--solstice-blue-dark);
  margin-bottom: var(--spacing-xs);
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  #accommodations .grid-cols-2 {
    grid-template-columns: 1fr;
  }
  
  #accommodations h1 {
    font-size: var(--text-4xl);
  }
}

/* ========================================
   Photo Upload Modal Styles
   ======================================== */

/* Photos header layout */
.photos-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-lg);
  margin-bottom: var(--spacing-xl);
}

.upload-button-container {
  margin-left: auto;
}

/* Upload Modal Base */
.upload-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 10000;
  animation: fadeIn 0.2s ease-in-out;
}

.upload-modal.active {
  display: block;
}

.upload-modal-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
}

.upload-modal-content {
  position: relative;
  background: var(--white);
  max-width: 600px;
  width: 90%;
  margin: 2rem auto;
  border-radius: var(--radius-lg);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  animation: slideUp 0.3s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Modal Header */
.upload-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-xl);
  border-bottom: 1px solid var(--gray-200);
}

.upload-modal-header h2 {
  margin: 0;
  font-size: var(--text-2xl);
  font-family: var(--font-family-serif);
  color: var(--charcoal);
}

.upload-modal-close {
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--gray-500);
  cursor: pointer;
  padding: 0;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: all var(--transition-normal);
}

.upload-modal-close:hover {
  background: var(--gray-100);
  color: var(--charcoal);
}

/* Modal Body */
.upload-modal-body {
  padding: var(--spacing-xl);
  overflow-y: auto;
  flex: 1;
  min-height: 0; /* Critical for flexbox scrolling */
}

.upload-section {
  margin-bottom: var(--spacing-xl);
}

.upload-label {
  display: block;
  font-weight: 600;
  color: var(--charcoal);
  margin-bottom: var(--spacing-sm);
  font-size: var(--text-sm);
}

/* Dropzone */
.upload-dropzone {
  border: 2px dashed var(--gray-300);
  border-radius: var(--radius-lg);
  padding: var(--spacing-2xl);
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-normal);
  background: var(--gray-50);
}

.upload-dropzone:hover {
  border-color: var(--solstice-blue);
  background: var(--gray-100);
}

.upload-dropzone.drag-over {
  border-color: var(--solstice-blue);
  background: var(--solstice-blue-light);
  background: rgba(77, 197, 227, 0.1);
}

.upload-dropzone-content svg {
  color: var(--gray-400);
}

.upload-dropzone-text {
  font-size: var(--text-base);
  color: var(--charcoal);
  margin: 0;
  font-weight: 500;
}

.upload-dropzone-subtext {
  font-size: var(--text-sm);
  color: var(--gray-500);
  margin: var(--spacing-xs) 0 0;
}

/* Photo Previews */
.photo-previews {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
  padding: var(--spacing-lg);
  background: var(--gray-50);
  border-radius: var(--radius-md);
}

.photo-preview-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: var(--gray-200);
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  border: none;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-normal);
}

.photo-preview-remove:hover {
  background: rgba(255, 0, 0, 0.8);
}

.photo-preview-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
  color: white;
  padding: var(--spacing-xs);
  font-size: var(--text-xs);
  text-align: center;
}

/* Category Select */
.upload-select {
  width: 100%;
  padding: var(--spacing-md);
  border: 1px solid var(--gray-300);
  border-radius: var(--radius-md);
  font-size: var(--text-base);
  font-family: var(--font-family-primary);
  background: var(--white);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.upload-select:focus {
  outline: none;
  border-color: var(--solstice-blue);
  box-shadow: 0 0 0 3px rgba(77, 197, 227, 0.1);
}

/* Progress Bar */
.upload-progress-section {
  margin-bottom: var(--spacing-xl);
}

.upload-progress-bar {
  width: 100%;
  height: 8px;
  background: var(--gray-200);
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: var(--spacing-sm);
}

.upload-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--solstice-blue), var(--lavender-haze));
  transition: width 0.3s ease-out;
  width: 0%;
}

.upload-progress-text {
  text-align: center;
  font-size: var(--text-sm);
  color: var(--gray-600);
  margin: 0;
}

/* Upload Status */
.upload-status {
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-lg);
}

.upload-status.success {
  background: #D1FAE5;
  color: #065F46;
  border: 1px solid #6EE7B7;
}

.upload-status.error {
  background: #FEE2E2;
  color: #991B1B;
  border: 1px solid #FCA5A5;
}

.upload-status.warning {
  background: #FEF3C7;
  color: #92400E;
  border: 1px solid #FCD34D;
}

.upload-status.info {
  background: #DBEAFE;
  color: #1E40AF;
  border: 1px solid #93C5FD;
}

/* Modal Footer */
.upload-modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: var(--spacing-md);
  padding: var(--spacing-xl);
  border-top: 1px solid var(--gray-200);
  background: var(--gray-50);
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .photos-header {
    flex-direction: column;
    align-items: stretch;
  }

  .upload-button-container {
    margin-left: 0;
  }

  .upload-modal-content {
    margin: 0.5rem;
    width: calc(100% - 1rem);
    max-height: calc(100vh - 1rem);
    max-height: calc(100dvh - 1rem); /* Use dynamic viewport height on mobile */
  }

  .upload-modal-header {
    padding: var(--spacing-md);
    flex-shrink: 0;
  }

  .upload-modal-body {
    padding: var(--spacing-md);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch; /* Smooth scrolling on iOS */
  }

  .upload-modal-footer {
    padding: var(--spacing-md);
    flex-shrink: 0;
  }

  .photo-previews {
    grid-template-columns: repeat(auto-fill, minmax(80px, 1fr));
  }
}

