﻿/* ==========================================================================
   ESTILOS GENERALES Y BASE (TIPOGRAFÍA QUESTRIAL)
   ========================================================================== */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #06060a;
    color: #ffffff;
    font-family: 'Questrial', system-ui, -apple-system, sans-serif;
    overflow-x: hidden;
}

.text-neon {
    color: #00e5ff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.6);
}

/* MENÚ SUPERIOR */
.header {
    background: rgba(6, 6, 10, 0.9);
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    letter-spacing: 1px;
    transform: scale()
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #a0a0aa;
    text-decoration: none;
    transition: color 0.3s;
}

    .nav-link:hover, .nav-link.active {
        color: #00e5ff;
    }

/* ESTRUCTURA DE SECCIONES */
.main-content {
    margin-top: 80px;
}

.section {
    padding: 80px 10%;
    position: relative;
}

.section-title {
    font-size: 2.2rem;
    text-align: center;
    margin-bottom: 10px;
}

.section-subtitle {
    text-align: center;
    color: #a0a0aa;
    margin-bottom: 5px;
}

/* HERO SECTION */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-glow {
    position: absolute;
    width: 300px;
    height: 300px;
    background: rgba(0, 229, 255, 0.15);
    filter: blur(100px);
    border-radius: 50%;
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
}

.hero-logo {
    max-width: 150px;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(0, 229, 255, 0.1);
    border: 1px solid rgba(0, 229, 255, 0.3);
    border-radius: 50px;
    color: #00e5ff;
    font-size: 0.85rem;
    margin-bottom: 25px;
    letter-spacing: 1px;
}

.hero h1 {
    font-size: 3.2rem;
    line-height: 1.2;
    margin-bottom: 25px;
    letter-spacing: -0.5px;
}

.hero-subtitle {
    color: #a0a0aa;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 35px;
}

.btn-glow {
    display: inline-block;
    padding: 14px 30px;
    background: #00e5ff;
    color: #06060a;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

    .btn-glow:hover {
        transform: translateY(-3px);
        box-shadow: 0 0 25px #00e5ff;
    }

/* CARDS DE SERVICIOS */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
    margin-top: 50px;
}

.card {
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, border-color 0.3s;
}

    .card h3 {
        font-size: 1.1rem;
        margin-bottom: 15px;
        color: #ffffff;
    }

    .card p {
        color: #a0a0aa;
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .card.active-category, .card:hover {
        border-color: #00e5ff;
        transform: translateY(-5px);
        box-shadow: 0 5px 15px rgba(0, 229, 255, 0.1);
    }

/* ESTRUCTURA DEL CARRUSEL EN PORFOLIO */
.projects-container {
    margin-top: 40px;
}

.gallery-title {
    text-align: center;
    margin-bottom: 30px;
    font-size: 1.5rem;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.project-card {
    background: #0d0d14;
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, border-color 0.3s;
}

    .project-card:hover {
        border-color: #00e5ff;
        transform: translateY(-5px);
    }

.project-carousel {
    position: relative;
    width: 100%;
    height: 220px;
    background: #000;
}

.project-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.project-img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease-in-out, visibility 0.4s ease-in-out;
}

    .project-img.active {
        opacity: 1;
        visibility: visible;
    }
/* ==========================================================================
   ESTILOS Y TIPOGRAFÍA: SECCIÓN COMMUNITY MANAGER
   ========================================================================== */

/* Título Principal de la sección */
.community-title {
    font-family: 'Cormorant Garamond', serif; /* Tu tipografía preferida */
    font-size: 2.5rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
}

/* Subtítulo descriptivo */
.community-subtitle {
    font-family: 'Questrial', sans-serif; /* Mantiene la estética general */
    font-size: 1.2rem;
    line-height: 1.6;
    color: #00e5ff; /* Color neón para resaltar el mensaje */
    max-width: 750px;
    margin: 15px auto 40px auto;
}

/* Contenedor del listado */
.community-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: left; /* Alinea los ítems a la izquierda para mejor lectura */
}

/* Título de "En nuestro estudio nos dedicamos a:" */
.community-list-title {
    font-family: 'Questrial', sans-serif;
    font-size: 1.3rem;
    color: #ffffff;
    margin-bottom: 20px;
}

/* Contenedor de la lista */
.community-list {
    list-style: none; /* Saca los puntitos por defecto de HTML */
    padding-left: 0;
    margin-bottom: 30px;
}

    /* Cada uno de los ítems con emojis */
    .community-list li {
        font-family: 'Questrial', sans-serif;
        font-size: 1.05rem;
        line-height: 1.8;
        color: #a0a0aa; /* Gris suave para que sea cómodo de leer */
        margin-bottom: 12px;
        transition: transform 0.2s ease, color 0.2s ease;
    }

        /* Efecto opcional: resalta el ítem al pasar el mouse por encima */
        .community-list li:hover {
            color: #00e5ff;
            transform: translateX(5px);
        }

/* Texto de cierre: "Dejá en nuestras manos..." */
.community-footer-text {
    font-family: 'Arial Rounded MT Bold', 'Arial', sans-serif;
    font-size: 1.25rem;
    text-align: center;
    color: #ffffff;
    margin-top: 30px;
    text-shadow: 0 0 8px rgba(255, 255, 255, 0.2);
}
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6, 6, 10, 0.8);
    border: 1px solid rgba(0, 229, 255, 0.4);
    color: #00e5ff;
    font-size: 1.2rem;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: 6px;
    z-index: 10;
    transition: all 0.2s ease;
}

    .carousel-btn:hover {
        background: #00e5ff;
        color: #06060a;
    }

    .carousel-btn.prev {
        left: 10px;
    }

    .carousel-btn.next {
        right: 10px;
    }

.project-info {
    padding: 20px;
}

    .project-info h4 {
        margin-bottom: 10px;
        font-size: 1.15rem;
    }

    .project-info p {
        color: #a0a0aa;
        font-size: 0.88rem;
        line-height: 1.5;
    }

/* TIMELINE (EDUCACIÓN) */
.education-container {
    max-width: 800px;
    margin: 0 auto;
}

.timeline {
    position: relative;
    margin-top: 40px;
    padding-left: 30px;
    border-left: 2px solid rgba(0, 229, 255, 0.2);
}

.timeline-item {
    position: relative;
    margin-bottom: 40px;
}

.timeline-dot {
    position: absolute;
    left: -37px;
    top: 4px;
    width: 12px;
    height: 12px;
    background: #00e5ff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00e5ff;
}

.timeline-date {
    display: inline-block;
    padding: 2px 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 4px;
    font-size: 0.8rem;
    color: #00e5ff;
    margin: 5px 0 10px 0;
}

/* CONTACTO Y FOOTER */
.contact-container {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

    .contact-container p {
        color: #a0a0aa;
        margin-bottom: 30px;
    }

.footer {
    text-align: center;
    padding: 40px;
    color: #505055;
    font-size: 0.85rem;
    border-top: 1px solid rgba(255,255,255,0.02);
}

/* ==========================================================================
   SISTEMA DE ANIMACIONES CSS NATIVAS (AL CARGAR LA PÁGINA)
   ========================================================================== */

/* 1. Animación Fade in Up (Aparecer desde abajo hacia arriba) */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 2. Animación Scale In (Crecimiento suave) */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 3. Animación simple Fade In */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* 4. Efecto respiración neón suave */
@keyframes neonPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 229, 255, 0.2);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    }
}

/* CLASES DE ANIMACIÓN APLICADAS CON SUS TIEMPOS */
.anim-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

.anim-scale-in {
    animation: scaleIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.anim-glow {
    animation: fadeIn 0.5s ease forwards, neonPulse 3s infinite ease-in-out;
}

.anim-fade-up {
    opacity: 0; /* Empieza oculto para que no parpadee */
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.2s; /* El título principal aparece rápido */
}

.anim-fade-up-delayed {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    animation-delay: 0.4s; /* El subtítulo y botón aparecen justo después */
}

/* Animación secuencial para las tarjetas al deslizar el mouse */
.anim-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

    .anim-card:nth-child(1) {
        animation-delay: 0.3s;
    }

    .anim-card:nth-child(2) {
        animation-delay: 0.4s;
    }

    .anim-card:nth-child(3) {
        animation-delay: 0.5s;
    }

    .anim-card:nth-child(4) {
        animation-delay: 0.6s;
    }

/* REQUISITO RESPONSIVE */
@media (max-width: 768px) {
    .header {
        padding: 20px;
    }

    .nav-menu {
        display: none;
    }
    /* En smartphones se puede optimizar */
    .hero h1 {
        font-size: 2.2rem;
    }

    .section {
        padding: 60px 5%;
    }
}
