/* Root Variables - Windows 95 Inspired */
:root {
    --win95-bg: #c0c0c0;
    --win95-dark: #808080;
    --win95-darker: #404040;
    --win95-blue: #2f3f60;
    --win95-white: #ffffff;
    --win95-black: #000000;
    --win95-highlight: #3d5a80;
}

/* Font Import and Global Settings */
@font-face {
    font-family: 'Monocraft';
    src: url('../fonts/Monocraft.ttc');
}

html, body {
    height: 100%;
    margin: 0;
    overflow-x: hidden;
    font-family: 'Monocraft';
    background-color: #205355; /* Updated teal color */
    background-image: repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.03) 0px, rgba(255, 255, 255, 0.03) 2px, transparent 2px, transparent 4px);
    display: flex;
    flex-direction: column;
}

body {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
}

/* Typography and Element Defaults */
h1, h2, .section-title, .card-title {
    font-family: 'Monocraft';
    color: var(--win95-blue);
}

.lead, .info-item h5 {
    color: var(--win95-darker);
}

/* Buttons - Windows 95 Style */
.win95-button {
    display: inline-block;
    background-color: var(--win95-bg);
    border: 2px solid var(--win95-dark);
    box-shadow: inset 1px 1px var(--win95-white), inset -1px -1px var(--win95-darker);
    padding: 6px 12px;
    margin: 0 10px;
    color: var(--win95-black);
    text-decoration: none;
    font-size: 1.2rem;
    border-radius: 0; /* Keep sharp edges */
}

.win95-button:hover {
    background-color: var(--win95-white);
    color: var(--win95-black);
}

.win95-button:active {
    box-shadow: inset -1px -1px var(--win95-white), inset 1px 1px var(--win95-darker);
    transform: translateY(1px);
}

/* Navbar */
.navbar {
    background-color: var(--win95-bg);
    border-bottom: 2px solid var(--win95-dark);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    padding: 0.5rem;
    min-height: 70px;
}

/* Navbar Links and Logo Styled Like Buttons */
.nav-link, .navbar-brand {
    background-color: var(--win95-bg);
    border: 2px solid var(--win95-dark);
    box-shadow: inset 1px 1px var(--win95-white), inset -1px -1px var(--win95-darker);
    padding: 6px 12px;
    margin: 5px;
    color: var(--win95-black);
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 0;
    display: inline-block;
}

.nav-link:hover, .navbar-brand:hover {
    background-color: var(--win95-white);
    color: var(--win95-black);
}

/* Active Page Style */
.nav-link.active, .navbar-brand.active {
    background-color: var(--win95-blue);
    color: var(--win95-white);
    border-color: var(--win95-darker);
    box-shadow: inset 1px 1px var(--win95-darker), inset -1px -1px var(--win95-white);
}

/* Windows 95 Window Styles */
.win95-window {
    position: relative;
    z-index: 1;
    background-color: var(--win95-bg);
    border: 2px solid var(--win95-dark);
    box-shadow: inset 1px 1px var(--win95-white), inset -1px -1px var(--win95-darker);
    margin: 20px auto;
    max-width: 800px;
    width: 90%;
    animation: bootWindow 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.win95-window:hover {
    transform: scale(1.02);
    opacity: 0.95;
}

.window-title-bar {
    background-color: var(--win95-blue);
    color: var(--win95-white);
    padding: 4px 8px;
    font-weight: bold;
    text-align: center;
    border-bottom: 2px solid var(--win95-dark);
}

.window-content {
    padding: 20px;
    background-color: var(--win95-bg);
}

/* Footer */
.footer {
    width: 100%;
    padding: 1rem 0;
    margin-top: auto;
    background-color: var(--win95-bg);
    border-top: 2px solid var(--win95-dark);
    color: var(--win95-black);
}

/* Animations */
@keyframes bootWindow {
    0% {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    60% {
        opacity: 1;
        transform: scale(1.05) translateY(10px);
    }
    100% {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}



@media (max-width: 768px) {
    .win95-window {
        padding: 1rem;
    }
}

@media (max-width: 992px) {
    .navbar {
        min-height: auto;
    }

    main {
        margin-top: 80px;
    }

    .navbar-collapse {
        background-color: var(--win95-bg);
        margin-top: 0.5rem;
        border: 2px solid var(--win95-dark);
        box-shadow: inset 1px 1px var(--win95-white), inset -1px -1px var(--win95-darker);
    }

    .nav-link {
        margin: 5px;
    }
}

.win95-box {
    border: 2px solid var(--win95-dark);
    box-shadow: inset 1px 1px var(--win95-white), inset -1px -1px var(--win95-darker);
    padding: 15px;
    margin-bottom: 20px;  /* Add more space between boxes */
    background-color: var(--win95-bg);
}

/* Optional: add a stronger border or different background to distinguish blocks */
.skills-section .win95-box {
    border-width: 3px;  /* Make borders more prominent */
}

/* Main content positioning */
main {
    margin-top: 70px;
    position: relative;
    width: 100%;
    display: block;
}

/* Hero section adjustment */
.hero {
    padding-top: 70px;  /* Add padding to hero section */
    width: 100%;
}

.terminal-window {
    margin: 20px auto;
    display: inline-block;
    width: fit-content;
    max-width: 100%;
    box-sizing: border-box;
}

.terminal-image {
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 480px) {
    .terminal-window {
        width: 100%;
    }
}

/* Smooth transition for links and buttons */
.nav-link, .navbar-brand, .win95-button {
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.nav-link:hover, .navbar-brand:hover, .win95-button:hover {
    background-color: var(--win95-white);
    color: var(--win95-black);
    box-shadow: inset 1px 1px var(--win95-darker), inset -1px -1px var(--win95-white);
}

/* Smooth transition for window content */
.win95-window {
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.win95-window:hover {
    transform: scale(1.02);
    opacity: 0.95;
}



/* Target only the list items within the interests section */
.interests-list {
    padding-left: 0; /* Remove default padding */
    list-style-type: none; /* Remove bullet points */
}

.interests-list li {
    border-bottom: 2px solid #444; /* Thicker and darker line */
    padding: 10px 0; /* Add some vertical padding */
}

.interests-list li:last-child {
    border-bottom: none; /* Remove the line after the last item */
}

.progress-bar {
    background-color: #3d5a80; /* Change this to your desired color */
}