/*
Theme Name: Astra Child - Egert & Elisabeth
Template: astra
Version: 1.0.0
*/

@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=Montserrat:wght@300;400;500&display=swap');

:root {
  --burgundy: rgb(38, 9, 10);
  --burgundy-light: rgb(70, 20, 22);
  --burgundy-mid: rgb(55, 14, 16);
  --midnight: #0d1b2a;
  --midnight-light: #1a2e45;
  --midnight-mid: #152538;
  --cream: #f5f0eb;
  --cream-light: #faf7f4;
  --silver: #c8c8d0;
  --silver-light: #e8e8f0;
  --gold: #c9a96e;
  --white: #ffffff;
}

* { box-sizing: border-box; }

body {
  background: var(--burgundy);
  color: var(--cream);
  font-family: 'Cormorant Garamond', serif;
  margin: 0;
  padding: 0;
}

.site-header, #masthead {
  background: rgba(13, 27, 42, 0.95) !important;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(201, 169, 110, 0.3);
  position: fixed !important;
  top: 0; left: 0; width: 100%;
  z-index: 9999;
}

.ast-site-identity .site-title a,
.ast-site-identity .site-title {
  font-family: 'Great Vibes', cursive !important;
  font-size: 2rem !important;
  color: #e8e8f0 !important;
  text-decoration: none;
}

.main-navigation a, .ast-primary-menu > .menu-item > a {
  color: #c8c8d0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.8rem !important;
  font-weight: 400 !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
}

.main-navigation a:hover { color: #c9a96e !important; }

.wedding-hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding-top: 0;
}

.wedding-hero-photo {
  position: relative;
  overflow: hidden;
  background: rgb(55, 14, 16);
  min-height: 100vh;
}

.wedding-hero-photo img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.85;
}

.hero-names-overlay {
  position: absolute;
  bottom: 60px; left: 40px;
  color: white;
}

.hero-names-overlay h1 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 6vw, 6rem);
  line-height: 1.1; margin: 0 0 10px;
  color: #e8e8f0;
  text-shadow: 2px 2px 0 rgba(38,9,10,0.5), 0 0 30px rgba(200,200,210,0.4);
}

.hero-names-overlay p {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem; letter-spacing: 3px;
  text-transform: uppercase;
  color: #c8c8d0; font-weight: 300;
}

.wedding-hero-info {
  background: #0d1b2a;
  display: flex; flex-direction: column;
  justify-content: center; align-items: center;
  text-align: center; padding: 60px 50px;
  position: relative; min-height: 100vh;
}

.hero-location {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; font-style: italic;
  color: #c8c8d0; letter-spacing: 1px; margin-bottom: 8px;
}

.hero-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; letter-spacing: 3px;
  text-transform: uppercase; color: #c9a96e;
  margin-bottom: 30px; font-weight: 400;
}

.hero-countdown {
  display: flex; gap: 30px;
  justify-content: center; margin: 30px 0 40px;
}

.countdown-unit { text-align: center; }

.countdown-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 3rem; font-weight: 300;
  color: #e8e8f0; line-height: 1; display: block;
}

.countdown-label {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.65rem; letter-spacing: 3px;
  text-transform: uppercase; color: #c8c8d0;
  opacity: 0.7; margin-top: 5px; display: block;
}

.countdown-divider {
  font-family: 'Cormorant Garamond', serif;
  font-size: 2.5rem; color: #c8c8d0;
  opacity: 0.4; align-self: flex-start; margin-top: 5px;
}

.hero-rsvp-btn {
  display: inline-block;
  border: 1px solid #c8c8d0;
  color: #c8c8d0 !important; padding: 14px 50px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; letter-spacing: 3px;
  text-transform: uppercase; text-decoration: none !important;
  transition: all 0.3s; background: transparent; cursor: pointer;
}

.hero-rsvp-btn:hover {
  background: #c8c8d0; color: #0d1b2a !important;
}

.save-the-date-section {
  background: rgb(38, 9, 10); text-align: center;
  padding: 120px 20px;
  border-top: 1px solid rgba(201,169,110,0.2);
}

.std-script {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(3rem, 7vw, 6rem);
  color: #e8e8f0; display: block; margin-bottom: 20px;
  text-shadow: 2px 2px 0 rgba(38,9,10,0.8);
}

.std-date {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(5rem, 15vw, 12rem);
  font-weight: 600; color: #e8e8f0;
  line-height: 0.85; display: block; letter-spacing: -2px;
}

.std-divider {
  width: 200px; height: 1px;
  background: rgba(201,169,110,0.4);
  margin: 40px auto;
}

.std-location {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem; letter-spacing: 3px;
  color: #c8c8d0; font-weight: 400;
}

.love-story-section {
  background: #0d1b2a; padding: 100px 20px; text-align: center;
}

.love-story-section h2 {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2.5rem, 5vw, 4rem); color: #e8e8f0; margin-bottom: 50px;
}

.love-story-content {
  max-width: 800px; margin: 0 auto;
}

.love-story-content p {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.25rem; line-height: 2;
  color: #c8c8d0; font-style: italic; margin-bottom: 30px;
}

.love-story-ornament {
  color: #c9a96e; font-size: 2rem; margin: 30px 0; opacity: 0.7;
}

.wedding-section-title {
  font-family: 'Great Vibes', cursive;
  font-size: clamp(2rem, 4vw, 3.5rem); color: #e8e8f0;
  text-align: center; margin-bottom: 15px;
}

.wedding-section-subtitle {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; letter-spacing: 4px;
  text-transform: uppercase; color: #c9a96e;
  text-align: center; margin-bottom: 50px; font-weight: 400;
}

.section-divider {
  width: 100px; height: 1px;
  background: rgba(201,169,110,0.5);
  margin: 20px auto 50px;
}

.schedule-section {
  background: rgb(38, 9, 10); padding: 80px 20px; min-height: 80vh;
}

.schedule-day {
  max-width: 900px; margin: 0 auto 60px;
  background: rgba(13, 27, 42, 0.6);
  border: 1px solid rgba(201,169,110,0.2); padding: 50px;
}

.schedule-day-title {
  font-family: 'Great Vibes', cursive;
  font-size: 2.5rem; color: #e8e8f0; text-align: center; margin-bottom: 10px;
}

.schedule-day-date {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; letter-spacing: 3px;
  text-transform: uppercase; color: #c9a96e;
  text-align: center; margin-bottom: 40px;
}

.schedule-item {
  display: flex; gap: 30px; padding: 20px 0;
  border-bottom: 1px solid rgba(201,169,110,0.15); align-items: flex-start;
}

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

.schedule-time {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: #c9a96e; min-width: 90px; font-style: italic;
}

.schedule-details h4 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.3rem; color: #e8e8f0; margin: 0 0 5px; font-weight: 400;
}

.schedule-details p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; color: #c8c8d0;
  opacity: 0.7; margin: 0; letter-spacing: 1px;
}

.hotel-section {
  background: #0d1b2a; padding: 80px 20px; min-height: 80vh;
}

.hotels-grid {
  max-width: 1100px; margin: 0 auto;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 40px; padding: 0 20px;
}

.hotel-card {
  background: rgba(38, 9, 10, 0.8);
  border: 1px solid rgba(201,169,110,0.25);
  overflow: hidden; transition: transform 0.3s, box-shadow 0.3s;
}

.hotel-card:hover {
  transform: translateY(-5px); box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

.hotel-card-image {
  height: 200px; background: rgb(55,14,16);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}

.hotel-card-image img {
  width: 100%; height: 100%; object-fit: cover; opacity: 0.8;
}

.hotel-placeholder {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem; color: #c8c8d0; opacity: 0.3;
}

.hotel-card-body { padding: 30px; }

.hotel-card-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem; color: #e8e8f0; margin-bottom: 10px; font-weight: 400;
}

.hotel-card-stars { color: #c9a96e; font-size: 0.9rem; margin-bottom: 15px; }

.hotel-card-desc {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.8rem; color: #c8c8d0; line-height: 1.8;
  opacity: 0.8; margin-bottom: 15px;
}

.hotel-card-distance {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; color: #c9a96e;
  letter-spacing: 2px; margin-bottom: 25px; opacity: 0.9;
}

.hotel-book-btn {
  display: inline-block;
  border: 1px solid #c9a96e; color: #c9a96e !important;
  padding: 12px 30px; font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; letter-spacing: 2px;
  text-transform: uppercase; text-decoration: none !important;
  transition: all 0.3s; background: transparent;
}

.hotel-book-btn:hover {
  background: #c9a96e; color: #0d1b2a !important;
}

.checklist-section {
  background: rgb(38, 9, 10); padding: 80px 20px; min-height: 80vh;
}

.checklist-container { max-width: 800px; margin: 0 auto; }

.checklist-category {
  background: rgba(13, 27, 42, 0.6);
  border: 1px solid rgba(201,169,110,0.2);
  padding: 40px; margin-bottom: 30px;
}

.checklist-category-title {
  font-family: 'Great Vibes', cursive;
  font-size: 2rem; color: #e8e8f0; margin-bottom: 25px;
  border-bottom: 1px solid rgba(201,169,110,0.2); padding-bottom: 15px;
}

.checklist-item {
  display: flex; align-items: center; gap: 15px;
  padding: 12px 0; border-bottom: 1px solid rgba(255,255,255,0.05); cursor: pointer;
}

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

.checklist-checkbox {
  width: 22px; height: 22px; border: 1px solid #c9a96e;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; transition: all 0.2s; background: transparent;
  cursor: pointer; color: transparent; font-size: 14px;
}

.checklist-item.checked .checklist-checkbox {
  background: #c9a96e; color: #0d1b2a;
}

.checklist-item.checked .checklist-text {
  opacity: 0.5; text-decoration: line-through;
}

.checklist-text {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.1rem; color: #c8c8d0; line-height: 1.5;
}

.entry-content, .ast-container, .content-area, #content {
  max-width: 100% !important; padding: 0 !important; margin: 0 !important;
}

.site-content { padding-top: 0 !important; }
.ast-separate-container .ast-article-single { padding: 0 !important; }

.site-footer, #colophon {
  background: #0d1b2a !important;
  border-top: 1px solid rgba(201,169,110,0.2);
  text-align: center; padding: 40px 20px;
}

.site-footer .ast-footer-copyright, .site-footer p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.75rem; color: #c8c8d0; opacity: 0.5; letter-spacing: 2px;
}

.wedding-locked {
  text-align: center; padding: 80px 20px;
  max-width: 600px; margin: 0 auto;
}

.wedding-locked h2 {
  font-family: 'Great Vibes', cursive;
  font-size: 3rem; color: #e8e8f0; margin-bottom: 20px;
}

.wedding-locked p {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.85rem; color: #c8c8d0;
  letter-spacing: 1px; margin-bottom: 30px; line-height: 2;
}

#page, .ast-desktop { margin-top: 80px; }

.um-form .um-field-label label, .um-form label {
  color: #c8c8d0 !important; font-family: 'Montserrat', sans-serif !important;
  font-size: 0.8rem !important; letter-spacing: 1px !important;
  text-transform: uppercase !important;
}

.um-form .um-field-area input[type="text"],
.um-form .um-field-area input[type="email"],
.um-form .um-field-area input[type="password"] {
  background: rgba(38,9,10,0.6) !important;
  border: 1px solid rgba(201,169,110,0.3) !important;
  color: #e8e8f0 !important; font-family: 'Cormorant Garamond', serif !important;
  font-size: 1rem !important; padding: 15px !important; border-radius: 0 !important;
}

.um-button, .um-form input[type="submit"] {
  background: transparent !important;
  border: 1px solid #c9a96e !important; color: #c9a96e !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.8rem !important; letter-spacing: 3px !important;
  text-transform: uppercase !important; padding: 15px 40px !important;
  border-radius: 0 !important; cursor: pointer !important;
}

.um-button:hover { background: #c9a96e !important; color: #0d1b2a !important; }

@media (max-width: 900px) {
  .wedding-hero { grid-template-columns: 1fr; }
  .wedding-hero-photo { min-height: 60vh; }
  .hero-names-overlay { bottom: 30px; left: 25px; }
  .wedding-hero-info { min-height: auto; padding: 60px 30px; }
  .schedule-day { padding: 30px 20px; }
  .hotels-grid { grid-template-columns: 1fr; padding: 0; }
  .hero-countdown { gap: 15px; }
  .countdown-num { font-size: 2rem; }
}

@media (max-width: 480px) {
  .hero-countdown { gap: 10px; }
  .countdown-num { font-size: 1.8rem; }
  .hero-rsvp-btn { padding: 12px 35px; }
  .schedule-item { flex-direction: column; gap: 5px; }
  .checklist-category { padding: 25px 20px; }
}

/* ===== FIX HEADER/NAVIGATION ===== */
/* Override any Astra teal/green theme colors */
.ast-header-break-point .ast-mobile-menu-trigger-minimal,
.ast-header-break-point .ast-button-wrap,
header.site-header,
#masthead,
.ast-primary-header-bar,
.ast-main-header-wrap,
.site-header-focus-item,
.main-header-bar-wrap,
.main-header-bar,
.ast-nav-menu > li > a {
  background: #0d1b2a !important;
  background-color: #0d1b2a !important;
}

.ast-desktop .ast-nav-menu > li > a,
.main-navigation .ast-nav-menu > li > a,
.main-header-bar .ast-nav-menu > li > a,
.ast-primary-menu > li > a,
.nav-menu > li > a {
  color: #c8c8d0 !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 0.75rem !important;
  letter-spacing: 2px !important;
  text-transform: uppercase !important;
  font-weight: 400 !important;
  transition: color 0.3s !important;
}

.ast-desktop .ast-nav-menu > li > a:hover,
.main-navigation .ast-nav-menu > li > a:hover {
  color: #c9a96e !important;
}

/* Ensure header is dark */
.ast-primary-header-bar {
  background: #0d1b2a !important;
  border-bottom: 1px solid rgba(201, 169, 110, 0.3) !important;
}

/* Site title in Great Vibes */
.site-title a,
.ast-site-identity a.site-title {
  font-family: 'Great Vibes', cursive !important;
  font-size: 1.8rem !important;
  color: #e8e8f0 !important;
  text-decoration: none !important;
}

/* Fix page title visibility - hide it on front page */
.home .entry-title,
.page-id-209 .entry-title {
  display: none;
}

/* Ensure pages don't have default wp padding */
.ast-page-builder-template #content,
.page-template-default #content,
.post-type-archive-page #content {
  padding: 0 !important;
}

/* Ensure hero section fills full viewport */
.home .hentry,
.page-template-default .hentry,
.ast-article-single {
  margin: 0 !important;
  padding: 0 !important;
}

/* Fix duplicate menu items - hide the PHP-generated nav items since UM handles them */
/* Ensure proper menu styling for UM items */
.main-navigation .menu-item a,
.ast-nav-menu .menu-item a {
  padding: 0 15px !important;
}

/* Override Astra full-width container for hero */
.ast-container {
  max-width: 100% !important;
  padding: 0 !important;
}

/* Fix content area full-width */
.site-content .ast-container {
  max-width: 100% !important;
}

#primary.content-area,
.site-main {
  width: 100% !important;
  max-width: 100% !important;
}

/* Header background complete override */
.ast-header-break-point .site-header,
.ast-desktop .site-header {
  background: #0d1b2a !important;
}

/* Submenu styling */
.ast-nav-menu .sub-menu {
  background: #0d1b2a !important;
  border: 1px solid rgba(201,169,110,0.2) !important;
}

.ast-nav-menu .sub-menu a {
  color: #c8c8d0 !important;
  border-bottom: 1px solid rgba(201,169,110,0.1) !important;
}

/* Fix body background */  
html, body {
  background: rgb(38, 9, 10) !important;
}

/* Mobile menu */
@media (max-width: 921px) {
  .ast-mobile-header-stack .ast-header-break-point .site-header {
    background: #0d1b2a !important;
  }
  
  .site-header .ast-mobile-menu-container {
    background: #0d1b2a !important;
  }
  
  .ast-mobile-menu-trigger-minimal .menu-toggle span {
    background: #c8c8d0 !important;
  }
}