/* estilos.css */

body, html {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
}

/* Estilo inicial de la navbar */
#navbar {
    transition: top 0.3s;
    background-color: rgba(0, 0, 0, 0.5);
    
  }

  #navbar a {
    color: white; /* Color del texto de los enlaces */
    transition: opacity 0.3s ease-in-out; /* Transición suave para el cambio de opacidad */
    
  }
  
  #navbar a:hover, #navbar a:focus {
    opacity: 0.7; /* Opacidad reducida al pasar el mouse o al seleccionar */
  }
  /* Clase para ocultar la navbar */
  .hidden {
    top: -100px !important; /* Ajusta este valor según la altura de tu navbar */
    
  }




  #hero {
    position: relative;
    background: url('/images/slider1.png') no-repeat center center/cover;
    height: 60vh;
    color: #fff;
}
.hero-content {
    position: absolute;
    top: 20%;
    left: 5%;
}
.hero-logo {
    max-width: 300px;
    margin-bottom: 40px;
}
.hero-text {
    max-width: 600px;
}


#about-us {
    padding: 4rem 0;
}
.about-img img {
    max-width: 50%;
    height: auto;
    display: block;
    margin: 0 auto;
}
.about-content {
    text-align: left;
    max-width: 800px;
    margin: 0 auto;
}
.about-content h2 {
    text-align: center;
}


#mission-vision {
    position: relative;
    background: url('/images/slider2.png') no-repeat center center/cover;
    padding: 4rem 0;
    color: #fff;
}
.content-box {
    background: rgba(0, 0, 0, 0.7);
    padding: 2rem;
    border-radius: 8px;
    text-align: left;
    margin-left: 15%;
    max-width: 75%;
}
.content-box h2 {
    text-align: center;
    color: #fff;
}
.content-box p {
    color: #fff;
}



#projects {
    position: relative;
    padding: 4rem 0;
    overflow: hidden;
    
    height: 100%;
    background: url('/images/slider3.png') no-repeat center center/cover;
    
}
#projects h2 {
    color: #fff;
    
    
}
#projects::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 25%;
    height: 100%;
    background: url('/images/slider1.png') no-repeat center center/cover;
}
.project-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 2rem;
    text-align: left;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.project-card img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin-bottom: 1rem;
}
.project-card h3 {
    color: #fff;
}
.project-card p {
    color: #ccc;
}
.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}
.galria{
    background-color: #000000;
    color: #fff;
}
#gallery {
    padding: 4rem 0;
}
.gallery-title {
    text-align: center;
    margin-bottom: 2rem;
}
.gallery-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
}
.gallery-item img {
    max-width: 100%;
    transition: transform 0.3s ease;
    border-radius: 8px;
}
.gallery-item:hover img {
    transform: scale(1.1);
}
.gallery-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.gallery-item:hover .overlay {
    opacity: 1;
}
.overlay-content {
    text-align: center;
}
.overlay-content h3 {
    margin-bottom: 0.5rem;
}



#contact {
    padding: 4rem 0;
    background-color: #333;
    color: #fff;
}
.contact-img {
    max-width: 100%;
    border-radius: 8px;
}
.contact-info {
    padding-left: 2rem;
}
.contact-info h3,
.contact-info p {
    color: #fff;
}
.btn-contact {
    display: inline-block;
    margin-top: 1rem;
    padding: 0.75rem 1.25rem;
    background-color: #28a745;
    color: #fff;
    border: none;
    border-radius: 4px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}
.btn-contact:hover {
    background-color: #218838;
}
.social-icons {
    margin-top: 2rem;
}
.social-icons a {
    color: #fff;
    margin: 0 10px;
    font-size: 1.5rem;
    transition: color 0.3s ease;
}
.social-icons a:hover {
    color: #ddd;
}

footer{
    background-color: black;
    
}

.logofooter {
    display: flex;
    justify-content: center;
    align-items: center;
}