/* Tokens */
:root {
    --bg: #141b26;
    --panel: #222b3a;
    --panel-soft: #23293a;
    --panel-alt: #282f3a;
    --text: #e9f1f7;
    --muted: #b9c7d6;
    --accent-blue: #71cfff;
    --accent-green: #1db954;
    --accent-border: #3a4b63;
    --table-row: #1e2a38;
    --table-head: #2b3645;
    --code-bg: #0f1622;
}

html, body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #1E293B;
    overflow-x: hidden;
}

a {
    color: var(--accent-blue);
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

hr {
    border: 0;
    height: 1px;
    background: var(--accent-border);
    margin: 2rem 0;
}



/* General */
body {
    height: 100%;
    width: 100%;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    background-color: #1E293B;
}

/* G End */

/* Nav */
nav {
    background-color: #1E293B;
    height: fit-content;
}

.navbar {
    padding: 0%;
    margin: 0%;
}

nav a,
.nav-link {
    color: #0EA5E9;
}

/* Nav End */

/* Colours */

h1,
h2,
h3,
h4,
h5,
p {
    color: whitesmoke;
}

.sky {
    color: #0EA5E9;
}

.bg {
    background-color: #1E293B;
}

.sky-bg {
    background-color: #0EA5E9;
}

.sky-btn {
    background-color: #0EA5E9;
}

/* Colours End */

.hero-header {
    background-image: url("/static/images/nasa.e6f12fbeac10.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    position: relative;
    overflow: hidden;
}

/* Dark overlay for better text readability */
.hero-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.hero-header .container {
    position: relative;
    z-index: 2;
}

.divider-custom {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.divider-custom .divider-custom-line {
    width: 100%;
    max-width: 7rem;
    height: 0.25rem;
    background-color: #2c3e50;
    border-radius: 1rem;
    border-color: #2c3e50;
}

.divider-custom.divider-light .divider-custom-line {
    background-color: #fff;
}

.divider-custom.divider-light .divider-custom-icon {
    color: #fff;
}

.project-img {
    width: 100%;
    height: 225px;
    object-fit: cover;
    display: block;
    border-radius: 0.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* Footer social media SVG icons */
.btn-social img {
    filter: brightness(0) invert(1);
    transition: filter 0.3s ease;
}

/* Social media icon hover colors */
/* GitHub - white to light gray */
.btn-social:hover .fa-github {
    color: #6e5494;
}

/* LinkedIn - blue */
.btn-social:hover .fa-linkedin-in {
    color: #0077b5;
}

/* TryHackMe - red */
.btn-social:has(img[alt="TryHackMe"]):hover img {
    filter: brightness(0) saturate(100%) invert(27%) sepia(98%) saturate(3710%) hue-rotate(352deg) brightness(95%) contrast(95%);
}

/* HackTheBox - green */
.btn-social:has(img[alt="HackTheBox"]):hover img {
    filter: brightness(0) saturate(100%) invert(64%) sepia(71%) saturate(425%) hue-rotate(61deg) brightness(98%) contrast(87%);
}