/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.img-service-container {
    display: flex;
    justify-content: center;  /* Centra horizontalmente */
    align-items: center;      /* Centra verticalmente */
    height: 100%;             /* Asegúrate de que el contenedor tenga altura */
}

.img-service {
    min-width: 310px;
    max-width: 45vw;
    border-radius: 15px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave para el efecto elevado */
}



.map iframe {
  width: 100%;
  max-width: 600px;
  border: 0;
  background-color: #4682b4;
  padding: 20px;
  color: white;
  text-align: center;
  border-radius: 12px 12px 0 0;
  margin-top: 20px;

}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10;
    margin-top: -40px;
}

.certificates {
    display: flex;
    justify-content: center;
    width: 40vw;
    min-width: 350px;
    border-radius: 10px;
    background-color: white;
    z-index: 10;
    padding: -5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); /* Sombra suave para el efecto elevado */
}


h5 {
    color: #222;
    padding: 5px;
}

body {
    font-family: 'Raleway', sans-serif;
    background-color: #f4f4f4;
}

/* Header and Navigation */
header {
    background-color: #22346B;
    text-align: center;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}

.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.img-logo {
    width: 270px;
    margin: 5px;
}

.navbar .logo img {
    width: 200px;
    padding: 10px;
    margin-bottom: 5px;
}


.navbar .nav-links {
    list-style: none;
    display: flex;
}

.navbar .nav-links li {
    margin-left: 20px;
}

.navbar .nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 600;
}

/* Hero Section */
.hero {
    position: relative;
    text-align: center;
    padding: 130px 50px;
    color: white;
    background-image: url('https://res.cloudinary.com/dhvpdrd8m/image/upload/v1738713866/image_oqrq3a.jpg'); /* Reemplaza con la URL de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Tono oscuro: ajusta la opacidad */
    z-index: 1;
}

.hero-portfolio {
    position: relative;
    text-align: center;
    padding: 130px 50px;
    color: white;
    background-image: url('https://res.cloudinary.com/dhvpdrd8m/image/upload/v1738965908/Create_a_Portfolio_lidn9r.jpg'); /* Reemplaza con la URL de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.hero-portfolio::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Tono oscuro: ajusta la opacidad */
    z-index: 1;
}

.hero-servicios {
    position: relative;
    text-align: center;
    padding: 130px 50px;
    color: white;
    background-image: url('https://res.cloudinary.com/dhvpdrd8m/image/upload/v1741383079/file-2sHx_khbpmu.jpg'); /* Reemplaza con la URL de tu imagen */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
    border-top-left-radius: 14px;
    border-top-right-radius: 14px;
}

.hero-servicios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Tono oscuro: ajusta la opacidad */
    z-index: 1;
}

.hero h1, .hero p, .hero, .cta-button, .hero-portfolio h1, .hero-portfolio p, .cta-button-portfolio, .hero-servicios h1, .hero-servicios p {
    position: relative;
    z-index: 2; /* Asegura que el texto quede sobre la superposición */
}



.hero h1, .hero-portfolio h1, .hero-servicios h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 3rem;
}

.hero p, .hero-portfolio p, .hero-servicios p {
    font-size: 1.2rem;
    margin: 10px 0;
}

.cta-button, .cta-button-portfolio {
    background: #58BD7D;
    color: #fff;
    padding: 0.75rem 1.5rem;
    font-family: 'Roboto', sans-serif;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    transition: background 0.3s;
    display: inline-block;
    margin-top: 20px; /* Add space between text and button */
}

.cta-button:hover, .cta-button-portfolio:hover {
    background: dodgerblue;
}

/* About Section */
.about {
    padding: 40px 20px;
    text-align: center;
}

.about h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
}

.about p {
    font-size: 1rem;
    margin-top: 20px;
    color: black;
    display: inline-block;
    background-color: white;
    padding: 18px;
    border-radius: 15px;
}

.img-services {
    width: 100%;
    max-width: 500px;
    margin-top: 20px;
    border-radius: 15px;
}

/* Collection Section */
.collection {
    padding: 40px 20px;
    background-color: #fff;
    text-align: center;
}

.collection h2 {
    font-family: 'Roboto', sans-serif;
    font-size: 2.5rem;
}

.gallery {
    display: flex;
    flex-wrap: wrap; /* Permite que las imágenes se ajusten en filas */
    justify-content: center; /* Centra las imágenes */
    gap: 15px; /* Espaciado entre elementos */
}

@media (max-width: 768px) {
    .item {
        flex: 1 1 100%; /* Las imágenes ocupan toda la pantalla en dispositivos pequeños */
    }

    .item img {
        max-width: 100%; /* Asegura que no se desborden del contenedor */
    }
}

@media (max-width: 477px) {
    #prodetails {
        display: flex;
        flex-direction: column;
        align-items: center; /* Centra los elementos hijos horizontalmente */
        justify-content: center; /* Opcional: centra los elementos verticalmente */
        text-align: center; /* Centra texto o contenido alineado al texto */
    }

    #prodetails .single-pro-image {
        width: 100%;
        margin-right: 0px;
        display: flex; /* Hace que su contenido pueda usar flexbox */
        justify-content: center; /* Centra contenido horizontalmente dentro */
        align-items: center; /* Centra contenido verticalmente dentro */
    }

    #prodetails .single-pro-details {
        width: 100%;
    }
}


.product-link {
    text-decoration: none; /* Sin subrayado */
    color: inherit; /* Usa el color del texto del elemento padre */
}

.product-link h4 {
    margin: 0;
    padding: 0;
    font-size: 1.2rem;
}

.product-link:hover h4 {
    color: #f68d29; /* Cambia el color al pasar el cursor */
    text-decoration: underline; /* O agrega un subrayado */
}



.item {
    text-align: center;
    margin: 20px;
}

.item img {
    width: 100%;
    max-width: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    flex-wrap: wrap;
}

.item img:hover {
    transform: scale(1.01); /* Agranda el título ligeramente */
    transition: all 0.3s ease; /* Suaviza la transición */
}

.item h3 {
    margin-top: 10px;
    font-size: 1.2rem;
}

.item p {
    color:steelblue;
    padding: 5px;
    font-weight: 600;
}

/* Footer */
footer {
    background-color: #333;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

footer p {
    margin: 10px 0;
}

.social-media {
    margin: 20px 0;
}

.social-media a {
    margin: 0 10px;
}

.social-media img {
    width: 40px;
    height: 40px;
    transition: transform 0.3s;
    border-radius: 8px;
}

.social-media a:hover img {
    transform: scale(1.1);
}

/* Hover en los enlaces de navegación */
.navbar .nav-links a:hover {
    text-decoration: none; /* Añade un subrayado al pasar el cursor */
    transform: scale(1.1); /* Agranda el enlace ligeramente */
    transition: all 0.3s ease; /* Suaviza la transición */
    border-radius: 3px;
    margin: 2px;
    padding: 4px;
    background-color: steelblue;
    color: white;
}

/* Hover en los títulos de los productos */
.product-link:hover h4 {
    color: steelblue; /* Cambia el color a anaranjado */
    text-decoration: none; /* Añade un subrayado */
    transform: scale(1.01); /* Agranda el título ligeramente */
    transition: all 0.3s ease; /* Suaviza la transición */
}




#product1 {
    text-align: center;
    padding-top: 50px;
}


#product1 .pro-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    padding-top: 20px;
    flex-wrap: wrap;
}

#product1 .pro {
    width: 23%;
    min-width: 250px;
    padding: 10px 22px;
    border-radius: 25px;
    cursor: pointer;
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.1);
    margin: 15px 0;
    transition: 0.2s ease;
    position: relative;
}

#product1 .pro:hover {
    box-shadow: 20px 20px 30px rgba(0, 0, 0, 0.3);
}

#product1 .pro img {
    width: 100%;
    border-radius:  20px;
}

#product1 .pro .des {
    text-align: start;
    padding: 10px;
}

#product1 .pro .des span{
    color: #333;
    font-size: 12px;
    padding: 5px ;
}

#product1 .pro .des h5  {
    padding-top: 7px;
    color: black;
    font-size: 14px 0;
    width: 110%;
}

#product1 h2 {
    padding-top: 20px;
}

#product1 .pro .des i {
    font-size: 12px;
    color: steelblue;
}

#product1 .pro .des h4 {
    padding-top: 7px;
    font-size: 15px;
    font-weight: 700;
    color: steelblue;
    padding: 5px;
}

#product1 .pro .cart {
    width: 40px;
    height: 40px;
    line-height: 40px;
    border-radius: 50px;
    background-color: steelblue;
    font-weight: 500;
    color: steelblue;
    border: 1px solid white;
    position: absolute;
    bottom: 20px;
    right: 10px;
    padding: 2px;
}

.star img{
    width: 5px;
}

#prodetails {
    display: flex;
    margin-top: 20px;
}

#prodetails .single-pro-image {
    width: fit-content;
    margin-right: 50px;
    padding-left: 50px;
    max-width: 350px;
    flex-wrap: wrap;
}

.small-img-group {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
    flex-wrap: wrap;
    padding-top: 5px;
}

.small-img-col {
    flex-basis: 24%;
    cursor: pointer;
}

#prodetails .single-pro-details {
    width: 50%;
    padding-top: 30px;
}

#prodetails .single-pro-details h4 {
    padding: 50px 0 20px 0;
}

#prodetails .single-pro-details h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

#prodetails .single-pro-details select {
    display: block;
    padding: 5px 10px;
    margin-bottom: 10px;
}
#prodetails .single-pro-details input {
    width: 50px;
    height: 47px;
    padding-left: 10px;
    font-size: 16px;
    margin-right: 10px;
}

#prodetails .single-pro-details input:focus {
    outline: none;
}

#prodetails .single-pro-details button {
    background-color: steelblue;
    color: white;
}

#prodetails .single-pro-details span {
    line-height: 25px;
}

.portfolio-container, .servicios-container {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    padding-bottom: 30px;
}

.portfolio-img {
    display: flex;
    justify-content: center;
    width: 40vw;
    min-width: 350px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.about-page-cat-p {
    padding-top: 15px;
}

.frame-forms {
    width: 100%;
    height: 100vh;
}

