/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif, Arial;
    background: #0a0a0a;
    color: #e0e0e0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 60px 0;
    text-align: center;
    border-bottom: 2px solid #00d4ff;
}

header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    color: #00d4ff;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

header p {
    font-size: 1.3em;
    color: #b0b0b0;
}

/* Navigation */
nav {
    background: #1a1a1a;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

nav ul {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 30px;
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    padding: 5px 15px;
}

nav a:hover {
    color: #00d4ff;
}

/* Sections */
section {
    padding: 60px 0;
}

section h2 {
    font-size: 2.5em;
    margin-bottom: 40px;
    color: #00d4ff;
    text-align: center;
}

/* About */
.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    font-size: 1.1em;
    color: #c0c0c0;
}

.profile-pic {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    margin: 0 auto 30px;
    border: 4px solid #00d4ff;
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.4);
    transition: transform 0.3s, box-shadow 0.3s;
}

/* Projects */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.project-card {
    background: #1a1a1a;
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #2a2a2a;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
    border-color: #00d4ff;
}

.project-card h3 {
    color: #00d4ff;
    margin-bottom: 15px;
    font-size: 1.5em;
}

.project-card p {
    color: #b0b0b0;
    margin-bottom: 15px;
}

.project-tag {
    display: inline-block;
    background: #16213e;
    color: #00d4ff;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.85em;
    margin-right: 8px;
    margin-top: 10px;
}

.project-link {
    display: inline-block;
    color: #00d4ff;
    text-decoration: none;
    font-weight: 600;
    margin-top: 15px;
    transition: transform 0.3s;
}

.project-link:hover {
    transform: translateX(5px);
}

/* Skills */
.skills-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 900px;
    margin: 0 auto;
}

.skill-item {
    background: #1a1a1a;
    padding: 20px 30px;
    border-radius: 8px;
    border: 2px solid #2a2a2a;
    transition: all 0.3s;
    cursor: pointer;
}

.skill-item:hover {
    border-color: #00d4ff;
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.2);
}

.skill-item span {
    font-size: 1.1em;
    color: #e0e0e0;
}

/* Contact */
.contact-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.contact-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
}

.contact-btn {
    background: linear-gradient(135deg, #00d4ff 0%, #0099cc 100%);
    color: #0a0a0a;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
}

.contact-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0, 212, 255, 0.4);
}

/* Footer */
footer {
    background: #1a1a1a;
    text-align: center;
    padding: 30px 0;
    margin-top: 60px;
    border-top: 2px solid #2a2a2a;
    color: #808080;
}

/* Scroll indicator */
.scroll-indicator {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #00d4ff;
    color: #0a0a0a;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.scroll-indicator.visible {
    opacity: 1;
}

/* Responsive */
@media (max-width: 768px) {
    header h1 {
        font-size: 2em;
    }

    nav ul {
        flex-direction: column;
        gap: 10px;
    }

    .contact-links {
        flex-direction: column;
        gap: 15px;
    }
    
}

nav a {
    color: #e0e0e0;
    text-decoration: none;
    font-weight: 500;
    padding: 5px 15px;
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #00d4ff;
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}