
body{
  font-family: 'Poppins', sans-serif;
}

h1,h2,h3{
  font-family: 'Raleway', sans-serif;
  font-weight:600;
}


img{
  max-width:100%;
  height:auto;
}


.info-title h2{
  font-size: 42px;
  font-weight: 700;
  color: #135464;
  margin-bottom: 18px;
  letter-spacing: -2px;
}


.info-title p{
  font-size: 20px;
  color: #5f6b70;
  max-width: 760px;
  margin: auto;
  line-height: 1.9;
}

/* ===============================================
   🟢 AJUSTE GLOBAL DE SECCIONES
   =============================================== */
.story-content {
  text-align: left !important;
}

.story-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.story-content p {
  margin-bottom: 18px;
  line-height: 1.6;
}

.icon-text h5 {
  margin-top: 20px !important;
  margin-bottom: 12px !important;
  font-size: 1.2rem;
}

ul li {
  margin-bottom: 10px;
}



/* ================= INTRO ================= */
/* FORZAR tamaño correcto: pega esto al final de tu CSS (o en un <style> después de main.css) */
.intro-content h2 {
  font-size: 2.5rem !important; 
     /* cambia a 1.8rem/1.6rem si aún quieres más pequeño */
  font-weight: 700 !important;
  margin-bottom: 10px !important;
  line-height: 1.1 !important;
  text-transform: none !important; /* por si hay mayúsculas forzadas */
  
}

.intro-content p {
  font-size: 1.15rem;
  color: #555;
  margin-top: 10px;
}

/* SEPARACIÓN EXTRA ENTRE HERO Y CONTENIDO */
section.travel-about.section:first-of-type {
  margin-top: 60px; /* 🧡 suaviza el inicio */
}

/* ================= TITULOS DE SECCIÓN ================= */
.story-content h3 {
    font-size: 1.9rem !important;    /* cambia a 1.8rem/1.6rem si aún quieres más pequeño */
  font-weight: 700 !important;
  margin-bottom: 12px !important;
  line-height: 1.1 !important;
  text-transform: none !important; /* por si hay mayúsculas forzadas */
}

/* MENOS JUNTOS LA INTRO Y “LO QUE ENCONTRARÁS” */
.story-content p {
  margin-bottom: 20px; /* 🧡 más espacio */
  line-height: 1.65;
}

.icon-text h5 {
  margin-top: 25px;
  margin-bottom: 15px;
  font-size: 1.25rem;
}

/* Fuerza que las imágenes con esta clase tengan la misma altura y borde redondeado */
.img-fluid.uniform-img {
  display: block;               /* evita espacios extra */
  width: 100% !important;
  height: 440px !important;     /* <- ajusta esta altura */
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}

/* Fuerza que las imágenes con esta clase tengan la misma altura y borde redondeado */
.img-fluid.uniform-img1 {
  display: block;               /* evita espacios extra */
  width: 100% !important;
  height: 640px !important;     /* <- ajusta esta altura */
  object-fit: cover;
  object-position: center;
  border-radius: 18px;
}



/* Centrar verticalmente el contenido dentro de cada contenedor gris */
.section-gray {
  padding: 60px 40px !important;      /* Más espacio arriba y abajo */
  display: flex;
  align-items: center;                /* Centrado vertical perfecto */
  justify-content: center;
  border-radius: 12px;
}

/* Ajuste interno para que el contenido respire */
.section-gray .row {
  align-items: center !important;     /* Asegura que columnas imagen/texto estén centradas */
}

section.travel-about.section:first-of-type {
  margin-top: 0px !important;
}

/* monumentos */

/* Contenedor principal */
.hero-box {
  position: relative;
  width: 100%;
  height: 400px; /* ajuste de alto */
  background-image: url("assets/img/coroneo/tradicion1.jpg");
  background-size: cover;      /* La imagen cubre todo */
  background-position: center; /* Centrada */
  background-repeat: no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Fondo semitransparente para que el texto se lea */
.hero-box::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.35); /* oscurito opcional */
}

/* Contenido encima de la imagen */
.hero-content {
  position: relative; /* MUY importante para que esté sobre la imagen */
  color: white;
  text-align: center;
  z-index: 10;
  padding: 20px;
}

/* ==================== TARJETAS ==================== */

.feature-card {
  position: relative;
  width: 100%;
  height: 260px;
  border-radius: 18px;
  overflow: hidden;
  perspective: 1200px;
}

/* Contenedor interno */
.feature-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transition: transform .9s ease;
}

.feature-card:hover .feature-card-inner {
  transform: rotateY(180deg);
}

/* ======= FORZAR TEXTO ABAJO (SOLUCIÓN ROBUSTA) ======= */

/* Asegurar que el frente sea contenedor posicionado */
.feature-front {
  position: relative !important;
  display: block !important; /* evitar conflictos con flex heredado */
  padding: 0 !important;
  overflow: hidden;
}

/* Forzar la franja oscura */
.feature-front::after {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  right: 0 !important;
  bottom: 0 !important;
  height: 36% !important;
  background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0)) !important;
  z-index: 1 !important;
}

/* Contenedor del texto anclado abajo — esto evita que quede centrado */
.feature-front .front-text {
  position: absolute !important;
  left: 12px !important;
  right: 12px !important;
  bottom: 14px !important;     /* ajusta para subir/bajar el texto */
  z-index: 3 !important;
  text-align: center !important;
  pointer-events: none; /* para que el icono siga siendo clickeable */
}

/* Asegurar que títulos y párrafos no rompan la línea ni tengan márgenes raros */
.feature-front .front-text h4,
.feature-front .front-text p {
  margin: 0 !important;
  padding: 2px 6px !important;
  color: #fff !important;
  text-shadow: 0 2px 5px rgba(0,0,0,0.9) !important;
  pointer-events: auto;
}

/* ==================== ICONO ==================== */

.feature-icon {
  position: absolute;
  top: 78%;            /* ← FINALMENTE A LA DERECHA */
  transform: translateY(-50%);
  z-index: 4;
}

.feature-icon i {
  font-size: 45px;
  color: #fff;
  text-shadow: 0 3px 6px rgba(0,0,0,0.9);
  cursor: pointer;
  transition: transform .3s ease;
}

.feature-icon i:hover {
  transform: scale(1.18);   /* ya no se mueve raro */
}

/* ==================== REVERSO ==================== */

.feature-back {
  position: absolute;
  inset: 0;
  background: rgb(16, 45, 51) !important; /* NEGRO REAL */
  backface-visibility: hidden;
  transform: rotateY(180deg);
  border-radius: inherit;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 28px;
  text-align: center;
}

.feature-back::after {
  display: none !important;
}

/* Texto reverso */
.feature-back p {
  color: #fff !important;
  font-size: 15px !important;
  line-height: 1.5;
  z-index: 3;
  
}

.feature-card {
  width: 100%;
  height: 260px; /* AJUSTA LA ALTURA COMO QUIERAS */
  margin-bottom: 30px;
  border-radius: 18px !important;
  overflow: hidden;
}

.feature-card-inner {
  width: 100%;
  height: 100%;
  position: relative;
  border-radius: inherit;
}

.feature-front,
.feature-back {
  width: 100%;
  height: 100%;
  border-radius: inherit !important;
  background-size: cover !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}

.feature-back {
  justify-content: flex-start !important;
  padding-top: 30px; /* controla qué tan arriba */
}

/* ===============================
   ESCALA GLOBAL (COMO 90% ZOOM)
   =============================== */

body{
  zoom: 0.9;
}






/* ================= CTA PRO BONITA ================= */

.cta-wrapper {
  padding: 80px 20px;
  display: flex;
  justify-content: center;
}

.cta-box {
  width: 100%;
  max-width: 1200px;

  /* 🔥 degradado más elegante */
  background: linear-gradient(135deg, #757374, #707272);

  color: #ffffff !important;

  padding: 70px 50px;
  border-radius: 60px;

  text-align: center;

  box-shadow: 0 20px 40px rgba(0,0,0,0.25);
}

/* 🔥 TÍTULO (BLANCO Y FUERTE) */
.cta-box h2 {
  font-size: 2.1rem;
  font-weight: 700;
  margin-bottom: 15px;
  color: #ffffff !important;
}

/* 🔥 TEXTO */
.cta-box p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 40px;
}

/* 🔥 BOTONES */
.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 25px;
  flex-wrap: wrap;
}


/* 🔥 BOTÓN PRINCIPAL (más bonito) */
.btn-primary {
  background: #ffffff;
  color: #1f2a44;
  padding: 15px 34px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;
  border: none;

  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-3px);
  background: #4a4a4a;
}

/* 🔥 BOTÓN BORDE */
.btn-outline {
  border: 2px solid rgba(255,255,255,0.8);
  color: white;
  padding: 15px 34px;
  border-radius: 40px;
  font-weight: 600;
  text-decoration: none;

  transition: all 0.3s ease;
}

.btn-outline:hover {
  background: white;
  color: #1f2a44;
  transform: translateY(-3px);
}


/* ======================================================
   HEADER SECCION
====================================================== */

.detalle-header{
  position: relative;

  text-align: center;

  padding: 70px 20px 45px;

  margin-bottom: 50px;

  overflow: hidden;
}

/* ETIQUETA */

.detalle-tag{
  display: inline-flex;
  align-items: center;
  gap: 8px;

  background: rgba(15, 76, 92, .10);

  color: #0f4c5c;

  padding: 10px 18px;

  border-radius: 50px;

  font-size: 13px;
  font-weight: 700;

  letter-spacing: .5px;
  text-transform: uppercase;

  margin-bottom: 18px;
}

/* ICONO */

.detalle-tag i{
  font-size: 14px;
}

/* TITULO */
.detalle-header h3{
  color: #0f4c5c;
  font-size: 35px;
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1px;
  margin-bottom: 20px;

  text-shadow:
  0 3px 10px rgba(0,0,0,.08);
}

/* DESCRIPCION */

.detalle-header p{
  max-width: 720px;

  margin: auto;

  color: #5f6b7a;

  font-size: 20px;

  line-height: 1.8;
}

/* LINEA DECORATIVA */

.detalle-header::after{
  content: "";

  display: block;

  width: 150px;
  height: 4px;

  background: linear-gradient(
    90deg,
    #0f4c5c,
    #41b6c4
  );

  border-radius: 20px;

  margin: 28px auto 0;
}


/*==================================
TARJETA DE IMAGEN
==================================*/

.mercado-imagen{
    position: relative;
    width: 88%;
    max-width: 520px;     /* nunca será enorme */
    margin: 0 auto;

    height: 620px;        /* TODAS tendrán la misma altura */

    overflow: hidden;
    border-radius: 28px;

    box-shadow: 0 20px 45px rgba(0,0,0,.18);
}

.mercado-imagen img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.6s;
}
.mercado-imagen:hover img{

    transform:scale(1.05);

}

.mercado-imagen::before{

    content:"";
    position:absolute;
    inset:0;
    border-radius:28px;

    background:linear-gradient(

        to top,

        rgba(0,0,0,.92) 0%,

        rgba(0,0,0,.60) 45%,

        rgba(0,0,0,.18) 75%,

        transparent 100%

    );

    z-index:1;

}

.mercado-info{

    position:absolute;

    left:35px;
    right:35px;
    bottom:35px;

    z-index:5;

    color:#fff;

}

.mercado-tag{

    display:inline-flex;
    align-items:center;

    padding:10px 22px;

    background:rgba(255,255,255,.18);

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,.18);

    border-radius:40px;

    color:#fff;

    font-size:.82rem;

    font-weight:700;

    letter-spacing:2px;

    text-transform:uppercase;

    margin-bottom:22px;

    text-shadow:0 2px 10px rgba(0,0,0,.65);

}

.mercado-info h2{

    color:#fff;

    font-size:2.3rem;

    font-weight:800;

    line-height:1.05;

    margin-bottom:18px;

    text-shadow:

    0 3px 10px rgba(0,0,0,.85),

    0 0 25px rgba(0,0,0,.55);

}

.mercado-icons{

    display:flex;

    flex-wrap:wrap;

    gap:18px;

    margin-top:18px;

}

.mercado-icons span{

    display:flex;

    align-items:center;

    gap:8px;

    color:#fff;

    font-size:1.05rem;

    font-weight:600;

    text-shadow:0 2px 8px rgba(0,0,0,.9);

}

.mercado-icons i{

    font-size:20px;

}

/*====================================
 GALERÍA PREMIUM
====================================*/

.gallery-item{
    width:100%;
    height:260px;          /* Todas iguales */
    overflow:hidden;
    border-radius:18px;
    box-shadow:0 10px 30px rgba(0,0,0,.15);
}

.gallery-item img{
    width:100%;
    height:100%;
    object-fit:cover;      /* Llena el cuadro */
    object-position:center;
    display:block;
    transition:.5s ease;
}

.gallery-item:hover img{
    transform:scale(1.06);
}

html{
    scroll-behavior:smooth;
}

img{
    display:block;
    max-width:100%;
    height:auto;
    content-visibility:auto;
}

section{
    content-visibility:auto;
    contain-intrinsic-size:800px;
}