﻿/* =========================================
   DEVELOPER PAGE - THEME
   ========================================= */
.developer-page {
    background: #fff;
    color: #1e293b;
    /* RESTORE SCROLL */
    overflow-x: hidden;
    overflow-y: auto;
    padding-bottom: 60px; /* Space for the fixed ticker so content isn't hidden */
}

/* =========================================
   HERO SECTION
   ========================================= */
.hero-section {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: #fff;
    overflow: hidden;
    padding: 100px 20px 50px;
}

/* Background Particles */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.particle {
    position: absolute;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

    .particle:nth-child(1) {
        width: 100px;
        height: 100px;
        top: 10%;
        left: 10%;
    }

    .particle:nth-child(2) {
        width: 80px;
        height: 80px;
        top: 60%;
        left: 80%;
        animation-delay: 4s;
    }

    .particle:nth-child(3) {
        width: 120px;
        height: 120px;
        top: 80%;
        left: 20%;
        animation-delay: 2s;
    }

    .particle:nth-child(4) {
        width: 60px;
        height: 60px;
        top: 30%;
        left: 70%;
        animation-delay: 6s;
    }

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.15;
    }

    50% {
        transform: translate(100px, 50px) scale(0.8);
        opacity: 0.15;
    }
}

/* Hero Content */
.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1100px;
    width: 100%;
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 60px;
    align-items: center;
}

/* Left Column */
.hero-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeInLeft 0.8s ease-out 0.2s forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-profile {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    margin-bottom: 30px;
    border: 5px solid #000;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    animation: profilePulse 3s ease-in-out infinite;
    overflow: hidden;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #fff;
    font-weight: 800;
}

    .hero-profile img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

@keyframes profilePulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
        transform: scale(1);
    }

    50% {
        box-shadow: 0 15px 60px rgba(0, 0, 0, 0.4);
        transform: scale(1.03);
    }
}

/* =========================================
   SOCIAL LINKS - BRAND COLORS
   ========================================= */
.social-links {
    display: flex;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.social-link {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    background: #000;
    border: 2px solid transparent;
}

    /* BRAND COLORS */
    .social-link.github {
        background-color: #333333 !important;
        border-color: #333333 !important;
    }

    .social-link.linkedin {
        background-color: #0077b5 !important;
        border-color: #0077b5 !important;
    }

    .social-link.email {
        background-color: #ea4335 !important;
        border-color: #ea4335 !important;
    }

    .social-link.whatsapp {
        background-color: #25D366 !important;
        border-color: #25D366 !important;
    }

    .social-link:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
        filter: brightness(1.1);
    }

    .social-link svg {
        width: 22px;
        height: 22px;
    }

/* Right Column */
.hero-right {
    text-align: left;
    opacity: 0;
    animation: fadeInRight 0.8s ease-out 0.4s forwards;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-greeting {
    font-size: 1.2rem;
    color: #000;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-name {
    font-size: 4rem;
    font-weight: 900;
    margin: 0 0 15px 0;
    color: #000;
    line-height: 1.1;
}

.hero-roles {
    font-size: 1.8rem;
    font-weight: 700;
    color: #444;
    margin-bottom: 20px;
    height: 55px;
    display: flex;
    align-items: center;
}

.typing-text {
    border-right: 3px solid #000;
    padding-right: 5px;
    animation: blink 0.7s infinite;
}

@keyframes blink {
    0%, 50% {
        border-color: #000;
    }

    51%, 100% {
        border-color: transparent;
    }
}

.hero-description {
    font-size: 1.08rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 30px;
    max-width: 600px;
}

/* CTA Button */
.hero-cta {
    display: flex;
    gap: 15px;
}

.btn-read-more {
    padding: 13px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #000;
    color: #fff;
    border: 2px solid #000;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

    .btn-read-more:hover {
        background: #fff;
        color: #000;
        transform: translateY(-2px);
        box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    }

    .btn-read-more svg {
        width: 18px;
        height: 18px;
        transition: transform 0.3s ease;
    }

    .btn-read-more:hover svg {
        transform: translateX(3px);
    }

/* =========================================
   STICKY TICKER (BOTTOM)
   ========================================= */
.developer-footer-ticker {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 900px) {
    .hero-section {
        padding: 90px 20px 80px; /* Space for ticker */
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-left {
        animation: fadeInUp 0.8s ease-out 0.2s forwards;
    }

    .hero-right {
        text-align: center;
        animation: fadeInUp 0.8s ease-out 0.4s forwards;
    }

    @keyframes fadeInUp {
        from {
            opacity: 0;
            transform: translateY(30px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .hero-profile {
        width: 180px;
        height: 180px;
        font-size: 3.5rem;
    }

    .social-links {
        flex-direction: row;
        justify-content: center;
        flex-wrap: wrap;
    }

    .hero-name {
        font-size: 2.8rem;
    }

    .hero-roles {
        font-size: 1.5rem;
        height: 48px;
        justify-content: center;
    }

    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-cta {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .hero-profile {
        width: 150px;
        height: 150px;
        font-size: 3rem;
        margin-bottom: 20px;
    }

    .hero-name {
        font-size: 2.2rem;
    }

    .social-link {
        width: 45px;
        height: 45px;
    }
}
