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

body {
  font-family: "Cormorant Garamond", serif;
  color: #2d3748;
  background-color: #faf7f2;
  line-height: 1.6;
  overflow-x: hidden;
}

.cursive {
  font-family: "Lavishly Yours", cursive;
  font-weight: 400;
}

.hero {
  height: 100vh;
  background:
    linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
    url(file-hosting.dashnexpages.net/i/img-fut-mar/medho-et-marie-claude1.png) center/cover no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  color: #fff;
  position: relative;
}

.hero-content {
  max-width: 800px;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(2px);
  border-radius: 10px;
  animation: fadeIn 2s;
}

.names {
  font-size: 5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.date {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  letter-spacing: 3px;
}

.scroll-btn {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  animation: bounce 2s infinite;
}

nav {
  background-color: #fff;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  padding: 1rem;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  text-decoration: none;
  color: #2d3748;
  font-size: 1.2rem;
  position: relative;
  transition: all 0.3s ease;
}

.nav-links a:hover {
  color: #d4b08c;
}

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

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

section {
  padding: 5rem 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  font-size: 3rem;
  color: #2d3748;
  margin-bottom: 1rem;
}

.divider {
  height: 2px;
  width: 100px;
  background-color: #d4b08c;
  margin: 0 auto;
}

.countdown {
  background-color: #a95032; /*#2d3748 */
  color: #fff;
  text-align: center;
  padding: 3rem 0;
}

.countdown-timer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-item span:first-child {
  font-size: 3rem;
  font-weight: 700;
}

.countdown-item span:last-child {
  font-size: 1.2rem;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.event-details {
  background-color: #fff;
}

.event-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.event-card {
  background-color: #f8f9fa;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.event-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.event-img {
  height: 200px;
  width: 100%;
  object-fit: cover;
}

.event-info {
  padding: 2rem;
  text-align: center;
}

.event-info h3 {
  font-size: 1.8rem;
  margin-bottom: 1rem;
  color: #2d3748;
}

.event-info p {
  margin-bottom: 0.5rem;
}

.event-info i {
  color: #d4b08c;
  margin-right: 0.5rem;
}

.gallery {
  background-color: #f8f9fa;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  height: 250px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  border-radius: 5px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay i {
  color: #fff;
  font-size: 2rem;
}

.rsvp {
  background:
    linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(/api/placeholder/1200/800) center/cover no-repeat fixed;
  color: #fff;
}

.rsvp-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 3rem;
  border-radius: 10px;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: #fff;
  font-size: 1.2rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
}

select {
  width: 100%;
  padding: 0.8rem;
  border: none;
  border-radius: 5px;
  font-family: "Cormorant Garamond", serif;
  font-size: 1rem;
  background-color: #fff;
  appearance: auto;
  color: #2d3748;
}

select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #d4b08c;
}

option {
  font-family: "Cormorant Garamond", serif;
  padding: 0.5rem;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  background-color: #a95032;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Cormorant Garamond", serif;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}


.btn:hover {
  background-color: #046307;
}

footer {
  background-color: #2d3748;
  color: #fff;
  text-align: center;
  padding: 2rem;
}

.footer-content {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content .names {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.social-links {
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

.social-links a {
  color: #fff;
  font-size: 1.5rem;
  transition: all 0.3s ease;
}

.social-links a:hover {
  color: #d4b08c;
}

.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.modal-content {
  max-width: 80%;
  max-height: 80%;
}

.modal-content img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.close-modal {
  position: absolute;
  top: 20px;
  right: 30px;
  color: #fff;
  font-size: 3rem;
  cursor: pointer;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0) translateX(-50%);
  }

  40% {
    transform: translateY(-30px) translateX(-50%);
  }

  60% {
    transform: translateY(-15px) translateX(-50%);
  }
}

@media (max-width: 768px) {
  .names {
    font-size: 3rem;
  }

  .countdown-timer {
    flex-wrap: wrap;
  }

  .nav-links {
    gap: 1rem;
  }

  .event-cards {
    grid-template-columns: 1fr;
  }
}
.maps {
  background-color: #f7f3ed;
  padding: 5rem 0;
}

.maps-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.map-card {
  background-color: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

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

.map-card h3 {
  padding: 1.5rem;
  text-align: center;
  font-size: 1.8rem;
  margin: 0;
  border-bottom: 1px solid #eee;
}

.map-frame {
  width: 100%;
  height: 250px;
}

.map-frame iframe {
  width: 100%;
  height: 100%;
  border: none;
}

.map-info {
  padding: 1.5rem;
  text-align: center;
}

.map-info p {
  margin-bottom: 0.8rem;
  font-size: 1.1rem;
}

.map-info i {
  margin-right: 0.5rem;
}

.btn-directions {
  display: inline-block;
  padding: 0.8rem 1.5rem;
  margin-top: 1rem;
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: 500;
  transition: all 0.3s ease;
}

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

@media (max-width: 768px) {
  .maps-container {
    grid-template-columns: 1fr;
  }
}
 .notre-histoire {
  background-color: #faf7f2;
  position: relative;
  overflow: hidden;
}

.notre-histoire::before {
  content: "&";
  font-family: "Lavishly Yours", cursive;
  position: absolute;
  font-size: 20rem;
  opacity: 0.03;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

.timeline {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
}

.timeline-item {
  position: relative;
  margin-bottom: 4rem;
}

.timeline-item:last-child {
  margin-bottom: 0;
}

.timeline-dot {
  position: absolute;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  z-index: 2;
  box-shadow: 0 0 0 4px rgba(212, 176, 140, 0.3);
}

.timeline-date {
  position: absolute;
  top: 0;
  left: calc(50% - 150px);
  transform: translateX(-50%);
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  width: 140px;
  text-align: center;
}

.timeline-content {
  width: calc(50% - 50px);
  background-color: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  position: relative;
  margin-left: auto;
  margin-top: 2rem;
}

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

.timeline-content h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.timeline-item:nth-child(even) .timeline-content {
  margin-left: 0;
  margin-right: auto;
}

.timeline-item:nth-child(even) .timeline-date {
  left: calc(50% + 150px);
  transform: translateX(-50%);
}

.timeline-img {
  width: 100%;
  border-radius: 5px;
  margin-top: 1rem;
}

@media (max-width: 768px) {
  .timeline::before {
    left: 30px;
  }

  .timeline-dot {
    left: 30px;
  }

  .timeline-date {
    left: 30px;
    transform: translateX(0);
    top: -40px;
  }

  .timeline-content {
    width: calc(100% - 80px);
    margin-left: 80px;
    margin-right: 0;
  }

  .timeline-item:nth-child(even) .timeline-content {
    margin-left: 80px;
    margin-right: 0;
  }

  .timeline-item:nth-child(even) .timeline-date {
    left: 30px;
    transform: translateX(0);
  }
}
.histoire-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 40px;
}

.histoire-message {
  flex: 1;
}

.histoire-photo {
  flex: 1;
}

.histoire-photo img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .histoire-content {
    flex-direction: column;
  }
}
