/* Global site styles extracted from index.html */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #00ff00;
    --secondary-color: #0080ff;
    --bg-dark: rgba(0, 0, 0, 0.85);
    --text-light: #ffffff;
    --text-gray: #cccccc;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('/assets/bg.jpg') center/cover fixed;
    color: var(--text-light);
    line-height: 1.6;
    font-size: 18px;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: -1;
}

/* Header & Navigation */
header {
    background: var(--bg-dark);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo i {
    font-size: 2rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary-color);
    color: #000;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Sections */
section {
    min-height: 100vh;
    padding: 4rem 2rem;
    display: none;
}

section.active {
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    text-align: center;
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
    text-align: center;
    margin-bottom: 3rem;
}

/* Home Section */
#inicio {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
    max-width: 800px;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.hero .subtitle {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.hero p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: var(--text-gray);
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 0.8rem 2rem;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: 5px;
    cursor: pointer;
    font-size: 1rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.btn:hover {
    background: var(--primary-color);
    color: #000;
    transform: translateY(-2px);
}

.btn-secondary {
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--secondary-color);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.project-card {
    background: var(--bg-dark);
    padding: 2.5rem;
    border-radius: 10px;
    border: 2px solid transparent;
    transition: all 0.3s;
    font-size: 1rem;
}

.project-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.project-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    line-height: 1.2;
}

.project-card p {
    color: var(--text-gray);
    margin-bottom: 1rem;
    font-size: 1.05rem;
}

.project-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.tech-tag {
    background: var(--secondary-color);
    color: #000;
    padding: 0.4rem 0.9rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
}

/* Slightly larger section titles */
.section-title {
    font-size: 2.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .project-card {
        padding: 1.5rem;
    }

    .project-card h3 {
        font-size: 1.25rem;
    }

    .project-card p {
        font-size: 1rem;
    }
}

/* About Section */
.about-content {
    background: var(--bg-dark);
    padding: 3rem;
    border-radius: 10px;
    border: 2px solid var(--primary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.skill-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.skill-category ul {
    list-style: none;
}

.skill-category li {
    padding: 0.5rem 0;
    color: var(--text-gray);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.skill-category li::before {
    content: '▹';
    color: var(--primary-color);
    font-weight: bold;
}

/* Simulator Section */
#simulador {
    padding: 0;
    min-height: 100vh;
}

#app {
    width: 100%;
    height: 100vh;
}

/* Footer */
footer {
    background: var(--bg-dark);
    padding: 2rem;
    text-align: center;
    border-top: 2px solid var(--primary-color);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.social-links a {
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--primary-color);
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: var(--bg-dark);
        width: 100%;
        padding: 2rem;
        transition: left 0.3s;
        border-bottom: 2px solid var(--primary-color);
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .projects-grid {
        grid-template-columns: 1fr;
    }
}
