body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #fefefe;
  color: #333;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  padding: 12px 20px;             
  background: black;
  color: white;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 1000;
  box-sizing: border-box;       
}

/* Logo */

.navbar ul {
  list-style: none;
  display: flex;
  gap: 11px;
  margin: 0;
  margin-left: auto;          
  padding: 0;
  align-items: center;
  white-space: nowrap;        
}

/* Stil linkuri */
.navbar ul li a {
  color: white;
  text-decoration: none;
  font-weight: 500;
  transition: 0.3s;
  display: inline-block;
  padding: 4px 2px;           
}
.navbar ul li a:hover {
  color: #f4d03f;
}

html, body {
  overflow-x: hidden;
}


/* Hero */
.hero {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* Overlay oscuro (igual que el tuyo) */
.hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.1);
  z-index: 2;
}

/* Slider container */
.hero-slider {
  position: absolute;
  top: 0; left: 0;
  width: 200%;
  height: 100%;
  display: flex;
  transition: transform 1s ease-in-out;
  z-index: 1;
}

/* Cada slide */
.slide {
  width: 50%;
  height: 100%;
  background-size: cover;
  background-position: center 65%;
  background-repeat: no-repeat;
}

/* Texto (TU ESTILO INTACTO) */
.hero-text {
  position: relative;
  text-align: center;
  color: white;
  font-family: "Mea Culpa", cursive;
  font-weight: 400;
  font-style: normal;
  margin-top: 270px; /* TU VALOR */
  z-index: 3;
}

.hero-text h1 {
  font-size: 50px;
  margin-bottom: 10px;
}

.hero-text p {
  font-size: 20px;
}


/* Story */
.story {
  padding: 80px 20px;
  text-align: center;
}
.story h2 {
  font-size: 36px;
  margin-bottom: 40px;
}
.story-container {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.story-card {
  background: white;
  border-radius: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  overflow: hidden;
  width: 450px;
    
  transition: transform 0.3s;
}
.story-card:hover {
  transform: translateY(-5px);
}
.story-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;     /* recorta sin deformar */
  transform: scale(1.4); /* 👈 solo acerca la foto */
}
.story-card p {
  padding: 15px;
}

/* Location */
.location {
  text-align: center;
  padding: 80px 20px;

}

.location h2 {
    font-size: 36px;
  margin-bottom: 40px;
}

.locations-wrapper {
  display: flex;
  gap: 30px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 40px;
}

.location-card {
  background: white;
  border-radius: 20px;
  padding: 25px;
  max-width: 500px;
  width: 100%;
  box-shadow: 0 8px 25px rgba(0,0,0,0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.location-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}

.location-card h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.location-card p {
  font-size: 16px;
  margin-bottom: 15px;
  color: #555;
}

.location-card .map-container {
  border-radius: 15px;
  overflow: hidden;
}


.map-container {
  margin-top: 20px;
  border-radius: 15px;
  overflow: hidden;
}

/* RSVP */
.rsvp {
  padding: 80px 20px;
  text-align: center;
}
.rsvp-form {
  max-width: 400px;
  margin: auto;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
.rsvp-form input, .rsvp-form button {
  padding: 12px;
  border-radius: 8px;
  border: 1px solid #ccc;
}
.rsvp-form button {
  background: black;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}
.rsvp-form button:hover {
  background: #f4d03f;
  color: black;
}

.rsvp h2 {
    font-size: 36px;
  margin-bottom: 40px;
}

/* Footer */
.footer {
  background: black;
  color: white;
  text-align: center;
  padding: 20px 0;
  font-size: 14px;
  margin-top: 50px;
}
.footer p {
  margin: 0;
}

.response-message {
  margin-top: 15px;
  font-weight: bold;
  color: green;
}

.response-message.error {
  color: red;
}

.story-card video {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
}

/* Story Video Elegant Style */
.video-wrapper {
  max-width: 800px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  background: white;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.video-wrapper:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 15px 40px rgba(0,0,0,0.25);
}

.video-wrapper video {
  width: 100%;
  height: 450px;
  object-fit: cover;
  display: block;
}

.video-caption {
  padding: 15px;
  font-size: 18px;
  font-style: italic;
  color: #555;
  background: #fff;
}

.language-selector {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  z-index: 9999;
}

.language-selector button {
  padding: 15px 25px;
  font-size: 18px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  font-weight: bold;
  transition: 0.3s;
}

.language-selector button:hover {
  transform: scale(1.05);
  background: #f4d03f;
}

.footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
}

.footer-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  object-fit: cover;
}
