/* 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;
}



/**/

body {
    margin: 0;
    font-family: Arial, sans-serif;
    background: linear-gradient(180deg, #410b0b, #1a0101);
}


/* GRID GENERAL */
.blog-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(700px, 1fr));
    gap: 30px;
    padding: 20px 40px 45px;
    margin-top: 60px;
}

/* TARJETAS */
.blog-card {
    background: #ffffff;
    backdrop-filter: blur(8px);
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
    overflow: hidden;
    cursor: pointer;
    transition: transform .35s ease, box-shadow .35s ease;
    text-decoration: none;
    color: inherit;
}

/* EFECTO HOVER */
.blog-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: #1a1a1a;
}

/* IMÁGENES */
.blog-card img {
    width: 100%;
    display: block;
    transition: transform 0.3s;
    border-bottom: 2px solid #ffffff;
}

.blog-card:hover img {
    transform: scale(1.05);
}

/* TAGS */
.tags {
    padding: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px
}

/* BASE IGUALITA */
.tag {
    background-color: #f0eeed;
    padding: 5px 10px;
    border-radius: 12px;
    font-size: 0.85em;

    cursor: pointer;
    transition: background-color 0.3s, color 0.3s, transform 0.2s;
}

/* HOVER → ROJO */
.tag:hover {
    background-color: #6d1514; /* rojo-shyy */
    color: #fff;
    transform: translateY(-2px);
}

/* CLICK → LAVANDA */
.tag:active {
    background-color: #89a0d3; /* lavanda */
    color: #fff;
    transform: scale(0.95);
}


/* ============================
            FOOTER
============================= */
.footer {
    width: 100%;
    background: #ffffff;
    padding: 40px 0;
    color: black;
}


.footer-grid {
    width: 90%;
    max-width: 1300px;    /* columnas centradas */
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.footer-col h3 {
    font-size: 34px;
    margin-bottom: 15px;
    color: #000;
}

.footer-col a {
    color: #000;
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
}

.footer-form {
    display: flex;
    flex-direction: column;
}

.footer-form input {
    padding: 12px;
    border-radius: 15px;
    border: 1px solid #ccc;
    margin-bottom: 10px;
    color: #000;
}

.footer-btn {
    padding: 12px;
    background: var(--rojo-shyy);
    color: white;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.footer-btn:hover {
    background: #ff8a8a; /* color bonito al pasar */
    transform: scale(1.05);
}


.menu {
    display: flex;
    gap: 30px;
}

/* ===== 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;
  }
}
/* RESPONSIVE DISPOSITIVOS OTROS */


@media (max-width: 850px) {

    .hamburger {
        display: flex;
    }

    .menu {
        position: fixed;
        right: -100%;
        top: 0;
        width: 70%;
        height: 100vh;
        background: var(--rosa-suave);
        flex-direction: column;
        padding: 60px 30px;
        gap: 25px;
        transition: 0.3s ease;
        z-index: 9998;
    }

    .menu.active {
        right: 0;
    }

    /* 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);
    }
}

@media (max-width: 768px) {
    .blog-container {
        grid-template-columns: 1fr;
        padding: 20px 20px 45px;
        justify-items: center; /* CENTRA tus cards */
    }

     .blog-card {
        width: 100%;
        max-width: 500px; /* para que no se estiren feo */
    }
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-col {
        margin-bottom: 20px;
    }
}
