/* AJUSTES GENERALES */

:root {
    --rojo-shyy: #6d1514;
    --rosa-suave: #fef5f2;
    --rosa-medio: #f3d7e9;
    --lavanda: #89a0d3;
    --negro: #1a1a1a;
    --blanco: #ffffff;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

* {
    font-family: 'Manrope', sans-serif;
}

/* HEADER */
.shyy-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 15px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: #ffffffcc;
    backdrop-filter: blur(10px);
}


.logo {
    font-family: "Manrope", sans-serif;
    font-size: 18px;
    font-weight: 600;
}

.menu a {
    margin-left: 30px;
    font-size: 15px;
    color: var(--negro);
    text-decoration: none;
}

.menu a:hover {
    color: var(--rojo-shyy);
}


/* HAMBURGER */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    z-index: 10000;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--negro);
    transition: .3s ease;
    border-radius: 2px;
}

/*hero*/
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 320px 40px 60px;
    color: var(--rojo-shyy);
}

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("MULTIMEDIA/Fondos/FONDO_HEROCARD.webp");
    background-size: cover;
    background-position: center right;
    background-repeat: no-repeat;
    z-index: 1;
}

.hero-card {
    position: relative;
    z-index: 1;
    max-width: 400px;
    background: rgba(255,245,242,0.7);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: 25px;
    margin-top: 30px;
}

.hero-card h2 {
    font-size: 28px;
    font-weight: 700;
    color: var(--rojo-shyy);
}

.hero-card p {
    font-size: 18px;
    line-height: 1.5;
    color: #555;
    margin-bottom: 10px;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 70px;
    font-size: 16px;
    font-weight: 600;
}

.btn--shyy {
    background: var(--rojo-shyy);
    color: white;
    transition: .3s;
}

.btn--shyy:hover {
    background: #ff8a8a;
    transform: scale(1.06);
}

/*galeria*/
.galeria {
    padding: 40px 80px;
}

.galeria h2 {
    text-align: center;
    margin-bottom: 30px;
}

/* GRID */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 25px;
}

/* CUADRADOS PERFECTOS */
.item-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    aspect-ratio: 1 / 1;
    pointer-events: auto; /* aseguramos clic */
    z-index: 5;
}

/* DEGRADADO */
.item-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,.55), transparent);
    opacity: 0;
    transition: .25s;
    z-index: 2;
    pointer-events: none;
}

.item-wrapper:hover::before {
    opacity: 1;
}

/* IMAGEN */
.item {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s;
    z-index: 3;
    cursor: pointer;
}

/* FIX para videos dentro del grid */
.item-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: auto;
    z-index: 3;
}


.item-wrapper:hover .item {
    transform: scale(1.05);
}

#lightbox {
    display: none;                 /* oculto por defecto */
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0,0,0,0.85);
    justify-content: center;       /* vuelve a centrar */
    align-items: center;
    z-index: 9998;
}


#lightbox-content {
    position: relative;
    z-index: 9999;
}

.close {
    position: fixed;            /* 🔥 fija en toda la pantalla */
    top: 20px;
    right: 20px;
    font-size: 40px;
    color: white;
    cursor: pointer;
    z-index: 100000;            /* 🔥 más alto que todo lo demás */
    transition: .25s ease;
}

/* hover rosadito */
.close:hover {
    color: #ff8a8a; /* tu rosadito */
    transform: scale(1.1);
}

/*sobre shy*/
.sobre {
    background: #1d1d1b;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 80px 0;
}

.sobre-container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    
}

.sobre-grid {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 40px;
}


.sobre-col h2 {
    font-size: 38px;
    color: white;
}

.sobre-col p {
    font-size: 16px;
    line-height: 1.6;
    color: white;
}

.btn-sobre {
    padding: 14px 26px;
    background: var(--rojo-shyy);
    color: white;
    border-radius: 40px;
    font-weight: 600;
    display: inline-block;
    margin-top: 20px;
    margin-bottom: 0; /* aquí lo quitas */
    transition: 0.3s ease;
    margin-left: 0px;
}


.btn-sobre:hover {
    background: #ff8a8a;
    transform: translateY(-3px);
}

/* Imagen grande */
.sobre-img-central {
    margin-top: 20px;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.sobre-img-central img {
    width: 100%;
    display: block;
}

/*footer*/
.footer {
    background: #fff;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    padding: 40px 0;
    color: #000;
}

.footer-grid {
    width: 90%;
    max-width: 1300px;
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    font-size: 34px;
    margin-bottom: 15px;
}

.footer-col a {
    display: block;
    font-size: 14px;
    margin-bottom: 8px;
}

.footer-form {
    display: flex;
    flex-direction: column;
}

.footer-form input {
    padding: 12px;
    border-radius: 15px;
    border: 1px solid #ccc;
}

.footer-btn {
    padding: 12px;
    background: var(--rojo-shyy);
    color: white;
    border-radius: 15px;
    font-weight: 600;
    transition: .3s;
}

.footer-btn:hover {
    background: #ff8a8a;
    transform: scale(1.05);
}

/* ===== BOTONES FLOTANTES ===== */
.floating-btn {
  position: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  cursor: pointer;
  z-index: 9999;
  transition: transform 0.2s, opacity 0.3s;
  opacity: 0.9;
  overflow: hidden;
}

.floating-btn img {
  width: 60%;
  height: 60%;
}

/* Hover efecto */
.floating-btn:hover {
  transform: scale(1.1);
  opacity: 1;
}

/* Posiciones */
#btn-up {
  bottom: 90px;
  right: 20px;
  background: #6d1514;
}

#btn-whatsapp {
  bottom: 20px;
  right: 20px;
  background: #25d366;
}

/* Responsive móvil */
@media (max-width: 768px) {
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  #btn-up {
    bottom: 70px;
  }
  #btn-whatsapp {
    bottom: 15px;
  }
}
/*------------------------------------------------------------------------------------------------*/

/*tel 480*/
@media (max-width: 480px) {
    .hero {
        padding: 140px 20px 40px;
    }

    .hero-card h2 { font-size: 20px; }
    .hero-card p { font-size: 14px; }

    .galeria {
        padding: 20px 15px;
    }

    .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
}

/*tel 768*/
@media (max-width: 768px) {

    /* oculto el menú grande */
    .menu {
        position: fixed;
        top: 0;
        right: -100%;        /* inicia fuera */
        width: 70%;
        height: 100vh;       /* ♥ ocupa todo el alto */
        background: var(--rosa-suave);
        flex-direction: column;
        padding: 70px 30px;
        gap: 25px;
        transition: .3s ease;
        z-index: 2000;
        display: flex;       /* SIEMPRE flex, nunca display:none */
    }

    /* cuando está activo */
    .menu.active {
        right: 0;            /* entra */
    }

    /* hamburguesa aparece */
    .hamburger {
        display: flex;
    }

    /* animación hamburguesa → X */
    .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(6px, -6px);
    }


    /* ---- RESTO DE TU RESPONSIVE ---- */

    .hero {
        padding: 160px 20px 40px;
        background-position: center;
    }

    .hero-card { max-width: 100%; }

    .grid {
        grid-template-columns: repeat(2, minmax(160px,1fr));
        gap: 18px;
    }

    .sobre-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/*tabl 1024*/
@media (max-width: 1024px) {

    .galeria { padding: 35px 30px; }

    .grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}

