nav {
    display: flex;
    justify-content: flex-start;
    gap: 15px;
    padding: 15px;
}
.menu-centro {
    display: flex;
    gap: 15px;
    margin: 0 auto; /* Centra el menú horizontalmente */
}
/* Botones del menú */
nav a {
    text-decoration: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: bold;
    color: white;
    background: linear-gradient(45deg, #ff9ecb, #d96bff);
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}


nav a:hover {
    transform: translateY(-3px);
    background: linear-gradient(45deg, #ff6fb5, #c04dff);
    box-shadow: 0 6px 15px rgba(0,0,0,0.3);
}

/* Botón activo */
nav a.active {
    background: linear-gradient(45deg, #ff4fa3, #a93cff);
}
/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* Body */
body {
    background: #efbcd4;
    color: #333;
    line-height: 1.6;
}

/* Header */
header {
    text-align: center;
    background-color: #ffccf9;
    padding: 20px;
}

header h1 {
    font-family: 'Cursive', sans-serif;
    color: #d63384;
    margin-top: 10px;
}

.banner {
    width: 80%;
    max-height: 550px;
    object-fit: cover;
    border-radius: 10px;
}



/* Secciones */
section {
    padding: 40px 20px;
    text-align: center;
}

section h2 {
    color: #d63384;
    margin-bottom: 20px;
}

/* Galería de imágenes */
.gallery {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.gallery img {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}

.gallery img:hover {
    transform: scale(1.05);
}





.single-img  {
    width: 250px;
    height: 350px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s;
}


/* Footer */
footer {
    text-align: center;
    padding: 20px;
    background-color: #ffccf9;
    color: #d63384;
    margin-top: 20px;
}



/*Aqui empieza el estilo del registro*/


.form-section {
    display: flex;
    justify-content: center;   /* Centra horizontal */
    align-items: center;       /* Centra vertical */
    height: 70vh;              /* Ocupa 70% de la pantalla */
    flex-direction: column;
}

form {
    width: 450px;              /* Más ancho */
    background: #ebabcd;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.15);
}

form label {
    display: block;
    text-align: left;
    margin-top: 15px;
    color: #e826a1;
    font-weight: bold;
}

form input {
    width: 100%;
    padding: 12px;          
    margin-top: 8px;
    border-radius: 10px;
    border: 1px solid #85f0ec;
    font-size: 16px;        
}

form button {
    margin-top: 20px;
    width: 100%;
    padding: 10px;
    background-color: #f10797;
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s;
}

form button:hover {
    background-color: #ed0a7c;
}





/*Aqui empieza el estilo del carrusel*/

 .carrusel {
            position: relative;
            max-width: 900px;
            margin: 20px auto;
            overflow: hidden;
            border-radius: 15px;
        }

        .slides {
            display: flex;
            transition: transform 0.5s ease;
        }

        .slide {
            min-width: 100%;
        }

        .slide img {
            width: 100%;
            height: 400px;
            object-fit: cover;
        }

        .btn {
            position: absolute;
            top: 50%;
            transform: translateY(-50%);
            background: rgba(0,0,0,0.5);
            color: white;
            border: none;
            padding: 10px 15px;
            cursor: pointer;
            font-size: 18px;
            border-radius: 50%;
        }

        .prev { left: 10px; }
        .next { right: 10px; }

        .btn:hover {
            background: rgba(0,0,0,0.8);
        }


        
        
        /*Aqui empieza el estilo del historial*/


        table{
width:80%;
margin:auto;
border-collapse: collapse;
margin-top:30px;
font-family:Arial, sans-serif;
}

th,td{
border:1px solid #ccc;
padding:10px;
text-align:center;
}

th{
background:#e35ea9;
color:white;
padding: 12px;
}


tr:nth-child(even){
background:#f9f9f9;
}

tr:hover{
background:#ffe4ec;
transition:0.2s;
}


h1{
text-align:center;
margin-top:30px;
font-size:40px;
color:#b84491;
position:relative;
animation:brillo 2s infinite alternate;
}

@keyframes brillo{
0%{
text-shadow: 0 0 5px #fff, 0 0 10px #39daf0, 0 0 20px #f48fb1;
}

100%{
text-shadow: 0 0 10px #fff, 0 0 20px #64e5ec, 0 0 30px #ff80ab;
}
}




.btn-inicio{
display:inline-block;
margin-top:30px;
padding:12px 25px;
background:#f48fb1;
color:white;
text-decoration:none;
font-weight:bold;
border-radius:25px;
transition:0.3s;
}

.btn-inicio:hover{
background:#ec407a;
transform:scale(1.05);
}