/* ===== General Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-bg: #2c2c2c;
    --secondary-bg: #444;
    --tertiary-bg: #333;
    --text-color: #fff;
    --text-secondary: #ccc;
    --text-muted: #999;
    --text-link:#a6c4ff;
    --text-link-visited:#7f9acf;
    --accent-color: #93a2c0;
    --accent-color-dark: #2f3746;
    --accent-hover: rgb(14, 60, 109);
    --border-color: #666;
    --shadow-color: rgba(0, 0, 0, 0.3);
}

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

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

/* ===== Header & Navigation ===== */
header {
    background-color: var(--secondary-bg);
    box-shadow: 0 2px 5px var(--shadow-color);
    position: sticky;
    top: 0;
    z-index: 100;
}

.navbar {
    padding: 1rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

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

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

.nav-links a:hover,
.nav-links a.active {
    color: var(--accent-color);
}

/* ===== Buttons ===== */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.btn-primary {
    background-color: var(--accent-color-dark);
    color: var(--text-color);
}

.btn-primary:hover {
    background-color: var(--accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: var(--tertiary-bg);
    color: var(--text-color);
}

.btn-secondary:hover {
    background-color: var(--secondary-bg);
    transform: translateY(-2px);
}

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--accent-color) 100%);
    color: var(--text-color);
    padding: 0rem 0;
    margin-top: 2rem;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 2rem;
    border: 4px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    max-width: 600px;
}

.banner-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

/* ===== Section Headers ===== */
.portfolio-hero,
.about-hero,
.contact-hero {
    background-color: var(--secondary-bg);
    padding: 3rem 0;
    text-align: center;
    margin: 2rem 0;
}

.portfolio-hero h2,
.about-hero h2,
.contact-hero h2 {
    font-size: 2.5rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.changable-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
}


/* ===== Featured & Portfolio Grid ===== */
.featured,
.portfolio-grid-section {
    padding: 4rem 0;
    background-color: var(--primary-bg);
    margin: 2rem 0;
}

.featured h2,
.portfolio-grid-section h2 {
    font-size: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

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

.project-card,
.portfolio-item {
    background: var(--secondary-bg);
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px var(--shadow-color);
    transition: all 0.3s ease;
}

.project-card:hover,
.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px var(--shadow-color);
}

.project-card img,
.portfolio-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.project-card h3,
.portfolio-info h3 {
    font-size: 1.3rem;
    padding: 1.5rem 1.5rem 0.5rem;
    color: var(--text-color);
}

.project-card p,
.portfolio-info p {
    padding: 0 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.project-card .btn,
.portfolio-info .btn {
    margin: 0 1.5rem 1.5rem;
}

.category-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: var(--tertiary-bg);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    margin: 0 1.5rem 1.5rem;
}

/* ===== Filter Buttons ===== */
.filter-section {
    text-align: center;
    padding: 2rem 0;
    background-color: var(--secondary-bg);
}

.filter-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--accent-color);
    background: var(--primary-bg);
    color: var(--accent-color);
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
}

.filter-btn:hover,
.filter-btn.active {
    background-color: var(--accent-color);
    color: var(--text-color);
}

/* ===== About Section ===== */
.about-content {
    padding: 4rem 0;
    background-color: var(--primary-bg);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3,
.FAQ h2 {
        font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-color);
}

.about-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.skills-list {
    list-style: none;
    padding: 0;
}

.skills-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-color);
}

.skills-list li:link :active{
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-link);
    
}

.skills-list li a {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-link);
}


.skills-list li a:visited{
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-link-visited);
}

.skills-list li:before {
    content: ">";
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-weight: bold;
}

.about-image img {
    width: 120%;
    border-radius: 8px;
}

/* ===== FAQ Menu (taken from the original Experience tab) ===== */
.faq {
    padding: 4rem 0;
    background-color: var(--secondary-bg);
}

.FAQ h2 {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 2rem;
}

.timeline {
    max-width: 700px;
    margin: 0 auto;
}

.timeline-item {
    padding: 1.5rem;
    background: var(--primary-bg);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    border-radius: 5px;
}

.timeline-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.timeline-item .company {
    color: var(--accent-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.timeline-item p {
    color: var(--text-color);
}

/* ===== Projects Menu (taken from the original Experience tab) ===== */
.game-projects {
    padding: 4rem 0;
    background-color: var(--secondary-bg);
}

.game-projects h2 {
    text-align: center;
    font-size: 2rem;
}

.game-projects .projects-subtitle {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1rem;
    color: var(--text-secondary);
}

.projects-display {
    max-width: 1000px;
    margin: 0 auto;
}

.projects-display a {
    text-decoration: none;
}

.projects-display-item {
    display: grid;
    grid-template-columns: 1fr 4fr;
    gap: 3rem;
    align-items: center;

    padding: 1.2rem;
    background: var(--primary-bg);
    margin-bottom: 1.5rem;
    border-left: 4px solid var(--accent-color);
    border-right: 4px solid var(--accent-color);
    border-radius: 5px;
    padding-left: 0;
    padding-top: 0;
    padding-bottom: 0;
    box-shadow: 0 2px 8px var(--shadow-color);
    text-decoration: none;
}

.projects-display-item img {
    max-width: 200px;
    padding: 0;
}

.projects-display-item .subtext {
    font-size: 1rem;
    position: relative;
    color: var(--text-color);
    margin-bottom: 0.5rem;

}

.projects-display-item .status-wip {
    font-size: 1rem;
    position: relative;
    color:rgb(255, 222, 132);
    margin-bottom: 0.5rem;

}

.projects-display-item .status-released {
    font-size: 1rem;
    position: relative;
    color:rgb(188, 255, 233);
    margin-bottom: 0.5rem;

}

.projects-display-item h4 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 0.1rem;
    margin-top: 1rem;
    text-decoration: none;
}


.projects-display-item p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

/* ===== osu Skin Display ===== */
.skin-display {
    padding: 2rem 0;
    background-color: var(--primary-bg);
}

.skin-display img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.introduction-text h3, .skin-display h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--text-color);
}

.skin-display .subtitle {
    font-size: 1rem;
    position: relative;
    color: var(--text-color);
    margin-bottom: 0.5rem;

}

.introduction-text p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.introduction-display-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: center;
}

.screenshot-display-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    align-items: center;
}

.screenshot-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.screenshot-display-grid img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}


/* ===== CTA Section ===== */
.cta {
    background: var(--secondary-bg);
    color: var(--text-color);
    padding: 3rem 0;
    text-align: center;
    margin: 2rem 0;
}

.cta h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* ===== Contact Section ===== */
.contact-content {
    padding: 4rem 0;
    background-color: var(--primary-bg);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.contact-form h3,
.contact-info h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-color);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid var(--border-color);
    border-radius: 5px;
    font-family: inherit;
    font-size: 1rem;
    background-color: var(--secondary-bg);
    color: var(--text-color);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.3);
}

.info-item {
    margin-bottom: 2rem;
}

.info-item h4 {
    font-size: 1.1rem;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.info-item p,
.info-item a {
    color: var(--text-secondary);
    text-decoration: none;
}

.info-item a:hover {
    color: var(--accent-color);
}

.social-icons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-icons a {
    display: inline-block;
    color: var(--accent-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.social-icons a:hover {
    color: var(--accent-hover);
}

/* ===== Footer ===== */
footer {
    background-color: var(--tertiary-bg);
    color: var(--text-color);
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

footer p {
    margin: 0;
}

.social-links {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-links a:hover {
    color: var(--accent-color);
}

/* ===== Responsive Design ===== */
@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

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

    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .portfolio-hero h2,
    .about-hero h2,
    .contact-hero h2 {
        font-size: 2rem;
    }

    footer .container {
        flex-direction: column;
        gap: 1rem;
    }

    .filter-buttons {
        gap: 0.5rem;
    }

    .filter-btn {
        padding: 0.4rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar .container {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .hero {
        padding: 2rem 0;
    }

    .hero h2 {
        font-size: 1.5rem;
    }

    .featured h2,
    .portfolio-grid-section h2 {
        font-size: 1.5rem;
    }
}
