/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Body */
body {
    font-family: 'Poppins', sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    background-color: #6424ff;
    color: #fff;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2rem;
}

/* Navigation */
nav {
    display: flex;
    gap: 15px;
}

nav a {
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

nav a:hover {
    color: #e8ff01;
}

/* Authentication Buttons */
.auth-buttons {
    display: flex;
    gap: 15px;
}

.auth-buttons a {
    background-color: #e8ff01;
    color: #4420b7;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.auth-buttons a:hover {
    background-color: #d4e701;
    transform: scale(1.05);
}

/* Hamburger Menu */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    background-color: #e8ff01;
    border-radius: 5px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 3px;
    background-color: #4420b7;
    margin: 3px 0;
}

.menu {
    display: none;
    flex-direction: column;
    gap: 10px;
    position: absolute;
    top: 70px;
    right: 20px;
    background-color: #6424ff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    z-index: 2000;
}

.menu.active {
    display: flex;
}

.menu a {
    color: #fff;
    text-decoration: none;
    text-align: center;
}

/* Image Container */
.image-container img {
    width: 100%;
    height: auto;
    display: block;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

/* Sections */
section {
    margin-bottom: 40px;
    padding: 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

h2 {
    color: #4420b7;
    font-size: 1.8rem;
    margin-bottom: 20px;
    position: relative;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 50px;
    height: 3px;
    background-color: #e8ff01;
}

p, ul {
    font-size: 1rem;
    margin-bottom: 20px;
}

ul {
    list-style: disc;
    margin-left: 20px;
}

/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #4420b7;
    color: #fff;
}

.highlight {
    color: #6424ff;
    font-weight: bold;
}

/* Responsive Navigation */
@media (max-width: 768px) {
    nav {
        display: none; /* Esconde el menú tradicional */
    }

    .menu-toggle {
        display: flex; /* Muestra el botón hamburguesa */
    }

    .menu {
        display: none; /* Asegura que el menú no sea visible por defecto */
        flex-direction: column;
        gap: 10px;
        position: absolute;
        top: 70px;
        right: 20px;
        background-color: #6424ff;
        border-radius: 10px;
        padding: 10px;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
        z-index: 2000;
    }

    .menu.active {
        display: flex; /* Muestra el menú cuando se activa */
    }
}

/* Carousel */
#carrusel-imagenes {
    margin: 40px 0;
    text-align: center;
    position: relative;
}

#carrusel-imagenes h2 {
    color: #4420b7;
    margin-bottom: 20px;
}

.carousel {
    position: relative;
    overflow: hidden;
    max-width: 600px; /* Ajusta el ancho del carrusel */
    max-height: 400px; /* Ajusta la altura */
    margin: 0 auto;
    border-radius: 10px;
    
}

.carousel-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.carousel-item {
    flex: 0 0 100%; /* Solo muestra una imagen a la vez */
    width: 100%;
    
}

.carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ajusta las imágenes */
    border-radius: 10px;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(100, 36, 255, 0.8);
    color: #fff;
    border: none;
    padding: 10px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 1000;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: #4420b7;
}

/* Adjust Carousel Layout */
#carrusel-imagenes {
    text-align: center;
    margin: 40px auto; /* Espacio ajustado */
    max-width: 600px;
}
