/* Estilos Generales */
body {
    font-family: "Montserrat", sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f3f3f3;
    color: #000000;
}

h1, h2, h3, h4 {
    font-family: "Montserrat", sans-serif;
}

h1 {
    font-size: 60px;
    color: rgba(12, 12, 12, 0.835);
    text-transform: uppercase;
    text-align: center;
    letter-spacing: 2px;
}

h2 {
    font-size: 50px;
    color: #222222;
    text-transform: uppercase;
    margin-bottom: 20px;
}

h3 {
    font-size: 42px;
    color: #262726;
}

h4 {
    font-size: 34px;
    color: #000000;
}

/* Estilos del menú */
header {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

nav li {
    display: inline-block;
    margin-right: 25px;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #7d7d7dea;
}

/* Estilos para la sección de parallax */
#parallax {
    background-image: url('../IMG/construction-plans-architectural-project.jpg');
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    color: white;
    padding: 120px 20px;
    position: relative;
}

#parallax::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
}

#parallax h1 {
    position: relative;
    z-index: 1;
    color: white;
}

#parallax h3 {
    color: white;
    font-size: 36px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

/* Estilos para la sección de servicios destacados (inicio) */
.eventos {
    display: flex;
    justify-content: space-between;
    padding: 60px 0;
    max-width: 1200px;
    margin: 0 auto;
}

.evento {
    width: calc(33.33% - 20px);
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    margin: 0 10px;
}

.evento:hover {
    transform: scale(1.07);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.2);
}

.evento img {
    width: 100%;
    border-radius: 10px 10px 0 0;
}

.evento p {
    padding: 20px;
    color: #555;
    font-size: 18px;
}

/* Estilos para la sección de contacto en parallax */
.contacto-parallax {
    background-image: url('../IMG/image-engineering-objects-workplace-top-view-construction-concept-engineering-tools-vintage-tone-retro-filter-effect-soft-focus-selective-focus.jpg');
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    color: #000;
    padding: 120px 20px;
}

.formulario {
    max-width: 500px;
    margin: 0 auto;
    background-color: rgba(255, 255, 255, 0.9);
    padding: 60px;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.formulario label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
}

.formulario input[type="text"],
.formulario input[type="email"],
.formulario textarea {
    width: 100%;
    padding: 12px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
}

.formulario button {
    background-color: #272727;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 18px;
    cursor: pointer;
}

.formulario button:hover {
    background-color: #4bbe49;
}

/* Estilos del footer */
footer {
    background-color: #212121;
    color: white;
    text-align: center;
    padding: 30px 0;
}

.social-media a {
    color: white;
    margin: 0 15px;
    font-size: 24px;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-media a:hover {
    color: #b6b6b6;
}

/* Sección BLOG */
.blog {
    padding: 60px 20px;
    background-color: #f9f9f9;
}

/* Título y sección destacada */
.destacado {
    text-align: center;
    margin-bottom: 40px;
    font-size: 1.5em;
    color: #333;
}

/* Cuadrícula de noticias */
.noticias {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
    margin: 0 auto;
    max-width: 1200px;
}

/* Cada noticia */
.noticia {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.noticia.grande {
    grid-column: span 4; /* La noticia destacada ocupa cuatro columnas */
    font-weight: bold;
    background-color: #ffffff;
}

.noticia:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.noticia img {
    width: 100%;
    height: auto;
    border-radius: 10px 10px 0 0;
    display: block;
}

/* Descripción de la noticia */
.descripcion {
    padding: 15px;
    text-align: center;
    font-size: 1.1em;
    line-height: 1.6;
    color: #444;
}

.descripcion p {
    margin: 0;
    color: #555;
}

/* Slider de las notas */
.slider {
    overflow: hidden;
    position: relative;
    max-height: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.slide {
    display: none;
    width: 100%;
    transition: opacity 0.6s ease-in-out;
}

.slide img {
    width: 100%;
    object-fit: cover;
}

/* Texto de la nota */
.nota-detalle {
    text-align: justify;
    padding: 40px 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 20px auto;
    max-width: 800px;
}

.nota-detalle h2 {
    font-size: 36px;
    color: #333;
    margin-bottom: 10px;
}

.nota-detalle p {
    font-size: 18px;
    color: #666;
    line-height: 1.6;
}

/* Sección de preguntas frecuentes */
.preguntas-frecuentes {
    max-width: 800px;
    margin: auto;
    text-align: center;
    padding: 40px 20px;
    background-color: #f7f7f7;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.preguntas-frecuentes h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 20px;
}

.faq {
    margin-top: 20px;
}

.faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
}

.faq-question {
    width: 100%;
    background-color: #121212;
    color: #fff;
    padding: 15px;
    text-align: left;
    font-size: 18px;
    cursor: pointer;
    border: none;
    outline: none;
    transition: background-color 0.3s;
}

.faq-question:hover {
    background-color: #101010;
}

.faq-answer {
    display: none;
    padding: 15px;
    font-size: 16px;
    color: #333;
    text-align: left;
    background-color: #f0f0f0;
    border-radius: 0 0 8px 8px;
}

.faq-answer.show {
    display: block;
}

/* Tarjetas (página de servicios) */
.artistas {
    max-width: 1000px;
    margin: auto;
    padding: 50px 20px;
    text-align: center;
    background-color: #f9f9f9;
}

.artistas h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 30px;
}

.artistas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.artista {
    background-color: #fff;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.artista img {
    width: 100%;
    border-radius: 8px;
    margin-bottom: 15px;
}

.artista h3 {
    font-size: 24px;
    color: #333;
    margin: 10px 0;
}

.artista p {
    font-size: 16px;
    color: #555;
    margin-bottom: 15px;
}

.redes-sociales {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.redes-sociales a {
    margin: 0 10px;
    font-size: 1.5rem;
    color: #333;
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #292929;
    border-radius: 5px;
    transition: color 0.3s;
}

.redes-sociales a:hover {
    background-color: #1c1c1c;
    color: #fff;
}

/* Sección Sobre Nosotros */
.sobre-nosotros {
    max-width: 1200px;
    margin: auto;
    padding: 60px 20px;
    background-color: #f7f7f7;
    text-align: center;
}

.sobre-nosotros h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 40px;
}

.sobre-nosotros .contenido {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: flex-start;
}

.sobre-nosotros .texto {
    flex: 1;
    min-width: 300px;
    text-align: left;
}

.sobre-nosotros .texto h3 {
    font-size: 24px;
    color: #383938;
    margin-top: 20px;
}

.sobre-nosotros .texto p,
.sobre-nosotros .texto ul {
    font-size: 16px;
    color: #555;
    line-height: 1.6;
}

.sobre-nosotros .texto ul {
    list-style: disc;
    padding-left: 20px;
}

/* Sección de contacto */
#contacto {
    padding: 50px 20px;
    background-color: #f9f9f9;
    text-align: center;
}

#contacto h2 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: #333;
}

#contacto p {
    font-size: 1rem;
    margin-bottom: 30px;
    color: #555;
}

/* Formulario en tarjeta blanca (reseñas y panel) */
.formulario-contacto {
    flex: 1 1 300px;
    max-width: 400px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.formulario-contacto label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
    color: #333;
}

.formulario-contacto input, .formulario-contacto textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.formulario-contacto button {
    width: 100%;
    padding: 10px;
    background-color: #252625;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s;
}

.formulario-contacto button:hover {
    background-color: #1b1c1b;
}

/* Información de contacto */
.info-contacto {
    flex: 1 1 300px;
    max-width: 400px;
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border: 1px solid #ddd;
}

.info-contacto p {
    margin: 10px 0;
    color: #555;
}

/* Mapa */
.mapa {
    margin-top: 30px;
    padding: 20px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Botón de WhatsApp */
.whatsapp {
    margin-top: 30px;
}

.whatsapp a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background-color: #2d2d2d;
    color: white;
    font-size: 1rem;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s;
}

.whatsapp a:hover {
    background-color: #2e2e2e;
}

/* Página de aviso (404) */
.agradecimiento {
    background-color: #f0f8ff;
    text-align: center;
    padding: 50px 20px;
    border-radius: 10px;
}

.agradecimiento h2 {
    font-size: 2em;
    color: #323332;
}

.agradecimiento p {
    font-size: 1.2em;
    margin: 10px 0;
}

.boton {
    display: inline-block;
    padding: 10px 20px;
    background-color: #1a1a1a;
    color: white;
    text-decoration: none;
    border-radius: 5px;
    margin-top: 20px;
}

.boton:hover {
    background-color: #2b2b2b;
}

/* Nota del blog (vista de artículo) */
.nota-detalle-especial {
    font-family: 'Montserrat', sans-serif;
    margin: 40px auto;
    max-width: 1100px;
    padding: 20px;
    background-color: #f8f8f8;
    border-radius: 10px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
}

.contenido {
    display: grid;
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

.imagen-principal img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.texto-principal h1 {
    font-size: 2.8em;
    color: #2e2e2e;
    margin-bottom: 15px;
    font-weight: 600;
}

.texto-principal .subtitulo {
    font-size: 1.2em;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.6;
}

.cuerpo-nota {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.texto {
    background-color: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.texto p {
    font-size: 1.1em;
    color: #333;
    margin-bottom: 20px;
}
