/* Color Variables */
:root {
  --primary-color: #cba590;
  --complimentary-color: #b8c5a0;
  --dark-text: #3a3a3a;
  --light-text: #6b6b6b;
  --white: #ffffff;
  --light-bg: #faf9f7;
  --shadow: rgba(0, 0, 0, 0.1);
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  line-height: 1.7;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--complimentary-color) 100%);
  color: var(--white);
  text-align: center;
  padding: 80px 20px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-title {
  font-size: 4rem;
  font-weight: 300;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.hero-date {
  font-size: 1.8rem;
  font-weight: 300;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.hero-venue {
  font-size: 1.2rem;
  font-style: italic;
  opacity: 0.95;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 50px;
  font-weight: 300;
  letter-spacing: 2px;
  position: relative;
  padding-bottom: 20px;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--complimentary-color));
  border-radius: 2px;
}

/* Story Section */
.story-section {
  background-color: var(--white);
}

.story-content {
  max-width: 900px;
  margin: 0 auto;
}

.intro {
  font-size: 1.2rem;
  text-align: center;
  color: var(--light-text);
  margin-bottom: 60px;
  font-style: italic;
  padding: 0 20px;
}

.story-timeline {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.timeline-item {
  background: var(--light-bg);
  padding: 40px;
  border-radius: 12px;
  border-left: 4px solid var(--complimentary-color);
  box-shadow: 0 4px 6px var(--shadow);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.timeline-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.timeline-item.highlight {
  background: linear-gradient(135deg, rgba(203, 165, 144, 0.1) 0%, rgba(184, 197, 160, 0.1) 100%);
  border-left-color: var(--primary-color);
  border-left-width: 6px;
}

.timeline-item h3 {
  font-size: 1.8rem;
  color: var(--primary-color);
  margin-bottom: 15px;
  font-weight: 400;
}

.timeline-item p {
  font-size: 1.1rem;
  line-height: 1.8;
  color: var(--dark-text);
  margin-bottom: 15px;
}

.timeline-item p:last-child {
  margin-bottom: 0;
}

/* Gallery Section */
.gallery-section {
  background: linear-gradient(to bottom, var(--light-bg) 0%, var(--white) 100%);
}

.gallery-intro {
  text-align: center;
  font-size: 1.2rem;
  color: var(--light-text);
  margin-bottom: 50px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
}

.photo-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 20px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 4px 8px var(--shadow);
  background-color: var(--primary-color);
  aspect-ratio: 4/3;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
  z-index: 1;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--complimentary-color) 100%);
  color: var(--white);
  text-align: center;
  padding: 40px 20px;
  margin-top: 60px;
}

footer p {
  font-size: 1.2rem;
  font-style: italic;
  letter-spacing: 1px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
    letter-spacing: 2px;
  }

  .hero-date {
    font-size: 1.4rem;
  }

  .hero-venue {
    font-size: 1rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .intro {
    font-size: 1.1rem;
  }

  .timeline-item {
    padding: 25px;
  }

  .timeline-item h3 {
    font-size: 1.5rem;
  }

  .timeline-item p {
    font-size: 1rem;
  }

  .photo-gallery {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
  }

  section {
    padding: 50px 0;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 60px 20px;
  }

  .hero-title {
    font-size: 2rem;
    letter-spacing: 1px;
  }

  .hero-date {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 1.8rem;
  }

  .photo-gallery {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .timeline-item {
    padding: 20px;
  }
}

/* Smooth Scrolling */
html {
  scroll-behavior: smooth;
}

/* Image Loading Animation */
.gallery-item img {
  opacity: 0;
  animation: fadeIn 0.5s ease-in forwards;
}

@keyframes fadeIn {
  to {
    opacity: 1;
  }
}

