/* style.css - Estilos modernos para Kamiche */

/* 1. Configuración base */
body {
    background-color: black;
    color: white;
    font-family: Verdana, sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.6;
}

/* 2. Contenedor principal para centrar el contenido */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px;
    text-align: center; /* Centra todo por defecto */
}

/* 3. Cabecera y Navegación */
header {
    margin-bottom: 30px;
}

.lang-switch {
    text-align: right;
    margin-bottom: 10px;
}

.lang-switch a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.9em;
}

.logo {
    max-width: 200px;
    height: auto;
    display: block;
    margin: 0 auto 20px auto;
}

/* Menú de navegación responsive */
nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    flex-wrap: wrap; /* Permite que baje a otra línea en celulares */
    gap: 10px;
}

nav li {
    background-color: white;
    color: black;
    transition: background-color 0.3s;
}

nav a {
    display: block;
    padding: 8px 16px;
    text-decoration: none;
    color: inherit;
    font-weight: bold;
}

nav li:hover {
    background-color: #333; /* Gris oscuro al pasar el mouse */
    color: white;
}

/* 4. Contenido Principal */
main {
    padding: 20px 0;
}

.hero-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}

.text-content {
    text-align: justify;
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #111; /* Fondo sutil para leer mejor */
    border: 1px solid #333;
}

/* 5. Pie de página */
footer {
    margin-top: 40px;
}

.footer-link img {
    max-width: 100%;
    height: auto;
    border: 1px solid #333;
    transition: opacity 0.3s;
}

.footer-link:hover img {
    opacity: 0.8;
}

/* 6. Ajustes para móviles (Responsive) */
@media (max-width: 600px) {
    nav ul {
        flex-direction: column; /* Menú vertical en celulares */
    }
    
    nav li {
        width: 100%;
    }
    
    .text-content {
        text-align: left; /* Lectura más fácil en móvil */
    }
}

/* --- Agrega esto al final de style.css --- */

/* Estilos para la Galería de Fotos */
.gallery {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px; /* Espacio entre fotos */
}

.gallery a {
    display: block;
    width: 150px; /* Tamaño de las miniaturas */
    height: 150px;
    overflow: hidden;
    border: 2px solid transparent;
    transition: border-color 0.3s;
}

.gallery a:hover {
    border-color: white; /* Borde blanco al pasar el mouse */
}

.gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Recorta la imagen para que llene el cuadrado sin deformarse */
}

/* --- Agrega esto al final de style.css para el Formulario --- */

input[type=text], select, textarea, input[type=email] {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box;
    margin-top: 6px;
    margin-bottom: 16px;
    resize: vertical;
    font-family: inherit;
}

input[type=submit] {
    background-color: #333;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1em;
    transition: background-color 0.3s;
}

input[type=submit]:hover {
    background-color: #555;
}

.form-container {
    border-radius: 5px;
    background-color: #f2f2f2;
    padding: 20px;
    color: black; /* El texto dentro del formulario debe ser oscuro */
    text-align: left;
}

/* --- Estilos para el botón de contacto (Mailto) --- */
.contact-box {
    background-color: #1a1a1a; /* Fondo oscuro suave */
    color: white;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #333;
    max-width: 600px;
    margin: 0 auto; /* Centrado horizontal */
}

.contact-button {
    display: inline-block;
    background-color: white;
    color: black;
    padding: 15px 30px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    margin-top: 20px;
    font-size: 1.1em;
    transition: background-color 0.3s, transform 0.2s;
}

.contact-button:hover {
    background-color: #ddd; /* Gris claro al pasar el mouse */
    transform: scale(1.05); /* Efecto de crecimiento sutil */
}