/* AQUI SE DEFINEN TODOS LOS ESTILOS DE TODAS LAS PÁGINAS */

@font-face {
    font-family: 'Century';
    src: url('../fonts/century.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

main {
    text-align: center;
    padding: 40px 10px;
}

main img {
    /* Imagen nosotros */
    height: auto;
    width: 600px;
}


.logo {
    /* Logo alineado a la izquierda */
    width: 200px;
    margin-top: 20px;
}

.logo img {
    height: 80px;
    /* ajusta según el tamaño de tu imagen */
    width: auto;
}

header {
    display: flex;
    background-color: #ffffff;
    padding: 15px 40px;
    text-align: center;
    align-items: center;
    /* align-items: flex-end; */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

header nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    /* lo pone en línea */
    gap: 30px;
    /* espacio entre opciones */
    margin-left: 100px;
    /* ajusta el valor según el ancho de tu logo */
}

header nav ul li {
    display: inline;
}

header nav a {
    text-decoration: none;
    font-size: 25px;
    color: #333;
    font-family: sans-serif;
    transition: color 0.3s;
}

header nav a:hover {
    color: #ffcc00;
    /* color de acento al pasar el mouse */
}

body {
    font-family: 'Century', Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f8f8f8;
    color: #333;
}

footer {
    background-color: #222;
    color: white;
    text-align: center;
    padding: 15px;
    position: fixed;
    bottom: 0;
    width: 100%;
}

.contacto-form {
    max-width: 450px;
    margin: 40px auto;
    background: #fff;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.contacto-form h2 {
    text-align: center;
    margin-bottom: 25px;
    color: #333;
    font-size: 22px;
}

.contacto-form form {
    display: flex;
    flex-direction: column;
    /* 👈 Acomoda los elementos uno debajo del otro */
}

.contacto-form label {
    margin-bottom: 6px;
    font-weight: bold;
    font-size: 14px;
    color: #444;
}

.contacto-form input,
.contacto-form textarea {
    display: block;
    /* 👈 Fuerza a ocupar toda la línea */
    width: 100%;
    padding: 10px;
    margin-bottom: 18px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 15px;
    box-sizing: border-box;
}

.contacto-form textarea {
    resize: vertical;
    min-height: 120px;
}

.contacto-form button {
    width: 100%;
    background-color: #e53935;
    color: white;
    border: none;
    padding: 12px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.contacto-form button:hover {
    background-color: #c62828;
}

/* === CARRUSEL === */
.slider {
    position: relative;
    width: 100%;
    max-width: 1500px;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.slides {
    display: flex !important;
    /* importante para forzar fila */
    flex-wrap: nowrap;
    transition: transform 0.8s ease-in-out;
    width: 100%;
    box-sizing: border-box;
}

.slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
    box-sizing: border-box;
}

.slide img {
    width: 100%;
    height: 500px;
    /* o auto si quieres altura variable */
    object-fit: cover;
    display: block;
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: white;
    background: rgba(0, 0, 0, 0.4);
    padding: 10px 20px;
    border-radius: 8px;
    font-size: 1.2rem;
}

/* Estilos específicos solo para la página del reloj */
body.reloj-page {
    background-color: #f0f0f3;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.reloj {
    position: relative;
    width: 300px;
    height: 300px;
    left: 40%; /* Casi al centro de la pantalla */
    border-radius: 50%;
    background: #e0e0e0;
    box-shadow:
        inset 8px 8px 16px rgba(0, 0, 0, 0.2),
        inset -8px -8px 16px rgba(255, 255, 255, 0.7),
        8px 8px 16px rgba(0, 0, 0, 0.2),
        -8px -8px 16px rgba(255, 255, 255, 0.7);
}

.manecilla {
    position: absolute;
    bottom: 50%;
    left: 50%;
    transform-origin: bottom;
    transform: rotate(90deg);
    border-radius: 6px;
}

.manecilla.hora {
    width: 6px;
    height: 70px;
    background: #222;
}

.manecilla.minuto {
    width: 4px;
    height: 100px;
    background: #555;
}

.manecilla.segundo {
    width: 2px;
    height: 120px;
    background: #e74c3c;
}

.eje-central {
    position: absolute;
    width: 16px;
    height: 16px;
    background: #333;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.numeros {
    position: absolute;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    font-size: 1em;
    font-weight: bold;
    color: #333;
}

.numeros.n12 {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.numeros.n3 {
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.numeros.n6 {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.numeros.n9 {
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}