/* 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;
}

/* Sección completa */
.contact-section {
    background-image: url(/MULTIMEDIA/Contacto/ContactoFondo.webp);
    background-size: cover;        /* hace que la imagen cubra TODO */
    background-repeat: no-repeat;  /* evita que se repita */
    background-position: center;   /* centra la imagen */
    padding: 120px 20px 120px;
    display: flex;
    justify-content: center;
    margin-top: 60px; /* 🔥 baja toda la sección */
}
/* Caja principal */
.contact-container {
    background: white;
    width: 900%;
    max-width: 600px;
    padding: 35px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.25);
    text-align: center;
}

/* Título */
.contact-title {
    font-family: "ComicSans", cursive;
    font-size: 45px;
    color: var(--rojo-shyy);
    margin-bottom: 10px;
}

/* Texto descriptivo */
.contact-text {
    font-size: 16px;
    color: #333;
    margin-bottom: 25px;
    line-height: 1.5;
}

/* Lista de contactos */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
}

.contact-item {
    background: var(--rosa-suave);
    padding: 12px;
    border-radius: 15px;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 600;
    transition: background .3s ease, transform .3s ease;
}

/* Efecto hover sexy */
.contact-item:hover {
    background: var(--rosa-medio);
    transform: scale(1.04);
}

/* BOTÓN DE CONTACTO */
.btn-contact {
    display: inline-block;
    background: var(--rojo-shyy);
    color: white;
    padding: 14px 30px;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;

    /* transiciones lindas */
    transition: background .3s ease, transform .3s ease, box-shadow .3s ease;
}

/* Hover del botón */
.btn-contact:hover {
    background: #ff8a8a;
    transform: scale(1.08);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* ============================
            FOOTER
============================= */
.footer {
    background: #ffffff;      /* blanco */
    width: 100vw;             /* ocupa TODO el ancho */
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    
    padding: 40px 0;
    color: black;             /* letras negras */
}

.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);
}

/* ===== 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 móvil */
@media (max-width: 768px) {
  .floating-btn {
    width: 50px;
    height: 50px;
  }
  #btn-up {
    bottom: 70px;
  }
  #btn-whatsapp {
    bottom: 15px;
  }
}

/* ============================
      📱 RESPONSIVE GENERAL
============================= */

@media (max-width: 1024px) {
    .menu {
        display: none;
    }

    .hamburger {
        display: flex;
    }
}

/* ============================
      📱 MOBILE / TABLET
============================= */
@media (max-width: 768px) {

    /* ==== HEADER ==== */
    .shyy-header {
        padding: 12px 18px;
    }

    .logo {
        font-size: 16px;
    }

    .menu a {
        font-size: 14px;
        margin-left: 20px;
    }

    /* ==== CONTACT SECTION ==== */
    .contact-section {
        padding: 100px 15px;
        margin-top: 50px;
        background-position: center top;
    }

    .contact-container {
        width: 100%;
        max-width: 90%;
        padding: 25px;
        border-radius: 16px;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .contact-item {
        padding: 10px;
        font-size: 14px;
    }

    .btn-contact {
        width: 100%;
        padding: 12px 0;
        font-size: 16px;
        border-radius: 30px;
    }

    /* ==== FOOTER ==== */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        justify-items: start;
        gap: 20px;
    }

    .footer-col h3 {
        font-size: 26px;
    }

    .footer-col a {
        font-size: 13px;
    }

    .footer-btn {
        width: 100%;
        padding: 12px;
    }
}

/* ============================
      📱 RESPONSIVE GENERAL
============================= */
@media (max-width: 1024px) {

    .menu {
        display: flex; /* debe estar visible para poder deslizarse */
    }

    .hamburger {
        display: flex;
    }
}

/* ============================
      📱 MOBILE / TABLET (768px)
============================= */
@media (max-width: 768px) {

    /* HEADER */
    .shyy-header {
        padding: 12px 18px;
    }

    .logo {
        font-size: 16px;
    }

    /* CONTACT CONTAINER */
    .contact-container {
        width: 100%;
        max-width: 90%;
        padding: 25px;
        border-radius: 16px;
        margin: 0 auto;
    }

    .contact-title {
        font-size: 32px;
    }

    .contact-text {
        font-size: 14px;
        margin-bottom: 20px;
    }

    /* FOOTER */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: left;
        justify-items: start;
        gap: 20px;
    }

    .footer-col h3 {
        font-size: 26px;
    }

    .footer-col a {
        font-size: 13px;
        text-align: left;
    }

    .footer-btn {
        width: 100%;
        padding: 12px;
    }

    /* ============================
          MENÚ SLIDE RESPONSIVE
    ============================= */
    .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);
    }
}


/* ============================
      📱 EXTRA SMALL (480px)
============================= */
@media (max-width: 480px) {

    .contact-container {
        max-width: 95%;
        padding: 20px;
    }

    .contact-title {
        font-size: 28px;
    }

    .btn-contact {
        font-size: 15px;
    }
}
