/* =========================
   VARIABLES GLOBALES
========================= */
:root{
  --bg: #ffffff;
  --text: #0f172a;
  --muted: #475569;
  --primary: #0086b9;
  --primary2: #006b94;
  --primary-dark: #00506f;
  --primary-deep: #00364a;
  --accent: #e75f64;
  --card: #f8fafc;
  --border: #e2e8f0;
  --shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  --radius: 16px;
}

/* =========================
   RESET Y BASE
========================= */
*{
  box-sizing: border-box;
  letter-spacing: 0.2px;
}

body{
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

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

/* =========================
   LAYOUT GENERAL
========================= */
.container{
  width: min(1100px, 92%);
  margin: 0 auto;
}

.section{
  padding: 70px 0;
}

h1,h2,h3{
  line-height: 1.2;
  margin: 0 0 12px;
}

h2{ color: #1f2222; }
h3{ color: #1f3333; }

p{
  margin: 0 0 14px;
  color: #1f2222;
}

/* =========================
   ESTRUCTURA PRINCIPAL
========================= */
.main-page{
  margin: 0 auto;
  background-color: var(--bg);
}

/* HERO / IMAGEN PRINCIPAL */
.main-page__image{
  display: inline-block;
  width: 100%;
  background-image:
    linear-gradient(
      120deg,
      rgba(0,134,185,0.55),
      rgba(0,80,111,0.52)
    ),
    url('../main/info_pic.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: scroll; /* mejor en móvil */
}

/* FILTRO ICONOS (si lo usas) */
.filter{
  filter: brightness(0) invert(1);
}

/* TEXTO HERO */
.main-page__info{
  display: inline-block;
  margin: 100px 10%;
  width: 80%;
  padding: 0;
  text-align: center;
  color: #0f0f0f;
}

/* DESCRIPCIÓN */
.main-page__description{
  display: inline-block;
  margin: 60px 30%;
  width: 40%;
  padding: 0;
  text-align: center;
}

/* =========================
   BOTONES
========================= */
a.link_buttom:link,
a.link_buttom:visited{
  display: inline-block;
  padding: 14px 26px;
  background-color: var(--primary2);
  color: #ffffff;
  text-align: center;
  border-radius: 999px;
  box-shadow: var(--shadow);
  border: none;
  font-weight: 600;
  opacity: 1;
  transition: background-color .15s ease, transform .15s ease;
}

a.link_buttom:hover,
a.link_buttom:active{
  background-color: var(--primary);
  transform: translateY(-1px);
}

/* =========================
   SECCIONES EXTRA
========================= */
.main-page__collection-photos{
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 40px 50px;
  text-align: center;
  background-color: #cccccc;
  color: #0f0f0f;
}

.main-page__map{
  display: inline-block;
  width: 100%;
  margin: 0;
  padding: 40px 50px;
  text-align: center;
  background-color: #ffffff;
  color: #0f0f0f;
}

/* =========================
   RESPONSIVE
========================= */
@media all and (max-width: 768px){

  .main-page__info{
    margin: 90px 5%;
    width: 90%;
  }

  .main-page__description{
    margin: 50px 10%;
    width: 80%;
  }

}
