/* REGLAS GENERALES */
* {
    margin: 0; padding: 0; box-sizing: border-box;
}

body, html {
    height: 100%;
    font-family: 'Segoe UI', sans-serif;
    background-color: #000;
}

/* HERO SECTION */
.hero {
    position: relative;
    background-image: url('img/newyork.webp');
    background-size: cover;
    background-position: center;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
}

.overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.6);
}

.hero-content {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 20px;
}

.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero p { font-size: 1.2rem; margin-bottom: 30px; }

/* BOTONES PRINCIPALES */
.hero-buttons {
    display: flex;
    flex-direction: column; /* Los pone uno debajo del otro en móvil */
    align-items: center;    /* Centra los botones horizontalmente */
    justify-content: center;
    gap: 15px;
    width: 100%;            /* Ocupa todo el ancho para poder centrar */
    margin: 20px auto 0;    /* Centra el bloque completo y da espacio arriba */
    position: relative;
    z-index: 10;
}

.btn-main {
    width: 90%;
    max-width: 300px;
    padding: 15px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: 0.3s;
}

.btn-amarillo { 
    background-color: #ffcc00; /* El color oro del mall */
    color: #000;               /* Texto negro */
    display: flex;             /* Para alinear icono y texto */
    align-items: center;
    justify-content: center;
    gap: 10px;
    
    width: 85%;                /* Ancho ideal para celular */
    max-width: 280px;          /* No se estira de más en PC */
    padding: 14px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    
    /* ESTO ES LO QUE CENTRA EL BOTÓN EN EL INICIO */
    margin: 10px auto; 
    box-shadow: 0 4px 8px rgba(0,0,0,0.4);
    transition: 0.3s;
}

/* PAGINA REGALOS */
.regalos-page { padding: 40px 20px 120px; color: white; }
.titulo-oro { color: #ffd700; margin-bottom: 20px; }

.instrucciones-box {
    background: rgba(255,255,255,0.1);
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.link-google-directo {
    display: inline-block;
    margin: 10px 0;
    color: #ffcc00;
    border: 1px solid #ffcc00;
    padding: 5px 15px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.8rem;
}

/* GRID DE TARJETAS */
.regalos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.gift-card {
    border: 1px solid #ffd700;
    padding: 20px;
    border-radius: 15px;
    background: #111;
}

.price-tag {
    display: block;
    font-size: 2rem;
    color: #ffd700;
    margin: 10px 0;
    font-weight: bold;
}

.btn-solicitar {
    background: #25D366;
    color: rgb(0, 0, 0);
    font-weight: bold;
    text-align: center;
    padding: 10px;
    display: block;
    border-radius: 8px;
    text-decoration: none;
    margin-top: 15px;
}

/* FOOTER FIJO */
/* CONTENEDOR DEL BOTÓN */
.footer-fixed {
    position: fixed;
    bottom: 25px; /* Lo aleja del borde de la pantalla */
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center; /* ESTO LO CENTRA SÍ O SÍ */
    align-items: center;
    z-index: 1000;
    pointer-events: none;
}

/* EL BOTÓN EN SÍ */
.footer-button {
    pointer-events: auto; /* El botón sí recibe clics */
    background-color: #ffcc00;
    color: #000;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 15px; /* Más pequeño y fino */
    border-radius: 50px; /* Forma de píldora más moderna */
    font-weight: bold;
    font-size: 13px; /* Letra más pequeña */
    text-align: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    max-width: 85%;
    line-height: 1.2;
}

/* MEDIA QUERIES PARA PC */
@media (min-width: 768px) {
    .hero-buttons { flex-direction: row; justify-content: center; }
    .hero h1 { font-size: 4rem; }
}