/* Base styles and variables */
:root {
    --primary-color: #4CAF50;
    --hover-color: #81C784;
    --bg-color: #101810;
    --card-bg: #181818;
    --card-bg-hover: #242424;
    --text-color: #ffffff;
    --text-muted: #aaaaaa;
    --footer-color: #777777;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    background-image: url('/assets/images/bruhloww.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    min-height: 100vh;
    font-family: Inter, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

/* Navigation */
nav {
    position: sticky;
    top: 0;
    background-color: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 80%;
    margin: 0 auto;
    padding: 15px 0;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-links li {
    margin-left: 25px;
}

.nav-links a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

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

/* Main container */
.container {
    width: 80%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* Header */
header {
    text-align: center;
    margin-top: 50px;
    margin-bottom: 20px;
}

header h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    letter-spacing: -0.5px;
}

header p {
    font-size: 1.2rem;
    color: var(--text-muted);
}

/* Contact section */
.contact {
    text-align: center;
    margin: 40px 0;
}

.contact a {
    color: var(--primary-color);
    text-decoration: none;
    margin: 0 15px;
    font-weight: 500;
    transition: color 0.3s;
    padding: 8px 15px;
    border-radius: 4px;
    background-color: rgba(76, 175, 80, 0.1);
}

.contact a:hover {
    color: var(--hover-color);
    background-color: rgba(76, 175, 80, 0.2);
}

/* Section titles */
.section-title {
    font-size: 2rem;
    margin: 50px 0 30px;
    border-bottom: 2px solid var(--primary-color);
    display: inline-block;
    padding-bottom: 5px;
}

/* Project cards */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 25px;
}

.project {
    padding: 25px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.project:hover {
    transform: translateY(-5px);
    background: var(--card-bg-hover);
}

.project h3 {
    margin-top: 0;
    color: var(--primary-color);
    font-size: 1.4rem;
}

.project a {
    color: inherit;
    text-decoration: none;
}

.tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background-color: rgba(76, 175, 80, 0.2);
    color: var(--primary-color);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.85rem;
}

/* Tools grid */
.tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.tool-card {
    padding: 20px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background 0.3s;
    text-decoration: none;
    color: var(--text-color);
}

.tool-card:hover {
    transform: translateY(-5px);
    background: var(--card-bg-hover);
}

.coming-soon {
    opacity: 0.6;
    cursor: not-allowed;
}

.tool-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Interests section */
.interests-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.interest-card {
    padding: 25px;
    background: var(--card-bg);
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s, background 0.3s;
}

.interest-card:hover {
    transform: translateY(-5px);
    background: var(--card-bg-hover);
}

.interest-card h3 {
    margin-top: 0;
    color: var(--primary-color);
}

/* Footer */
footer {
    text-align: center;
    margin-top: 70px;
    padding: 25px;
    background-color: rgba(24, 24, 24, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--footer-color);
}

/* Media Queries */
@media (max-width: 768px) {
    .container {
        width: 90%;
    }

    header h1 {
        font-size: 2.5rem;
    }

    .projects-grid,
    .tools-grid,
    .interests-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        display: none;
    }
}

/* Mobile Navigation Menu Button (for future implementation) */
@media (max-width: 768px) {
    .nav-container {
        position: relative;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: var(--text-color);
        font-size: 1.5rem;
        cursor: pointer;
    }

    /* You'd need to add JS to toggle a .nav-active class */
    .nav-links.nav-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: rgba(18, 18, 18, 0.95);
        padding: 20px;
    }

    .nav-links.nav-active li {
        margin: 10px 0;
    }
}
