/* =========================================
   ANGELIK WEB
   Identidad visual
   ========================================= */


/* ---------- CONFIGURACIÓN GENERAL ---------- */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #08060d;
    color: #f5f2ff;
    font-family: "Courier New", monospace;
    line-height: 1.6;
}


/* ---------- ENCABEZADO ---------- */

.header {
    position: fixed;
    top: 0;
    left: 0;

    width: 100%;
    height: 80px;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 0 7%;

    background: rgba(8, 6, 13, 0.85);
    border-bottom: 1px solid rgba(157, 78, 255, 0.25);

    backdrop-filter: blur(10px);

    z-index: 1000;
}


/* LOGOTIPO */

.logo {
    display: flex;
    align-items: center;
    gap: 12px;

    color: #ffffff;
    text-decoration: none;

    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 3px;
}

.logo img {
    width: 46px;
    height: 46px;

    object-fit: cover;

    border-radius: 50%;

    border: 1px solid rgba(192, 132, 252, 0.8);

    box-shadow:
        0 0 8px rgba(168, 85, 247, 0.7),
        0 0 18px rgba(168, 85, 247, 0.35);

    transition: 0.3s;
}

.logo:hover img {
    transform: scale(1.08);

    box-shadow:
        0 0 12px rgba(192, 132, 252, 0.9),
        0 0 25px rgba(168, 85, 247, 0.5);
}

.logo:hover img {
    transform: scale(1.08);

    filter:
        drop-shadow(0 0 8px rgba(192, 132, 252, 0.9)) drop-shadow(0 0 18px rgba(168, 85, 247, 0.5));
}

.logo span {
    color: #a855f7;
}


/* ---------- MENÚ ---------- */

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    position: relative;

    color: #c9c1d9;
    text-decoration: none;

    font-size: 0.85rem;
    letter-spacing: 1px;

    transition: 0.3s;
}

.nav a:hover {
    color: #b96cff;
}


/* Línea luminosa debajo del menú */

.nav a::after {
    content: "";

    position: absolute;

    width: 0;
    height: 1px;

    left: 0;
    bottom: -7px;

    background: #a855f7;

    box-shadow: 0 0 8px #a855f7;

    transition: 0.3s;
}

.nav a:hover::after {
    width: 100%;
}


/* ---------- SECCIÓN PRINCIPAL ---------- */

.hero {
    min-height: 100vh;

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 120px 10% 80px;

    position: relative;
    overflow: hidden;
}


/* CONTENIDO */

.hero-content {
    max-width: 700px;
    z-index: 2;
}


/* Texto pequeño */

.hero-subtitle {
    color: #a855f7;

    font-size: 0.75rem;
    letter-spacing: 4px;

    margin-bottom: 20px;
}


/* TÍTULO */

.hero h1 {
    font-family: "Courier New", monospace;

    font-size: clamp(4rem, 9vw, 8rem);

    line-height: 0.85;

    letter-spacing: -5px;

    color: #ffffff;

    text-shadow:
        0 0 10px rgba(168, 85, 247, 0.15);
}

.hero h1 span {
    color: #a855f7;

    text-shadow:
        0 0 15px rgba(168, 85, 247, 0.7),
        0 0 40px rgba(168, 85, 247, 0.25);
}


/* DESCRIPCIÓN */

.hero-description {
    margin-top: 35px;

    font-size: 1.05rem;

    color: #bdb5ca;

    max-width: 520px;

    line-height: 1.8;
}


/* ---------- BOTONES ---------- */

.hero-buttons {
    display: flex;

    gap: 15px;

    margin-top: 35px;
}

.btn {
    display: inline-block;

    padding: 13px 25px;

    border: 1px solid #a855f7;

    background: #a855f7;

    color: #ffffff;

    text-decoration: none;

    font-size: 0.8rem;

    letter-spacing: 1px;

    transition: 0.3s;

    box-shadow:
        0 0 15px rgba(168, 85, 247, 0.15);
}

.btn:hover {
    background: #c084fc;

    box-shadow:
        0 0 20px rgba(168, 85, 247, 0.5);
}


/* BOTÓN TRANSPARENTE */

.btn-outline {
    background: transparent;
}

.btn-outline:hover {
    background: #a855f7;
}


/* ---------- DECORACIÓN ---------- */

/* ---------- ELEMENTO VISUAL DEL HERO ---------- */

.hero-decoration {
    position: absolute;

    right: 7%;
    top: 50%;

    transform: translateY(-50%);

    width: 430px;
    height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    pointer-events: none;
}


/* Marco principal */

/* ---------- ILUSTRACIÓN DEL HERO ---------- */

.hero-frame {
    position: relative;

    width: 430px;
    height: 430px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: none;

    border-radius: 50%;
}


/* Anillo decorativo */

.hero-frame::before {
    content: "";

    position: absolute;

    width: 410px;
    height: 410px;

    border: 1px solid rgba(168, 85, 247, 0.35);

    border-radius: 50%;

    box-shadow:
        0 0 25px rgba(168, 85, 247, 0.08),
        inset 0 0 25px rgba(168, 85, 247, 0.05);

    animation: rotateCircle 25s linear infinite;

    z-index: 1;
}


/* Ilustración */

.hero-image {
    position: relative;

    width: 430px;
    height: 430px;

    object-fit: contain;

    z-index: 2;

    filter:
        drop-shadow(0 0 12px rgba(168, 85, 247, 0.35)) drop-shadow(0 0 30px rgba(168, 85, 247, 0.18));

    animation: heroFloat 5s ease-in-out infinite;
}


/* Brillo ambiental */

.hero-frame::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(168, 85, 247, 0.12) 0%,
            rgba(168, 85, 247, 0.04) 45%,
            transparent 70%);

    filter: blur(15px);

    z-index: 0;
}


/* ---------- ANIMACIÓN DEL GATO ---------- */

@keyframes heroFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-8px);
    }
}


/* Halo */

.hero-glow {
    position: absolute;

    width: 220px;
    height: 220px;

    border-radius: 50%;

    background:
        radial-gradient(circle,
            rgba(168, 85, 247, 0.20) 0%,
            rgba(168, 85, 247, 0.06) 40%,
            transparent 70%);

    filter: blur(10px);
}


/* Símbolo de código */

.hero-symbol {
    position: relative;

    z-index: 2;

    color: #c084fc;

    font-family: "Courier New", monospace;

    font-size: 4rem;

    font-weight: bold;

    text-shadow:
        0 0 10px rgba(168, 85, 247, 0.9),
        0 0 30px rgba(168, 85, 247, 0.5);

    animation: codePulse 3s ease-in-out infinite;
}


/* Luna */

.hero-moon {
    position: absolute;

    top: 35px;
    right: 55px;

    color: #d8a4ff;

    font-family: serif;

    font-size: 3rem;

    text-shadow:
        0 0 10px rgba(192, 132, 252, 0.9),
        0 0 25px rgba(168, 85, 247, 0.5);

    z-index: 3;
}


/* ---------- ANIMACIONES ---------- */

@keyframes rotateCircle {

    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}


@keyframes codePulse {

    0%,
    100% {
        transform: scale(1);

        opacity: 0.8;
    }

    50% {
        transform: scale(1.08);

        opacity: 1;
    }
}


/* ---------- SECCIONES ---------- */

.section {
    min-height: 70vh;

    padding: 100px 10%;

    border-top: 1px solid rgba(168, 85, 247, 0.12);
}

.section-number {
    color: #a855f7;

    font-size: 0.75rem;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.section h2 {
    font-size: 3rem;

    margin-bottom: 30px;

    color: #ffffff;
}


/* ---------- TARJETAS ---------- */

.services,
.projects {
    display: grid;

    grid-template-columns:
        repeat(auto-fit, minmax(250px, 1fr));

    gap: 25px;

    margin-top: 50px;
}


.service-card,
.project-card {
    padding: 30px;

    border: 1px solid rgba(168, 85, 247, 0.25);

    background:
        linear-gradient(145deg,
            rgba(168, 85, 247, 0.07),
            rgba(8, 6, 13, 0.8));

    transition: 0.3s;
}

.service-card:hover,
.project-card:hover {
    transform: translateY(-5px);

    border-color: #a855f7;

    box-shadow:
        0 0 25px rgba(168, 85, 247, 0.12);
}

.service-card h3,
.project-card h3 {
    color: #c084fc;

    margin-bottom: 15px;
}

.service-card p,
.project-card p {
    color: #aaa1b7;

    font-size: 0.9rem;
}

/* ---------- SERVICIOS ---------- */

.services-section {
    position: relative;
}

.section-intro {
    max-width: 600px;

    margin-top: 15px;

    color: #8f8799;

    font-size: 0.9rem;
}




.services {
    display: grid;

    grid-template-columns: repeat(6, 1fr);

    gap: 18px;

    margin-top: 55px;
}

.service-card {
    grid-column: span 2;
}

.service-card:nth-child(4) {
    grid-column: 2 / span 2;
}

.service-card:nth-child(5) {
    grid-column: 4 / span 2;
}

.service-card {
    position: relative;

    min-height: 330px;

    padding: 35px 25px;

    background:
        linear-gradient(145deg,
            rgba(168, 85, 247, 0.08),
            rgba(8, 6, 13, 0.95));

    border: 1px solid rgba(168, 85, 247, 0.25);

    overflow: hidden;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Línea decorativa superior */

.service-card::before {
    content: "";

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 2px;

    background:
        linear-gradient(90deg,
            transparent,
            #a855f7,
            transparent);

    opacity: 0.7;
}


/* Número */

.service-number {
    position: absolute;

    right: 18px;
    bottom: 12px;

    color: rgba(168, 85, 247, 0.25);

    font-size: 0.7rem;

    letter-spacing: 2px;
}


/* Icono */

.service-icon {
    width: 65px;
    height: 65px;

    display: flex;
    align-items: center;
    justify-content: center;

    margin-bottom: 25px;

    border: 1px solid rgba(192, 132, 252, 0.55);

    border-radius: 50%;

    color: #c084fc;

    font-size: 1.8rem;

    text-shadow:
        0 0 10px rgba(168, 85, 247, 0.8);

    box-shadow:
        0 0 15px rgba(168, 85, 247, 0.08);
}


/* Título */

.service-card h3 {
    color: #ffffff;

    font-size: 1rem;

    line-height: 1.5;

    margin-bottom: 15px;
}


/* Línea */

.service-line {
    width: 45px;
    height: 1px;

    background: #c084fc;

    margin-bottom: 20px;

    box-shadow:
        0 0 8px rgba(168, 85, 247, 0.6);
}


/* Descripción */

.service-card p {
    color: #9e96a7;

    font-size: 0.78rem;

    line-height: 1.8;
}


/* Hover */

.service-card:hover {
    transform: translateY(-8px);

    border-color: rgba(192, 132, 252, 0.7);

    box-shadow:
        0 12px 35px rgba(168, 85, 247, 0.12);
}

.service-card:hover .service-icon {
    background: rgba(168, 85, 247, 0.08);

    border-color: #c084fc;

    box-shadow:
        0 0 20px rgba(168, 85, 247, 0.2);
}

/* ---------- PROYECTOS ---------- */

.projects-section {
    position: relative;
}

.projects {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 25px;

    margin-top: 55px;
}

.project-card {
    position: relative;

    overflow: hidden;

    border: 1px solid rgba(168, 85, 247, 0.25);

    background: #0b0812;

    transition:
        transform 0.3s ease,
        border-color 0.3s ease,
        box-shadow 0.3s ease;
}


/* Área visual del proyecto */

.project-image {
    position: relative;

    height: 190px;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    background:
        radial-gradient(circle at center,
            rgba(168, 85, 247, 0.18),
            rgba(8, 6, 13, 0.95) 70%);

    border-bottom: 1px solid rgba(168, 85, 247, 0.2);
}


/* Decoración */

.project-image::before {
    content: "";

    position: absolute;

    width: 150px;
    height: 150px;

    border: 1px solid rgba(192, 132, 252, 0.2);

    border-radius: 50%;

    box-shadow:
        0 0 30px rgba(168, 85, 247, 0.1);
}


/* Símbolo */

.project-image span {
    position: relative;

    z-index: 2;

    color: #c084fc;

    font-size: 3rem;

    text-shadow:
        0 0 15px rgba(168, 85, 247, 0.8);
}


/* Contenido */

.project-content {
    padding: 25px;
}

.project-category {
    color: #a855f7;

    font-size: 0.65rem;

    letter-spacing: 3px;

    margin-bottom: 10px;
}

.project-content h3 {
    color: #ffffff;

    font-size: 1.15rem;

    margin-bottom: 15px;
}

.project-content>p {
    color: #99909f;

    font-size: 0.8rem;

    line-height: 1.8;

    margin-bottom: 20px;
}


/* Enlace */

.project-link {
    color: #c084fc;

    font-size: 0.75rem;

    text-decoration: none;

    letter-spacing: 1px;

    transition: 0.3s;
}

.project-link:hover {
    color: #ffffff;

    text-shadow:
        0 0 8px rgba(168, 85, 247, 0.8);
}


/* Hover */

.project-card:hover {
    transform: translateY(-7px);

    border-color: rgba(192, 132, 252, 0.7);

    box-shadow:
        0 15px 35px rgba(168, 85, 247, 0.12);
}


/* ---------- CONTACTO ---------- */

.contact {
    position: relative;

    min-height: 75vh;
}

.contact-container {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;

    margin-top: 60px;
}


/* Mensaje */

.contact-message {
    max-width: 550px;
}

.contact-label {
    color: #a855f7;

    font-size: 0.7rem;

    letter-spacing: 4px;

    margin-bottom: 25px;
}

.contact-message h3 {
    color: #ffffff;

    font-size: clamp(3rem, 5vw, 5rem);

    line-height: 0.95;

    margin-bottom: 30px;
}

.contact-message h3 span {
    color: #a855f7;

    text-shadow:
        0 0 15px rgba(168, 85, 247, 0.6),
        0 0 35px rgba(168, 85, 247, 0.2);
}

.contact-message>p:last-child {
    color: #99909f;

    font-size: 0.9rem;

    line-height: 1.9;

    max-width: 480px;
}


/* Opciones */

.contact-options {
    display: flex;

    flex-direction: column;

    gap: 15px;
}

.contact-item {
    display: flex;

    align-items: center;

    gap: 20px;

    padding: 22px;

    border: 1px solid rgba(168, 85, 247, 0.25);

    background:
        linear-gradient(145deg,
            rgba(168, 85, 247, 0.06),
            rgba(8, 6, 13, 0.9));

    text-decoration: none;

    transition: 0.3s;
}

.contact-item:hover {
    transform: translateX(8px);

    border-color: rgba(192, 132, 252, 0.7);

    box-shadow:
        0 0 25px rgba(168, 85, 247, 0.1);
}


/* Icono */

.contact-icon {
    width: 55px;
    height: 55px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border: 1px solid rgba(192, 132, 252, 0.6);

    border-radius: 50%;

    color: #c084fc;

    font-size: 1rem;

    text-shadow:
        0 0 8px rgba(168, 85, 247, 0.8);

    box-shadow:
        0 0 12px rgba(168, 85, 247, 0.08);
}


/* Texto */

.contact-type {
    display: block;

    color: #8d8497;

    font-size: 0.6rem;

    letter-spacing: 3px;

    margin-bottom: 6px;
}

.contact-item strong {
    color: #ffffff;

    font-size: 0.9rem;

    font-weight: normal;
}

/* ---------- FOOTER ---------- */

/* ---------- FOOTER ---------- */

.footer {
    position: relative;

    padding: 45px 10%;

    border-top: 1px solid rgba(168, 85, 247, 0.15);

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 30px;

    color: #71687d;

    font-size: 0.7rem;
}


/* Marca */

.footer-brand {
    display: flex;

    align-items: center;

    gap: 12px;
}

.footer-brand img {
    width: 42px;
    height: 42px;

    border-radius: 50%;

    border: 1px solid rgba(192, 132, 252, 0.5);

    box-shadow:
        0 0 12px rgba(168, 85, 247, 0.25);
}

.footer-brand strong {
    color: #ffffff;

    font-size: 0.9rem;

    letter-spacing: 2px;
}

.footer-brand strong span {
    color: #a855f7;
}

.footer-brand p {
    margin-top: 3px;

    color: #756d80;

    font-size: 0.6rem;

    letter-spacing: 2px;
}


/* Centro */

.footer-center {
    display: flex;

    gap: 20px;
}

.footer-center span {
    color: #8d8497;

    font-size: 0.6rem;

    letter-spacing: 2px;
}


/* Copyright */

.footer-copy {
    text-align: right;
}

.footer-copy p:first-child {
    color: #71687d;
}

.footer-copy p:last-child {
    margin-top: 4px;

    color: #a855f7;

    letter-spacing: 1px;
}

/* ---------- SOBRE MÍ ---------- */

.about {
    position: relative;
}

.about-content {
    display: grid;

    grid-template-columns: 1.2fr 0.8fr;

    gap: 80px;

    align-items: center;

    margin-top: 35px;
}

.about-text {
    max-width: 650px;
}

.about-intro {
    font-size: 1.5rem;

    color: #c084fc;

    line-height: 1.6;

    margin-bottom: 30px;

    text-shadow:
        0 0 12px rgba(168, 85, 247, 0.25);
}

.about-text p:not(.about-intro) {
    color: #aaa1b7;

    font-size: 0.95rem;

    line-height: 1.9;

    margin-bottom: 20px;
}


/* Tarjeta visual */

.about-card {
    position: relative;

    padding: 45px 30px;

    text-align: center;

    border: 1px solid rgba(168, 85, 247, 0.35);

    background:
        linear-gradient(145deg,
            rgba(168, 85, 247, 0.08),
            rgba(8, 6, 13, 0.9));

    box-shadow:
        0 0 30px rgba(168, 85, 247, 0.06);

    overflow: hidden;
}

.about-card::before {
    content: "";

    position: absolute;

    width: 180px;
    height: 180px;

    top: -90px;
    right: -90px;

    border-radius: 50%;

    background: rgba(168, 85, 247, 0.12);

    filter: blur(30px);
}

.about-logo img {
    width: 100px;
    height: 100px;

    object-fit: cover;

    border-radius: 50%;

    border: 1px solid rgba(192, 132, 252, 0.6);

    box-shadow:
        0 0 15px rgba(168, 85, 247, 0.35);

    margin-bottom: 25px;
}

.about-card-title {
    color: #ffffff;

    font-size: 1.3rem;

    letter-spacing: 3px;

    margin-bottom: 8px;
}

.about-card-text {
    color: #a855f7;

    font-size: 0.7rem;

    letter-spacing: 4px;
}

.about-line {
    width: 60px;
    height: 1px;

    margin: 25px auto;

    background: #a855f7;

    box-shadow:
        0 0 8px rgba(168, 85, 247, 0.7);
}

.about-code {
    color: #71687d;

    font-size: 0.65rem;

    letter-spacing: 1px;
}

/* ---------- RESPONSIVE ---------- */

@media (max-width: 800px) {




    .contact-container {
        grid-template-columns: 1fr;

        gap: 45px;
    }

    .contact-message h3 {
        font-size: 3rem;
    }

    .projects {
        grid-template-columns: 1fr;
    }

    .about-content {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .header {
        padding: 0 5%;
    }

    .nav {
        display: none;
    }

    .hero {
        padding: 120px 7% 80px;
    }

    .hero h1 {
        font-size: 4rem;
    }

    .hero-decoration {
        opacity: 0.15;
        right: -120px;
        transform: translateY(-50%) scale(0.8);
    }

    .section {
        padding: 90px 7%;
    }

    .section h2 {
        font-size: 2.3rem;
    }

    .footer {
        flex-direction: column;

        text-align: center;

        gap: 25px;
    }

    .footer-copy {
        text-align: center;
    }

    .footer-center {
        flex-wrap: wrap;

        justify-content: center;
    }
}

/* ---------- FRASE DE MARCA ---------- */

.hero-tagline {
    margin-top: 18px;

    color: #c084fc;

    font-size: 0.75rem;

    letter-spacing: 5px;

    text-transform: uppercase;

    text-shadow:
        0 0 8px rgba(168, 85, 247, 0.5);
}

/* ---------- MENÚ ACTIVO ---------- */

.nav a.active {
    color: #c084fc;

    text-shadow:
        0 0 8px rgba(168, 85, 247, 0.7);
}

.nav a.active::after {
    width: 100%;
}
.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.contact-qr {
    display: block;
    width: 160px;
    height: 160px;
    padding: 8px;
    background: #fff;
    border-radius: 8px;
    object-fit: contain;
}

.qr-container p {
    color: #aaa1b7;
    font-size: 12px;
    text-align: center;
}