/*Portada*/
.hidden {
    display: none;
}

.blog-container-cover{
    width: 100%;
    height: 500px;
    position: relative;
    margin-top: 80px;
    background-image: url(/img/atracciones/Naturaleza/laguna/3.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.blog-container-cover:before{
    content: '';
    width: 100%;
    height: 100%;
    background: #1b597d5b;
    position: absolute;
    top: 0;
    left: 0;
}

.container-info-cover{
    max-width: 800px;
    height: 500px;
    margin: auto;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}

.container-info-cover h1{
    font-size: 60px;
    font-weight: 500;
    color: #fff;
    margin-bottom: 20px;
}

.container-info-cover p{
    color: #fff;
    font-size: 20px;
    font-weight: 300;
}
.logo h1 b{
    font-size: 35px;
    color: #1b597d;
  }
  
  .logo h1{
    font-size: 35px;
    color: #080808;
  }
/*Contenedor de categorias*/

input[type="radio"]{
    display: none;
}

.container-category{
    width: 100%;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    margin-top: 20px;
}

.container-category label{
    padding: 6px 40px;
    margin: 10px;
    font-size: 20px;
    background: #e2e2e2;
    border-radius: 5px;
    cursor: pointer;
}

.container-category label:hover{
    opacity: 0.8;
}

/*modal*/
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}
.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    width: 80%;
    max-height: 80%;
    overflow-y: auto;
}
.close-btn {
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
/*Post - Publicaciones*/

.container-post{
    max-width: 1200px;
    margin: auto;
    
}

.posts{
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 20px;
    margin-top: 20px;
    padding: 20px;
}

.posts .post{
    background: #fff;
    box-shadow: 0 0 20px -20px black;
    border-radius: 6px;
    overflow: hidden;
    padding-bottom: 20px;
}
.posts .post:hover {

    transform: translateY(-1px) scale(1.05); /* Eleva y agranda */
      box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2); /* Aumenta la sombra */
      transition: transform 0.5s ease;
}
.post .ctn-img{
    width: 100%;
}

.post .ctn-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.post .ctn-img img:hover {
    transform: scale(1.1); /* Zoom de la imagen */
    transition: transform 0.5s ease;
}
.post h2{
    font-size: 18px;
    margin-top: 20px;
    padding: 0px 20px;
}

.post span{
    display: block;
    margin-top: 10px;
    padding: 0px 20px;
}

.ctn-tag{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin-left: 16px;
    margin-top: 10px;
}

.ctn-tag li{
    list-style: none;
    font-size: 14px;
    margin: 4px;
    padding: 6px 10px;
    background: #e8e8e8;
    cursor: default;
}


.post button{
    margin-top: 20px;
    margin-left: 20px;
    padding: 10px 50px;
    font-size: 16px;
    background: #1b597d;
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

.post button:hover{
    opacity: 0.9;
}

#closeModalButton {
    display: block; /* Asegúrate de que esté en bloque para ocupar toda la línea */
    margin: 20px auto; /* Margen superior y centrado */
    padding: 10px 20px;
    font-size: 16px;
    background: #1b597d; /* Mismo color que el botón principal */
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 4px;
}

#closeModalButton:hover {
    opacity: 0.9; /* Mismo efecto hover que los otros botones */
}


/*sistema de filtrado*/

[value="TODOS"]:checked ~ .posts .post[data-category]{
    display: block;
}

[value="NATURAL"]:checked ~ .posts .post:not([data-category~="NATURAL"]),
[value="Tours"]:checked ~ .posts .post:not([data-category~="Tours"]),
[value="ALBA"]:checked ~ .posts .post:not([data-category~="ALBA"]),
[value="PARQUE"]:checked ~ .posts .post:not([data-category~="PARQUE"]),
[value="cafe"]:checked ~ .posts .post:not([data-category~="cafe"]),
[value="VUE"]:checked ~ .posts .post:not([data-category~="VUE"]){
    display: none;
}

[value="TODOS"]:checked ~ .container-category [for="TODOS"],
[value="NATURAL"]:checked ~ .container-category [for="NATURAL"],
[value="Tours"]:checked ~ .container-category [for="Tours"],
[value="ALBA"]:checked ~ .container-category [for="ALBA"],
[value="PARQUE"]:checked ~ .container-category [for="PARQUE"],
[value="cafe"]:checked ~ .container-category [for="cafe"],
[value="VUE"]:checked ~ .container-category [for="VUE"]{
    background: #1b597d;
    color: #fff;
}

@media screen and (max-width: 1200px){
    .posts{
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 900px){
    .posts{
        grid-template-columns: repeat(2, 1fr);
    }
}

@media screen and (max-width: 580px){
    .posts{
        grid-template-columns: repeat(1, 1fr);
    }
}
/* General styles for the container */
#container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 20px;
}

/* Column styles */
#column1, #column2 {
    flex: 1;
    min-width: calc(50% - 20px); /* Subtract gap for proper alignment */
    background-color: #f4f4f4;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 15px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Hover effect */
#column1:hover, #column2:hover {
    transform: scale(1.01); /* Slightly enlarge */
    background-color: #e4e4e4; /* Change background color */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* Increase shadow */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    #column1, #column2 {
        min-width: 100%;
    }
}
@media screen and (max-width: 440px){
    .logo h1 b{
        font-size: 25px;
        color: #1b597d;
      }
      
      .logo h1{
        font-size: 25px;
        color: #080808;
      }
}