/* --- Global Reset & Dark Theme --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #111; /* Dark Background */
    color: #eee; /* Light Text */
    line-height: 1.6;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* --- Navigation --- */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 50px;
    background-color: #1a1a1a;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid #ff4d4d; /* Red Accent Line */
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff4d4d; /* Red Accent */
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a:hover {
    color: #ff4d4d;
}

/* --- Hero Section --- */
.hero {
    height: 90vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('https://source.unsplash.com/1600x900/?technology,dark');
    background-size: cover;
    background-position: center;
}

.subtitle {
    color: #ff4d4d;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
}

.highlight { color: #ff4d4d; }

.btn {
    margin-top: 30px;
    padding: 10px 30px;
    background-color: #ff4d4d;
    color: white;
    border-radius: 5px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover { background-color: #cc0000; }

/* --- General Section Styling --- */
.container {
    padding: 80px 10%;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 10px;
    border-left: 5px solid #ff4d4d;
    padding-left: 15px;
}

.section-subtitle {
    color: #aaa;
    margin-bottom: 40px;
}

/* --- Grid / Cards (Portfolio) --- */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.card {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 8px;
    transition: transform 0.3s;
    border: 1px solid #333;
}

.card:hover {
    transform: translateY(-5px);
    border-color: #ff4d4d;
}

.card h3 { margin: 15px 0; color: #fff; }
.card .icon { font-size: 2rem; color: #ff4d4d; }

/* --- Skills (Progress Bars) --- */
.skill-bar { margin-bottom: 20px; }

.skill-bar .info {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
}

.skill-bar .bar {
    width: 100%;
    height: 10px;
    background: #333;
    border-radius: 5px;
    overflow: hidden;
}

.skill-bar .progress {
    display: block;
    height: 100%;
    background: #ff4d4d;
}

/* --- Timeline (Experience) --- */
.timeline-item {
    background: #1a1a1a;
    padding: 20px;
    margin-bottom: 20px;
    border-left: 3px solid #ff4d4d;
}

.timeline-item .date {
    color: #ff4d4d;
    font-weight: bold;
    font-size: 0.9rem;
}

.timeline-item .company {
    display: block;
    font-style: italic;
    color: #aaa;
    margin-bottom: 10px;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 50px 20px;
    background: #000;
    border-top: 1px solid #333;
}

.socials {
    margin: 20px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.socials a {
    color: #aaa;
    font-size: 1.1rem;
    transition: 0.3s;
}

.socials a:hover { color: #ff4d4d; }


/* Style for lists inside the timeline */
.timeline-item ul {
    margin-top: 10px;
    padding-left: 20px;
    color: #ccc;
}

.timeline-item li {
    margin-bottom: 5px;
    list-style-type: disc; /* Adds the bullet dot */
}

/* Hacker Name Style */
#hacker-name {
    font-family: 'Courier New', Courier, monospace; /* Terminal font */
    background-color: #ff4d4d; /* Red background highlight */
    color: black; /* Black text on red background */
    padding: 0 10px;
    border-radius: 4px;
    display: inline-block; /* Keeps it in line */
    min-width: 200px; /* Prevents text from jumping size */
    text-align: center;
}

/* Project Card Links */
.project-links {
    margin-top: 20px;
    display: flex;
    gap: 15px; /* Space between buttons */
}

.link-btn {
    text-decoration: none;
    font-size: 0.9rem;
    color: #ff4d4d; /* Red Accent */
    border: 1px solid #ff4d4d;
    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px; /* Space between icon and text */
}

.link-btn:hover {
    background-color: #ff4d4d;
    color: white; /* Text turns white on hover */
    transform: translateY(-2px); /* Slight lift effect */
}