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

:root {
  --primary-color: #d4a574;
  --secondary-color: #8b6f47;
  --text-color: #333;
  --light-bg: #fafafa;
  --white: #ffffff;
  --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

body {
  font-family: "Roboto Mono", monospace;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--white);
}

/* Header with Photo */
.header {
  position: relative;
  width: 100%;
}

.header-photo {
  width: 100%;
  height: 400px;
  overflow: hidden;
  background: linear-gradient(135deg, #d4a574 0%, #8b6f47 100%);
}

.header-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.9;
}

/* Navigation */
.navbar {
  background-color: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1rem 0;
  box-shadow: var(--shadow);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.nav-links {
  list-style: none;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.nav-links a {
  font-family: "Roboto Mono", monospace;
  text-decoration: none;
  color: var(--text-color);
  font-size: 1.1rem;
  font-weight: 500;
  transition: color 0.3s ease;
  position: relative;
}

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

.nav-links a::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

/* Sections */
.section {
  padding: 5rem 0;
  min-height: 50vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}
.container > h2 {
  font-size: 4.5rem;
}

/* Home Section */
.home-section {
  background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
  text-align: center;
  padding: 6rem 0;
}

.main-title {
  font-size: 5.5rem;
  font-family: "Mea Culpa", cursive;
  color: var(--primary-color);
  margin-bottom: 1rem;
  font-weight: 400;
  letter-spacing: 3px;
}

.names {
  font-size: 2.5rem;
  color: var(--secondary-color);
  font-family: "Mea Culpa", cursive;
  font-weight: 500;
  font-style: normal;
  margin-bottom: 1.5rem;
}

.date {
  font-size: 1.5rem;
  color: var(--text-color);
  font-weight: 300;
}
/* Countdown Timer */
.countdown {
  gap: 30px;
  font-size: 2.5rem;
  font-family: "Courier New", Courier, monospace;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 2rem;
}

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

.flip-card {
  position: relative;
  width: 120px;
  height: 100px;
  background: #f7f7f7;
  border-radius: 8px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.flip-card::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 2px;
  background: #ccc;
  z-index: 2;
}

.number {
  position: absolute;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  font-weight: bold;
  color: #111;
}

.label {
  margin-top: 12px;
  font-size: 14px;
  letter-spacing: 1px;
  color: #111;
}

/* infinity album section */
.album_container {
  padding: 2rem 0;
}

.carousel {
  display: flex;
  margin: 100px auto;
  width: 90%;
  border: 5px solid var(--primary-color);
  overflow-x: auto;
}
.carousel::-webkit-scrollbar {
  display: none;
}
.group {
  display: flex;
  gap: 1rem;
  padding-right: 1em;
  align-items: center;
  justify-content: center;
  animation: spin 8s linear infinite;
}

.card {
  flex: 0 0 5em;
  min-width: 300px;
  height: 5em;
  padding: 1em;
  background-color: var(--light-bg);
  border-radius: 2rem;
  box-shadow: var(--shadow);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 3rem;
  color: var(--primary-color);
  scroll-snap-align: start;
  text-align: center;
  align-content: ce;
}
.card > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 1.5rem;
}
@keyframes spin {
  from {
    translate: 0%;
  }
  to {
    translate: -100%;
  }
}

/* About Section */
.about-section {
  background-color: var(--white);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  color: var(--secondary-color);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: 1px;
}

.story-content {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.2rem;
  line-height: 1.8;
}

.story-content p {
  margin-bottom: 1.5rem;
  color: #555;
}

/* Details Section */
.details-section {
  background-color: var(--light-bg);
}

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

.detail-card {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.detail-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
}

.detail-card h3 {
  color: var(--primary-color);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 400;
}

.detail-card p {
  margin-bottom: 0.5rem;
  color: #666;
}
.taxi-link {
  font-weight: bold;
  color: var(--secondary-color);
  text-decoration: none;
  display: inline-flex;
}
.icon {
  width: 20px;
  height: 20px;
  vertical-align: middle;
  margin-left: 5px;
  background-color: var(--primary-color);

  border-radius: 50%;
  padding: 2px;
}
/* Venue Section */
.venue-section {
  background-color: var(--white);
}

.venue-address {
  text-align: center;
  font-size: 1.2rem;
  color: #666;
  margin-bottom: 2rem;
}

.map-container {
  width: 100%;
  height: 400px;
}

#map {
  width: 100%;
  height: 100%;
}

ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
li > a {
  margin-bottom: 0.5rem;
  text-decoration: none;
  color: var(--primary-color);
}
/* RSVP Section */
.rsvp-subtitle {
  background-color: var(--light-bg);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem 0;
  font-size: 1.2rem;
  color: var(--text-color);
  font-family: "Roboto Mono", monospace;
  font-weight: 400;
  font-size: 1.5rem;
}
.form {
  background-color: var(--white);
  max-width: 600px;
  width: 90%;
  margin: 2rem auto 0 auto;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: var(--shadow);
  height: 1300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
/* Footer */
.footer {
  background-color: var(--secondary-color);
  color: var(--white);
  text-align: center;
  padding: 2rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .main-title {
    font-size: 2.5rem;
  }

  .names {
    font-size: 2rem;
  }

  .date {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .nav-links {
    gap: 1rem;
    padding: 0 1rem;
  }

  .nav-links a {
    font-size: 1rem;
  }

  .rsvp-form {
    padding: 2rem 1.5rem;
  }

  .section {
    padding: 3rem 0;
  }
}
