body {
  background: rgba(0, 0, 0, 0.9);
  margin: 0;
  color: #fff;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.main-header {
  
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  
}

.main-header-image {
  max-height: 400px; /* Adjusted height */
  
}

.showcase {
  position: relative;
}

.showcase::after {
  content: '';
  height: 80vh;
  width: 100%;
  background-image: url(./nave.png);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  display: block;
  filter: blur(10px);
  -webkit-filter: blur(10px);
  transition: all 1000ms;
}

.showcase:hover::after {
  filter: blur(0px);
  -webkit-filter: blur(0px);
}

.showcase:hover .content {
  filter: blur(2px);
  -webkit-filter: blur(2px);
}

.content {
  position: absolute;
  z-index: 1;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  text-align: center;
  transition: all 1000ms;
}

.log {
  
 
  width: 300px;
  text-align: center;
  transition: all 1000ms;
}

.content .logo {
  height: 180px;
  width: 180px;
}

.content .title {
  font-size: 2.2rem;
  margin-top: 1rem;
}

.content .text {
  line-height: 1.7;
  margin-top: 1rem;
}

.container {
  max-width: 960px;
  margin: auto;
  overflow: hidden;
  padding: 4rem 1rem;
  font-weight: 100;
}

.grid-3 {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(1, 1fr);
}

.grid-2 {
  display: grid;
  grid-gap: 20px;
  grid-template-columns: repeat(2, 1fr);
  width: 100%;
}

.grid-4 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}
  

.grid-5 {
  display: grid;
  grid-gap: 120px;
  grid-template-columns: repeat(1, 1fr);
}

.center {
  text-align: center;
  margin: auto;
}

.bg-light {
  background: #f4f4f4;
  color: #333;
}

.bg-dark {
  background: #333;
  color: #f4f4f4;
}

footer {
  padding: 2.2rem;
}

footer p {
  margin: 0;
}

button {
  padding: 15px 10px;
}

.carousel-3d-container {
  width: 100%;
  /* Define una altura fija para el carrusel */
  height: 300px; /* Ajusta este valor según tus necesidades */
}

.carousel-3d-slide {
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.carousel-3d-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.carru-container {
  position: relative;
  width: 100%;
  height: 500px;
  margin-bottom: 20px; /* Add some space below the carousel */
}

.carru {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
  gap: 25px;
  display: flex;
}

.carru-image {
  height: 100%;
}

a {
  text-decoration: none;
  outline: none !important;
  color: #fff;
}

.border-shape {
  background: #ffffff none repeat scroll 0 0;
  color: #fff;
  display: block;
  height: 3px;
  left: 0;
  margin: 20px auto;
  position: relative;
  right: 0;
  text-align: center;
  top: 0;
  width: 80px;
}

.border-shape::before {
  background: #ffffff none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 1px;
  left: 80px;
  margin: 0 auto;
  position: absolute;
  text-align: center;
  top: 1px;
  width: 100px;
}

.border-shape::after {
  background: #ffffff none repeat scroll 0 0;
  bottom: 0;
  content: "";
  height: 1px;
  margin: 0 auto;
  position: absolute;
  right: 80px;
  text-align: center;
  top: 1px;
  width: 100px;
}

footer {
  background-color: #121619;
  color: #fff;
}

.top_header {
  padding: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.top_header section {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.top_header span {
  padding: 0 1rem;
}

.top_header .fa {
  color: #ffffff;
  font-size: 35px;
}

footer .border-shape {
  width: 40%;
}

footer .border-shape::before {
  width: 100%;
  left: 120px;
}

footer .border-shape::after {
  width: 100%;
  right: 120px;
}

footer .bottom_content section {
  padding: 1.5rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bottom_content a {
  margin: 0 20px;
  color: rgba(255, 255, 255, 0.7);
  transition: 0.5s;
}

.bottom_content a:hover {
  color: rgba(255, 255, 255, 1);
}

.copyright {
  padding: 0.8em 0;
  background-color: #1e1e1e;
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 12px;
}

.navbar {
  background-color: #E6E6E6;
  padding: 10px 0;
  text-align: center;
  width: 50%;
  z-index: 1;
  top: 400px;
  padding: 40px 0;
  font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
  border-radius: 50px;
  box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
  position: absolute;
}

.nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

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

.nav-list a {
  text-decoration: none;
  color: #909090;
  font-size: 16px;
  font-weight: bold;
  font-size: 20px;
}

.nav-list a:hover {
  color: #000;
}

.float {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  box-shadow: 2px 2px 3px #999;
  z-index: 100;
}

.my-float {
  margin-top: 16px;
}

@media screen and (max-width: 1024px) {
  .grid-2 {
    grid-template-columns: 1fr;
  }

  .grid-4 {
    grid-template-columns: 1fr;
  }

  .navbar {
    width: 95%;
    top: 185px;
  }


  

}

@media screen and (max-width: 768px) {
  .showcase {
    display: none;
  }

  

  .top_header {
    flex-direction: column;
    padding: 1rem;
  }

  .nav-list {
    flex-direction: column;
  }

 

  
}

@media screen and (max-width: 768px) {
  
  .content {
    width: 90%;
  
  }


  .top_header {
    
    padding: 1rem;
  }

  .nav-list {
    flex-direction: column;
  }

  

 
  .grid-3 {
    grid-template-columns: 1fr;
  }

  /* 🔽 Agrega desde aquí para la sección de "Grabación y restauración" hacia abajo */

  .services,
  .about {
    text-align: center;
    padding: 1rem 0.5rem;
  }

  .services h2,
  .about h2 {
    font-size: 1.25rem;
    margin-top: 1rem;
  }

  .services p,
  .about p {
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0.5rem 0;
    text-align: center;
  }

  .services img,
  .about img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    margin: 0.5rem auto;
  }

  .carru {
    flex-direction: column;
    align-items: center;
  }

  .carru-image {
    width: 100%;
    height: auto;
  }

  .carru-container {
    height: auto;
    overflow: hidden;
  }

.carru-furgocontainer {
    display: flex;              /* Activa el diseño horizontal */
    align-items: center;        /* Centra verticalmente */
    justify-content: center;    /* Centra horizontalmente si quieres */
    gap: 30px;                  /* Espacio entre imagen y texto */
    width: 100%;
    text-align: left;
}

.carru-furgoimage {
    width: 250px;               /* El tamaño lo decides tú */
    height: auto;               /* Mantiene proporción */
}
  .grid-4,
  .grid-5 {
    grid-template-columns: 1fr;
  }

  /* 🔽 Estilo específico para íconos */
  .center img[src*="marti.jpg"],
  .services img[src*="cap1.jpg"],
  .services img[src*="cap2.jpg"],
  .services img[src*="cap3.jpg"] {
    width: 240px !important;
    height: 350px !important;
  }

  .services img[src*="wh.png"],
  .services img[src*="50anivers.png"],
  .services img[src*="shield.png"] {
    width: 80px !important;
    height: 80px !important;
  }
}

@media screen and (max-width: 768px) {
.top_header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  text-align: center;
}

.top_header section {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 1rem;
  gap: 0.3rem;
}

.top_header i {
  font-size: 1.2rem;
  margin-bottom: 0.3rem;
}

.bottom_content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.bottom_content section {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.bottom_content a {
  font-size: 0.95rem;
  text-align: center;
}

.copyright {
  margin-top: 1rem;
  display: flex;
  justify-content: center;
}

.copyright img {
  width: 100px;
  height: auto;
  display: block;
}

}
@media screen and (max-width: 768px) {

  h1 {
    font-size: 1.6rem;
    padding: 2rem 1rem;
    text-align: center;
    font-weight: 300;
  }

  /* Carousel responsivo */
  section.carousel {
    padding: 0.5rem 0 1rem 0;
    margin-top: 13rem;
  }

  carousel-3d {
    width: 100% !important;
    max-width: 250px;
    height: auto !important;
    margin: 0 auto;
  }

  /* 🔥 Ajuste correcto: solo se reduce la imagen, NO el carrusel */
  carousel-3d img {
    width: 25% !important;   /* ← Reduce solo la imagen */
    height: auto !important;
    object-fit: cover;
    transform: translateZ(0);
    margin: 0 auto;          /* ← Centra la imagen dentro del slide */
    display: block;          /* ← Evita saltos laterales */
  }
}


@media screen and (max-width: 768px) {
  .main-header-image {
    max-height: 200px;
    width: 100%;
    object-fit: cover;
    margin: 0 auto;
  }
}

.google-review-box {
    border: 1px solid #ddd;
    padding: 18px;
    max-width: 350px;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    font-family: Arial, sans-serif;
}

.google-logo {
    height: 22px;
    margin-right: 8px;
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.rating {
    font-size: 20px;
    font-weight: bold;
    color: #fbbc04;
}

.review-text {
    margin: 5px 0 15px;
    font-size: 14px;
    color: #444;
}

.review-button {
    display: inline-block;
    padding: 10px 14px;
    background: #4285f4;
    color: white;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.review-button:hover {
    background: #3367d6;
}


.carru-furgoimage{
  width: 350px; height: 200px;
}

.grid-4 strong{
  margin-top: 25px;
}

/* Tablets */
@media screen and (max-width: 768px) {

  .carru-furgoimage {
      width: 260px !important;
      height: 180px !important;
  }

  .grid-4 strong{
  margin-bottom: 25px;
}


}

/* Móviles */
@media screen and (max-width: 480px) {
  

  .carru-furgoimage {
      width: 260px !important;
      height: auto !important;
  }

  .grid-4 strong{
  margin-bottom: 25px;
}


  
}