
    :root {
        --primary-dark: #121212;
        --primary: #1e1e1e;
        --primary-light: #2d2d2d;
        --accent: #4d4d4d;
        --text-light: #ffffff;
        --text-dark: #e0e0e0;
        --bg-light: #f5f5f5;
        --card-bg: rgba(255, 255, 255, 0.95);
        --border-color: #333333;
    }

    * {
        margin: 0;
        padding: 0;
        box-sizing: border-box;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    body {
        background-color: var(--bg-light);
        color: var(--text-dark);
        line-height: 1.6;
    }

    /* Header */
    header {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        color: var(--text-light);
        padding: 1rem 0;
        position: fixed;
        width: 100%;
        z-index: 1000;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    }

    .navbar {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .logo {
        font-size: 1.8rem;
        font-weight: 700;
        color: var(--text-light);
    }

    .logo span {
        color: var(--text-light);
        font-weight: 300;
    }

    .nav-links {
        display: flex;
        list-style: none;
    }

    .nav-links li {
        margin-left: 2rem;
    }

    .nav-links a {
        color: var(--text-light);
        text-decoration: none;
        font-weight: 500;
        transition: color 0.3s;
        position: relative;
    }

    .nav-links a:hover {
        color: var(--text-light);
    }

    .nav-links a::after {
        content: '';
        position: absolute;
        width: 0;
        height: 2px;
        background: var(--text-light);
        bottom: -5px;
        left: 0;
        transition: width 0.3s;
    }

    .nav-links a:hover::after {
        width: 100%;
    }

    .menu-toggle {
        display: none;
        cursor: pointer;
        font-size: 1.5rem;
        color: var(--text-light);
    }

    /* Hero Section */
    .hero {
        background: linear-gradient(rgba(18, 18, 18, 0.9), rgba(30, 30, 30, 0.9)), url('https://images.unsplash.com/photo-1555066931-4365d14bab8c?ixlib=rb-4.0.3');
        background-size: cover;
        background-position: center;
        height: 100vh;
        display: flex;
        align-items: center;
        color: var(--text-light);
        text-align: center;
        padding-top: 80px;
    }

    .hero-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .hero h1 {
        font-size: 3.5rem;
        margin-bottom: 1rem;
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    }

    .hero h1 span {
        color: var(--text-light);
        font-weight: 300;
    }

    .hero p {
        font-size: 1.2rem;
        max-width: 700px;
        margin: 0 auto 2rem;
        opacity: 0.9;
    }

    .cta-button {
        display: inline-block;
        background-color: var(--primary-light);
        color: var(--text-light);
        padding: 0.8rem 2rem;
        border-radius: 50px;
        text-decoration: none;
        font-weight: 600;
        transition: transform 0.3s, box-shadow 0.3s;
        margin: 0 0.5rem;
        border: 1px solid var(--border-color);
    }

    .cta-button:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
        background-color: var(--accent);
    }

    .cta-button.secondary {
        background-color: transparent;
        border: 2px solid var(--text-light);
    }

    .social-icons {
        margin-top: 2rem;
    }

    .social-icons a {
        color: var(--text-light);
        font-size: 1.5rem;
        margin: 0 0.5rem;
        transition: color 0.3s;
    }

    .social-icons a:hover {
        color: var(--text-light);
        transform: translateY(-3px);
    }

    /* About Section */
    .section {
        padding: 5rem 2rem;
        max-width: 1200px;
        margin: 0 auto;
    }

    .section-title {
        text-align: center;
        margin-bottom: 3rem;
        position: relative;
    }

    .section-title h2 {
        font-size: 2.5rem;
        color: var(--primary-dark);
        margin-bottom: 1rem;
    }
    
    .section-title p {
        font-size: 1.5rem;
        color: var(--primary-dark);
        margin-bottom: 1rem;
    }

    .section-title::after {
        content: '';
        display: block;
        width: 80px;
        height: 4px;
        background: var(--accent);
        margin: 0 auto;
    }

    .about-content {
        display: flex;
        align-items: center;
        gap: 3rem;
    }

    .about-text {
        flex: 1;
    }

    .about-text h3 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
        color: var(--primary-dark);
    }

    .about-text p {
        margin-bottom: 1.5rem;
        line-height: 1.8;
        color: var(--primary);
    }

    .skills {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .skill {
        background-color: var(--primary-light);
        color: var(--text-light);
        padding: 0.5rem 1.2rem;
        border-radius: 50px;
        font-size: 0.9rem;
        border: 1px solid var(--border-color);
    }

    .about-image {
        flex: 1;
        text-align: center;
    }

    .about-image img {
        max-width: 100%;
        border-radius: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
        border: 5px solid var(--card-bg);
    }

    /* Projects Section */
    .projects-grid {
        display: grid;
        grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
        gap: 2rem;
        margin-top: 2rem;
    }

    .project-card {
        background-color: var(--card-bg);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        transition: transform 0.3s, box-shadow 0.3s;
        border: 1px solid var(--border-color);
    }

    .project-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    }

    .project-image {
        height: 200px;
        overflow: hidden;
    }

    .project-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: transform 0.5s;
    }

    .project-card:hover .project-image img {
        transform: scale(1.1);
    }

    .project-info {
        padding: 1.5rem;
    }

    .project-info h3 {
        font-size: 1.3rem;
        margin-bottom: 0.5rem;
        color: var(--primary-dark);
    }

    .project-info p {
        margin-bottom: 1rem;
        color: var(--primary);
    }

    .project-tags {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 1rem;
    }

    .tag {
        background-color: var(--primary-light);
        color: var(--text-light);
        padding: 0.3rem 0.8rem;
        border-radius: 50px;
        font-size: 0.7rem;
        border: 1px solid var(--border-color);
    }

    .project-links {
        display: flex;
        gap: 1rem;
    }

    .project-links a {
        color: var(--primary-dark);
        text-decoration: none;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 0.5rem;
        transition: color 0.3s;
    }

    .project-links a:hover {
        color: var(--accent);
    }

    /* Contact Section */
    .contact {
        background: linear-gradient(135deg, var(--primary-dark), var(--primary));
        color: var(--text-light);
    }

    .contact .section-title h2 {
        color: var(--text-light);
    }

    .contact .section-title::after {
        background: var(--text-light);
    }

    .contact-container {
        display: flex;
        gap: 3rem;
    }

    .contact-info {
        flex: 1;
    }

    .contact-info h3 {
        font-size: 1.5rem;
        margin-bottom: 1.5rem;
    }

    .contact-details {
        margin-bottom: 2rem;
    }

    .contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 1rem;
        gap: 1rem;
    }

    .contact-item i {
        font-size: 1.2rem;
        color: var(--text-light);
    }

    .contact-form {
        flex: 1;
        background-color: var(--primary);
        padding: 2rem;
        border-radius: 10px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        border: 1px solid var(--border-color);
    }

    .form-group {
        margin-bottom: 1.5rem;
    }

    .form-group label {
        display: block;
        margin-bottom: 0.5rem;
        font-weight: 600;
        color: var(--text-light);
    }

    .form-group input,
    .form-group textarea {
        width: 100%;
        padding: 0.8rem;
        border: 1px solid var(--border-color);
        border-radius: 5px;
        font-size: 1rem;
        background-color: var(--primary-light);
        color: var(--text-light);
    }

    .form-group textarea {
        min-height: 150px;
        resize: vertical;
    }

    .submit-btn {
        background-color: var(--accent);
        color: var(--text-light);
        border: none;
        padding: 0.8rem 2rem;
        border-radius: 50px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s;
        width: 100%;
    }

    .submit-btn:hover {
        background-color: var(--primary-light);
    }

    /* Footer */
    footer {
        background-color: var(--primary-dark);
        color: var(--text-light);
        text-align: center;
        padding: 2rem 0;
    }

    .footer-content {
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 2rem;
    }

    .footer-links {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 1rem 0;
    }

    .footer-links li {
        margin: 0 1rem;
    }

    .footer-links a {
        color: var(--text-light);
        text-decoration: none;
        transition: color 0.3s;
    }

    .footer-links a:hover {
        color: var(--text-light);
        text-decoration: underline;
    }

    .copyright {
        opacity: 0.8;
        font-size: 0.9rem;
    }

    /* Responsive */
    @media (max-width: 992px) {
        .about-content {
            flex-direction: column;
        }
        
        .contact-container {
            flex-direction: column;
        }
    }

    @media (max-width: 768px) {
        .menu-toggle {
            display: block;
        }
        
        .nav-links {
            position: fixed;
            top: 80px;
            left: -100%;
            width: 100%;
            height: calc(100vh - 80px);
            background-color: var(--primary-dark);
            flex-direction: column;
            align-items: center;
            padding: 2rem 0;
            transition: left 0.3s;
        }
        
        .nav-links.active {
            left: 0;
        }
        
        .nav-links li {
            margin: 1rem 0;
        }
        
        .hero h1 {
            font-size: 2.5rem;
        }
        
        .projects-grid {
            grid-template-columns: 1fr;
        }
    }

    @media (max-width: 480px) {
        .hero h1 {
            font-size: 2rem;
        }
        
        .hero p {
            font-size: 1rem;
        }
        
        .cta-buttons {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }
        
        .cta-button {
            margin: 0;
        }
    }

    /* Animaciones adicionales */
    @keyframes fadeIn {
        from { opacity: 0; }
        to { opacity: 1; }
    }

    body {
        animation: fadeIn 0.5s ease-in-out;
    }

    .project-card, .about-content, .contact-container {
        opacity: 0;
        transform: translateY(20px);
        transition: opacity 0.5s ease, transform 0.5s ease;
    }

    .visible {
        opacity: 1;
        transform: translateY(0);
    }
