@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;800&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: 'Nunito', sans-serif;
    font-size: 20px;
}

body{
    background-color: #ffffff;
}

.header{
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 5px 10%;
}

.header .logo{
    cursor: pointer;
}

.header .logo img{
    height: 50px;
    width: auto;
    transition: all 0.3s;
}

.header .logo img:hover{
    transform: scale(1.2);
}

.header .nav-links{
    list-style: none;
}

.header .nav-links li{
    display: inline-block;
    padding: 0 20px;    
}

.header .nav-links li:hover{
    transform: scale(1.1);
}

.header .nav-links a{
    font-size: 700;
    color: #eceff1;
    text-decoration: none;    
}

.header .nav-links li a:hover{
    color: #ff007b;
}

.header .btn button{
    font-weight: 700;
    color: #1b3039;
    padding: 9px 25px;
    background: #eceff1;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.header .btn button:hover{
    background-color: #e2f1f8;
    color: #ff007b;
    transform: scale(1.1);
}

.encabezado-img {
    background-image: url(img/Banner.jpg);
    height: 675px;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: #ffffff;
    text-shadow: -1px -1px 0 black,  /* Sombra superior izquierda */
     1px -1px 0 black,  /* Sombra superior derecha */
    -1px  1px 0 black,  /* Sombra inferior izquierda */
     1px  1px 0 black;  /* Sombra inferior derecha */;
}

.encabezado-img p {
    font-size: 30px;
}

.encabezado-img h1{
    font-size: 50px;
}

.encabezado-img .btn button{
    margin-top: 10px;
    font-weight: 700;
    color: #1b3039;
    padding: 10px 25px;
    background: #eceff1;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.encabezado-img .btn button:hover{
    background-color: #e2f1f8;
    color: #ff007b;
    transform: scale(1.1);
}
.services{
    width: auto;
    height: 100vh;
    background-color: #000000;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}
.title-services {
    margin-top: 20px;
    font-size: 50px;
    color: #ff007b;
    text-shadow: -1px -1px 0 rgb(255, 255, 255),  /* Sombra superior izquierda */
     1px -1px 0 rgb(255, 255, 255),  /* Sombra superior derecha */
    -1px  1px 0 rgb(255, 255, 255),  /* Sombra inferior izquierda */
     1px  1px 0 rgb(255, 255, 255);  /* Sombra inferior derecha */;
}

.p-services {
    font-size: 20px;
    width: 80%;
    text-align: justify;
    margin-top: 20px;
    margin-bottom: 150px;
    color: #ffffff;
}

.galery{
    width: 80%;
    height: 40%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

.galery-services {
    width: 24%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}

.box-img {
    margin-bottom: 15px;
    width: 100%;
    height: 60%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.box-img img{
    margin-top: 10px;
    border-radius: 6%;
    transition: all 0.3s ease 0s;
}

.box-img img:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 20px rgb(255, 255, 255);
}

.btn-img {
    margin-top: 150px;
    margin-bottom:10px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 25px;
    background: #ff007b;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}

.btn-img:hover {
    background-color: #e2f1f8;
    color: #ff007b;
    transform: scale(1.1);
}

.fotografia {
    width: auto;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-bottom: 50px; /* opcional para dar espacio al final */
}

.title-foto{
    margin-top: 20px;
    font-size: 50px;
    color: #ff007b;
}
.btn-2 {
    margin-top: 150px;
    margin-bottom:10px;
    font-weight: 700;
    color: #ffffff;
    text-decoration: none;
    padding: 9px 25px;
    background: #000000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease 0s;
}
.btn-2:hover {
    background-color: #e2f1f8;
    color: #000000;
    transform: scale(1.1);
}

.products {
    padding: 50px 0;
    text-align: center;
}

.products h2 {
    color: #111111;
    font-family: 'Oswald', sans-serif;
    font-size: 50px;
    text-transform: uppercase;
    margin-bottom: 50px;
}

.product-content {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 50px;
}

.product {
    text-align: center;
    padding: 30px;
    box-shadow: 0 0 20px rgb(0, 0, 0, 0.1);
}
.product img {
    width: 250px;
    height: 450px;
    margin-bottom: 20px;
}

.product h3 {
    font-size: 20px;
    color: #111111;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.product p, .precio {
    font-size: 16px;
    color: #111111;
    margin-bottom: 15px;
}

.precio {
    font-weight: 800;
}
.titlesslider {
    text-align: center;
    margin-top: 20px;
    font-size: 50px;
    color: #ff007b;
}

.slider {
  position: relative;
  width: 50%;
  max-width: 900px;
  margin: auto;
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
}

.slide img {
  width: 100%;
  height: 800px; /* o 250px o el alto que quieras */
  object-fit: contain; /* o 'cover' si quieres que se recorte bonito */
  display: block;
}

/* Botones */
.prev, .next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 2rem;
  background: rgba(0,0,0,0.3);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  cursor: pointer;
  z-index: 10;
}

.prev { left: 10px; }
.next { right: 10px; }

.footer {
  background-color: #111;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-family: sans-serif;
  margin-top: 3rem; /* ⬅️ esto crea separación desde lo de arriba */
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  height: 60px;
  margin-bottom: 1rem;
  transition: filter 0.4s ease;
  filter: grayscale(100%) brightness(0.8); /* blanco y negro tenue */
}

.footer-logo img:hover {
  filter: grayscale(0%) brightness(1); /* vuelve a color normal */
}

.footer-socials {
  margin-bottom: 1rem;
}

.footer-socials a {
  color: #fff;
  margin: 0 10px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: color 0.3s ease;
}

.footer-socials a i {
  font-size: 1.2rem;
}

.footer-socials a:hover {
  color: #aaa;
}

.footer-copy p {
  font-size: 0.9rem;
  color: #ccc;
}

@media (max-width: 1024px) {
    .header {
        flex-direction: column;
        height: auto;
        padding: 20px;
    }

    .header .nav-links li {
        padding: 10px 0;
        display: block;
        text-align: center;
    }

    .galery {
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }

    .galery-services {
        width: 45%;
        margin-bottom: 30px;
    }

    .product-content {
        grid-template-columns: repeat(2, 1fr);
    }

    .slider {
        width: 90%;
    }

    .prev, .next {
        font-size: 1.5rem;
        padding: 0.3rem 0.7rem;
    }

    .btn-img {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .footer {
        text-align: center;
    }

    .footer-socials {
        justify-content: center;
        flex-wrap: wrap;
    }

    .footer-copy p {
        text-align: center;
    }

    /* Ajuste banner */
    .encabezado-img {
        height: 80vh;
        padding: 20px;
        background-position: center;
    }

    .encabezado-img h1 {
        font-size: 36px;
    }

    .encabezado-img p {
        font-size: 24px;
    }

    /* Ajustes para servicios */
    .p-services {
        margin-bottom: 30px;
    }

    .galery {
        margin-top: 0;
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .header .nav-links {
        display: none;
    }

    .services {
        height: auto;
        padding: 20px;
    }

    .p-services {
        width: 90%;
        margin-bottom: 30px;
    }

    .galery {
        flex-direction: column;
        align-items: center;
        gap: 15px;
        margin-top: 0;
    }

    .galery-services {
        width: 90%;
        margin-bottom: 20px;
    }

    .product-content {
        grid-template-columns: 1fr;
    }

    .product img {
        width: 100%;
        height: auto;
    }

    .slide img {
        height: 300px;
    }

    .prev, .next {
        font-size: 1.2rem;
        padding: 0.3rem 0.6rem;
    }

    .footer-socials {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .btn-img {
        margin-top: 20px;
        margin-bottom: 20px;
    }

    .encabezado-img {
        height: 500px;
        padding: 10px;
        background-position: center;
    }

    .encabezado-img h1 {
        font-size: 24px;
    }

    .encabezado-img p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .header .btn button {
        padding: 8px 15px;
        font-size: 16px;
    }

    .title-services, .title-foto, .titlesslider, .products h2 {
        font-size: 28px;
    }

    .btn-img, .btn-2 {
        padding: 8px 15px;
        font-size: 16px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .galery {
        gap: 10px;
    }

    .p-services {
        margin-bottom: 20px;
    }

    .prev, .next {
        font-size: 1rem;
        padding: 0.2rem 0.5rem;
    }

    .footer {
        text-align: center;
        padding: 1rem;
    }

    .footer-socials {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .footer-copy p {
        font-size: 0.8rem;
    }

    .encabezado-img {
        height: 450px;
        padding: 5px;
        background-position: top center;
    }

    .encabezado-img h1 {
        font-size: 20px;
    }

    .encabezado-img p {
        font-size: 14px;
    }
}


.header {
    background-color: #000000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 85px;
    padding: 5px 10%;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

/* Agrega espacio debajo para evitar que tape el contenido */
body {
    padding-top: 85px;
}

/* 🍔 Hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    z-index: 1100;
    margin-left: auto;
    margin-right: 10px;
    margin-top: -30px; /* 👈 esto lo sube un poco */
}

.hamburger span {
    height: 3px;
    width: 25px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
    transition: 0.3s ease;
}

/* ❌ Animación hamburguesa */
.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger.active span:nth-child(2) {
    opacity: 0;
}
.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* 📱 Menú en responsive */
.nav-links.nav-active {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    background-color: #000;
    width: 100%;
    position: absolute;
    top: 85px;
    left: 0;
    padding: 1rem 0;
    z-index: 100;
}

/* Responsive */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-links {
        display: none;
    }

    .header {
        padding: 10px 5%;
    }

    .btn {
        display: none;
    }
}

/* 🔝 Botón volver arriba */
#btnTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #ff007b;
  color: white;
  border: none;
  padding: 12px 15px;
  border-radius: 50%;
  font-size: 20px;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  transition: background-color 0.3s, transform 0.3s;
  display: none; /* Oculto por defecto */
}

#btnTop:hover {
  background-color: #e2f1f8;
  color: #ff007b;
  transform: scale(1.2);
}

/* Responsive - más pequeño en móviles */
@media (max-width: 480px) {
  #btnTop {
    bottom: 20px;
    right: 20px;
    padding: 10px;
    font-size: 18px;
  }
}


/* 🌐 Botones flotantes de redes */
.social-floating {
  position: fixed;
  top: 40%;
  left: 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  z-index: 999;
}

.social-btn {
  width: 45px;
  height: 45px;
  background-color: #000;
  color: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
  transition: transform 0.3s ease, background-color 0.3s ease;
  font-size: 22px;
}

.social-btn:hover {
  transform: scale(1.2);
}

/* Colores personalizados */
.social-btn.whatsapp {
  background-color: #25D366;
}

.social-btn.instagram {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.social-btn.tiktok {
  background-color: #000;
  color: #fff;
}