/* Reset and basics */
@import url('https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap');

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

body {
  font-family: 'Montserrat', sans-serif;
  background-color: #fff;
  background-image: url("images/pattern2.png"); /* subtle background */
  background-repeat: repeat;
  color: #333;
  line-height: 1.6;
  text-align: center;
}

h1, h2 {
  font-family: 'Great Vibes';
  color: #3a3a3a;
}

h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  margin-bottom: 1rem;
}

h3 {
  margin-bottom: 1rem;
  font-size: clamp(16px, 1.5vw, 20px);
}

p {
  margin-bottom: 1rem;
  font-size: clamp(16px, 1.5vw, 18px);
}

a {
  text-decoration: none;
  color: inherit;
}

/* Hero Section */
.hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.hero-img{
  width: 100%;
  min-height: 100vh;
  background: url("images/photo1.jpg") center center /cover no-repeat;  
}

.hero-text {
  position: absolute;
  bottom: 10%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(200, 200, 200, 0.85);
  border-radius: 15px;
  padding: 1rem 2rem;
  max-width: 90%;
  color: #00688b; /* strong readable blue for hero */
}

.hero-text h1 {
  margin-bottom: 0.5rem;
}

#countdown {
  margin: 1rem 0;
  font-size: 0.8rem;
}

/* Buttons */
.btn {
  display: inline-block;
  background: #d6edf5;
  color: #333;
  padding: 0.6rem 1.2rem;
  border-radius: 25px;
  margin-top: 1rem;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #c0dfe8;
}

/* Ribbons (Navigation + Language) */
.ribbon-right {
  position: fixed;
  top: 10px;
  right: 10px;
  display: flex;
  gap: 1rem;
  flex-wrap: nowrap;
  align-items: center;
  z-index: 1000;
}

.ribbon-right a {
  background: #f4e1a4;
  padding: 0.4rem 0.9rem;
  border-radius: 20px;
  font-size: 0.9rem;
  white-space: nowrap;
  line-height: 1.2;
  box-shadow: 0 2px 5px rgba(0,0,0,0.15);
  transition: background 0.3s ease;
}

.ribbon-right a:hover {
  background: #e8d28f;
}

/* Section styling */
.section {
  padding: 2rem 2rem;
  max-width: 900px;
  margin: 0 auto;
}

.section h2 {
  margin-bottom: 1.5rem;
}

.details-blob {
  background: rgba(200, 200, 200, 0.85);
  border-radius: 15px;
  padding: clamp(1rem, 2vw, 2rem); /* scales padding with screen width */
  max-width: 700px;                  /* prevents it from being too wide on large screens */
  width: 40%;                         /* allows scaling on small to medium screens */
  margin: 0 auto 2rem auto;
  text-align: center;
  color: #00688b;
}
/* Map Responsive Embed */
.map-embed {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: 10px;
  overflow: hidden;
  margin: 1.5rem auto;
  max-width: 800px;
}

.map-embed iframe {
  width: 100%;
  height: 100%;
  border: 0;
}
.gift-blob {
  background: rgba(200, 200, 200, 0.85);
  border-radius: 15px;
  padding: 1rem 2rem;
  width: 38%;
  max-width: 700px;
  margin: 2rem auto;
  text-align: center;
  color: #00688b;
}
/* Footer */
footer {
  background: #f4e1a4;
  color: #333;
  padding: 1rem 0;
  font-size: 0.9rem;
}

/* Form */
form {
  display:flex;
  flex-direction:column;
  gap:1rem;
  max-width:500px;
  margin:0 auto;
  text-align: center;
}
input, select, textarea, button {
  padding:0.8rem;
  border-radius:8px;
  border:1px solid #ccc;
}
button {
  background:#d6edf5;
  border:none;
  font-weight:600;
  cursor:pointer;
}
button:hover {
  background:#f4e1a4;
}
.insta-btn {
  background: #f4e1a4;
  color: #333;
}

.insta-btn:hover {
  background: #e8d28f;
}
.uruguay-motif {
  display: block;
  margin: 1rem auto;
}
.interspersed-photo {
  width: 100%;
  display: block;
  margin: 1rem 0;
  object-fit: cover;
  border-radius: 10px;
}
.uruguay-motif + .interspersed-photo,
.interspersed-photo + .section {
  margin-top: 0;
}
.thank-hero {
  min-height: 100vh;
  display: flex;
  justify-content: center;
  position: relative;
}

.thank-img {
  background: url("images/photo2.jpg") center/cover no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.thank-text {
  position: relative;
  margin-top: 60vh;
  margin-bottom: auto;
  background: rgba(200, 200, 200, 0.85);
  border-radius: 15px;
  padding: 2rem 3rem;
  max-width: 700px;
  color: #00688b;
  text-align: center;
  z-index: 2;
}

.thank-text h1 {
  margin-bottom: 1rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.thank-text p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  margin-bottom: 1.5rem;
}

.thank-text .btn {
  display: inline-block;
  padding: 0.7rem 1.5rem;
  background: #00688b;
  color: #fff;
  border-radius: 10px;
  text-decoration: none;
  font-size: 1rem;
  transition: background 0.3s ease;
}

.thank-text .btn:hover {
  background: #004f66;
}

/* Blob section (similar to your hero-text style) */
.contact-blob {
  display: flex;
  justify-content: center;
  align-items: center; /* ensures vertical alignment if needed */
  padding: 3rem 1rem;
}

.blob-content {
  background: rgba(200,200,200,0.85);
  border-radius: 15px;
  padding: clamp(1rem, 2vw, 2rem); /* scales padding with screen width */
  max-width: 700px;                  /* prevents it from being too wide on large screens */
  width: 50%;                         /* allows scaling on small to medium screens */
  margin: 0 auto 2rem auto;
  text-align: center;
  color: #00688b;
  max-width: 600px;
}

.btn-whatsapp {
  display: inline-block;
  margin-top: 1rem;
  padding: .6rem 1.2rem;
  background: #25D366;
  color: white;
  border-radius: 12px;
  font-weight: 600;
  text-decoration: none;
}
.btn-whatsapp:hover {
  opacity: 0.9;
}

/* Floating button (scroll-to-blob) */
.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  background: #25D366;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.18);
  z-index: 1200;
  text-decoration: none;
}
.whatsapp-float:hover { transform: translateY(-3px); }

/* Smooth scroll for the anchor */
html {
  scroll-behavior: smooth;
}

/* Responsive */
@media (max-width:768px){
  .hero-text h1 { font-size:2rem; }
  .hero-text p { font-size: 1rem; }
  .hero-text #countdown { font-size: 1rem; }
  .hero-text {
    padding:0.8rem 1.2rem; 
    bottom: 8%;
  }
  .section h2 { font-size:1.6rem; }
  .interspersed-photo { width:100%; }
  .ribbon-right {
    flex-wrap: wrap; /* allow wrapping again */
    gap: 0.5rem;
    justify-content: flex-end; /* keep to right edge */
  }
  .ribbon-right a {
    font-size: 0.8rem;
    padding: 0.3rem 0.7rem;
  }
}
@media (max-width: 550px) {
  .h2 {
    font-size: 2rem 
  }
  .hero-img {
    min-height: 100vh;
    background-image: url("images/photo1-mobile.jpg");
    background-position: center center;
  }

  .hero-text {
    margin: 0.5rem auto 1rem auto; /* space above & below */
    padding: 0.5rem 0.5rem;
  
  }

  .hero-text h1 { font-size: 2rem; }
  .hero-text p { font-size: 0.9rem; }
  .hero-text #countdown { font-size: 0.9rem; }
  .details-blob {
  width: 70%;                         /* allows scaling on small to medium screens */
  }
  .blob-content {
    width: 70%;
  }
  .gift-blob { width: 70%; }
}
@media (max-width: 424px) {
  .h2 {
    font-size: 2rem 
  }

  .hero {
    min-height: calc(70vh + 200px); /* image height + space for blob */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start; /* image on top, blob below */
    padding: 0;
  }
  .hero-img {
    min-height: 80vh;
    background-image: url("images/photo1-mobile.jpg");
    background-size: cover;
    background-position: center center;
    width: 100%;
  }

  .hero-text {
    margin: -0.5rem 0rem;
    width: 120%;
    padding: 1rem 1.2rem;
    text-align: center;
    background: rgba(200, 200, 200, 0.85);
    border-radius: 15px;
    color: #00688b;
    z-index: 10;
  }
  .hero-text h1 {

    margin-bottom: 0.5rem;
    font-size: 2rem }


  .hero-text p, #countdown, .btn {
    font-size: clamp(0.9rem, 3vw, 1.2rem);
  }
  .details-blob {
  width: 90%;   
  }
  .blob-content {
    width: 90%;
  }
  .gift-blob { width: 90%; }
}
@media (min-width: 1024px) {
  .hero-text h1 {
    font-size: 3.0rem; /* max size */
  }

  .hero-text p, #countdown, .btn {
    font-size: 1.2rem; /* optional: adjust text size for readability */
  }
                      /* allows scaling on small to medium screens */

}
