/* Reset & Body */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Arial', sans-serif; line-height: 1.6; background: #f9f9f9; color: #333; }

/* Navbar */
.navbar { display: flex; justify-content: center; padding: 15px 0; background: #fff; box-shadow: 0 2px 8px rgba(0,0,0,0.05); position: sticky; top: 0; z-index: 100; }
.navbar ul { display: flex; gap: 20px; flex-wrap: wrap; }
.navbar ul li a { text-decoration: none; color: #333; font-weight: bold; transition: color 0.3s; }
.navbar ul li a:hover { color: #6c5ce7; }

/* Hero */
.hero { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 60px 20px 40px; background: #fff; }
.hero h1 { font-size: 2.5rem; margin-bottom: 10px; }
.hero .subtitle { font-size: 1.2rem; color: #555; margin-bottom: 20px; }
.hero-buttons a { margin: 5px; padding: 10px 18px; border-radius: 6px; text-decoration: none; transition: 0.3s; }
.btn { background: #6c5ce7; color: #fff; }
.btn:hover { background: #5747c1; }
.btn-outline { border: 2px solid #6c5ce7; color: #6c5ce7; }
.btn-outline:hover { background: #6c5ce7; color: #fff; }

/* Sections */
section { max-width: 900px; margin: 40px auto; padding: 20px; }
.card { background: #fff; border-radius: 12px; padding: 25px; margin-bottom: 30px; box-shadow: 0 6px 15px rgba(0,0,0,0.05); opacity: 0; transform: translateY(30px); transition: 0.6s ease-out; }
.card.visible { opacity: 1; transform: translateY(0); }

/* Timeline */
.timeline { display: flex; flex-direction: column; gap: 15px; margin-top: 15px; }
.timeline-item h3 { margin-bottom: 5px; color: #6c5ce7; }
.timeline-item span { font-size: 0.9rem; color: #555; }
.timeline-item p { margin-top: 5px; }

/* Dropdown */
.experience-dropdown { margin-top: 10px; }
.exp-btn { background-color: #6c5ce7; color: white; cursor: pointer; padding: 8px 12px; border: none; width: 100%; text-align: left; outline: none; font-size: 0.95rem; border-radius: 6px; margin-top: 5px; }
.exp-btn.active { background-color: #5747c1; }
.exp-content { display: none; padding: 10px 12px; margin-top: 2px; background: #f1f1f1; border-left: 4px solid #6c5ce7; border-radius: 6px; }
.exp-content.show { display: block; }

/* Skills Grid */
.skills-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 15px; margin-top: 15px; }

/* Highlights */
.highlights-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 20px; }
.highlight-item { background: linear-gradient(145deg, #f0f0f0, #ffffff); border: 3px solid transparent; border-radius: 15px; padding: 20px; position: relative; overflow: hidden; transition: transform 0.4s, box-shadow 0.4s; }
.highlight-item::before { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: linear-gradient(60deg, #6c5ce7, #0984e3, #00b894); animation: rotateGradient 5s linear infinite; z-index: 0; opacity: 0.15; border-radius: 20px; }
@keyframes rotateGradient { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }
.highlight-item h3, .highlight-item p, .highlight-item ul { position: relative; z-index: 1; }
.highlight-item a { display: inline-block; margin-top: 10px; font-weight: bold; color: #0984e3; text-decoration: none; transition: transform 0.3s, color 0.3s; }
.highlight-item a:hover { color: #6c5ce7; transform: scale(1.05); }
.highlight-item:hover { transform: translateY(-8px); box-shadow: 0 12px 25px rgba(0,0,0,0.15); }
.highlight-item.vida { border-color: #6c5ce7; }
.highlight-item.medium { border-color: #00b894; }
.highlight-item ul { padding-left: 20px; }
.highlight-item ul li { margin-bottom: 8px; }

/* Footer */
footer { text-align: center; padding: 20px; background: #fff; border-top: 1px solid #eee; margin-top: 40px; color: #555; }

/* Fade-in animations */
.fade-in { opacity: 0; animation: fadeIn 1s forwards; }
@keyframes fadeIn { to { opacity: 1; } }
