/* CSS para estilos generales */

h1,
h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3em;
}

p {
    font-family: 'Inter', sans-serif;
}

span {
    font-family: 'Lato', serif;
    font-style: italic;
    font-size: 1.2em;
}

header.header {
    background: #000000;
    color: #f7f7f7;
    padding: 24px 16px;
    text-align: center;
}

header.header h1 {
    margin: 0;
    margin-bottom: 50px;
}

header .navbar {
    background: #1f1d1d;
    font-style: bold;
}

.intro {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url("../img/ojos.jpg");
    background-size: 105%;
    background-position: 110% center;
    background-repeat: no-repeat;
    min-height: 100vh;
    height: auto;
    overflow-x: hidden;
    padding: 2rem 1rem;
}

html, body {
    overflow-x: hidden;
}

.intro h1 {
    margin: 0px;
    font-size: clamp(2.5rem, 10vw, 5rem);
    margin-top: 50px;
    margin-bottom: 20px;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    word-break: break-word;
    max-width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.intro h2 {
    font-size: clamp(1.2rem, 4vw, 2.5rem);
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    max-width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.imagina {
    background-image: linear-gradient(rgba(0, 0, 0, 0.5),
            rgba(0, 0, 0, 0.5)), url("../img/tuproyecto.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 50vh;
    height: auto;
    overflow-x: hidden;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.imagina h1 {
    font-size: clamp(2.5rem, 10vw, 5rem);
    color: #f7f7f7;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
    word-break: break-word;
    max-width: 90%;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

.intro .container {
    padding-left: 1rem;
    padding-right: 1rem;
}

@media (max-width: 576px) {
    .intro {
        height: auto;
        min-height: 100vh;
        padding-top: 60px;
        padding-bottom: 60px;
    }
}

body {
    background-color: #000000;
    color: #ffffff;
    margin: 0;
    min-height: 100vh;
}

.somos {
    background-color: #ffffff;
    color: #000000;
    padding: 50px 16px;
}

.somos h1 {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 20px;
    font-family: 'Lato', serif;
    max-width: 100%;
    word-break: break-word;
}

.somos h2 {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 20px;
    font-family: 'Lato', serif;
    font-style: bold;
    margin-top: 50px;
    text-align: center;
}

.somos p {
    font-size: 1.5em;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
}

.tarjeta-servicio {
    background-color: #111;
    border-radius: 10px;
    overflow: hidden; 
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}

.tarjeta-servicio:hover {
    transform: translateY(-8px);
    border-color: rgba(255,255,255,0.3);
}

.servicios-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.servicios-desc {
    color: #aaa;
    font-size: 0.95em;
}

.tarjeta-servicio li {
    color: #888;
    font-size: 0.9em;
    margin-bottom: 5px;
}

.clickable {
    cursor: pointer;
}

.galeria-servicio {
    background-color: #111;
    border-radius: 12px;
    padding: 30px;
    margin-top: 30px;
    border: 1px solid rgba(255,255,255,0.08);
}

.galeria-servicio h2 {
    color: #ffffff;
    text-align: center;
    margin-bottom: 10px;
    font-family: 'Lato', serif;
}

.galeria-servicio p {
    color: #cccccc;
    font-size: 1.1em;
    line-height: 1.5;
    text-align: center;

}

.galeria-servicio .thumbnail-container {
    margin-bottom: 20px;
}

.galeria-servicio .thumbnail {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    cursor: pointer;
}

.galeria-servicio .thumbnail:hover {
    transform: scale(1.02);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.25);
}

.galeria-servicio .caption {
    margin-top: 10px;
    font-size: 0.9em;
    color: #cccccc;
    text-align: center;
    line-height: 1.4;
}

.galeria-servicio .descripcion {
    display: none;
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    padding: 12px;
    margin-top: 10px;
    color: #ddd;
    font-size: 0.95em;
}

.overlay-imagen {
    position: fixed;
    inset: 0;
    display: none;
    justify-content: center;
    align-items: center;
    background: rgba(0, 0, 0, 0.92);
    z-index: 2000;
    cursor: pointer;
    padding: 20px;
}

.overlay-imagen .overlay-img {
    max-width: 95vw;
    max-height: 95vh;
    width: auto;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.6);
    cursor: auto;
    object-fit: contain;
}

img {
    height: 250px;
    object-fit: cover;
}

footer.footer {
    background-color: #000000;
    color: #f7f7f7;
    padding: 20px 16px;
}

.href {
    color: #f7f7f7;
    text-decoration: none;
}

.contacto-form {
    background-color: #ffffff;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.contacto-form input,
.contacto-form textarea {
    background-color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #f7f7f7;
    padding: 10px;
    border-radius: 5px;
    width: 100%;
    margin-bottom: 15px;
}

.contacto-form button {
    background-color: #f7f7f7;
    color: #000;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contacto-form button:hover {
    background-color: #ddd;
}

.map-container {
    width: 100%;
    height: 300px;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contacto h1 {
    font-size: 3em;
    margin-bottom: 20px;
    font-family: 'Lato', serif;
    text-align: center;
}

.contacto p {
    font-size: 1.2em;
    line-height: 1.6;
    font-family: 'Inter', sans-serif;
    text-align: center;
}

.image-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 1050;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.image-container {
    display: flex;
    max-width: 80%;
    max-height: 80%;
    align-items: center;
}

.image-container img {
    max-width: 60%;
    max-height: 100%;
    object-fit: contain;
}

.image-desc {
    margin-left: 20px;
    color: white;
    max-width: 30%;
    font-size: 1.1em;
    line-height: 1.4;
}

.galeria-herramientas {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.galeria-herramientas h4 {
    text-align: center;
    margin-bottom: 20px;
    color: #333;
}

.galeria-herramientas .thumbnail {
    cursor: pointer;
    transition: transform 0.2s;
}

.galeria-herramientas .thumbnail:hover {
    transform: scale(1.05);
}

.descripcion {
    background: #fff;
    padding: 10px;
    border-radius: 5px;
    margin-top: 10px;
    color: #555;
    font-size: 0.9em;
    line-height: 1.4;
}