﻿/* ======== GENERAL ======== */
html, body {
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    background-color: #0a0a0a;
    color: #f5f5f5;
}

/* ======== NAVBAR ======== */
.navbar {
    background-color: #000;
    color: #DAAF0F;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    box-shadow: 0 2px 8px rgba(218, 175, 15, 0.25);
    border-bottom: 1px solid rgba(218,175,15,0.4);
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .logo img {
        height: 70px;
        filter: drop-shadow(0 0 8px rgba(218,175,15,0.5));
    }

    .logo .titulo h1 {
        font-size: 26px;
        font-weight: 700;
        margin: 0;
        color: #DAAF0F;
    }

    .logo .titulo span {
        color: #fff;
    }

    .logo p {
        margin: 0;
        font-size: 13px;
        color: #ccc;
    }

/* ======== MENU ======== */
.menu ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.menu a {
    color: #DAAF0F;
    text-decoration: none;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 15px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

    .menu a:hover,
    .menu a.active {
        background-color: #DAAF0F;
        color: #000;
        box-shadow: 0 0 10px rgba(218,175,15,0.6);
    }

/* ======== CONTENIDO ======== */
.contenido {
    padding: 60px 10%;
    text-align: center;
}

    .contenido h2 {
        color: #DAAF0F;
        font-weight: 700;
        margin-bottom: 10px;
    }

    .contenido p {
        color: #ddd;
        font-size: 16px;
        line-height: 1.8;
    }

/* ======== FOOTER ======== */
.footer {
    background-color: #000;
    text-align: center;
    padding: 20px;
    color: #888;
    border-top: 1px solid rgba(218,175,15,0.4);
    font-size: 14px;
}

/* ======== RESPONSIVE ======== */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        text-align: center;
    }

    .menu ul {
        flex-direction: column;
        gap: 15px;
    }

    .logo img {
        height: 55px;
    }
}

/* === HERO SECTION (Inicio) === */
.hero-section {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 80vh;
    background: radial-gradient(circle at center, #0e0e0e 0%, #000 100%);
    color: #DAAF0F;
    text-align: center;
    padding: 40px 20px;
    animation: fadeIn 1.2s ease-in-out;
}

/* === LOGO CIRCULAR CON BRILLO === */
.hero-logo-wrapper {
    position: relative;
    width: 270px;
    height: 270px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #1a1a1a, #000);
    box-shadow: 0 0 25px rgba(218,175,15,0.4), inset 0 0 10px rgba(218,175,15,0.3);
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
    overflow: hidden;
    animation: floatLogo 3s ease-in-out infinite alternate;
}

    /* Contorno dorado satinado */
    .hero-logo-wrapper::before {
        content: "";
        position: absolute;
        inset: 0;
        border-radius: 50%;
        border: 4px solid transparent;
        background: linear-gradient(135deg, #DAAF0F, #fff, #DAAF0F) border-box;
        -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        animation: rotateGlow 6s linear infinite;
    }

/* Logo interior */
.hero-logo {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(218,175,15,0.8));
    z-index: 2;
}

/* Efecto de brillo animado */
@keyframes rotateGlow {
    0% {
        transform: rotate(0deg);
        opacity: 0.9;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.9;
    }
}

/* Efecto de “latido” suave */
.hero-logo-wrapper::after {
    content: "";
    position: absolute;
    inset: -10px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(218,175,15,0.2) 0%, transparent 80%);
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        transform: scale(1);
        opacity: 0.4;
    }

    50% {
        transform: scale(1.08);
        opacity: 0.8;
    }
}

/* === Responsive === */
@media (max-width: 768px) {
    .hero-logo-wrapper {
        width: 190px;
        height: 190px;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }
}


.hero-title {
    font-size: 58px;
    font-weight: 700;
    margin: 25px 0 10px 0;
    text-transform: uppercase;
    color: #FFD700;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(218,175,15,0.8);
    animation: fadeSlide 1.4s ease-out;
}

    .hero-title span {
        color: #fff;
    }

.hero-subtitle {
    font-size: 20px;
    color: #ccc;
    margin-bottom: 25px;
    font-weight: 400;
    letter-spacing: 1px;
    animation: fadeSlide 1.6s ease-out;
}

.hero-divider {
    width: 180px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #DAAF0F, transparent);
    margin: 25px auto;
    border-radius: 2px;
    animation: pulseLine 2s infinite ease-in-out;
}

.hero-text {
    font-size: 18px;
    color: #eee;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeSlide 1.8s ease-out;
}

/* === ANIMATIONS === */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSlide {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes floatLogo {
    from {
        transform: translateY(0px);
    }

    to {
        transform: translateY(-15px);
    }
}

@keyframes pulseLine {
    0%, 100% {
        opacity: 0.3;
        transform: scaleX(0.9);
    }

    50% {
        opacity: 1;
        transform: scaleX(1.1);
    }
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .hero-title {
        font-size: 40px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-logo {
        width: 200px;
    }
}

/* ======== REGISTRO WIZARD ======== */
.registro-container {
    max-width: 800px;
    margin: 50px auto;
    padding: 40px;
    background: #111;
    border: 1px solid rgba(218,175,15,0.3);
    border-radius: 16px;
    box-shadow: 0 0 25px rgba(218,175,15,0.15);
    animation: fadeIn 0.8s ease-in-out;
}

.registro-titulo {
    color: #DAAF0F;
    text-align: center;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 30px;
    text-shadow: 0 0 10px rgba(218,175,15,0.5);
}

/* pasos */
.wizard-step {
    display: none;
}

    .wizard-step.active {
        display: block;
    }

    .wizard-step h3 {
        color: #DAAF0F;
        margin-bottom: 20px;
        border-bottom: 1px solid rgba(218,175,15,0.3);
        padding-bottom: 10px;
        text-align: left;
    }

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr; /* dos columnas iguales */
    gap: 20px 30px;
    align-items: center;
}

    .form-grid > div {
        display: flex;
        flex-direction: column;
    }

.direccion-field {
    grid-column: 1 / span 2; /* dirección ocupa ambas columnas */
}


    .form-grid label {
        grid-column: span 2;
        color: #ccc;
        font-weight: 500;
        margin-top: 8px;
    }

.input-mk {
    width: 100%;
    background: #000;
    border: 1px solid rgba(218,175,15,0.4);
    border-radius: 6px;
    color: #fff;
    padding: 10px;
    font-family: 'Montserrat';
    transition: 0.3s;
}

    .input-mk:focus {
        outline: none;
        box-shadow: 0 0 10px rgba(218,175,15,0.5);
        border-color: #DAAF0F;
    }

/* fotos */
.foto-grid {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 15px;
}

.input-mk-file {
    background-color: #111;
    border: 1px dashed rgba(218,175,15,0.4);
    padding: 8px;
    border-radius: 8px;
    color: #DAAF0F;
    width: 100%;
}

.foto-preview {
    margin-top: 10px;
    border-radius: 10px;
    border: 2px solid #DAAF0F;
    box-shadow: 0 0 10px rgba(218,175,15,0.3);
}

/* botones */
.btn-mk, .btn-mk-secondary {
    padding: 10px 25px;
    border: none;
    border-radius: 6px;
    font-weight: 600;
    font-family: 'Montserrat';
    cursor: pointer;
    transition: 0.3s;
}

.btn-mk {
    background: #DAAF0F;
    color: #000;
    box-shadow: 0 0 12px rgba(218,175,15,0.4);
}

    .btn-mk:hover {
        background: #FFD700;
        box-shadow: 0 0 20px rgba(218,175,15,0.6);
    }

.btn-mk-secondary {
    background: #222;
    color: #DAAF0F;
    border: 1px solid #DAAF0F;
}

    .btn-mk-secondary:hover {
        background: #DAAF0F;
        color: #000;
    }

/* mensaje */
.mensaje-exito {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: #00ff88;
    font-weight: 600;
    text-shadow: 0 0 8px rgba(0,255,136,0.6);
}

/* transición */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.foto-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 25px;
    margin-top: 25px;
    justify-items: center;
}

.foto-item {
    background: #0a0a0a;
    border: 1px solid rgba(218,175,15,0.4);
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 0 10px rgba(218,175,15,0.15);
    width: 100%;
    max-width: 280px;
    text-align: center;
}

.camara-preview {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #DAAF0F;
    margin-top: 10px;
}

.camara-botones {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.foto-preview {
    margin-top: 10px;
    border-radius: 10px;
    border: 2px solid #DAAF0F;
    box-shadow: 0 0 15px rgba(218,175,15,0.4);
    width: 100%;
    max-width: 230px;
    display: none;
    transition: all 0.4s ease;
}

    .foto-preview[src] {
        display: block;
        opacity: 1;
    }


.navbar {
    background-color: #000 !important;
    border-bottom: 1px solid rgba(218,175,15,0.4);
    box-shadow: 0 2px 8px rgba(218,175,15,0.25);
    padding: 10px 20px;
}

.navbar-brand img.logo-img {
    height: 65px;
    border-radius: 50%;
    filter: drop-shadow(0 0 6px rgba(218,175,15,0.6));
}

.navbar-brand h1 {
    font-size: 22px;
    color: #DAAF0F;
    font-weight: 700;
    margin: 0;
    line-height: 1;
}

.navbar-brand span {
    color: #fff;
}

.navbar-brand p {
    font-size: 12px;
    color: #bbb;
    margin: 0;
}

.nav-link {
    color: #DAAF0F !important;
    font-weight: 600;
    margin-left: 10px;
}

    .nav-link:hover, .nav-link.active {
        color: #000 !important;
        background-color: #DAAF0F;
        border-radius: 6px;
        box-shadow: 0 0 10px rgba(218,175,15,0.6);
    }

/* Botón hamburguesa dorado */
.navbar-dark .navbar-toggler {
    border-color: #DAAF0F;
}

.navbar-dark .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(218,175,15, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== MENU HAMBURGUESA ===== */
.menu-toggle {
    display: none;
    font-size: 26px;
    color: #DAAF0F;
    cursor: pointer;
    transition: color 0.3s ease;
}

    .menu-toggle:hover {
        color: #fff;
    }

/* Responsive */
@media (max-width: 768px) {
    .menu {
        display: none;
        width: 100%;
        background-color: #000;
        border-top: 1px solid rgba(218,175,15,0.4);
        padding: 10px 0;
        box-shadow: 0 2px 10px rgba(218,175,15,0.25);
        animation: fadeDown 0.3s ease-in-out;
    }

        .menu.active {
            display: block;
        }

        .menu ul {
            flex-direction: column;
            align-items: center;
            gap: 12px;
        }

    .menu-toggle {
        display: block;
    }
}

@keyframes fadeDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======= POSICIÓN DEL MENÚ HAMBURGUESA ======= */
.menu-toggle {
    display: none;
    font-size: 28px;
    color: #DAAF0F;
    cursor: pointer;
    transition: color 0.3s ease;
    margin-left: auto; /* lo empuja a la derecha */
}

/* En pantallas pequeñas lo alineamos correctamente */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: space-between; /* separa logo y botón */
        padding: 10px 25px;
    }

    .menu-toggle {
        display: block;
        position: relative;
        right: 10px;
        top: 0;
    }

    .menu {
        display: none;
        width: 100%;
        background-color: #000;
        border-top: 1px solid rgba(218,175,15,0.4);
        padding: 15px 0;
        box-shadow: 0 4px 10px rgba(218,175,15,0.25);
        animation: fadeDown 0.3s ease-in-out;
    }

        .menu.active {
            display: block;
        }
}

