/* GLOBAL STYLES */
:root {
    --primary-color: #00d4ff; /* Tech Blue */
    --secondary-color: #7928ca; /* Creative Purple */
    --bg-dark: #0f172a;
    --bg-light: #1e293b;
    --text-main: #e2e8f0;
    --text-muted: #94a3b8;
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

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

body {
    font-family: var(--font-main);
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* NAVBAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 5%;
    background-color: rgba(15, 23, 42, 0.95);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    color: transparent;
}

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

.nav-links a {
    font-weight: 500;
    transition: color 0.3s;
}

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

.menu-btn { display: none; font-size: 1.5rem; cursor: pointer; }

/* HERO SECTION */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 1rem;
    background: radial-gradient(circle at center, #1e293b 0%, #0f172a 100%);
}

.greeting {
    color: var(--primary-color);
    font-weight: 600;
    letter-spacing: 2px;
}

.name {
    font-size: 4rem;
    margin: 0.5rem 0;
}

.roles {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 1rem;
}

.highlight { color: var(--secondary-color); }

.tagline { margin-bottom: 2rem; max-width: 600px; margin-left: auto; margin-right: auto; }

/* BUTTONS */
.btn {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s;
    display: inline-block;
    margin: 0 0.5rem;
}

.btn.primary {
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    color: white;
}

.btn.secondary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn:hover { transform: translateY(-3px); }

/* SECTIONS */
.section { padding: 5rem 10%; }
.bg-dark { background-color: var(--bg-light); }

.section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
    text-align: center;
}

/* ABOUT */
.about-grid { display: flex; justify-content: center; }
.about-text { max-width: 800px; text-align: center; }
.info-list {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.info-list i { color: var(--primary-color); margin-right: 0.5rem; }

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

.skill-category h3 { margin-bottom: 1.5rem; color: var(--primary-color); }

.skill-tags { display: flex; flex-wrap: wrap; gap: 1rem; }

.skill-tags span {
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

/* TIMELINE (Experience) */
.timeline {
    max-width: 800px;
    margin: 0 auto;
    border-left: 2px solid var(--secondary-color);
    padding-left: 2rem;
}

.timeline-item { margin-bottom: 2rem; position: relative; }

.timeline-item::before {
    content: '';
    position: absolute;
    left: -2.6rem;
    top: 0;
    width: 1rem;
    height: 1rem;
    background: var(--primary-color);
    border-radius: 50%;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

/* PORTFOLIO */
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.portfolio-card {
    background: var(--bg-dark);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s;
}

.portfolio-card:hover { transform: translateY(-5px); }

.card-image {
    height: 200px;
    width: 100%;
    /* In real use, use background-image here */
}

.card-info { padding: 1.5rem; }
.card-info h3 { margin-bottom: 0.5rem; }

/* CONTACT & FOOTER */
.contact-wrapper { text-align: center; }
.social-links { margin-top: 2rem; font-size: 1.5rem; }
.social-links a { margin: 0 1rem; transition: color 0.3s; }
.social-links a:hover { color: var(--primary-color); }

footer {
    text-align: center;
    padding: 2rem;
    background-color: #000;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* MOBILE RESPONSIVENESS */
@media (max-width: 768px) {
    .nav-links {
        position: absolute;
        right: 0;
        top: 0;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        width: 60%;
        padding-top: 5rem;
        transform: translateX(100%);
        transition: transform 0.3s ease-in;
    }

    .nav-links.active { transform: translateX(0); }
    
    .menu-btn { display: block; z-index: 1001; }
    
    .name { font-size: 2.5rem; }
    
    .info-list { flex-direction: column; gap: 1rem; }
}
