/* Windows 95 Theme CSS - Modern Website */

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

:root {
    --win95-gray: #c0c0c0;
    --win95-dark-gray: #808080;
    --win95-light-gray: #dfdfdf;
    --win95-highlight: #ffffff;
    --win95-shadow: #808080;
    --win95-dark-shadow: #000000;
    --win95-light-highlight: #ffffdf;
    --primary-blue: #0a246a;
    --accent-blue: #1084d7;
}

html {
    scroll-behavior: smooth;
    height: auto;
}

body {
    font-family: "MS Sans Serif", Arial, sans-serif;
    font-size: 12px;
    background-color: var(--win95-gray);
    color: #000000;
    line-height: 1.6;
    min-height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

/* Header & Navigation */
.header {
    background-color: var(--win95-gray);
    border-bottom: 2px solid;
    border-color: var(--win95-highlight) var(--win95-shadow) var(--win95-shadow) var(--win95-highlight);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 20px;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 24px;
    font-weight: bold;
    color: var(--primary-blue);
    text-decoration: none;
    text-shadow: 1px 1px 0 var(--win95-highlight);
}

.logo img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 3px rgba(255, 255, 255, 0.9)) drop-shadow(0 0 7px rgba(16, 132, 215, 0.8));
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    text-decoration: none;
    color: #000000;
    font-weight: 500;
    padding: 6px 12px;
    border: 1px solid transparent;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background-color: var(--accent-blue);
    color: #ffffff;
    border: 1px solid var(--win95-shadow);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--accent-blue) 100%);
    color: #ffffff;
    padding: 80px 20px;
    text-align: center;
    border-bottom: 3px solid var(--win95-shadow);
    width: 100%;
    box-sizing: border-box;
}

.hero-content h1 {
    font-size: 52px;
    margin-bottom: 10px;
    text-shadow: 0 0 4px rgba(255, 255, 255, 0.9), 0 0 12px rgba(255, 255, 255, 0.65), 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.tagline {
    font-size: 24px;
    margin-bottom: 8px;
    font-weight: 600;
}

.subtitle {
    font-size: 16px;
    opacity: 0.95;
}

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Sections */
.section {
    padding: 60px 20px;
    border-bottom: 2px solid var(--win95-shadow);
    background-color: var(--win95-light-gray);
    width: 100%;
    box-sizing: border-box;
}

.section h2 {
    font-size: 32px;
    color: var(--primary-blue);
    margin-bottom: 30px;
    padding-bottom: 15px;
    border-bottom: 3px solid var(--accent-blue);
    text-shadow: 1px 1px 0 var(--win95-highlight);
}

.section-subtitle {
    font-size: 16px;
    color: var(--win95-dark-gray);
    margin-bottom: 30px;
}

/* Projects Section */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.project-card {
    background-color: var(--win95-light-gray);
    border: 2px solid;
    border-color: var(--win95-highlight) var(--win95-shadow) var(--win95-shadow) var(--win95-highlight);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.project-card:hover {
    background-color: #e8e8e8;
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.project-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.project-icon img {
    width: 64px;
    height: 64px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.project-card h3 {
    color: var(--primary-blue);
    margin-bottom: 12px;
    font-size: 18px;
}

.project-card p {
    color: #333333;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 13px;
}

/* Buttons & Badges */
.btn {
    display: inline-block;
    background-color: var(--accent-blue);
    color: #ffffff;
    padding: 8px 16px;
    text-decoration: none;
    border: 1px solid;
    border-color: var(--win95-highlight) var(--primary-blue) var(--primary-blue) var(--win95-highlight);
    cursor: pointer;
    font-size: 12px;
    font-weight: bold;
    transition: all 0.2s ease;
}

.btn:hover {
    background-color: var(--primary-blue);
    transform: scale(1.05);
}

.btn:active {
    border-color: var(--primary-blue) var(--win95-highlight) var(--win95-highlight) var(--primary-blue);
}

.back-to-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    background-color: var(--win95-gray);
    color: var(--primary-blue);
    border: 2px solid;
    border-color: var(--win95-highlight) var(--win95-shadow) var(--win95-shadow) var(--win95-highlight);
    box-shadow: 2px 2px 0 rgba(0, 0, 0, 0.35);
    cursor: pointer;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
    z-index: 90;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--accent-blue);
    color: #ffffff;
}

.back-to-top:active {
    border-color: var(--win95-shadow) var(--win95-highlight) var(--win95-highlight) var(--win95-shadow);
    box-shadow: none;
    transform: translate(2px, 2px);
}

.status-badge {
    display: inline-block;
    background-color: var(--win95-gray);
    color: #666666;
    padding: 4px 10px;
    border: 1px solid;
    border-color: var(--win95-highlight) var(--win95-shadow) var(--win95-shadow) var(--win95-highlight);
    font-size: 11px;
    font-weight: bold;
    margin-top: 10px;
}

.status-badge.active {
    color: #008000;
    background-color: #e8ffe8;
}

/* About Section */
.about-content {
    background-color: var(--win95-light-gray);
    border: 2px solid;
    border-color: var(--win95-highlight) var(--win95-shadow) var(--win95-shadow) var(--win95-highlight);
    padding: 25px;
    margin-bottom: 25px;
}

.about-content p {
    margin-bottom: 15px;
    color: #333333;
    line-height: 1.7;
}

.info-card {
    background-color: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-shadow) var(--win95-highlight) var(--win95-highlight) var(--win95-shadow);
    padding: 20px;
    margin-top: 20px;
}

.info-card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.info-card p {
    color: #000000;
    margin-bottom: 8px;
}

/* Contact Section */
.contact-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.contact-card {
    background-color: var(--win95-light-gray);
    border: 2px solid;
    border-color: var(--win95-highlight) var(--win95-shadow) var(--win95-shadow) var(--win95-highlight);
    padding: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    background-color: #e8e8e8;
    transform: translateY(-3px);
}

.contact-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
}

.contact-card h3 {
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.contact-card p {
    color: #333333;
    font-size: 13px;
}

.contact-card a {
    color: #0000aa;
    text-decoration: underline;
    font-weight: bold;
}

.contact-card a:hover {
    color: var(--primary-blue);
}

/* Footer */
.footer {
    background: linear-gradient(90deg, var(--primary-blue) 0%, #0d2f7a 100%);
    color: #ffffff;
    border-top: 3px solid var(--win95-shadow);
    padding: 30px 20px;
    margin-top: 40px;
    width: 100%;
    box-sizing: border-box;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-top {
    display: flex;
    justify-content: flex-start;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-top p {
    font-size: 13px;
    line-height: 1.6;
}

.footer-top a {
    color: #ffff00;
    text-decoration: underline;
    font-weight: bold;
}

.footer-top a:hover {
    color: #ffffff;
}

.footer-bottom {
    text-align: center;
    font-size: 11px;
    color: #e8e8e8;
    line-height: 1.8;
}

.footer-bottom p {
    margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        gap: 12px;
        padding: 10px 16px;
    }

    .nav-menu {
        gap: 6px;
        flex-wrap: wrap;
        justify-content: flex-end;
    }

    .nav-link {
        display: inline-block;
        padding: 8px 9px;
    }

    .hero-content h1 {
        font-size: 36px;
    }

    .tagline {
        font-size: 18px;
    }

    .section h2 {
        font-size: 24px;
    }

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

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

    .hero {
        padding: 50px 16px;
    }

    .section {
        padding: 40px 16px;
    }

    .project-card,
    .contact-card,
    .about-content {
        padding: 20px 16px;
    }

    .footer {
        padding: 25px 16px;
    }

    .back-to-top {
        right: 14px;
        bottom: 14px;
    }
    }
}

@media (max-width: 480px) {
    body {
        font-size: 11px;
    }

    .logo {
        font-size: 20px;
    }

    .logo img {
        width: 28px;
        height: 28px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .tagline {
        font-size: 14px;
    }

    .nav-menu {
        width: 100%;
        justify-content: center;
        gap: 4px;
    }

    .nav-link {
        padding: 7px 8px;
    }

    .section h2 {
        font-size: 20px;
    }

    .section-subtitle {
        font-size: 12px;
    }

    .footer-bottom {
        text-align: left;
    }

    .back-to-top {
        width: 40px;
        height: 40px;
        right: 12px;
        bottom: 12px;
    }
}
