/* ROOT VARIABLES */
:root {
    --bg-dark: #1a1a2e;
    --bg-darker: #16213e;
    --accent-color: #e94560;
    --text-light: #eaeaea;
    --text-muted: #a0a0a0;
}

/* BODY & GLOBAL */
body {
    background-color: var(--bg-dark);
    color: var(--text-light);
    font-family: 'Poppins', sans-serif;
    overflow-x: hidden;
}

/* NAVBAR */
.navbar {
    background-color: rgba(26, 26, 46, 0.98);
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 1.2rem 0;
}

.navbar-brand {
    font-family: 'Roboto Mono', monospace;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-light) !important;
}

.navbar-brand span { color: var(--accent-color); }

.nav-link {
    font-family: 'Roboto Mono', monospace;
    color: var(--text-muted) !important;
    margin: 0 15px;
    position: relative;
    transition: color 0.3s;
    cursor: pointer;
}

.nav-link:hover, .nav-link.active { color: var(--text-light) !important; }

.nav-link.active::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--accent-color);
}

/* PAGE SYSTEM */
.page-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
    padding-top: 40px;
    padding-bottom: 60px;
}

.page-section.active { display: block; }

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* HERO SECTION */
.hero-content {
    min-height: 70vh;
    display: flex;
    align-items: center;
}

.profile-img {
    width: 280px;
    height: 280px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--accent-color);
    box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
    transition: transform 0.3s;
}

.profile-img:hover { transform: rotate(5deg) scale(1.05); }

.typewriter-text {
    font-family: 'Roboto Mono', monospace;
    font-size: 1.5rem;
    color: var(--accent-color);
    border-right: 3px solid var(--accent-color);
    padding-right: 5px;
    animation: blink 0.7s infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes blink {
    0%, 100% { border-color: transparent; }
    50% { border-color: var(--accent-color); }
}

.hero-title { font-size: 4rem; font-weight: 700; margin: 10px 0; }

/* CARDS & SECTIONS */
.section-title {
    font-family: 'Roboto Mono', monospace;
    font-size: 2rem;
    margin-bottom: 40px;
    border-left: 5px solid var(--accent-color);
    padding-left: 15px;
}

.card-custom {
    background-color: var(--bg-darker);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 10px;
    padding: 25px;
    transition: all 0.3s;
    height: 100%;
}

.card-custom:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    border-color: var(--accent-color);
}

.tag {
    background-color: rgba(233, 69, 96, 0.1);
    color: var(--accent-color);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-family: 'Roboto Mono', monospace;
    display: inline-block;
    margin: 2px;
}

/* CERTIFICATES */
.cert-img {
    width: 100%;
    max-width: 400px;
    border-radius: 8px;
    border: 2px solid rgba(255,255,255,0.1);
    transition: transform 0.3s;
}
.cert-img:hover {
    transform: scale(1.02);
    border-color: var(--accent-color);
}

/* TIMELINE */
.timeline-item {
    border-left: 2px solid var(--accent-color);
    padding-left: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -6px;
    top: 5px;
    width: 10px;
    height: 10px;
    background-color: var(--accent-color);
    border-radius: 50%;
}

/* FOOTER */
footer {
    background-color: var(--bg-darker);
    padding: 20px 0;
    border-top: 1px solid rgba(255,255,255,0.05);
}

.social-icon {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin: 0 15px;
    transition: color 0.3s, transform 0.3s;
}

.social-icon:hover {
    color: var(--accent-color);
    transform: translateY(-3px);
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .hero-title { font-size: 2.5rem; }
    .profile-img { width: 200px; height: 200px; }
    .hero-content { text-align: center; }
}