:root {
    --primary: #1a2a6c;
    --text-dark: #2d3436;
    --text-light: #636e72;
    --bg-light: #f4f7f6;
    --white: #ffffff;
    --accent: #b2bec3;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary);
}

/* Nav */
nav {
    padding: 2rem 0;
    background: var(--white);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    font-size: 1.5rem;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 2rem;
}

nav ul li a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 0.9rem;
    transition: 0.3s;
}

nav ul li a:hover {
    color: var(--primary);
}

/* Hero */
.hero {
    padding: 100px 0;
    text-align: center;
    border-bottom: 1px solid #eee;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.5rem;
    color: var(--text-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
}

.hero-description {
    max-width: 600px;
    margin: 0 auto;
    font-size: 1.2rem;
    color: var(--text-light);
}

/* Sections */
.section {
    padding: 80px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 50px;
    text-align: center;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about-text p {
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.skills-box {
    background: var(--bg-light);
    padding: 30px;
    border-radius: 4px;
}

.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 20px;
}

.tags span {
    background: var(--white);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid #ddd;
}

/* Project Cards */
.project-card {
    background: var(--white);
    margin-bottom: 40px;
    padding: 40px;
    border-left: 5px solid var(--primary);
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: transform 0.3s;
}

.project-card:hover {
    transform: translateY(-5px);
}

.category {
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--text-light);
    letter-spacing: 1px;
}

.project-card h3 {
    margin: 10px 0 20px;
    font-size: 1.8rem;
}

.project-tech {
    margin-top: 20px;
    font-weight: 600;
    color: var(--primary);
    font-size: 0.9rem;
}

/* Footer */
footer {
    padding: 100px 0;
    text-align: center;
    background: var(--primary);
    color: var(--white);
}

footer h2 {
    color: var(--white);
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background: var(--white);
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    border-radius: 4px;
    margin: 30px 0;
    transition: 0.3s;
}

.btn:hover {
    background: var(--bg-light);
}

.copyright {
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Animations */
.fade-in {
    animation: fadeIn 1.5s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Responsive */
@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 2.5rem; }
}

/* Añade esto a tu archivo style.css actual */

.contact-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-outline {
    background: transparent !important;
    border: 2px solid var(--white);
    color: var(--white) !important;
}

.btn-outline:hover {
    background: var(--white) !important;
    color: var(--primary) !important;

}

/* Estilo para las imágenes de los proyectos */
.project-img {
    width: 100%;
    height: auto;
    border-radius: 8px; /* Bordes suaves */
    margin-bottom: 20px;
    border: 1px solid #eee; /* Un marco sutil */
    display: block;
}

