/* ================= RESET GENERAL ================= */
/* Quitamos márgenes y paddings por defecto */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
}

/* ================= ESTILO GENERAL DEL BODY ================= */
body {
    min-height: 100vh;

    /* Imagen de fondo */
    background-image: url("fondo.png");
    background-size: cover;        /* Cubre toda la pantalla */
    background-position: center;  /* Centrada */
    background-repeat: no-repeat;
    background-attachment: fixed;

    display: flex;
    flex-direction: column;
    align-items: center;
}


/* ================= TÍTULOS ================= */
h1 {
    margin: 40px 0 20px;
    font-size: 4rem;
    color: #ffffff;
    letter-spacing: 1px;
    text-align: center;
}

h2 {
    margin-top: 40px;
    font-size: 3rem;
    color: #ffffff;
    text-align: center;
}

h3 {
    margin: 30px 0 15px;
    color: #333;
}

h1, h2, h3 {
    color: #fff; /* color del texto */
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}

/* ================= TEXTO NORMAL ================= */
p {
    margin-top: 15px;
    font-size: 1.4rem;
    color: #fff;              /* texto blanco */
    text-align: center;
    font-weight: 600;

    /* borde negro suave */
    text-shadow:
        -1px -1px 0 #000,
         1px -1px 0 #000,
        -1px  1px 0 #000,
         1px  1px 0 #000;
}


/* ================= FORMULARIOS ================= */
form {
    width: 480px;
    background: rgba(255,255,255,0.9);
    backdrop-filter: blur(12px);
    padding: 35px;
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    animation: fadeIn 0.8s ease;
}

/* ================= ANIMACIÓN DE ENTRADA ================= */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ================= ETIQUETAS ================= */
label {
    display: block;
    margin-top: 16px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #444;
}

/* ================= INPUTS, SELECT Y TEXTAREA ================= */
input,
select,
textarea {
    width: 100%;
    margin-top: 6px;
    padding: 12px 14px;
    border-radius: 14px;
    border: 1px solid #ddd;
    background-color: #fafafa;
    font-size: 0.95rem;
    transition: all 0.25s ease;
}

/* Efecto al seleccionar el campo */
input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: #ff6b6b;
    background-color: #fff;
    box-shadow: 0 0 0 4px rgba(255,107,107,0.15);
}

/* Textarea redimensionable */
textarea {
    resize: vertical;
    min-height: 90px;
}

/* ================= FIELDSET ================= */
fieldset {
    margin-top: 15px;
    padding: 15px;
    border-radius: 16px;
    border: 1px solid #e6e6e6;
    background: #fff;
}

legend {
    padding: 0 10px;
    font-weight: 600;
    color: #ff6b6b;
}

/* ================= BOTONES ================= */
button,
input[type="submit"] {
    width: 100%;
    margin-top: 25px;
    padding: 14px;
    border-radius: 18px;
    border: none;
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
    color: #fff;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

/* Efecto hover en botones */
button:hover,
input[type="submit"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255,107,107,0.4);
}

/* Botón especial de verificar */
button[name="verificar"] {
    background: linear-gradient(135deg, #4facfe, #00c6ff);
}

/* ================= ENLACES ================= */
a {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 20px;
    border-radius: 18px;
    background: linear-gradient(135deg, #4facfe, #00c6ff);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
}

/* Hover enlaces */
a:hover {
    box-shadow: 0 10px 20px rgba(0,198,255,0.45);
}

/* ================= MENÚ DE NAVEGACIÓN ================= */
.navbar {
    margin-top: 40px;
    width: 480px;
    background: rgba(255,255,255,0.9);
    border-radius: 22px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    padding: 20px;
}

.navbar ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;   /* 👈 CENTRA LOS BOTONES */
}


.navbar li a {
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
}

/* ================= TABLA CLIENTES VIP ================= */
.vip-table {
    width: 480px;
    margin: 30px auto;
    border-collapse: collapse;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.vip-table thead {
    background: linear-gradient(135deg, #ff6b6b, #ff8787);
}

.vip-table th,
.vip-table td {
    padding: 14px 16px;
    text-align: center;
}

.vip-table th {
    color: #fff;
    font-weight: 700;
}

.vip-table td {
    border-bottom: 1px solid #eee;
    font-weight: 500;
    color: #333;
}

.vip-table tbody tr:nth-child(even) {
    background-color: #fafafa;
}

.vip-table tbody tr:hover {
    background-color: #ffecec;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 520px) {

    form,
    .navbar,
    .vip-table {
        width: 92%;
    }

    h1 {
        font-size: 1.9rem;
    }
}

/* ================= BLOG FABIAN ================= */

.blog {
    width: 70%;
    max-width: 900px;
    background: rgba(255,255,255,0.92);
    margin: 40px auto;
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 25px 50px rgba(0,0,0,0.15);
    animation: fadeIn 0.8s ease;
}

/* Títulos del blog */
.blog h1 {
    font-size: 2.2rem;
    margin-bottom: 25px;
    text-align: center;
}

.blog h2 {
    margin-top: 35px;
    margin-bottom: 10px;
    color: #ff6b6b;
}

/* Texto del blog */
.blog p {
    text-align: justify;
    line-height: 1.7;
    font-weight: 500;
}

/* Listas del blog */
.blog ul {
    margin: 15px 0 15px 30px;
}

.blog li {
    margin-bottom: 8px;
    font-weight: 600;
}

/* Responsive blog */
@media (max-width: 768px) {
    .blog {
        width: 90%;
        padding: 25px;
    }
}
