/* =========================
   RESET GENERAL
========================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

/* =========================
   VARIABLES
========================= */
:root {
    --negro: #0f0f0f;
    --negro-card: #1a1a1a;
    --blanco: #ffffff;
    --gris: #cccccc;
    --amarillo: #f5c400;
    --naranja: #ff9800;
    --naranja-admin: #ff6600; 
}

/* =========================
   BODY / APP
========================= */
body {
    background: var(--negro);
    color: var(--blanco);
    min-height: 100vh;
}

.app {
    position: relative;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
}

/* =========================
   FONDO
========================= */
.background {
    position: fixed;
    inset: 0;
    background:
        linear-gradient(rgba(0,0,0,0.75), rgba(0,0,0,0.85)),
        url('../img/fondo.jpg') center / cover no-repeat;
    z-index: 1;
}

/* =========================
   CONTENIDO GENERAL
========================= */
.content {
    position: relative;
    z-index: 2;
    max-width: 420px;
    margin: 0 auto;
    padding: 25px 16px 40px;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* =========================
   HOME / INDEX
========================= */
.home {
    min-height: 100vh;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo {
    max-width: 280px;
    margin-bottom: 25px;
}

.logo img {
    width: 100%;
    filter: drop-shadow(0 6px 16px rgba(0,0,0,0.8));
}

.home-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    margin-top: 20px;
    align-items: center;
}

/* BOTONES DE USUARIO (Fusión cerrada: Negro avanza más) */
.home-links a {
    display: block;
    width: 100%;
    padding: 16px;
    /* Ajustamos de 5% a 20% y de 95% a 80% para achicar el centro amarillo */
    background: linear-gradient(90deg, #000000 20%, #ffb700 50%, #000000 80%);
    color: var(--blanco);
    font-weight: 800;
    border-radius: 14px;
    text-decoration: none;
    text-transform: uppercase;
    border: 2px solid var(--amarillo);
    box-shadow: 0 4px 14px rgba(0,0,0,0.5);
    transition: 0.3s;
}

.home-links a:hover {
    transform: scale(1.03);
    filter: brightness(1.1);
}

/* BOTÓN ADMIN (Naranja y más chico) */
.admin-link {
    display: inline-block !important;
    width: auto !important;
    padding: 8px 20px !important; 
    background: var(--naranja-admin) !important;
    border: 1px solid #cc5500 !important;
    font-size: 14px !important;
    font-weight: bold !important;
    margin-top: 20px;
    border-radius: 8px !important;
    color: var(--blanco) !important;
    text-decoration: none;
}

.admin-link:hover {
    background: #e65c00 !important;
    transform: translateY(-2px);
}

/* =========================
   TITULOS
========================= */
.title {
    text-align: center;
    font-size: 28px;
    font-weight: 800;
    text-shadow: 0 3px 10px rgba(0,0,0,0.8);
}

/* =========================
   CATEGORÍAS
========================= */
.categoria {
    margin-top: 30px;
    margin-bottom: 10px;
    font-size: 22px;
    font-weight: 800;
    color: var(--amarillo);
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* =========================
   TARJETA SERVICIO
========================= */
.service-box {
    background: var(--negro-card);
    border-radius: 16px;
    padding: 16px;
    border: 2px solid rgba(255,255,255,0.12);
    display: flex;
    flex-direction: column;
    gap: 12px;
    box-shadow: 0 6px 20px rgba(0,0,0,0.6);
}

.service-img {
    width: 100%;
    border-radius: 12px;
    object-fit: cover;
}

.service-box h3 {
    font-size: 20px;
    font-weight: 800;
}

.descripcion {
    font-size: 14px;
    line-height: 1.55;
    color: var(--gris);
}

.precio {
    font-size: 20px;
    font-weight: 900;
    color: var(--amarillo);
}

/* =========================
   BOTÓN (Formularios)
========================= */
.admin-btn {
    width: 100%;
    padding: 14px;
    font-size: 16px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--amarillo), var(--naranja));
    border: none;
    border-radius: 14px;
    cursor: pointer;
}

/* =========================
   VOLVER
========================= */
.back-link {
    text-align: center;
    text-decoration: none;
    color: var(--blanco);
    opacity: 0.85;
    font-size: 14px;
}

.back-link:hover {
    opacity: 1;
}

/* =========================
   RESPONSIVE
========================= */
@media (min-width: 768px) {
    .content {
        max-width: 480px;
    }
}