/* Reset básico */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* General styles */
body {
    font-family: 'Segoe UI', Arial, sans-serif;
    line-height: 1.6;
    background: #121212; /* Fondo oscuro */
    color: #ffffff; /* Texto blanco */
    padding-bottom: 2em;
}

/* Estilo general de la cabecera */
header {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem 2rem;
    background-color: #1e1e1e; /* Fondo oscuro */
    color: #ffffff; /* Texto blanco */
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Sombra ligera */
}

/* Estilo del logotipo */
header .logo {
    content: url('imagenes/logo-oscuro.png'); /* Logo oscuro */
    max-width: 150px; /* Ajusta el tamaño del logotipo */
    height: auto;
    margin-bottom: 1rem;
}

/* Estilo del encabezado */
.header-content {
    text-align: center;
    margin-top: 1rem;
}

.header-content h1 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #ffffff; /* Texto blanco */
}

/* Secciones */
section {
    padding: 2em 1em;
    max-width: 1100px;
    margin: 0 auto;
}

h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5em;
    color: #bb86fc; /* Color destacado */
}

p {
    line-height: 1.6;
}

/* Listas */
ul {
    list-style: none;
    padding: 0;
}

li {
    margin: 0.7em 0;
    font-size: 1.1rem;
}

/* Botones */
button {
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    cursor: pointer;
    border: none;
    border-radius: 5px;
    background-color: #6200ea;
    color: white;
    font-size: 1rem;
}

button:hover {
    background-color: #3700b3;
}

/* Galería */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1em;
}

.gallery-grid img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.gallery-grid img:hover {
    transform: scale(1.03);
}

/* Contacto */
.contact a {
    color: #bb86fc;
    text-decoration: none;
}

.contact a:hover {
    color: #ffffff;
}

/* Web En Construcción */
.construction-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh; /* Ocupa toda la altura de la ventana */
    background-color: #121212; /* Fondo oscuro */
}

.construction-image {
    max-width: 80%; /* Ajusta el tamaño de la imagen */
    height: auto;
}

/* Footer */
footer {
    text-align: center;
    padding: 1rem;
    background: #1e1e1e; /* Fondo oscuro */
    color: white;
    font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    section {
        padding: 1.5em 1em;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
}

@media (max-width: 600px) {
    header h1 {
        font-size: 2rem;
    }

    header p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .services li {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    header h1 {
        font-size: 1.8rem;
    }

    header p {
        font-size: 1rem;
    }

    h2 {
        font-size: 1.3rem;
    }

    .services li {
        font-size: 0.9rem;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }
}

/* Banner de Cookies */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    padding: 1rem;
    text-align: center;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cookie-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-banner a {
    color: #bb86fc;
    text-decoration: underline;
}

.cookie-banner button {
    background-color: #6200ea;
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
}

.cookie-banner button:hover {
    background-color: #3700b3;
}