/* --- Reset & Fonts --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Share Tech Mono', monospace;
    background-color: #0b0c10;
    color: #f5f5f5;
}

/* --- Header --- */
.topbar {
    position: sticky;
    top: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 40px;
    background: #1f0b0b;
    border-bottom: 3px solid #ff3c38;
    z-index: 100;
}

.logo {
    font-weight: bold;
    color: #ff3c38;
    cursor: pointer;
    font-size: 1.4rem;
}

nav a {
    margin-left: 25px;
    text-decoration: none;
    color: #f5f5f5;
    font-weight: 600;
    transition: color 0.3s ease;
}

nav a:hover {
    color: #ff3c38;
}

/* --- Hero Section --- */
.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 90vh;
    text-align: center;
    background: linear-gradient(160deg, #1f0b0b, #0b0c10);
    padding: 0 20px;
}

.hero h1 {
    font-size: 3rem;
    color: #ff3c38;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    max-width: 600px;
}

.hero button {
    background-color: #ff1a1a;
    color: #0b0c10;
    border: none;
    padding: 12px 25px;
    cursor: pointer;
    font-weight: 700;
    font-size: 1rem;
    transition: background 0.3s ease;
}

.hero button:hover {
    background-color: #ff3c38;
}

/* --- Sections --- */
.section {
    padding: 80px 20px;
    max-width: 1000px;
    margin: 0 auto;
}

.section h2 {
    font-size: 2.2rem;
    color: #ff3c38;
    margin-bottom: 25px;
    text-align: center;
}

.section p {
    font-size: 1.1rem;
    line-height: 1.7;
    text-align: center;
}

/* --- Projects Grid --- */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.project-card {
    background: #1f0b0b;
    padding: 25px;
    border-left: 5px solid #ff3c38;
    border-radius: 8px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(255, 60, 56, 0.5);
}

.project-card h3 {
    margin-bottom: 10px;
    color: #ff3c38;
}

.project-card p {
    color: #f5f5f5;
}

/* --- Footer --- */
footer {
    text-align: center;
    padding: 25px 0;
    border-top: 2px solid #ff3c38;
    color: #aaa;
    margin-top: 50px;
}

/* --- Responsive --- */
@media (max-width: 800px) {
    .hero h1 {
        font-size: 2.2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .topbar {
        flex-direction: column;
        gap: 10px;
    }

    nav a {
        margin-left: 0;
        margin-right: 15px;
    }
}
