:root {
  --primary: #213d3c;
  --background: #213d3c;
  --light: #ffffff;
}

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

body {
  font-family: 'Montserrat', sans-serif;
  color: var(--text);
  background: var(--background);
  line-height: 1.6;
  padding-top: 60px;
}

/* NAVIGATION */
nav {
  position: fixed;
  top: 1vh;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  padding: 15px 0;
  margin: 0;
}

nav li {
  margin: 0 20px;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--primary);
}

/* HERO */
.hero {
  height: 90vh;
  background: url('../images/hero.jpg') center/cover no-repeat;
  position: relative;
}

.hero-overlay {
  height: 100%;
  background: rgba(0,0,0,0.35);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 4rem;
}

.subtitle {
  font-size: 1.2rem;
  margin: 10px 0;
}

.date {
  margin-bottom: 25px;
}

/* BUTTON */
.btn {
  background: var(--primary);
  color: white;
  padding: 12px 30px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.385);
}

.btn:hover {
  opacity: 0.85;
  transform: translateY(-2px);
}

/* SECTIONS */
.section {
  padding: 80px 10%;
  text-align: center;
}

.section h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.5rem;
  margin-bottom: 50px;
}

.direction-card {
  padding-bottom: 40px;
}


/* DETAILS */
.details-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.detail-card {
  background: white;
  padding: 30px;
  border-radius: 15px;
}

/* SCHEDULE */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.schedule-card {
  background: white;
  padding: 25px;
  border-radius: 15px;
}

/* GALLERY */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 15px;
}

.gallery img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 12px;
}

/* MAP */
.map-container {
  max-width: 100%;
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
}

/* RSVP */
.rsvp {
  background: linear-gradient(180deg, #213d3c, #274947);
}

.rsvp-form {
  max-width: 500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.guest-item {
  display: flex;
  gap: 10px;
  padding: 5px;
  align-items: center;
}

.guest-item input, .guest-item select {
  flex: 1;
}

.rsvp-form input {
  padding: 12px;
  border-radius: 10px;
  border: none;
}

.radio-group {
  display: flex;
  justify-content: center;
  gap: 20px;
}

/* ACCOMMODATION */
.accommodation-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin: 20px 0;
}

.option-card {
  background: var(--light);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  text-align: center;
}

.accommodation-form {
  max-width: 500px;
  margin: 20px auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.accommodation-form input,
.accommodation-form textarea {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #ddd;
}

.accommodation-form textarea {
  resize: vertical;
  min-height: 80px;
}

/* FOOTER */
footer {
  background: #f0e6e3;
  color: black;
  padding: 50px 10%;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

footer h3 {
  font-family: 'Playfair Display', serif;
}

copyright {
  text-align: center;
}

/* RESPONSIVE */
@media (max-width: 900px) {
  .story-content,
  .details-grid,
  .schedule-grid,
  .gallery-grid,
  .footer-content {
    grid-template-columns: 1fr;
    flex-direction: column;
  }

  .hero h1 {
    font-size: 3rem;
  }
}
/* COUNTDOWN TIMER */
.countdown-timer {
  margin-top: 50px;
}

.countdown-content {
  display: flex;
  gap: 20px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  color: white;
}

.countdown-number {
  font-size: 2.5rem;
  font-weight: 600;
  color: #bfa05c;
  line-height: 1;
}

.countdown-label {
  font-size: 0.9rem;
  margin-top: 5px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

@media (max-width: 768px) {
  .countdown-content {
    gap: 15px;
  }

  .countdown-number {
    font-size: 1.8rem;
  }

  .countdown-label {
    font-size: 0.75rem;
  }
}