/* ======= GLOBAL ======= */
body, header, main {
  margin: 0;
  padding: 0;
  background-color: #dad1d1;
}

@font-face {
  font-family: 'Glacial Indifference';
  src: url('https://raw.githubusercontent.com/google/fonts/main/ofl/glacialindifference/GlacialIndifference-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

/* ======= HEADER ======= */
.barra-superior {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  gap: 15px;
}

.logo {
  font-family: 'Marcellus', serif;
  display: flex;
  align-items: center;
  color: rgb(0, 0, 0);
  gap: 10px;
  font-size: 18px;
}

/* ======= MENÚ ======= */
.menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.menu a {
  font-family: 'Roboto', sans-serif;
  text-decoration: none;
  padding: 12px 20px;
  color: rgb(0, 0, 0);
  border: 1px solid rgb(93, 55, 55);
  border-radius: 12px;
  font-size: 14px;
  display: inline-block;  
  transition: transform 0.3s ease, background-color 0.3s ease, 
              color 0.3s ease, border-color 0.3s ease;
}

.menu a:hover {
  transform: scale(1.1);
  background-color: rgba(156, 82, 82, 0.46);
  color: #000000;
  border-color: #ab2a2a;  
}

.hamburguesa {
  display: none;
  font-size: 26px;
  background: none;
  border: none;
  color: rgb(0, 0, 0);
  cursor: pointer;
  z-index: 3;
}

/* HEADER con imagen de fondo */
.header {
  position: relative;
  width: 100%;
  height: 40vh;
  background: url('../public/PAISAJE-SMA.jpg') no-repeat center / cover;
  display: flex;
  justify-content: center;
  align-items: center;
}

.header h1 {
  font-family: 'Playfair Display', serif;
  font-weight: normal;
  text-align: center;
  font-size: 40px;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #d9bf79;
  margin: 0;
  z-index: 2;
  text-align: center;
  padding: 10px 20px;
  border-radius: 10px;
}

/* Overlay opcional si querés más oscuro */
.header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.4);
  z-index: 1;
}

/* Main empieza después del header */
main {
  position: relative;
  z-index: 3;
  margin-top: 0; /* no hace falta negative margin */
}
/* ======= PRINCIPAL ======= */
.principal {
  margin: 0;
  padding: 0 40px;
  max-width: 1300px;
}

.principal h1 {
  font-weight: normal;
  font-family: 'Playfair Display', serif;
  font-size: 38px;
  margin-top: 20px;
  margin-bottom: 20px;
}

.principal p {
  font-family: 'Glacial Indifference', sans-serif;
  margin-top: 30px;
  margin-bottom: 30px;
  line-height: 1.6;
  font-size: 22px;
}


.principal ul {
  margin: 10px 0 30px 20px;
  line-height: 1.6;
  font-size: 15px;
}

.principal a {
  font-family: 'Arimo', sans-serif;
  text-decoration: none;
  display: inline-block;
  padding: 18px 20px;
  background-color: #2e5984;
  color: #fff;
  border-color: rgb(0, 0, 0);
  font-size: 15px;
  transition: transform 0.3s ease, background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
} 

.principal a:hover {
  transform: scale(1.1);
  background-color: #0020d8aa;
  color: rgb(4, 0, 0);
  border-color: rgb(0, 0, 0);
}

/* ======= TURISMO ======= */
.Turismo {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 30px;
}

.turismo-card {
  background-color: #ffffff;
  border: 1px solid #ccc;
  border-radius: 18px;
  width: 300px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  overflow: hidden;
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  text-align: center;
}

.turismo-card:hover {
  transform: scale(1.03);
}

.turismo-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.turismo-card h2 {
  font-size: 22px;
  margin: 16px 0 8px;
  color: #000000;
}

.turismo-card p {
  font-size: 16px;
  margin: 0 16px 16px;
  color: #555;
}

/* =========================
    FOOTER
  ========================= */
  .footer {
  padding: 10px 20px;
  text-align: left;
}

.footer-icons {
  display: inline-flex;
  gap: 25px;
  align-items: center;
  justify-content: center;
}

.footer-icons .icon-link img {
  width: 30px;
  height: 30px;
  filter: grayscale(100%); /* Los deja en escala de grises */
  transition: filter 0.3s ease, transform 0.3s ease;
  cursor: pointer;
}

.footer-icons .icon-link:hover img {
  filter: none; /* Color original al pasar el mouse */
  transform: scale(1.1);
}
/* ======= RESPONSIVE ======= */
@media (max-width: 768px) {
  .menu {
    display: none;
    flex-direction: row;
    gap: 15px;
    justify-content: center;
    width: 100%;
    margin-top: 20px;
  }

  .menu.show {
    display: flex;
  }

  .menu a {
    padding: 10px;
    border-radius: 8px;
    display: block;
    text-align: center;
  }

  .hamburguesa {
    display: block;
  }

  .Turismo {
    justify-content: center;
    flex-direction: column;
    align-items: center;
  }

  .turismo-card {
    width: 90%;
    margin: 0 auto;
  }

  .principal {
    text-align: center;
    padding: 10px;
  }

  .principal a {
    display: block;
    width: 90%;
    margin: 10px auto;
    text-align: center;
  }

  .principal p {
    font-size: 16px;
  }

  .principal ul {
    font-size: 14px;
    padding-left: 0;
    list-style-position: inside;
  }
}
