/* Global Styles */
:root {
  --primary-color: #2a4d3d;
  --secondary-color: #cdded9;
  --background-color: #f7f9f8;
  --text-color: #333;
  --accent-color: #e6eeec;
}

body {
  margin: 0;
  font-family: 'Lato', sans-serif;
  background: var(--background-color);
  color: var(--text-color);
  text-align: center;
  line-height: 1.6;
}

/* Navigation */
.main-nav {
  padding: 1rem;
  background: var(--secondary-color);
}

.main-nav a {
  color: var(--primary-color);
  text-decoration: none;
  margin: 0 1rem;
  font-weight: 700;
  transition: opacity 0.3s ease;
}

.main-nav a:hover {
  opacity: 0.8;
}

.main-nav a.active {
  border-bottom: 2px solid var(--primary-color);
}

/* Save the Date Page */
.save-the-date {
  background: var(--background-color);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  position: relative;
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9));
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.95);
  z-index: 1;
}

.save-the-date .announcement {
  position: relative;
  z-index: 2;
  margin-bottom: 3rem;
}

.save-the-date h1 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  color: var(--primary-color);
  margin-bottom: 2rem;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.are-getting-married {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-size: 1.5rem;
  margin: 1rem 0;
  color: var(--primary-color);
}

.photo-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin: 4rem auto;
  max-width: 1200px;
  padding: 0 2rem;
  position: relative;
  z-index: 2;
}

.photo-frame {
  aspect-ratio: 3/4;
  background-color: var(--secondary-color);
  border-radius: 4px;
  overflow: hidden;
  transition: transform 0.3s ease;
}

.photo-frame:hover {
  transform: translateY(-5px);
}

.minimal-nav {
  position: absolute;
  top: 2rem;
  right: 2rem;
}

.full-screen {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.save-the-date-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
}

.couple-names {
  font-size: 3rem;
  margin: 1rem 0;
  font-weight: 700;
}

.wedding-date,
.wedding-location {
  font-size: 1.5rem;
  margin: 0.5rem 0;
}

.photo-grid {
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

/* Buttons */
.button {
  display: inline-block;
  padding: 1rem 2rem;
  margin: 0.5rem;
  text-decoration: none;
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.button:hover {
  transform: translateY(-2px);
}

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

.button.secondary {
  background: var(--secondary-color);
  color: var(--primary-color);
}

/* Details Page */
.content-section {
  padding: 4rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.full-width-section {
  padding: 6rem 2rem;
  background: var(--secondary-color);
  margin-bottom: 2rem;
}

.timeline {
  display: grid;
  gap: 2rem;
  margin: 2rem 0;
}

.event {
  padding: 1rem;
  background: white;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

/* RSVP Page */
.rsvp-container {
  max-width: 600px;
  margin: 4rem auto;
  padding: 2rem;
}

.rsvp-form {
  text-align: left;
  background: white;
  padding: 2rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid var(--secondary-color);
  border-radius: 4px;
}

.submit-button {
  background: var(--primary-color);
  color: white;
  border: none;
  padding: 1rem 2rem;
  border-radius: 4px;
  cursor: pointer;
  width: 100%;
  font-size: 1.1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .couple-names {
    font-size: 2rem;
  }
  
  .wedding-date,
  .wedding-location {
    font-size: 1.2rem;
  }
  
  .content-section {
    padding: 2rem 1rem;
  }
  
  .minimal-nav {
    position: static;
    padding: 1rem;
  }
}
