@charset "UTF-8";
@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}
/* Brillo */
@keyframes glow {
  0%, 100% {
    filter: drop-shadow(0 0 0px rgba(255, 200, 0, 0));
  }
  50% {
    filter: drop-shadow(0 0 20px rgb(36, 180, 36));
  }
}
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.proyectos-galeria {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  padding: 50px 20px;
  background-color: #fff;
  margin: 0 0 50px 0;
}

.proyecto-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}
.proyecto-item img {
  width: 100%;
  height: 350px;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.proyecto-item:hover img {
  transform: scale(1.05);
}
.proyecto-item:hover .proyecto-overlay {
  opacity: 1;
}

.proyecto-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.proyecto-overlay p {
  font-size: 1.5em;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}
.proyecto-overlay a {
  color: white;
  text-decoration: none;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.proyecto-overlay a p {
  z-index: 1;
}
.proyecto-overlay a:hover {
  color: white;
  text-decoration: none;
}

/* reset*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, sans-serif;
}

/* body*/
body {
  line-height: 1.6;
  background-color: #ffffff;
  color: #333;
}

body:has(header) {
  padding-top: calc(var(--header-height, 0px));
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background-color: #fff;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: sticky;
  z-index: 1000;
  top: 0;
  height: auto;
}
header img {
  height: 50px;
  max-width: 100%;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  background-color: #fff;
}
nav ul li {
  margin-left: 20px;
}
nav ul li a {
  display: block;
  text-decoration: none;
  color: #333;
  font-weight: bold;
  padding: 5px 10px;
}
nav ul li a:hover {
  color: #c300ff;
}

.video-container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto 0;
  position: relative;
  overflow: hidden;
}
.video-container video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.garabato {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 100px 20px;
  background-color: #fff;
}
.garabato img {
  width: 100%;
  max-width: 500px;
  height: auto;
  flex-shrink: 0;
  animation: pulse 3s ease-in-out infinite, glow 3s ease-in-out infinite;
}

.garabato-contenido {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 40px;
  max-width: 500px;
  text-align: left;
}
.garabato-contenido h1 {
  margin-bottom: 10px;
  font-size: 2em;
  color: #222;
  text-align: left;
  font-family: Arial, sans-serif;
  font-weight: bold;
}
.garabato-contenido p {
  text-align: justify;
  line-height: 1.3;
}

main {
  padding: 0;
  max-width: 100%;
  margin: 0 0 0 0;
}

#proyectosCarousel {
  background-color: #c2c2c2;
  padding: 20px;
  margin-bottom: 0;
}
#proyectosCarousel .carousel-item > div {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 30px;
  padding: 30px 0;
  transition: all 0.5s ease;
}
#proyectosCarousel .carousel-control-prev {
  display: none;
}
#proyectosCarousel .carousel-control-next {
  display: none;
}

.carousel-image {
  flex: 1 1 auto;
  width: 100%;
  max-width: 300px;
  height: auto;
  border-radius: 12px;
  object-fit: cover;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transition: transform 0.2s ease;
}
.carousel-image:hover {
  transform: scale(1.02);
}

.carousel-text {
  flex: 1 1 350px;
  max-width: 600px;
  padding: 15px;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
  color: black;
  transition: all 0.3s ease;
  margin-top: 15px;
}

.marquee {
  width: 100%;
  overflow: hidden;
  background: #000;
  color: #fff;
  font-size: 1rem;
  font-family: Arial, sans-serif;
  padding: 8px 0;
  white-space: nowrap;
  display: flex;
  position: relative;
}

.marquee-inner {
  display: flex;
  flex-shrink: 0;
  animation: scroll-left 15s linear infinite;
}
.marquee-inner span {
  margin-right: 2rem;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8);
}

footer {
  background-color: #222;
  color: #fff;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
footer p {
  margin: 0;
}
footer a img {
  width: 30px;
  height: 30px;
  transition: transform 0.3s;
}
footer a img:hover {
  transform: scale(1.2);
}

.footer-center {
  flex-grow: 1;
  text-align: center;
}

.footer-social {
  display: flex;
  gap: 15px;
  align-items: center;
}

.contact-form-container {
  width: 100%;
  padding: 20px;
  background-color: #f4f4f4;
}

.contact-form .form-control {
  width: 100%;
  padding: 0.5rem 1.25rem;
  border-radius: 25px;
  border: 1px solid #000;
  background-color: transparent;
}
.contact-form .form-control:focus {
  border-color: #000;
  box-shadow: 0 0 0 0.25rem rgba(0, 0, 0, 0.1);
}
.contact-form .form-label {
  font-weight: bold;
  color: #000;
}
.contact-form .btn {
  border: 1px solid #000;
  border-radius: 25px;
  background-color: transparent;
  color: #000;
  font-weight: bold;
  padding: 0.5rem 2rem;
  transition: background-color 0.3s, color 0.3s;
}
.contact-form .btn:hover {
  background-color: #000;
  color: #fff;
}

.required-asterisk {
  color: #000;
  font-size: 1.2em;
  font-weight: bold;
  vertical-align: top;
}

.pagina-contacto {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.pagina-contacto main {
  min-height: calc(100vh - 100px);
  display: flex;
  flex-direction: column;
}

.hamburger {
  display: none;
  position: absolute;
  top: 15px;
  right: 20px;
  width: 30px;
  height: 25px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 3px;
  background: #000;
  border-radius: 2px;
  transition: 0.3s;
}

.garabato2 {
  display: none;
}

@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 10px;
  }
  header .img {
    height: 40px; /* achicamos también el logo si hace falta */
  }
  nav {
    margin-top: 15px;
  }
  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    width: 200px;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    z-index: 9999;
  }
  nav ul li {
    margin: 0 10px;
  }
  nav ul.active {
    display: flex;
  }
  .hamburger {
    display: flex;
  }
  .garabato {
    flex-direction: column;
    text-align: center;
    padding: 50px 10px;
  }
  .garabato img {
    margin-bottom: 20px;
  }
  .garabato-contenido {
    margin-left: 0;
    text-align: center;
  }
  .garabato-contenido h1 {
    text-align: center;
  }
  .garabato-contenido p {
    text-align: justify;
  }
  #proyectosCarousel .carousel-item > div {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
    padding: 20px 0;
  }
  .carousel-image {
    flex: none;
    width: auto;
    max-width: 90%;
  }
  .carousel-text {
    flex: none;
    width: auto;
    max-width: 90%;
    font-size: 0.9rem;
    text-align: justify;
  }
  footer {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
  }
  .footer-center {
    flex: 1;
    text-align: center;
    margin-bottom: 0;
  }
  .footer-center p {
    font-size: 0.8rem;
  }
  .footer-social a img {
    width: 22px;
    height: 22px;
  }
  .video-container {
    height: 500px;
  }
}
@media (max-width: 480px) {
  header {
    flex-direction: column;
    align-items: center;
    padding: 5px;
  }
  header .img {
    height: 20px; /* achicamos también el logo si hace falta */
  }
  nav ul li {
    margin: 5px 0;
  }
  h1 {
    font-size: 1.5em;
  }
  section h2 {
    font-size: 1.2em;
  }
  .carousel-text {
    font-size: 0.85rem;
    max-width: 420px;
  }
  .carousel-image {
    max-width: 95%;
  }
  .footer-center p {
    font-size: 0.7rem;
  }
  .footer-social a img {
    width: 18px;
    height: 18px;
  }
  .video-container {
    height: 500px;
  }
  .garabato-contenido p {
    text-align: justify;
    max-width: 360px;
    font-size: 0.8rem;
    line-height: 1.3;
    text-justify: inter-word;
  }
  .garabato-contenido .garabato-contenido p:last-child {
    text-align: left;
  }
  .garabato-contenido h1 {
    max-width: 360px;
    text-align: left;
    line-height: 1;
  }
}

/*# sourceMappingURL=estilos.css.map */
