/*estilos actividad*/
.cuadricula {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    justify-items: center;
}

.actividad {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    width: 90%;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.actividad:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.actividad-imagen {
    position: relative;
    overflow: hidden;
}

.actividad-imagen img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.actividad:hover .actividad-imagen img {
    transform: scale(1.1);
}

.actividad-contenido {
    padding: 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.actividad-contenido h3 {
    font-family: 'Great Vibes', cursive;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    color: var(--primary-color);
}

.actividad-contenido p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    flex-grow: 1;
}

.actividad-botones {
    display: flex;
    gap: 1rem;
    margin-top: auto;
    padding: 0 1.5rem 1.5rem;
}

.boton-detalle, .boton-reservar {
    flex: 1;
    padding: 0.75rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 500;
    transition: all 0.3s ease;
}

.boton-detalle {
    background-color: var(--primary-color);
    color: white;
}

.boton-detalle:hover {
    background-color: var(--secondary-color);
}


/*Carousel*/

.carousel-container {
    width: 100%;
    max-width: 1200px;
    margin: 2rem auto;
    overflow: hidden;
}

.carousel {
    position: relative;
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.carousel-card {
    position: relative;
    height: 400px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: white;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 500;
}

.carousel-button:hover {
    background: rgba(0, 0, 0, 0.7);
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.actContainer {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.actCard {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    display: flex;
    flex-direction: row;
}

.actCard:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.15);
}

.actCard img {
    width: 25%;
    height: 200px;
    object-fit: cover;
}

#paddleIMG{
    width: 298.66px;
}

.actContent {
    padding: 1.5rem;
    background-color: var(--text-color);
    width: 100%;
}

.actContent h3 {
    color: white;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.actContent p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    line-height: 1.4;
}
.actContent button {
    background-color: var(--secondary-color);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border-radius: 5px;
}