/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;600;700&family=Montserrat:wght@300;400&display=swap');

/* CSS Custom Properties - Design System */
:root {
  --ivory-bg: #F9F7F2;
  --blush-light: #E1D5D5;
  --white: #FFFFFF;
  --coral: #E29F96;
  --berry: #9E3E48;
  --sage: #6C7863;
  --gold: #D4AF37;
  --charcoal: #4A4A4A;
}

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

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

body {
  font-family: 'Montserrat', sans-serif;
  font-weight: 300;
  background-color: #F9F7F2;
  color: var(--charcoal);
  line-height: 1.6;
  position: relative;
}

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../images/cardstock_texture.png');
  background-repeat: repeat;
  background-attachment: scroll;
  opacity: 0.25;
  z-index: -1;
  pointer-events: none;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
}

/* Hero Section */
.hero {
  background-image: url('../images/hero.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  min-height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2.5rem;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(249, 247, 242, 0.3);
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 3rem;
  color: var(--gold);
  text-shadow: 2px 2px 4px rgba(255, 255, 255, 0.8);
  margin-bottom: 0.5rem;
}

.hero .date {
  font-size: 1.5rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--sage);
  margin-bottom: 0.5rem;
}

.hero .location {
  font-size: 1.25rem;
  font-family: 'Montserrat', sans-serif;
  color: var(--sage);
}

/* Welcome Section */
.welcome {
  max-width: 800px;
  margin: 3rem auto;
  padding: 2rem;
  text-align: center;
}

.welcome p {
  font-size: 1.125rem;
  color: var(--sage);
}

/* Quick Links */
.quick-links {
  text-align: center;
  padding: 2rem;
  margin-bottom: 3rem;
}

.quick-links nav {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: center;
}

.quick-links a {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: var(--white);
  border: 2px solid var(--coral);
  color: var(--sage);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  transition: all 0.3s ease;
  min-width: 200px;
}

.quick-links a:hover {
  background-color: var(--coral);
  color: var(--white);
}

/* ========================================
   Navigation
   ======================================== */

/* Navigation Bar */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: var(--white);
  padding: 1rem 2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

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

/* Desktop Navigation Links */
.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links li {
  margin: 0;
}

.nav-links a {
  text-decoration: none;
  color: var(--berry);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--gold);
}

.nav-links a.active {
  color: var(--gold);
  font-weight: 600;
  border-bottom: 2px solid var(--gold);
}

.nav-links a:focus {
  outline: 2px solid var(--gold);
  outline-offset: 4px;
}

/* Language Switcher */
.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.language-switcher a {
  text-decoration: none;
  color: var(--berry);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 0.875rem;
  transition: color 0.3s ease;
}

.language-switcher a:hover {
  color: var(--gold);
}

.language-switcher a.active {
  color: var(--gold);
  font-weight: 600;
}

.language-switcher .separator {
  color: var(--sage);
  opacity: 0.5;
}

/* Hamburger Menu (Mobile Only) */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: var(--berry);
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background-color: var(--gold);
}

/* Mobile Navigation Panel */
.mobile-panel {
  display: none;
  position: fixed;
  top: 0;
  right: 0;
  width: 80%;
  max-width: 300px;
  height: 100vh;
  background-color: var(--white);
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 200;
  padding: 2rem 1.5rem;
  overflow-y: auto;
}

.close-menu {
  position: absolute;
  top: 1rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--berry);
  cursor: pointer;
  padding: 0.5rem;
  line-height: 1;
}

.close-menu:hover {
  color: var(--gold);
}

.language-switcher-mobile {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  justify-content: center;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--blush-light);
}

.language-switcher-mobile a {
  text-decoration: none;
  color: var(--berry);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.language-switcher-mobile a:hover {
  color: var(--gold);
}

.language-switcher-mobile a.active {
  color: var(--gold);
  font-weight: 600;
}

.language-switcher-mobile .separator {
  color: var(--sage);
  opacity: 0.5;
}

.nav-links-mobile {
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links-mobile li {
  margin-bottom: 1rem;
}

.nav-links-mobile a {
  display: block;
  text-decoration: none;
  color: var(--berry);
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1.2rem;
  padding: 0.75rem 1rem;
  min-height: 44px;
  transition: all 0.3s ease;
  border-left: 3px solid transparent;
}

.nav-links-mobile a:hover {
  color: var(--gold);
  background-color: var(--ivory-bg);
  border-left-color: var(--gold);
}

.nav-links-mobile a.active {
  color: var(--gold);
  font-weight: 600;
  border-left-color: var(--gold);
}

/* Background Overlay */
.nav-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 150;
}

/* Menu Open State */
.site-nav.menu-open .mobile-panel {
  transform: translateX(0);
}

.site-nav.menu-open .nav-overlay {
  display: block;
}

/* ========================================
   Single Page Styles
   ======================================== */

/* Page Header */
.page-header {
  text-align: center;
  padding: 3rem 2rem 2rem;
  background-color: var(--white);
}

.page-header h1 {
  font-size: 2.5rem;
  color: var(--gold);
  margin-bottom: 0;
}

/* Page Sections */
.page-section {
  max-width: 800px;
  margin: 0 auto 3rem;
  padding: 2.5rem;
}

.page-section h2 {
  text-align: center;
  font-size: 2rem;
  color: var(--gold);
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* ========================================
   Timeline Styles
   ======================================== */

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

.timeline-item {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(108, 120, 99, 0.1);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.time {
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  font-size: 1.125rem;
  color: var(--sage);
}

.event-details {
  flex: 1;
}

.event-title {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.event-description {
  color: var(--sage);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========================================
   Venue Styles
   ======================================== */

.venue-section {
  max-width: 900px;
}

.venue-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.venue-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(108, 120, 99, 0.1);
  padding: 1.5rem;
  border-radius: 4px;
}

.venue-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.75rem;
  color: var(--gold);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
}

.venue-address {
  margin-bottom: 0.75rem;
}

.venue-address a {
  color: var(--berry);
  text-decoration: none;
  font-family: 'Montserrat', sans-serif;
  font-weight: 400;
  transition: color 0.3s ease;
}

.venue-address a:hover {
  color: var(--gold);
}

.venue-notes {
  color: var(--sage);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0;
}

/* ========================================
   Dress Code Styles
   ======================================== */

.dress-code {
  max-width: 800px;
  text-align: center;
}

.dress-code h2 {
  color: var(--gold);
}

.dress-code-content {
  color: var(--sage);
  font-size: 1.125rem;
  line-height: 1.8;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(108, 120, 99, 0.1);
  border-radius: 4px;
}

.dress-code-content p {
  margin-bottom: 1rem;
}

.dress-code-content p:last-child {
  margin-bottom: 0;
}

/* ========================================
   Info Section Styles (Practical Info)
   ======================================== */

.info-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.section-icon {
  font-size: 2rem;
  line-height: 1;
}

.info-content {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(108, 120, 99, 0.1);
  padding: 1.5rem;
  border-radius: 4px;
  color: var(--sage);
  line-height: 1.8;
}

.info-content h3 {
  font-size: 1.25rem;
  color: var(--berry);
  margin: 1.5rem 0 0.75rem;
  text-transform: uppercase;
}

.info-content h3:first-child {
  margin-top: 0;
}

.info-content p {
  margin-bottom: 1rem;
}

.info-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.info-content a {
  color: var(--berry);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.info-content a:hover {
  color: var(--gold);
}

.info-content strong {
  font-weight: 600;
  color: var(--berry);
}

/* ========================================
   Recommendation List Styles (Weekend Guide)
   ======================================== */

.guide-section h2 {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.recommendation-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.recommendation-card {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(108, 120, 99, 0.1);
  padding: 1.5rem;
  border-radius: 4px;
  transition: box-shadow 0.3s ease;
}

.recommendation-card:hover {
  box-shadow: 0 12px 32px rgba(108, 120, 99, 0.15);
}

.recommendation-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 0.5rem;
}

.recommendation-name {
  font-family: 'Cormorant Garamond', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

.recommendation-header .recommendation-name {
  margin-bottom: 0;
}

.recommendation-price {
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: var(--berry);
  font-weight: 400;
  white-space: nowrap;
}

.recommendation-cuisine {
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  color: var(--berry);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.recommendation-description {
  color: var(--sage);
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.recommendation-location {
  color: var(--sage);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.recommendation-tip {
  color: var(--berry);
  font-size: 0.95rem;
  font-style: italic;
  margin-bottom: 0;
  padding: 0.75rem;
  background-color: var(--ivory-bg);
  border-radius: 4px;
}

/* ========================================
   FAQ Accordion Styles
   ======================================== */

.faq-category {
  max-width: 900px;
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(108, 120, 99, 0.1);
  border-radius: 4px;
  overflow: hidden;
}

.accordion-question {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  color: var(--berry);
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  list-style: none;
  transition: all 0.3s ease;
  user-select: none;
}

.accordion-question::-webkit-details-marker {
  display: none;
}

.accordion-question::before {
  content: '+';
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--gold);
  margin-right: 1rem;
  display: inline-block;
  width: 1.5rem;
  text-align: center;
  transition: transform 0.3s ease;
}

.accordion-item[open] .accordion-question::before {
  content: '−';
}

.accordion-question:hover {
  background-color: var(--ivory-bg);
  color: var(--gold);
}

.accordion-item:hover {
  box-shadow: 0 12px 32px rgba(108, 120, 99, 0.15);
}

.accordion-answer {
  padding: 0 1.5rem 1.5rem 4rem;
  color: var(--sage);
  font-size: 1rem;
  line-height: 1.8;
  animation: slideDown 0.3s ease;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.accordion-answer p {
  margin-bottom: 0.75rem;
}

.accordion-answer p:last-child {
  margin-bottom: 0;
}

.accordion-answer a {
  color: var(--berry);
  text-decoration: none;
  font-weight: 400;
  transition: color 0.3s ease;
}

.accordion-answer a:hover {
  color: var(--gold);
}

.accordion-answer strong {
  font-weight: 600;
  color: var(--berry);
}

/* ========================================
   Icon Styles
   ======================================== */

/* Inline Watercolor Icons */
.inline-icon {
  height: 1.2em;
  vertical-align: middle;
  margin-right: 0.5em;
}

/* Section Dividers */
.section-divider {
  display: block;
  width: 100%;
  max-width: 600px;
  margin: 3rem auto;
  opacity: 0.6;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Mobile Navigation (< 768px) */
@media (max-width: 767px) {
  .nav-links {
    display: none;
  }

  .language-switcher {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-panel {
    display: block;
  }

  /* Mobile Shadow System - Lighter shadows for smaller screens */
  .timeline-item,
  .venue-card,
  .recommendation-card,
  .accordion-item,
  .info-content,
  .gift-message-content,
  .iban-revealed,
  .dress-code-content {
    box-shadow: 0 4px 12px rgba(108, 120, 99, 0.08);
  }

  /* Mobile Padding Reduction */
  .page-section {
    padding: 1.25rem;
  }
}

/* Desktop (>= 768px) */
@media (min-width: 768px) {
  .hero {
    min-height: 85vh;
  }

  .hero h1 {
    font-size: 4.5rem;
  }

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

  .hero .location {
    font-size: 1.5rem;
  }

  .welcome {
    max-width: 900px;
  }

  .welcome p {
    font-size: 1.25rem;
  }

  .quick-links nav {
    flex-direction: row;
    justify-content: center;
  }

  /* Page Header Desktop */
  .page-header h1 {
    font-size: 3.5rem;
  }

  /* Timeline Desktop Layout */
  .timeline-item {
    flex-direction: row;
    gap: 2rem;
    padding: 2rem;
  }

  .time {
    min-width: 120px;
    font-size: 1.25rem;
  }

  .event-title {
    font-size: 1.75rem;
  }

  .event-description {
    font-size: 1.125rem;
  }

  /* Venue Cards Desktop Layout */
  .venue-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .venue-cards .venue-card:only-child {
    grid-column: 1 / -1;
    max-width: 600px;
    margin: 0 auto;
  }

  .venue-name {
    font-size: 2rem;
  }

  /* Dress Code Desktop */
  .dress-code-content {
    font-size: 1.25rem;
    padding: 2rem;
  }

  /* Page Section Desktop */
  .page-section h2 {
    font-size: 2.5rem;
  }

  /* Info Content Desktop */
  .info-content {
    padding: 2rem;
  }

  .info-content h3 {
    font-size: 1.5rem;
  }

  /* Recommendation List Desktop - Grid Layout */
  .recommendation-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  /* Single-item recommendation cards span full width */
  .recommendation-list:has(.recommendation-card:only-child) {
    grid-template-columns: 1fr;
  }

  .recommendation-card {
    padding: 2rem;
  }

  .recommendation-name {
    font-size: 1.75rem;
  }

  .recommendation-description {
    font-size: 1.125rem;
  }

  /* Accordion Desktop */
  .accordion-question {
    font-size: 1.25rem;
    padding: 1.5rem 2rem;
  }

  .accordion-answer {
    padding: 0 2rem 2rem 5rem;
    font-size: 1.125rem;
  }

  /* Hide mobile navigation elements on desktop */
  .hamburger {
    display: none !important;
  }

  .mobile-panel {
    display: none !important;
  }

  .nav-overlay {
    display: none !important;
  }
}

/* ========================================
   Gift Page Styles
   ======================================== */

/* Gift Message Section */
.gift-message-section {
  margin: 0 auto;
  padding: 2rem 1.5rem;
}

.gift-message-content {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(108, 120, 99, 0.1);
  padding: 2rem;
  border-radius: 4px;
  max-width: 800px;
  margin: 0 auto;
}

.gift-message-content h3 {
  color: var(--berry);
  font-size: 1.5rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  text-transform: none;
}

.gift-message-content p {
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Bank Details Reveal Section */
.bank-details-section {
  margin: 0 auto;
  padding: 2rem 1.5rem;
  text-align: center;
}

.reveal-container {
  max-width: 600px;
  margin: 0 auto;
}

/* Reveal Button */
.reveal-button {
  background-color: var(--berry);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 1.125rem;
  font-weight: 400;
  padding: 1rem 2rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.reveal-button:hover {
  background-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

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

/* IBAN Display */
#iban-display {
  margin-top: 2rem;
}

.iban-revealed {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 8px 24px rgba(108, 120, 99, 0.1);
  padding: 2rem;
  border-radius: 4px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.iban-revealed strong {
  color: var(--sage);
  font-size: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.iban-code {
  font-family: 'Courier New', monospace;
  font-size: 1.5rem;
  color: var(--berry);
  font-weight: 600;
  letter-spacing: 2px;
  padding: 0.5rem 1rem;
  background-color: var(--blush-light);
  border-radius: 4px;
  display: block;
  margin: 0.5rem 0;
}

/* Copy Button */
.copy-button {
  background-color: var(--sage);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-size: 0.875rem;
  font-weight: 400;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.copy-button:hover {
  background-color: var(--gold);
}

/* Copy Confirmation */
.copy-confirmation,
.copy-manual {
  margin-top: 1rem;
  padding: 0.75rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  font-weight: 400;
}

.copy-confirmation {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.copy-manual {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeaa7;
}

/* Responsive Styles for Gift Page */
@media (max-width: 767px) {
  .gift-message-content {
    padding: 1.5rem;
  }

  .gift-message-content h3 {
    font-size: 1.25rem;
  }

  .reveal-button {
    font-size: 1rem;
    padding: 0.875rem 1.5rem;
    width: 100%;
  }

  .iban-code {
    font-size: 1.125rem;
    letter-spacing: 1px;
    word-break: break-all;
  }

  .copy-button {
    width: 100%;
  }
}

/* Desktop Styles for Gift Page */
@media (min-width: 768px) {
  .gift-message-section {
    padding: 3rem 2rem;
  }

  .gift-message-content {
    padding: 2.5rem;
  }

  .bank-details-section {
    padding: 3rem 2rem;
  }

  .reveal-button {
    font-size: 1.25rem;
  }

  .iban-revealed {
    padding: 2.5rem;
  }
}
