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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #0f0f0f;
    color: #d0d0d0;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Navbar */
.header {
    background-color: #1a1a1a;
    border-bottom: 1px solid #333;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 24px;
    font-weight: bold;
    color: #00ff99;
    text-decoration: none;
}

.navbar {
    display: flex;
    gap: 30px;
}

.navbar a {
    color: #d0d0d0;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
}

.navbar a:hover {
    color: #00ff99;
}

/* Main Content */
.main-content {
    min-height: calc(100vh - 200px);
    padding: 40px 0;
}

/* Footer */
.footer {
    background-color: #1a1a1a;
    border-top: 1px solid #333;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    font-size: 12px;
    color: #888;
}

.footer a {
    color: #00ff99;
    text-decoration: none;
    margin-left: 20px;
}

.footer a:hover {
    text-decoration: underline;
}

/* Cards */
.project-card {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    transition: border-color 0.3s;
}

.project-card:hover {
    border-color: #00ff99;
}

.project-card h3 {
    color: #00ff99;
    margin-bottom: 10px;
}

.project-card p {
    font-size: 14px;
    color: #b0b0b0;
}

.project-card a {
    color: #00ff99;
    text-decoration: none;
    font-size: 14px;
    margin-top: 10px;
    display: inline-block;
}

.project-card a:hover {
    text-decoration: underline;
}

/* Form */
.contact-form {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    max-width: 600px;
    border-radius: 4px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 14px;
    color: #00ff99;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: #0f0f0f;
    border: 1px solid #333;
    color: #d0d0d0;
    font-family: inherit;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #00ff99;
}

.form-group textarea {
    resize: vertical;
    min-height: 150px;
}

.char-count {
    font-size: 12px;
    color: #888;
    margin-top: 5px;
}

button {
    background-color: #00ff99;
    color: #0f0f0f;
    padding: 12px 30px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

button:hover {
    background-color: #00e680;
}

/* About & Contact Section */
.about-section,
.contact-section {
    max-width: 800px;
}

.about-content {
    background-color: #1a1a1a;
    border: 1px solid #333;
    padding: 30px;
    border-radius: 4px;
}

.about-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
}

.tech-list {
    list-style: none;
    columns: 2;
    column-gap: 30px;
}

.tech-list li {
    margin-bottom: 10px;
    padding-left: 20px;
    position: relative;
}

.tech-list li:before {
    content: "→";
    position: absolute;
    left: 0;
    color: #00ff99;
}

/* Headings */
h1, h2, h3 {
    color: #00ff99;
    margin-bottom: 20px;
}

h1 {
    font-size: 36px;
}

h2 {
    font-size: 28px;
}

/* Hero */
.hero {
    text-align: center;
    margin-bottom: 60px;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 10px;
}

.hero p {
    font-size: 18px;
    color: #b0b0b0;
    margin-bottom: 15px;
}

/* Category Section */
.category-section {
    max-width: 900px;
}

.projects-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 20px;
}

/* Category Grid */
.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-wrap: wrap;
        gap: 15px;
    }

    .navbar a {
        font-size: 12px;
    }

    h1 {
        font-size: 24px;
    }

    .hero h1 {
        font-size: 32px;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.hamburger {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #0099ff;  /* match your theme */
    margin: 5px 0;
    transition: 0.3s;
}

/* Mobile: show hamburger, hide navbar initially */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .navbar {
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background-color: #1a1a1a;  /* adjust to your header bg */
        flex-direction: column;
        padding: 1rem 0;
        gap: 0;
        display: none;
    }

    .navbar.active {
        display: flex;
    }

    .navbar a {
        padding: 0.75rem 1.5rem;
        border-bottom: 1px solid #333;
    }

    .navbar a:last-child {
        border-bottom: none;
    }
}

.project-images {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.project-image-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.project-image-thumb:hover {
    transform: scale(1.05);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.8);
}

.modal-content {
    margin: auto;
    display: block;
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border-radius: 8px;
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #f1f1f1;
    font-size: 32px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #bbb;
}

.project-media {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.media-figure {
    margin: 0;
}

.project-image-thumb,
.project-video-thumb {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    transition: transform 0.2s;
}

.project-image-thumb:hover,
.project-video-thumb:hover {
    transform: scale(1.05);
}

figcaption {
    text-align: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: #888;
    font-style: italic;
}

.footer .icons {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
}

.footer .icons li {
    margin: 0;
}

.footer .icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: transparent;
    color: white;
    transition: background-color 0.2s;
    text-decoration: none;
}

.footer .icons a i {
    font-size: 1.5rem;
}

.footer .icons a:hover {
    background-color: #00ff99;
}

.footer h3 {
    margin-top: 1rem;
    margin-bottom: 0.5rem;
}
.footer > .container > li {
    list-style: none;
}
