/* Import custom fonts */
@font-face {
  font-family: 'Mailendra';
  src: url('fonts/Mailendra-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Second Quotes';
  src: url('fonts/SecondQuotes-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* Base Styles */
body {
  margin: 0;
  font-family: 'Second Quotes', serif;
  background-color: #fdfaf6;
  color: #3a3a3a;
}

/* Header */
header {
  background-color: black;
  color: white;
  padding: 2rem 1rem;
  text-align: center;
  font-family: 'Mailendra', serif;
}

/* Navigation */
nav {
  background-color: #e8dccc;
  padding: 1rem;
  text-align: center;
}

nav a {
  margin: 0 1rem;
  text-decoration: none;
  color: #3a3a3a;
  font-weight: bold;
}

nav a:hover {
  color: #a86f48;
}

/* Headings */
h1, h2, h3, h4 {
  font-family: 'Mailendra', serif;
}

/* Carousel */
.carousel {
  display: flex;
  overflow: hidden;
  width: 100%;
  height: 300px;
  margin-bottom: 2rem;
  position: relative;
}

.carousel-track {
  display: flex;
  animation: scroll 25s linear infinite;
}


.carousel img {
  height: 300px;
  width: auto;
  flex-shrink: 0;
  margin-right: 1rem;
  border-radius: 8px;
}

@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Main content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem;
  text-align: center;
}

/* Section-specific styles */
.image-section {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
}

.image-section img {
  height: 200px;
  border-radius: 8px;
}

.bride-info, .groom-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
}

.bride-info img, .groom-info img {
  height: 300px;
  border-radius: 10px;
  margin-bottom: 1rem;
}

.bride-info p, .groom-info p {
  font-size: 1.1rem;
  max-width: 700px;
  text-align: center;
}

.bridesmaids, .groomsmen {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 1.5rem;
}

.bridesmaid, .groomsman {
  width: 250px;
  text-align: center;
}

.bridesmaid img, .groomsman img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  margin-top: 3rem;
  background-color: #eee2d0;
  text-align: center;
  padding: 1rem;
  font-size: 0.9rem;
  color: #3a3a3a;
}
