:root {
    --bg-color: #0d0d0d;
    --bg-secondary: #1a1a1a;
    --text-primary: #f5f5f5;
    --text-secondary: #a0a0a0;
    --accent: #fcc122; /* Jorge's signature yellow */
    --accent-glow: rgba(252, 193, 34, 0.2);
    --border-color: rgba(255, 255, 255, 0.1);
    --glass-bg: rgba(26, 26, 26, 0.4);
}

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

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

/* Background Effects */
.background-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
}

.glow-orb {
    position: absolute;
    width: 600px;
    height: 600px;
    background: var(--accent);
    filter: blur(150px);
    opacity: 0.15;
    border-radius: 50%;
    animation: float 20s infinite ease-in-out;
}

.orb-1 {
    top: -20%;
    left: -10%;
}

.orb-2 {
    bottom: -20%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0); }
    33% { transform: translate(50px, -50px); }
    66% { transform: translate(-50px, 50px); }
}

/* Typography & Utils */
h1, h2, h3 { line-height: 1.2; font-weight: 800; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }

.accent-text { color: var(--accent); }
.line { width: 50px; height: 3px; background: var(--accent); margin-top: 10px; border-radius: 2px; }

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(13, 13, 13, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 100;
}

.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -1px; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 30px; }
.nav-links a { font-size: 0.9rem; font-weight: 600; color: var(--text-secondary); transition: color 0.3s ease; }
.nav-links a:hover { color: var(--accent); }

/* Main Content */
main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5% 50px;
}

/* Block styles for sections */
section {
    padding: 80px 0;
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header h2 {
    font-size: 3.5rem;
    letter-spacing: -1.5px;
    line-height: 1.1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    flex-direction: row;
    align-items: center;
    gap: 50px;
}

.hero-content {
    flex: 1;
}

.greeting {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 600;
    display: block;
    margin-bottom: 15px;
}

.title { font-size: 4.5rem; letter-spacing: -2px; margin-bottom: 20px; }
.subtitle { font-size: 1.1rem; color: var(--text-secondary); margin-bottom: 40px; max-width: 500px; }

.btn {
    display: inline-block;
    padding: 14px 35px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.btn-primary {
    background: var(--accent);
    color: #000;
    box-shadow: 0 0 20px var(--accent-glow);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 25px var(--accent-glow);
}

.btn-secondary {
    background: transparent;
    border: 1px solid var(--border-color);
    color: var(--text-primary);
    margin-left: 15px;
}
.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* User Photo in Hero */
.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.photo-container {
    position: relative;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--border-color);
    box-shadow: 0 0 50px rgba(0,0,0,0.5);
    background: var(--bg-secondary);
}

.photo-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 0 20px rgba(0,0,0,0.5));
}

.photo-container::after {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle at center, transparent, rgba(0,0,0,0.4));
    pointer-events: none;
}

/* Glass Card Global Styles */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 30px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}
.glass-card:hover { border-color: var(--accent); transform: translateY(-5px); }

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin-top: 40px;
}
.about-text p { color: var(--text-secondary); margin-bottom: 20px; font-size: 1.05rem; }

.skills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 30px;
}
.skill-tag {
    padding: 8px 16px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--text-primary);
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.project-card h3 { margin-bottom: 10px; font-size: 1.3rem; }
.project-card p { color: var(--text-secondary); font-size: 0.95rem; margin-bottom: 20px; }
.project-tech { display: flex; gap: 10px; }
.project-tech span { color: var(--accent); font-size: 0.8rem; font-weight: 600; text-transform: uppercase;}

/* Experience Timeline */
.timeline {
    margin-top: 50px;
    position: relative;
    padding-left: 30px;
    border-left: 2px solid var(--border-color);
}
.timeline-item {
    position: relative;
    margin-bottom: 40px;
}
.timeline-dot {
    position: absolute;
    left: -39px;
    top: 10px;
    width: 16px;
    height: 16px;
    background: var(--accent);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--accent-glow);
}
.timeline-date {
    display: block;
    color: var(--accent);
    font-weight: 600;
    font-size: 0.85rem;
    margin-top: 5px;
    margin-bottom: 15px;
}

/* Contact */
.contact { text-align: center; }
.contact .glass-card { max-width: 600px; margin: 40px auto; padding: 50px; }
.social-links { margin-top: 30px; display: flex; justify-content: center; gap: 20px; }

/* Small Footer */
footer {
    text-align: center;
    padding: 30px;
    color: var(--text-secondary);
    font-size: 0.9rem;
    border-top: 1px solid var(--border-color);
}

/* Animations */
.fade-in-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in-section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 768px) {
    .hero, .about-content { grid-template-columns: 1fr; flex-direction: column-reverse; text-align: center; }
    .hero-visual { margin-bottom: 30px; }
    .title { font-size: 3rem; }
    .section-header h2 { font-size: 2.5rem; }
    .photo-container { width: 300px; height: 300px; }
    .nav-links { display: none; }
    .skills { justify-content: center; }
    .glow-orb { width: 300px; height: 300px; filter: blur(80px); opacity: 0.06; }
}
