
/* #region RESET */
* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 90px;
}

body {
    max-width: 1920px;
    margin: 0 auto;
    font: 500 16px/1.5 ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial;
    color: #ced4da;
    background: #0b0f17;
}

/* #region HEADER */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    height: 90px;
    z-index: 1000;
    background: linear-gradient(90deg, #0B263D, #193B5A);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.35);
}

.nav {
    max-width: 1920px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
}

.logo img {
    width: 150px;
    display: block;
}

.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #FFD100;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid rgba(255, 209, 0, 0.5);
    padding: 8px 16px;
    border-radius: 999px;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: rgba(96, 175, 255, 0.15);
    color: #60AFFF;
    border-color: rgba(96, 175, 255, 0.6);
    transform: translateY(-2px);
}

/* #region HERO */
.hero-python {
    position: relative;
    min-height: 100vh;
    padding: 120px 24px 80px;
    display: grid;
    place-items: center;
    text-align: center;
    overflow: hidden;
    background: radial-gradient(
        1200px 800px at 50% 10%,
        #072e53 0%,
        #0b0f17 35%,
        #0f1726 100%
    );
}

#particles-js {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.hero-card {
    position: relative;
    z-index: 1;
    width: min(92%, 1000px);
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.08),
        rgba(255, 255, 255, 0.02)
    );
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    backdrop-filter: blur(8px);
    padding: clamp(20px, 5vw, 48px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

.logo-hero {
    width: 120px;
    margin-bottom: 16px;
    filter: drop-shadow(0 0 8px rgba(255, 209, 0, 0.5));
}

.hero-card h1 {
    font-size: clamp(28px, 5vw, 46px);
    font-weight: 800;
    color: #FFD100;
    margin: 0 0 12px;
}

.hero-card p {
    font-size: clamp(16px, 2vw, 20px);
    color: #ced4da;
    opacity: 0.95;
    margin: 0;
}

/* #region BREADCRUMBS */
.breadcrumbs {
    position: relative;
    z-index: 5;
    background: linear-gradient(180deg, #0B263D 0%, #111a28 50%, #0b0f17 100%);
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-left: 32px;
}

.breadcrumbs .trail {
    font-size: 16px;
    color: #aeb7c2;
    display: flex;
    align-items: center;
    line-height: 1;
}

.breadcrumbs a {
    color: #FFD100;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.2s ease;
}

.breadcrumbs a:hover {
    color: #60AFFF;
}

.breadcrumbs .sep {
    opacity: 0.75;
    margin: 0 8px;
}

/* #region CONTENIDO */
.content {
    background: linear-gradient(180deg, #0B263D 0%, #111a28 50%, #0b0f17 100%);
    color: #ced4da;
    padding: 24px 24px 100px;
    width: 100%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

/* #region BOTONES ACCIÓN (DEBAJO DEL CARRUSEL) */
.actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 0 0 24px;
}

.btn-project {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #FFD100;
    color: #0b0f17;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 16px;
    border-radius: 8px;
    transition: background 0.25s ease, transform 0.2s ease, color 0.25s ease;
}

.btn-project:hover {
    background: #60AFFF;
    color: #0b0f17;
    transform: translateY(-2px);
}

.btn-project i {
    font-size: 14px;
}

.small-actions {
    justify-content: center;
    margin-top: 16px;
    margin-bottom: 48px;
    gap: 10px;
}

.small-actions .btn-project {
    font-size: 14px;
    padding: 8px 14px;
    border-radius: 6px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.25);
}

.small-actions .btn-project i {
    font-size: 13px;
}

/* #region CARRUSEL */
.carousel {
    position: relative;
    width: 80%;
    max-width: 1000px;
    margin: 24px auto;
    overflow: hidden;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    background: #000;
    height: 640px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-track {
    display: flex;
    width: 100%;
    height: 100%;
    transition: transform 0.8s ease-in-out;
}

.carousel-track img {
    flex: 0 0 100%;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    background: #000;
}

.carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(11, 38, 61, 0.6);
    border: 1px solid rgba(255, 209, 0, 0.4);
    color: #FFD100;
    font-size: 20px;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 2;
}

.carousel button:hover {
    background: rgba(96, 175, 255, 0.9);
    border-color: rgba(96, 175, 255, 0.9);
    color: #0b0f17;
}

.carousel .prev {
    left: 20px;
}

.carousel .next {
    right: 20px;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 8px;
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
}

.carousel-indicators span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

.carousel-indicators span.active {
    background: #FFD100;
    transform: scale(1.3);
    box-shadow: 0 0 8px rgba(255, 209, 0, 0.6);
}

/* #region SECCIONES */
.section {
    margin-top: 28px;
    display: grid;
    gap: 12px;
}

.section-title {
    margin: 0;
    font-size: 22px;
    color: #FFD100;
}

.section p {
    margin: 0;
}

.section ul,
.section ol {
    margin: 0;
    padding-left: 18px;
}

/* #region FOOTER */
.site-footer {
    position: relative;
    background: radial-gradient(
        1200px 800px at 50% 10%,
        #072e53 0%,
        #0b0f17 35%,
        #0f1726 100%
    );
    color: #ced4da;
    text-align: center;
    padding: 80px 24px 100px;
    overflow: hidden;
}

#particles-footer {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.social-icons {
    position: relative;
    z-index: 1;
    margin-bottom: 24px;
    display: flex;
    justify-content: center;
    gap: 24px;
}

.social-icons a {
    font-size: 26px;
    color: #FFD100;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    color: #60AFFF;
    transform: translateY(-3px);
}

.footer-text {
    position: relative;
    z-index: 1;
    color: #FFD100;
    font-weight: 500;
    margin-top: 20px;
}

/* #region BACK TO TOP */
#backToTop {
    position: fixed;
    bottom: 28px;
    right: 28px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #FFD100;
    color: #0b0f17;
    border: none;
    cursor: pointer;
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 1200;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.35);
    transition: transform 0.2s ease, background 0.2s ease;
}

#backToTop:hover {
    background: #60AFFF;
    transform: translateY(-3px);
}

#backToTop i {
    font-size: 16px;
}

@media (max-width: 768px) {
    #backToTop {
        bottom: 18px;
        right: 18px;
        width: 44px;
        height: 44px;
    }
}
