:root {
    --primary-color: #FFD700; 
    --secondary-color: #000000; 
    --accent-color: #1a1a1a; 
    --light-color: #2d2d2d; 
    --text-color: #ffffff; 
    --white: #2d2d2d; 
    --dark-bg: #000000; 
    --card-bg: #1a1a1a; 
    --code-opacity: 0.08;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--dark-bg);
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

header {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 1rem 0;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
    transition: all 0.5s ease;
}

header.scrolled {
    background-color: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 1001;
}

.logo-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    transition: transform 0.3s ease;
    display: block;
}

.logo-img:hover {
    transform: scale(1.05);
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border-radius: 6px;
    position: relative;
}

nav a:hover {
    color: var(--dark-bg);
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 80%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    font-size: 1.8rem;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1001;
}

.mobile-menu-toggle:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: scale(1.05);
}

.page {
    min-height: 100vh;
    display: none;
    position: relative;
    padding-top: 100px;
}

.page.active {
    display: block;
}

.about-section-art {
    min-height: 100vh;
    background-color: var(--dark-bg);
    padding: 120px 0 80px;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.about-container-art {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

.about-content-art {
    padding-right: 40px;
}

.about-title-art {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    position: relative;
    display: inline-block;
}

.about-title-art::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), transparent);
}

.about-subtitle-art {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 2rem;
    line-height: 1.6;
    opacity: 0.9;
}

.about-highlight-minimal {
    font-size: 1.1rem;
    color: var(--text-color);
    line-height: 1.7;
    margin-bottom: 2.5rem;
    opacity: 0.8;
}

.about-image-art {
    text-align: center;
    position: relative;
}

.profile-img-art {
    width: 400px;
    height: 400px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--primary-color);
    margin: 0 auto;
    position: relative;
    z-index: 2;
    box-shadow: 
        0 0 0 10px rgba(255, 215, 0, 0.1),
        0 0 30px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
    display: block;
}

.profile-img-art:hover {
    transform: scale(1.02);
}

.profile-img-art::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    right: -15px;
    bottom: -15px;
    border-radius: 50%;
    border: 2px dashed var(--primary-color);
    opacity: 0.3;
    animation: rotate 20s linear infinite;
    z-index: -1;
}

@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn-art {
    display: inline-block;
    background: transparent;
    color: var(--primary-color);
    padding: 14px 40px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-color);
    position: relative;
    overflow: hidden;
    font-size: 1.1rem;
}

.btn-art:hover {
    background-color: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
}

.section {
    padding: 100px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
    font-size: 2.8rem;
    color: var(--primary-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    margin: 15px auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-color);
    opacity: 0.8;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.bg-light {
    background-color: #0e0d0d;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(to bottom, var(--primary-color), transparent);
    transform: translateX(-50%);
}

.timeline-item {
    display: flex;
    margin-bottom: 50px;
    position: relative;
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.6s ease forwards;
}

.timeline-item:nth-child(odd) {
    flex-direction: row;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-date {
    display: none; 
}

.timeline-content {
    width: 100%; 
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
    position: relative;
    border-left: 4px solid var(--primary-color);
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 8px;
    font-size: 1.4rem;
}

.timeline-content h4 {
    color: var(--text-color);
    margin-bottom: 15px;
    font-weight: 500;
    font-size: 1.1rem;
    opacity: 0.9;
}

.timeline-content ul {
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 8px;
    color: var(--text-color);
    line-height: 1.5;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.skill-category {
    background-color: var(--card-bg);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    border-top: 4px solid var(--primary-color);
    color: var(--text-color);
    position: relative;
    overflow: hidden;
}

.skill-category:hover {
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.2);
}

.skill-category h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.4rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    margin-bottom: 12px;
    position: relative;
    padding-left: 25px;
    color: var(--text-color);
    line-height: 1.5;
}

.skill-category li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.languages {
    display: flex;
    justify-content: center;
    gap: 50px;
    max-width: 900px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.language-item {
    text-align: center;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
    flex: 1;
    min-width: 280px;
    border: 2px solid var(--primary-color);
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.language-item:hover {
    transform: translateY(-5px);
}

.language-item h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.language-item p {
    color: var(--text-color);
    opacity: 0.9;
    line-height: 1.5;
}

.experiences-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 35px;
    max-width: 1100px;
    margin: 0 auto;
}

.experience-item {
    background-color: var(--card-bg);
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
    border-right: 4px solid var(--primary-color);
    color: var(--text-color);
    transition: transform 0.3s ease;
}

.experience-item:hover {
    transform: translateY(-5px);
}

.experience-item h3 {
    color: var(--primary-color);
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--primary-color);
    font-size: 1.3rem;
}

.experience-item ul {
    list-style: none;
}

.experience-item li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
    color: var(--text-color);
    line-height: 1.5;
}

.experience-item li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.projects-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 3rem;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 10px 20px;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 1rem;
}

.filter-btn:hover,
.filter-btn.active {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 215, 0, 0.1);
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.2);
    border-color: var(--primary-color);
}

.project-image {
    position: relative;
    overflow: hidden;
    height: 250px;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.project-card:hover .project-image img {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-links {
    display: flex;
    gap: 15px;
}

.project-link {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.project-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.project-content {
    padding: 25px;
}

.project-content h3 {
    color: var(--primary-color);
    font-size: 1.4rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.project-content p {
    color: var(--text-color);
    opacity: 0.8;
    line-height: 1.6;
    margin-bottom: 15px;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.contact-container {
    max-width: 1100px;
    margin: 0 auto;
}

.contact-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 35px;
    margin-top: 50px;
}

.contact-item {
    background: var(--card-bg);
    padding: 45px 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.contact-item:hover::before {
    transform: scaleX(1);
}

.contact-item:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 15px 35px rgba(255, 215, 0, 0.15);
}

.contact-item i {
    font-size: 3.5rem;
    margin-bottom: 25px;
    display: block;
    transition: transform 0.3s ease;
}

.contact-item:hover i {
    transform: scale(1.1);
}

.contact-item.whatsapp i {
    color: #25D366;
}

.contact-item.email i {
    color: var(--primary-color);
}

.contact-item.linkedin i {
    color: #0077B5;
}

.contact-item h3 {
    color: var(--primary-color);
    font-size: 1.6rem;
    margin-bottom: 15px;
    font-weight: 600;
}

.contact-item p {
    color: var(--text-color);
    margin-bottom: 25px;
    font-size: 1.1rem;
    opacity: 0.9;
    line-height: 1.5;
}

.btn-whatsapp, .btn-email, .btn-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 14px 30px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    font-size: 1.1rem;
    line-height: 1;
    height: auto;
}

.btn-whatsapp i,
.btn-email i,
.btn-linkedin i {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.3rem;
    height: 24px;
    width: 24px;
    position: relative;
    top: 10px;
}

.btn-whatsapp {
    background-color: #000000;
    color: white;
}

.btn-whatsapp:hover {
    background-color: transparent;
    color: #25D366;
    border-color: #25D366;
    transform: translateY(-2px);
}

.btn-email {
    background-color: #000000;
    color: #ffffff;
}

.btn-email:hover {
    background-color: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.btn-linkedin {
    background-color: #020202;
    color: white;
}

.btn-linkedin:hover {
    background-color: transparent;
    color: #0077B5;
    border-color: #0077B5;
    transform: translateY(-2px);
}

.contact-decoration {
    position: absolute;
    pointer-events: none;
    z-index: 1;
}

.contact-circle {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--primary-color);
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

.contact-circle-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.contact-circle-2 {
    width: 120px;
    height: 120px;
    bottom: 30%;
    right: 10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

footer {
    background-color: var(--accent-color);
    color: var(--primary-color);
    padding: 60px 0 25px;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-links {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s;
    padding: 8px 16px;
    border-radius: 6px;
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--accent-color);
    background-color: var(--primary-color);
    transform: translateY(-2px);
}

.copyright {
    text-align: center;
    padding-top: 25px;
    border-top: 1px solid rgba(255, 215, 0, 0.3);
    color: var(--text-color);
    opacity: 0.8;
}

.code-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: transparent;
    overflow: hidden;
    z-index: 1;
    pointer-events: none;
}

.code-line {
    position: absolute;
    font-family: 'Courier New', monospace;
    color: var(--primary-color);
    white-space: nowrap;
    animation: codeFallInfinite linear infinite;
    opacity: 0.08;
    font-weight: 500;
    text-shadow: 0 0 2px rgba(255, 215, 0, 0.1);
    pointer-events: none;
}

.code-line.slow {
    animation-duration: 25s;
    font-size: 14px;
    opacity: 0.03;
}

.code-line.medium {
    animation-duration: 20s;
    font-size: 16px;
    opacity: 0.05;
}

.code-line.fast {
    animation-duration: 15s;
    font-size: 18px;
    opacity: 0.07;
}

.code-line.very-fast {
    animation-duration: 10s;
    font-size: 14px;
    opacity: 0.02;
}

@keyframes codeFallInfinite {
    0% {
        transform: translateY(-100px);
        opacity: 0;
    }
    5% {
        opacity: var(--current-opacity);
    }
    95% {
        opacity: var(--current-opacity);
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

.transition-codes {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9998;
    overflow: hidden;
}

.jumping-code {
    position: absolute;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: bold;
    color: var(--primary-color);
    background: rgba(255, 215, 0, 0.1);
    padding: 6px 12px;
    border-radius: 6px;
    border: 1px solid var(--primary-color);
    white-space: nowrap;
    opacity: 0;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    backdrop-filter: blur(5px);
}

.jumping-code::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--primary-color), transparent);
    border-radius: 8px;
    opacity: 0;
    animation: codeGlow 1.2s ease-out forwards;
    z-index: -1;
}

@keyframes codeGlow {
    0% { opacity: 0; }
    50% { opacity: 0.3; }
    100% { opacity: 0; }
}

@media (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    .about-container-art {
        grid-template-columns: 1fr;
        gap: 50px;
        text-align: center;
    }
    
    .about-content-art {
        padding-right: 0;
    }
    
    .about-title-art {
        font-size: 3rem;
    }
    
    .profile-img-art {
        width: 320px;
        height: 320px;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column !important;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0;
    }
    
    .skills-grid,
    .experiences-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .projects-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 25px;
    }
    
    .section-title {
        font-size: 2.5rem;
    }
}

@media (max-width: 768px) {
    .page {
        padding-top: 120px;
    }
    
    .header-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        min-height: 70px;
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: block;
        order: 2;
    }
    
    .logo {
        order: 1;
    }
    
    nav ul {
        display: none;
    }
    
    nav.mobile-active {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        width: 100%;
        background: var(--accent-color);
    }
    
    nav.mobile-active ul {
        display: flex;
        flex-direction: column;
        position: static;
        padding: 1.5rem;
        box-shadow: 0 5px 20px rgba(0,0,0,0.3);
        border-top: 2px solid var(--primary-color);
        z-index: 1000;
        animation: slideDown 0.3s ease-out;
        margin: 0;
        gap: 0;
    }
    
    nav.mobile-active ul li {
        margin: 0.8rem 0;
        width: 100%;
    }
    
    nav.mobile-active ul a {
        display: block;
        padding: 15px 20px;
        border-radius: 8px;
        text-align: center;
        border: 1px solid transparent;
        font-size: 1.1rem;
        background: rgba(255, 215, 0, 0.05);
        transition: all 0.3s ease;
    }
    
    nav.mobile-active ul a:hover {
        border-color: var(--primary-color);
        background: rgba(255, 215, 0, 0.15);
        transform: translateY(-2px);
    }
    
    .about-section-art {
        padding: 100px 0 60px;
    }
    
    .about-container-art {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }
    
    .about-content-art {
        order: 2;
        padding-right: 0;
    }
    
    .about-image-art {
        order: 1;
    }
    
    .about-title-art {
        font-size: 2.2rem;
    }
    
    .about-subtitle-art {
        font-size: 1.1rem;
    }
    
    .profile-img-art {
        width: 220px;
        height: 220px;
        margin-bottom: 20px;
    }
    
    .section {
        padding: 80px 0;
    }
    
    .section-title {
        font-size: 2.2rem;
        margin-bottom: 3rem;
    }
    
    .timeline::before {
        display: none;
    }
    
    .timeline-item {
        flex-direction: column !important;
        margin-bottom: 30px;
    }
    
    .timeline-content {
        width: 100%;
        margin-left: 0;
        padding: 25px 20px;
        border-radius: 12px;
        border-left: 4px solid var(--primary-color);
        border-top: 4px solid var(--primary-color);
    }
    
    .skills-grid,
    .experiences-grid,
    .projects-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .projects-filter {
        gap: 10px;
    }
    
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.9rem;
    }
    
    .contact-info {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .contact-item {
        padding: 35px 25px;
    }
    
    .languages {
        flex-direction: column;
        gap: 25px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 25px;
    }
    
    .footer-links {
        justify-content: center;
    }
    
    .code-line {
        font-size: 12px;
    }
    
    .code-line.slow {
        animation-duration: 20s;
        opacity: 0.04;
    }
    
    .code-line.medium {
        animation-duration: 16s;
        opacity: 0.06;
    }
    
    .code-line.fast {
        animation-duration: 12s;
        opacity: 0.08;
    }
    
    .code-line.very-fast {
        animation-duration: 8s;
        opacity: 0.03;
    }
    
    .jumping-code {
        font-size: 12px;
        padding: 4px 8px;
    }
}

@media (max-width: 576px) {
    .page {
        padding-top: 100px;
    }
    
    .container {
        width: 98%;
        padding: 0 10px;
    }
    
    .logo-text {
        font-size: 1.3rem;
    }
    
    .logo-img {
        width: 40px;
        height: 40px;
    }
    
    .mobile-menu-toggle {
        font-size: 1.5rem;
        padding: 6px 10px;
    }
    
    .about-section-art {
        padding: 80px 0 40px;
    }
    
    .about-title-art {
        font-size: 1.8rem;
    }
    
    .about-subtitle-art {
        font-size: 1rem;
    }
    
    .about-highlight-minimal {
        font-size: 1rem;
    }
    
    .profile-img-art {
        width: 180px;
        height: 180px;
    }
    
    .btn-art {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 2.5rem;
    }
    
    .timeline-content {
        padding: 20px 15px;
    }
    
    .timeline-content h3 {
        font-size: 1.2rem;
    }
    
    .timeline-content h4 {
        font-size: 1rem;
    }
    
    .skill-category,
    .experience-item {
        padding: 25px 20px;
    }
    
    .project-content {
        padding: 20px;
    }
    
    .project-image {
        height: 200px;
    }
    
    .contact-item {
        padding: 30px 20px;
    }
    
    .contact-item i {
        font-size: 2.8rem;
    }
    
    .btn-whatsapp, .btn-email, .btn-linkedin {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.page-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--dark-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.page-loading.active {
    opacity: 1;
    visibility: visible;
}

.loading-fun {
    display: flex;
    gap: 12px;
}

.loading-dot {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    animation: bounce 0.6s infinite alternate;
}

.loading-dot:nth-child(2) {
    animation-delay: 0.2s;
}

.loading-dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-20px); }
}

.project-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.project-modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--card-bg);
    border-radius: 20px;
    max-width: 900px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 50px rgba(255, 215, 0, 0.2);
    border: 2px solid var(--primary-color);
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    z-index: 10;
}

.modal-close:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 40px;
}

.modal-header {
    margin-bottom: 30px;
    text-align: center;
}

.modal-title {
    color: var(--primary-color);
    font-size: 2.5rem;
    margin-bottom: 10px;
    font-weight: 700;
}

.modal-subtitle {
    color: var(--text-color);
    opacity: 0.8;
    font-size: 1.2rem;
}

.modal-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 30px;
}

.modal-image {
    border-radius: 15px;
    overflow: hidden;
}

.modal-image img {
    width: 100%;
    height: 500px;
    border-radius: 15px;
    object-fit: cover;
    transition: transform 0.3s ease;
    display: block;
}

.modal-image:hover img {
    transform: scale(1.05);
}

.modal-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.modal-description {
    color: var(--text-color);
    line-height: 1.7;
    font-size: 1.1rem;
}

.modal-features h3,
.modal-tech h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.modal-features ul {
    list-style: none;
    padding-left: 0;
}

.modal-features li {
    color: var(--text-color);
    margin-bottom: 8px;
    padding-left: 20px;
    position: relative;
}

.modal-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
    font-weight: bold;
}

.modal-tech-stack {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag-large {
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-color);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
}

.tech-tag-large:hover {
    background: var(--primary-color);
    color: var(--secondary-color);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .modal-content {
        margin: 20px;
        max-height: 85vh;
    }
    
    .modal-body {
        padding: 30px 20px;
    }
    
    .modal-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .modal-title {
        font-size: 2rem;
    }
   
}

@media (max-width: 480px) {
    .modal-body {
        padding: 25px 15px;
    }
    
    .modal-title {
        font-size: 1.8rem;
    }
    
    .modal-subtitle {
        font-size: 1rem;
    }
     .modal-image img {
        height: 300px;
        object-fit: contain;
        padding: 8px;
        border-radius: 10px;
    }
}

.project-link {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    color: var(--secondary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.3rem;
    border: none;
    cursor: pointer;
}

.project-link:hover {
    background: var(--secondary-color);
    color: var(--primary-color);
    transform: scale(1.1);
}

.code-line {
    opacity: 0.30 !important;
    text-shadow: 0 0 2px rgba(255, 215, 0, 0.1) !important;
}

.code-line.slow { opacity: 0.40 !important; }
.code-line.medium { opacity: 0.40 !important; }
.code-line.fast { opacity: 0.40 !important; }
.code-line.very-fast { opacity: 0.40 !important; }

.jumping-code {
    color: rgba(255, 215, 0, 0.4) !important;
    background: rgba(255, 215, 0, 0.05) !important;
    border: 1px solid rgba(255, 215, 0, 0.2) !important;
    text-shadow: 0 0 3px rgba(255, 215, 0, 0.1) !important;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.08) !important;
}

@media (max-width: 768px) {
    .code-line { opacity: 0.06 !important; }
    .code-line.slow { opacity: 0.02 !important; }
    .code-line.medium { opacity: 0.04 !important; }
    .code-line.fast { opacity: 0.05 !important; }
    .code-line.very-fast { opacity: 0.01 !important; }
}