/* =============================================
   Natalie & Liam Wedding Website
   Color Palette & Design System
   ============================================= */

/* Import Google Fonts - Elegant script and serif */
@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,500;0,600;1,400;1,500&family=Pinyon+Script&family=Crimson+Pro:ital,wght@0,400;0,500;1,400&display=swap');

:root {
  /* Primary Colors */
  --cream: #F5F0E6;
  --cream-light: #FAF8F3;
  --cream-dark: #EBE4D6;
  
  /* Accent Colors */
  --burgundy: #8B3A62;
  --burgundy-dark: #6D2C4D;
  --wine: #5C1A3A;
  --sky-blue: #7AB8C4;
  --sky-blue-light: #9FCDD6;
  
  /* Neutral Colors */
  --olive: #6B6B4E;
  --olive-dark: #4A4A36;
  --olive-light: #8B8B6E;
  --gold-bar: #9A956E;
  
  /* Text Colors */
  --text-primary: #4A4A36;
  --text-secondary: #6B6B4E;
  --text-light: #8B8B6E;
  
  /* Fonts */
  --font-script: 'Pinyon Script', cursive;
  --font-serif: 'Cormorant Garamond', serif;
  --font-body: 'Crimson Pro', serif;
  
  /* Spacing */
  --section-padding: 4rem 2rem;
  --container-max: 1024px;
}

/* =============================================
   Reset & Base Styles
   ============================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: var(--cream);
}

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

a {
  color: inherit;
  text-decoration: none;
}

/* =============================================
   Typography
   ============================================= */

.script-heading {
  font-family: var(--font-script);
  font-weight: 400;
  line-height: 1.2;
}

.serif-heading {
  font-family: var(--font-serif);
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 500;
}

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

.nav {
  background-color: var(--cream);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 3px solid var(--gold-bar);
}

.nav-container {
  max-width: var(--container-max);
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
}

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

.nav-links a {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  transition: color 0.3s ease;
  padding: 0.5rem 0;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--burgundy);
}

.nav-crest {
  width: 45px;
  height: auto;
  margin: 0 1rem;
}

/* Mobile Navigation */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--olive);
  margin: 5px 0;
  transition: 0.3s;
}

@media (max-width: 768px) {
  .nav-toggle {
    display: block;
  }
  
  .nav-container {
    flex-wrap: wrap;
    justify-content: space-between;
  }
  
  .nav-links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 0;
  }
  
  .nav-links.active {
    display: flex;
  }
  
  .nav-crest {
    order: -1;
  }
}

/* =============================================
   Section Headers (Colored Bars)
   ============================================= */

.section-header {
  padding: 1.5rem 2rem;
  text-align: center;
}

.section-header--burgundy {
  background-color: var(--burgundy);
  color: var(--cream);
}

.section-header--blue {
  background-color: var(--sky-blue);
  color: var(--cream);
}

.section-header--olive {
  background-color: var(--gold-bar);
  color: var(--cream);
}

.section-header h2 {
  font-family: var(--font-script);
  font-size: 2.5rem;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.section-header .date {
  font-family: var(--font-script);
  font-size: 1.2rem;
  opacity: 0.9;
}

/* =============================================
   Hero Section (Home Page)
   ============================================= */

.hero {
  background-color: var(--cream);
  text-align: center;
  padding: 3rem 2rem 4rem;
}

.hero-subtitle {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.hero-names {
  font-family: var(--font-script);
  color: var(--burgundy);
  margin-bottom: 0.5rem;
}

.hero-names .name {
  font-size: 3.5rem;
  display: block;
  line-height: 1.1;
}

.hero-names .and {
  font-size: 2rem;
  font-style: italic;
  display: block;
  margin: 0.25rem 0;
}

.hero-location {
  font-family: var(--font-script);
  font-size: 2.5rem;
  color: var(--burgundy);
  margin-top: 1.5rem;
}

.hero-date {
  font-family: var(--font-script);
  font-size: 2rem;
  color: var(--olive);
  margin-top: 0.5rem;
}

/* Decorative Flourish */
.flourish {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 1.5rem 0;
  color: var(--olive-light);
}

.flourish::before,
.flourish::after {
  content: '';
  width: 80px;
  height: 1px;
  background: linear-gradient(to var(--direction, right), var(--olive-light), transparent);
}

.flourish::before {
  --direction: left;
}

.flourish-icon {
  margin: 0 1rem;
  font-size: 1.5rem;
}

/* =============================================
   Welcome Section (Home Page)
   ============================================= */

.welcome-section {
  background-image: url('Assets/MapBack.png');
  background-size: cover;
  background-position: center;
  padding: 4rem 2rem;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 400px;
}

.welcome-card {
  background-color: var(--cream);
  border: 2px solid var(--gold-bar);
  border-radius: 50%;
  padding: 3rem 4rem;
  max-width: 600px;
  text-align: center;
  aspect-ratio: 1.5;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.welcome-card h3 {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--olive);
  margin-bottom: 1rem;
}

.welcome-card p {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--burgundy);
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.welcome-card .signature {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--olive);
  font-style: italic;
}

/* =============================================
   Event Sections
   ============================================= */

.event-content {
  background-color: var(--cream);
  padding: 3rem 2rem;
  text-align: center;
  max-width: var(--container-max);
  margin: 0 auto;
}

.event-title {
  font-family: var(--font-script);
  font-size: 3.2rem;
  color: var(--burgundy);
  margin-bottom: 1rem;
}

.event-description {
  font-family: var(--font-body);
  font-size: 1.25rem;
  color: var(--burgundy);
  font-style: italic;
  max-width: 600px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}

.event-details-label {
  font-family: var(--font-serif);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 1rem;
}

.event-details {
  font-family: var(--font-script);
  font-size: 1.6rem;
  color: var(--burgundy);
  line-height: 1.8;
  margin-bottom: 2rem;
}

.dress-code {
  margin-top: 2rem;
}

.dress-code-label {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 0.5rem;
}

.dress-code-value {
  font-family: var(--font-script);
  font-size: 1.4rem;
  color: var(--burgundy);
}

/* =============================================
   Story Page
   ============================================= */

.story-section {
  background-color: var(--cream);
  padding: 3rem 2rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--olive);
  text-align: center;
  margin-bottom: 1.5rem;
}

.story-text {
  font-family: var(--font-body);
  font-size: 1.1rem;
  color: var(--burgundy);
  text-align: center;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 2rem;
}

.story-image {
  max-width: 400px;
  margin: 2rem auto;
  border-radius: 4px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

/* Photo Gallery */
.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  padding: 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.photo-gallery img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

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

/* =============================================
   Travel Page
   ============================================= */

.travel-hero {
  position: relative;
  height: 400px;
  overflow: hidden;
}

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

.travel-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.4));
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: var(--cream);
  text-align: center;
}

.travel-hero h1 {
  font-family: var(--font-script);
  font-size: 3rem;
  margin-bottom: 0.5rem;
}

.travel-hero p {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* Map Section */
.map-section {
  background-color: var(--sky-blue);
  padding: 2rem;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  gap: 2rem;
  flex-wrap: wrap;
}

.map-legend {
  background-color: var(--cream);
  padding: 2rem;
  max-width: 300px;
}

.map-legend h3 {
  font-family: var(--font-script);
  font-size: 1.8rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.map-legend .subtitle {
  font-family: var(--font-serif);
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--olive);
  margin-bottom: 2rem;
}

.map-legend h4 {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin: 1.5rem 0 1rem;
}

.map-legend ul {
  list-style: none;
}

.map-legend li {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.map-image {
  max-width: 500px;
}

/* Recommendations Section */
.recommendations {
  background-color: var(--cream);
  padding: 3rem 2rem;
}

.recommendations-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  max-width: var(--container-max);
  margin: 0 auto;
}

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

.recommendation-category::before {
  content: '';
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 0.5rem;
}

.recommendation-category.restaurants::before {
  background-color: #2A7B72;
}

.recommendation-category.places::before {
  background-color: var(--burgundy);
}

.recommendation-category.culture::before {
  background-color: #D4874A;
}

.recommendation-category h4 {
  font-family: var(--font-serif);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
  display: inline;
}

.recommendation-category ul {
  list-style: none;
  margin-top: 1rem;
}

.recommendation-category li {
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.75rem;
  line-height: 1.5;
}

.recommendation-category li strong {
  font-weight: 600;
}

@media (max-width: 768px) {
  .recommendations-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

/* =============================================
   Footer
   ============================================= */

.footer {
  background-color: var(--gold-bar);
  padding: 2rem;
  text-align: center;
}

.footer p {
  font-family: var(--font-script);
  font-size: 1.5rem;
  color: var(--cream);
}

/* =============================================
   Utility Classes
   ============================================= */

.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 2rem;
}

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

.mt-2 { margin-top: 2rem; }
.mb-2 { margin-bottom: 2rem; }
.py-4 { padding-top: 4rem; padding-bottom: 4rem; }

/* =============================================
   Responsive Adjustments
   ============================================= */

@media (max-width: 768px) {
  :root {
    --section-padding: 2rem 1rem;
  }
  
  .hero-names .name {
    font-size: 2.5rem;
  }
  
  .hero-location {
    font-size: 2rem;
  }
  
  .hero-date {
    font-size: 1.5rem;
  }
  
  .welcome-card {
    padding: 2rem;
    border-radius: 40%;
  }
  
  .section-header h2 {
    font-size: 2rem;
  }
  
  .event-title {
    font-size: 2rem;
  }
  
  .map-section {
    flex-direction: column;
    align-items: center;
  }
}

@media (max-width: 480px) {
  .hero-names .name {
    font-size: 2rem;
  }
  
  .nav-links {
    gap: 0.75rem;
  }
  
  .nav-links a {
    font-size: 0.8rem;
  }
}


