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

body {
  background-color: #101010;
  color: #fff;
  font-size: 16px;
  line-height: 1.5;
  animation: fadeIn 1s ease-in-out;
}

/* Header */
header {
  background-color: rgba(18, 18, 18, 0.5); /* Fondo semitransparente */
  position: sticky; /* Hace el header pegajoso */
  top: 0; /* Fija el header en la parte superior */
  z-index: 1000; /* Asegura que el header esté encima de otros elementos */
  padding: 20px 0;
  animation: fadeIn 1s ease-in-out;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  width: 100px;
  height: auto;
  margin-left: 3rem;
}

.navbar {
  flex-grow: 1;
  display: flex;
  justify-content: center;
  justify-content: right;
  margin-right: 5em;
}

.navbar-menu {
  list-style: none;
  display: flex;
  gap: 20px;
  margin-left: 52px;
}

.navbar-menu li {
  position: relative;
}

.navbar-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 15px;
  text-transform: uppercase;
  transition: color 0.3s;
  font-family: 'orbitron', sans-serif;
  letter-spacing: 1px;
}

.navbar-menu a:hover {
  color: #FFD700;
}

.navbar-search {
  position: relative;
  margin-right: 3rem;
}

.navbar-search input {
  padding: 8px 30px;
  border-radius: 25px;
  border: 1px solid #7d7d7d;
  width: 250px;
  background-color: transparent;
  color: #cfcfcf;
  text-align: left;
  font-size: 16px;
}

.navbar-search button {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background-color: transparent; /* Fondo transparente */
  border: none;
  cursor: pointer;
}

.navbar-search button i {
  font-size: 14px;
  color: #ffffffab; /* Color blanco para el icono */
}

/* Menú de Hamburguesa */
.hamburger-menu {
  display: none;
  cursor: pointer;
}

.hamburger-menu i {
  font-size: 30px;
  color: #fff;
}

/* Menú Móvil */
.mobile-nav {
  display: none;
  background-color: #121212;
  position: absolute;
  top: 60px;
  left: 0;
  width: 100%;
  padding: 20px;
  z-index: 10;
}

.mobile-nav ul {
  list-style: none;
  text-align: center;
}

.mobile-nav li {
  margin: 15px 0;
}

.mobile-nav a {
  color: #fff;
  text-decoration: none;
  font-size: 20px;
  transition: color 0.3s;
}

.mobile-nav a:hover {
  color: #FFD700;
}

.mobile-nav .search-item {
  margin-top: 20px;
}

.mobile-nav .search-item input {
  width: 80%;
  padding: 8px;
  border-radius: 25px;
  border: 2px solid #fff; /* Borde blanco */
  margin-bottom: 10px;
  text-align: center;
  background-color: transparent; /* Fondo transparente */
  color: #fff;
}

.mobile-nav .search-item button {
  background-color: transparent;
  border: none;
  cursor: pointer;
}

.mobile-nav .search-item button i {
  color: #fff; /* Color blanco para el icono */
}

/* Contenedor principal */
/* Contenedor amarillo que ocupa todo el ancho */
.container-full {
    width: 100%;
    background-color: #000;
    padding: 20px 0; /* Espaciado arriba y abajo */
    display: flex;
    justify-content: center;
}

/* Sección original dentro del contenedor */
.section-content {
    display: flex;
    max-width: 1162.7px;
    background: #000;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    gap: 30px;
    align-items: center;
}



.carousel-container {
    width: 60%;
    position: relative;
    text-align: center;
}

.main-image {
    width: 103.9%;
    height: 450px;
    object-fit: cover;
    border-radius: 15px;
    
    transition: transform 0.3s ease-in-out;
}

.main-image:hover {
    transform: scale(1.05);
}

.thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.thumbnail {
    width: 70px;
    height: 70px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    transition: transform 0.2s;
}

.thumbnail:hover {
    transform: scale(1.1);
}

.thumbnail.active {
    border-color: #ffcc00;
}

.buttons {
    position: absolute;
    top: 46.3%;
    left: 0.9%;
    right: -2.3%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
}

.btn {
    width: 35px;
    height: 35px;
    border: 3px solid #9d9d9d;
    background: transparent;
    cursor: pointer;
    border-radius: 50%;
    transition: transform 0.3s ease, border 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    position: relative;
}

.btn::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 1px;
    border: solid #b3b3b3;
    border-width: 0 4px 4px 0;
    display: inline-block;
    padding: 6px;
    border-radius: 4.7px;
}

.btn-prev::before {
    transform: rotate(135deg);
}

.btn-next::before {
    transform: rotate(-45deg);
}

.btn:hover {
    border-color: #ffcc00;
    transform: scale(1.2);
}

.btn:hover::before {
    border-color: #ffcc00;
}

.btn:active {
    transform: scale(1);
}

.description {
    width: 33%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: left;
    margin-top: -101.1px;
    margin-left: 1.5em;
}

.description h1 {
    color: #fff;
    margin-bottom: 10px;
}

.description p {
    color: #fff;
    font-size: 16px;
    line-height: 1.5;
    text-align: justify;
}

/* Contenedor de los botones de compartir */
.share-buttons {
    margin-top: 63.7px;
    display: flex;
    gap: 15px;
}

/* Estilos base de los botones */
.btn-share {
    width: 50px;
    height: 50px;
    border: none;
    background: #333;
    cursor: pointer;
    border-radius: 50%;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: white;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Efecto hover */
.btn-share:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Colores personalizados */
.facebook { background: #fff; 
            color: #000;

  }
   /* Azul Facebook */
.linkedin { background: #fff; 
            color: #000;
            } /* Azul LinkedIn */
.whatsapp { background: #fff;
            color: #000;
 } /* Verde WhatsApp */

/* Efecto hover con colores más oscuros */
.facebook:hover { background: #ffcc00; }
.linkedin:hover { background: #ffcc00; }
.whatsapp:hover { background: #ffcc00; }

.project-link {
    text-align: center;
    font-size: 18px;
    font-weight: bold;
    color: #FFD700; /* Dorado para resaltar */
    margin-top: 15px; /* Espacio superior */
}

.project-link a {
    color: #FFD700; /* Dorado */
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out;
}

.project-link a:hover {
    color: #FFC107; /* Un dorado más tenue al pasar el cursor */
    text-decoration: underline;
}



/* Estilos del Slider */
.carousel-section {
    background-color: #f8f8f8; /* Fondo blanco */
    padding: 40px 0; /* Espaciado arriba y abajo */
    display: flex;
    justify-content: center; /* Centrar el carrusel horizontalmente */
    height: 483px;
}
    .carousel {
      position: relative;
      max-width: 1000px;
      overflow: hidden;
      width: 100%; /* Ocupa todo el ancho */
      max-width: 1200px; /* Ajusta según tu diseño */
      height: 500px; /* Aumenta la altura */
      margin: auto;
      top: -15px;
    }
    .carousel-inner {
      display: flex;
      transition: transform 1s ease-in-out; /* Transición más lenta */
    }
    .carousel-item {
      min-width: calc(100% / 3);
      box-sizing: border-box;
      padding: 10px;
    }
    .carousel-item a {
      display: block;
      text-decoration: none;
      color: inherit;
    }
    .carousel-item img {
      width: 100%;
      border-radius: 10px;
      transition: transform 0.3s ease;
    }
    .carousel-item img:hover {
      transform: scale(1.05);
    }
    /* Botones de navegación mejorados */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 2px solid rgba(255, 255, 255, 0.8); /* Solo borde, sin fondo */
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 50%;
  font-size: 18px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s;
  z-index: 10;
}


   .prev:hover, .next:hover {
  border-color: rgba(255, 255, 255, 1);
}

    .prev {
      left: 24px;
    }
    .next {
      right: 24px;
    }
    /* Dots de navegación ubicados fuera de las imágenes */
.carousel-dots {
  display: flex;
  justify-content: center;
  margin-top: 10px;
}

.dot {
  width: 8px; /* Ajusta este valor para hacerlos más pequeños */
  height: 8px;
  margin: 0 5px;
  background-color: rgba(15, 15, 15, 0.5);
  border-radius: 50%;
  cursor: pointer;
  transition: background-color 0.3s;
}

.dot.active {
  background-color: #000;
  width: 10px; /* O puedes mantenerlo igual para no agrandar el activo */
  height: 10px;
}

    /* Responsividad */
    @media (max-width: 768px) {
      .carousel-item {
        min-width: calc(100% / 2);
      }
    }
    @media (max-width: 480px) {
      .carousel-item {
        min-width: 100%;
      }
    }

    .portfolio-title-section {
    position: relative;
    width: 100%;
    height: 130px; /* Ajusta la altura según tu diseño */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    animation: fade-in 1.5s ease-out;
  }

/* Fondo de imagen con opacidad */
.portfolio-title-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('imagenes/marca.jpg'); /* Ruta de la imagen */
  background-size: cover;
  background-position: center;
  opacity: 0.2; /* Opacidad de la imagen */
  z-index: -1; /* Para que quede detrás del contenido */
}

/* Contenedor del contenido */
.portfolio-content {
  color: white;
  padding: 20px;
  border-radius: 10px;
  animation: slide-up 1.5s ease-out;
}

/* Estilos del título y descripción */
.portfolio-title {
  font-size: 3rem;
  margin-bottom: 10px;
  font-weight: bold;
}
/* Estilos del Slider */





/* Footer */
footer {
  background-color: #121212;
  padding: 40px 20px;
}

.footer-content {
  display: flex;
  flex-direction: column; /* Siempre en columnas */
  align-items: center;
  gap: 30px; /* Espaciado entre los bloques */
}

.footer-logo img {
  width: 120px;
}

.footer-separator {
  width: 50%;
  height: 1px;
  background-color: #fff;
  opacity: 0.2;
}

.footer-menu ul {
  list-style: none;
  display: flex;
  flex-direction: row; /* Menú en columnas */
  align-items: center;
  gap: 10px;
}

.footer-menu a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  transition: color 0.3s;
}

.footer-menu a:hover {
  color: #FFD700;
}

.footer-social {
  display: flex;
  flex-direction: row; /* Redes sociales en columnas */
  align-items: center;
  gap: 10px;
}

.footer-social a {
  color: #fff;
  font-size: 18px;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-social a i {
  margin-right: 10px; /* Espacio entre el icono y el texto */
}

.footer-social a:hover {
  color: #FFD700;
}

.footer-contacts {
  display: flex;
  flex-direction: column; /* Contactos en columnas */
  align-items: center;
  gap: 10px;
}

.contact-icon {
  color: #fff;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.3s;
}

.contact-icon i {
  margin-right: 10px;
}

.contact-icon:hover {
  color: #FFD700;
}

.footer-bottom {
  text-align: center;
  color: #fff;
}

/* Media Queries */
@media (max-width: 900px) {
  .section-nav {
    flex-direction: column;
    align-items: center;
  }
  .section-nav a {
    width: 80%;
    text-align: center;
    margin: 5px 0;
  }
  .section {
    min-height: 40vh;
  }
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  .footer-menu {
    margin-top: 20px;
  }
  .section {
    min-height: 57vh;
  }

.portfolio-title{
  font-size: 2rem
}
.portfolio-title-section{
  height: 90px;
}
.carousel{
  top: -43px;
}

}

@media (min-width: 769px) {
  .section {
    min-height: 88vh;
  }
}

@media (max-width: 480px) {
  .footer-logo img {
    width: 100px;
  }
  .footer-menu ul {
    margin-top: -23px;
  }
  .footer-menu a {
    font-size: 14px;
  }
  .footer-social a {
    font-size: 14px;
  }
  .contact-icon {
    font-size: 16px;
  }
  .footer-separator {
    width: 90%;
  }
}
/* Media Queries para navegación y footer */
@media (max-width: 768px) {
  .navbar-menu {
    display: none;
  }
  
  .navbar-search {
    display: none; /* Ocultamos el buscador en pantallas pequeñas */
  }
  
  .hamburger-menu {
    display: block;
  }
  
  .mobile-nav.show {
    display: block;
  }
  
  .footer-content {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-menu {
    margin-top: 20px;
  }
}


@media (max-width: 1024px) {
    .section-content {
        flex-direction: column;
        align-items: center;
        padding: 15px;
    }
    .carousel-container, .description {
        width: 90%;
    }
}

@media (max-width: 768px) {
    .carousel-container, .description {
        width: 100%;
        margin-left: -14.8px;
    }
    .main-image {
        height: 350px;
    }
    .buttons {
        left: 2%;
        right: 2%;
    }
}

@media (max-width: 480px) {
    .main-image {
        height: 300px;
    }
    .thumbnails {
        flex-wrap: wrap;
        gap: 5px;
    }
    .thumbnail {
        width: 50px;
        height: 50px;
    }
    .description {
        text-align: center;
        margin-left: 0;
        margin-top: 20px;
    }
    .share-buttons {
      margin-top: 12.3px;
}
