body{
    background-color: gray;
    padding: 0;
    margin: 0;
}
/*NAVBAR----------------------------------------------------------------------------------------*/

.navbar-container{
    display: flex;
    flex-direction: row;
    background-color: rgb(52, 52, 52);
    justify-content: space-around;
    height: 80px;
    font-family: sans-serif;
}
.img-container{
    width: 70px;
    padding: 20px;
}
.img-container img:hover{
    background-color: rgba(128, 128, 128, 0.104);
    cursor: pointer;
}
.img-container img{
    width: 70px;
    height: 70px;
    margin: auto;
    position: static;
    top: 1px;
    padding: 5px;
}
.navbar-list{
    list-style: none;
    padding: 20px;
    margin: auto;
}
.navbar-item{
    display: inline;
    margin: auto;
    padding: 20px;
}
.navbar-item a{
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}
.navbar-item a:hover{
    border-bottom: 3px solid rgb(0, 191, 255);
    color: aqua;
}

/*MAIN----------------------------------------------------------------------------------------*/
/* RESET */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: gray;
    font-family: sans-serif;
}

/* NAVBAR */
.navbar-container {
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 80px;
    background-color: rgb(52, 52, 52);
}

.img-container img {
    width: 70px;
    height: 70px;
    display: block;
    margin: auto;
    padding: 5px;
}

.navbar-list {
    list-style: none;
    display: flex;
    gap: 20px;
}

.navbar-item a {
    color: white;
    font-size: 1.2rem;
    text-decoration: none;
}

.navbar-item a:hover {
    border-bottom: 3px solid rgb(0, 191, 255);
    color: aqua;
}

/* MAIN */
.main-conteiner {
    position: relative;
    height: 100vh; /* toda la altura de la ventana */
    width: 100vw;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.fondo-conteiner {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-image: url(https://images.squarespace-cdn.com/content/v1/64bae9aa05f5ff27b3c1e6d2/df18689c-227c-4cf6-ae02-9a98d47c3437/Portada.png);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    filter: brightness(29%);
    z-index: -1;
}

.main-content {
    position: relative; /* sobre el fondo */
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 140px;
    scale: 0.8;
}

.main-logo img {
    width: 400px;
    height: 400px;
    margin-bottom: 20px;
}

.main-title h1 {
    font-size: 3rem;
    color: white;
    font-weight: bold;
    margin-bottom: 20px;
}

.main-content p {
    font-size: 2.5rem;
    color: white;
    font-weight: bold;
}



/*NOSOTROS----------------------------------------------------------------------------------------*/

.nosotros-conteiner{
    display: grid;
    place-items: center;
    height: 90vh;
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url(https://wallpapers.com/images/hd/lawyer-background-atyrul2ayyz0vn3j.jpg);
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}
.nosotros-contenido{
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
    margin-top: 200px;
    scale: 1;
}
.nosotros-text{
    
    background-color: rgba(255, 255, 255, 0.633);
    height: 100%;
    text-align: center;
    box-shadow: 30px 30px 120px black;
    border-radius: 10px;
}
.nosotros-text h3{
    font-size: 1.5rem;
    margin-top: 50px;
}
.nosotros-text h2{
    font-size: 2rem;
    margin-top: 20px;
}
.nosotros-text p{
    font-size: 1.3rem;
    font-weight: bold;
    padding: 20px;
}
.nosotros-img img {
    width: 100%;
    height: auto;
    border-radius: 12px; /* opcional: bordes redondeados */
    object-fit: cover;
    scale: 0.9;
}
.boton{
    background-color: rgb(255, 255, 255);
    scale: 2;
    margin: 20px;
}
.boton:hover{
    background-color: black;
    color: white;
    cursor:pointer ;
}


/*NOSOTROS----------------------------------------------------------------------------------------*/

.servicios-conteiner{
    display: flex;
    flex-direction: row;
    justify-content: center;
    padding: 50px;
    background-color: rgb(40, 40, 40);
}

.servicios-item{
    padding: 40px;
}
.servicios-item p{
    color: rgb(205, 205, 205);
    text-align: center;
    font-weight: bold;
    padding: 10px;
    font-size: 1.2rem;
    font-family: sans-serif;
}
.servicios-item img{
    display: block;
    margin: 0 auto;
}
.servicios-item a{
    text-decoration: none;
    color: rgb(205, 205, 205);
    text-align: center;
    font-weight: bold;
    font-size: 1.2rem;
    font-family: sans-serif;
    margin-left: 80px;
}
.servicios-item a:hover{
    text-decoration: underline;
}

/*Contacto----------------------------------------------------------------------------------------*/

/* CONTACTO ---------------------------------------------------------------------------------------- */

#contacto {
    padding: 40px;
    text-align: center;
    font-family: sans-serif;

    /* Fondo con imagen y overlay oscuro */
    background-image: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)),
      url("https://s3.amazonaws.com/rtvc-assets-senalcolombia.gov.co/s3fs-public/field/image/Foto%20Libreri%CC%81a%20Pro%CC%81logo.%20Cafe%CC%81%20y%20libro.jpg");
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white; /* texto sobre la imagen */
}

.contacto-container {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.info-card, 
.form-card {
    padding: 25px;
    box-shadow: 0px 4px 12px rgba(0,0,0,0.3); /* sombra más visible sobre la imagen */
    flex: 1 1 300px;
    max-width: 500px;
    text-align: left;

    /* Fondo semi-transparente para resaltar las tarjetas sobre la imagen */
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    border-radius: 12px;
}

.info-card h3, .info-card p {
    margin: 20px 0; /* ajusté para que no quede demasiado espacio */
}

.info-card a {
    text-decoration: none; 
    color: #fff; /* enlaces blancos sobre la imagen */
}

/* FORMULARIO solo dentro de #contacto */
#contacto .form-card form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

#contacto .form-group {
    display: flex;
    flex-direction: column;
}

#contacto label {
    font-weight: bold;
    color: #fff; /* etiquetas blancas */
}

#contacto input, 
#contacto textarea {
    padding: 10px;
    border: none;
    font-size: 1rem;
    border-bottom: 1px solid rgb(255, 255, 255);
    background-color: transparent;
    color: #fff;
}

#contacto input:focus,
#contacto textarea:focus {
    outline: none;
    border-bottom: 1px solid #4a6cf7; /* borde azul al enfocar */
}

#contacto button {
    padding: 12px;
    background: #4a6cf7;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

#contacto button:hover {
    background: #3651c9;
}


/* foter---------------------------------------------------------------------------------------- */
#footer {
  background: rgba(0, 0, 0, 0.8); /* fondo oscuro semi-transparente */
  color: #fff;
  padding: 60px 20px 20px 20px;
  font-family: sans-serif;
}

.footer-container {
  display: flex;
  gap: 30px;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-column {
  flex: 1 1 250px;
  margin-bottom: 20px;
}

.footer-column h3 {
  margin-bottom: 15px;
  font-size: 1.2rem;
  border-bottom: 1px solid #4a6cf7;
  display: inline-block;
  padding-bottom: 5px;
}

.footer-column a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-column a:hover {
  color: #4a6cf7;
}

.footer-column ul {
  list-style: none;
  padding: 0;
}

.footer-column ul li {
  margin-bottom: 10px;
}

.footer-bottom {
  text-align: center;
  margin-top: 30px;
  font-size: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  padding-top: 10px;
}
