/* Base Styles */
:root {
    --primary-color: #0a192f;
    --secondary-color: #64ffda;
    --text-color: #ccd6f6;
    --text-secondary: #8892b0;
    --bg-color: #0a192f;
    --card-bg: #112240;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Calibre', 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Header & Navigation */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.5rem 5%;
    z-index: 100;
    background-color: rgba(10, 25, 47, 0.9);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav-links a:hover {
    color: var(--secondary-color);
}

.nav-links .resume-btn {
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    padding: 0.5rem 1rem;
    transition: all 0.3s;
}

.nav-links .resume-btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    padding: 0 10%;
    background: linear-gradient(to right, rgba(10, 25, 47, 0.9), rgba(10, 25, 47, 0.7));
}

.hero-content h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--text-secondary);
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}

.btn:hover {
    background: rgba(100, 255, 218, 0.1);
}

.btn-outline {
    background: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.btn-outline:hover {
    background: rgba(100, 255, 218, 0.1);
}

/* About Section */
.about {
    padding: 6rem 10%;
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.about h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--secondary-color);
}

.about-content {
    display: flex;
    gap: 3rem;
    align-items: center;
}

.about-content.full-width {
    max-width: 800px;
    margin: 0 auto;
}

.about-text {
    flex: 1;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.05rem;
}

.skills {
    margin-top: 2rem;
}

.skills h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 2rem;
}

.skill-category {
    background-color: var(--card-bg);
    border-radius: 8px;
    padding: 1.2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.skill-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

.skill-category h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    border-bottom: 1px solid rgba(100, 255, 218, 0.2);
    padding-bottom: 0.5rem;
}

.skills ul {
    list-style: none;
}

.skills li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.skills li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
}

/* Experience Section */
.experience {
    padding: 6rem 10%;
    background-color: var(--card-bg);
}

.experience h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    width: 2px;
    background-color: var(--secondary-color);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1px;
}

.timeline-item {
    padding: 20px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-content {
    padding: 20px;
    background-color: var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.timeline-content h3 {
    margin-top: 0;
    color: var(--secondary-color);
}

.timeline-content h4 {
    margin: 5px 0;
    font-size: 1rem;
    color: var(--text-secondary);
}

.timeline-content .date {
    display: block;
    font-size: 0.9rem;
    color: var(--secondary-color);
    margin-bottom: 10px;
}

.timeline-content ul {
    margin-top: 10px;
    padding-left: 20px;
}

.timeline-content li {
    margin-bottom: 5px;
}

/* Projects Section */
.projects {
    padding: 6rem 10%;
}

.projects h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    text-align: center;
}

.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.project-card {
    background-color: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.project-image {
    height: 200px;
    overflow: hidden;
    position: relative;
    background-color: var(--card-bg);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--secondary-color);
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.project-image::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-color) 0%, transparent 100%);
    opacity: 0.7;
}

.project-image-1::before {
    content: 'Inventronics';
    position: relative;
    z-index: 1;
    font-weight: bold;
}

.project-image-2::before {
    content: 'Cazador De Empleo';
    position: relative;
    z-index: 1;
    font-weight: bold;
}

.project-card:hover .project-image {
    background-color: var(--primary-color);
}

.project-content {
    padding: 1.5rem;
}

.project-content h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--text-color);
}

.project-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-links {
    display: flex;
    gap: 1rem;
}

.project-links .btn {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Contact Section */
.contact {
    padding: 6rem 10%;
    background-color: var(--card-bg);
}

.contact h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    color: var(--secondary-color);
    text-align: center;
}

.contact-content {
    display: flex;
    gap: 3rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-info, .contact-form {
    flex: 1;
}

.contact-info h3, .contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.contact-info ul {
    list-style: none;
}

.contact-info li {
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.contact-info i {
    color: var(--secondary-color);
    width: 20px;
    text-align: center;
}

.social-links {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.social-links a {
    color: var(--text-color);
    font-size: 1.5rem;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

input, textarea {
    width: 100%;
    padding: 0.8rem;
    background-color: var(--primary-color);
    border: 1px solid var(--text-secondary);
    border-radius: 4px;
    color: var(--text-color);
}

input:focus, textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
}

button[type="submit"] {
    width: 100%;
}
