/* —————————————————————————————————————————————
   FONTS & RESET
   ————————————————————————————————————————————— */
@font-face { font-family: Rubik; src: url(FONTSS/Rubik-VariableFont_wght.ttf); }
@font-face { font-family: Poppins; src: url(FONTSS/Poppins-Thin.ttf); }
@font-face { font-family: 'Poppins Bold'; src: url(FONTSS/Poppins-Bold.ttf); }

* { box-sizing: border-box; margin: 0; padding: 0; }

/* —————————————————————————————————————————————
   PAGE BACKGROUND
   ————————————————————————————————————————————— */
body {
  background-color: #ededed;    /* changed per request */
  font-family: Rubik, sans-serif;
  color: #353232;
}

/* —————————————————————————————————————————————
   HEADER + NAV
   ————————————————————————————————————————————— */
.navbar {
  background-color: #fcf6f0;    /* original header tone */
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  position: relative;           /* needed for mobile dropdown positioning */
}
.logo {
  height: 50px;
  margin-right: 2rem;
}
.nav-links a {
  margin-right: 1rem;
  text-decoration: none;
  color: #353232;
  font-family: 'Poppins Bold', sans-serif;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  transition: background 0.3s;
}
.nav-links a:hover {
  background-color: #c2b19c;   /* your elegant taupe */
  color: #fff;
}

/* Hidden by default; shown only on mobile via media query */
.menu-toggle {
  display: none;
  background: transparent;
  border: none;
  font-size: 1.6rem;
  line-height: 1;
  padding: 0.25rem 0.5rem;
  cursor: pointer;
  color: #000;                  /* ← hamburger in black */
}

/* —————————————————————————————————————————————
   SLIDER  (FADE VERSION)
   ————————————————————————————————————————————— */
.slider {
  position: relative;
  overflow: hidden;
  height: 400px;                /* desktop/tablet default */
  margin-bottom: 2rem;
}
.slides {
  position: relative;
  height: 100%;
}
.slides img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;            /* cover by default */
  object-position: center;
  opacity: 0;
  transition: opacity 600ms ease;
}
.slides img.active { opacity: 1; }

.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255,255,255,0.8);
  border: none;
  font-size: 1.8rem;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  cursor: pointer;
  transition: background 0.2s;
}
.slider-btn:hover { background: rgba(255,255,255,1); }
.slider-btn.prev { left: 1rem; }
.slider-btn.next { right: 1rem; }

/* —————————————————————————————————————————————
   “¿Qué buscas?” CARDS
   ————————————————————————————————————————————— */
.quebuscasopening {
  text-align: center;
  font-family: 'Poppins Bold', sans-serif;
  font-size: 2rem;
  color: #c2b19c;
  margin-bottom: 1.5rem;
}
.quebuscas {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  padding: 0 1.5rem;
  margin-bottom: 2rem;
}

.quebuscasopening {
  font-family: Poppins;
  color: rgb(53, 50, 50);
  font-size: 30px;
  letter-spacing: 3px;
  text-align: center;
  position: relative;
  top: 10px;
  padding-left: 12%;
  padding-right: 12%;
}

.SantoDomingo, .column {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1);
  text-align: center;
  padding: 1rem;
  flex: 1 1 180px;
}

.SantoDomingo,
.column {
  flex: 1 1 220px;
  max-width: 280px;
}

.icon {
  width: 80px;
  margin-bottom: 0.75rem;
}
.learnmore {
  width: 100px;
  margin-top: 0.5rem;
  transition: opacity 0.3s;
}
.learnmore:hover { opacity: 0.8; }

/* —————————————————————————————————————————————
   INTRO SECTION
   ————————————————————————————————————————————— */
.intro-section {
  text-align: center;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}
.intro {
  font-family: Poppins, sans-serif;
  font-size: 1rem;
  margin-bottom: 0.75rem;
}
.intro2 {
  font-family: 'Poppins Bold', sans-serif;
  font-size: 1.25rem;
  color: #c2b19c;
}

/* —————————————————————————————————————————————
   CONTACT CTA
   ————————————————————————————————————————————— */
.contact-cta {
  text-align: center;
  margin: 2rem 0;
}
.btn-contact {
  background-color: #c2b19c;
  color: #fff;
  text-decoration: none;
  font-family: 'Poppins Bold', sans-serif;
  padding: 0.75rem 1.5rem;
  border-radius: 6px;
  transition: background 0.3s;
}
.btn-contact:hover { background-color: #a89187; }

/* —————————————————————————————————————————————
   FOOTER
   ————————————————————————————————————————————— */
footer {
  background-color: #fcf6f0;
  padding: 1rem;
  text-align: center;
}
footer span {
  color: rgb(53, 50, 50);
  font-size: 0.9rem;
}

/* —————————————————————————————————————————————
   MOBILE-ONLY TWEAKS (≤ 768px)
   ————————————————————————————————————————————— */
@media (max-width: 768px) {
  .logo { height: 40px; margin-right: 0.75rem; }

  /* Show hamburger, hide links until toggled */
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; color:#000; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    right: 0.5rem;
    background: #fcf6f0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    padding: 0.5rem 0;
    width: 70vw;
    max-width: 320px;
    flex-direction: column;
    z-index: 1000;
  }
  .navbar.open .nav-links { display: flex; }
  .nav-links a {
    margin: 0;
    padding: 0.75rem 1rem;
    border-bottom: 1px solid rgba(0,0,0,0.05);
  }
  .nav-links a:last-child { border-bottom: 0; }

  /* Slider keeps exact 1200x350 aspect ratio (no letterboxing) */
  .slider {
    height: auto;               /* let aspect-ratio control height */
    aspect-ratio: 1200 / 350;   /* = 24 / 7 ≈ 3.4286 */
  }
  .slides { height: 100%; }
  .slides img {
    object-fit: cover;          /* fills container at same ratio */
    background: transparent;    /* no black bars */
  }

  /* Slightly tighter card layout */
  .quebuscas { gap: 0.75rem; padding: 0 1rem; }
}
