:root {
    --background: #090711;
    --background-light: #120e20;
    --card: #1b1530;
    --card-hover: #251b3d;

    --purple: #a855f7;
    --purple-bright: #c084fc;
    --lavender: #d8b4fe;

    --text: #f5efff;
    --text-muted: #b7aabe;
    --border: #493365;
} 

.logo a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo span {
    color: #a855f7;
    transition: color 0.3s ease;
}

/* Flip the colours on hover */
.logo a:hover {
    color: #a855f7;
}

.logo a:hover span {
    color: #ffffff;
}


/* Main Font for Site is  BAI JAMJUREE (kinda like the font from nintendo UI but fully copyright free */

body {
    font-family: 'Bai Jamjuree', sans-serif;
}

h1, h2, h3, h4, h5, h6,
.logo,
.btn,
button,
.section-tag {
    font-family: 'Bai Jamjuree', sans-serif;
}


/* GENERAL */

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

body {
    background: var(--background);
    color: var(--text);
    font-family: 'Bai Jamjuree', sans-serif;
}

/* remove underline from links */
a {text-decoration: none; }

/* HEADER */

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 8%;
    background: rgba(18, 14, 32, 0.95);
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(168, 85, 247, 0.15);
    backdrop-filter: blur(10px);
}

.logo {
    font-size: 20px;
    font-weight: bold;
    letter-spacing: 2px;
}

.logo span {
    color: var(--purple-bright);
}

nav a {
    color: var(--text);
    text-decoration: none;
    margin-left: 25px;
    transition: 0.3s;
}

nav a:hover {
    color: var(--purple-bright);
}


/* HERO */

.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding: 3% 8%;
    position: relative;
    overflow: hidden;
    isolation: isolate;

    background:
        radial-gradient(
            circle at 75% 50%,
            #49246d,
            #1a1030 45%,
            #090711 75%
        );
}

/* BACKGROUND VIDEO */

.hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -2;

    filter: brightness(0.35);
    transition: filter 0.6s ease;
}

/* DARK OVERLAY */

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(9, 7, 17, 0.35);
    z-index: -1;
    transition: background 0.6s ease;
}

/* HOVER EFFECT */

.hero:hover .hero-video {
    filter: brightness(0.85);
}

.hero:hover::before {
    background: rgba(9, 7, 17, 0.15);
}

/* LOGO AND CONTENT */

.hero-content {
    width: 100%;
    max-width: 1200px;
    position: relative;
    z-index: 1;
    text-align: left;
    margin: 0;
}

.hero-logo {
    display: block;
    width: 100%;
    max-width: 700px;
    height: auto;
    margin: 0;
}

.hero .btn {
    margin-top: 40px;
    margin-left: 25px;
}


.tag,
.section-tag {
    color: var(--purple-bright);
    letter-spacing: 4px;
    font-size: 12px;
    margin-bottom: 20px;
}

h1 {
    font-size: clamp(45px, 8vw, 90px);
    line-height: 1;
    margin-bottom: 25px;
}

h1 span {
    color: var(--purple-bright);
    text-shadow: 0 0 25px #a855f755;
}

.description {
    color: var(--text-muted);
    font-size: 17px;
    line-height: 1.7;
    margin-bottom: 35px;
}

/* BUTTONS */

.btn {
    display: inline-block;
    padding: 15px 30px;
    background: var(--purple);
    color: white;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    border-radius: 4px;
    box-shadow: 0 0 15px #a855f733;
}

.btn:hover {
    background: var(--purple-bright);
    color: #160d24;
    transform: translateY(-3px);
    box-shadow: 0 0 25px #a855f777;
}

/* ABOUT */

.about {
    text-align: left;
    padding: 100px 10%;
    background: var(--background);
}

.about h2,
.projects h2,
.team h2 {
    color: var(--purple-bright);
    font-size: 30px;
    margin-bottom: 35px;
    letter-spacing: 3px;
    text-shadow: 0 0 15px #a855f733;
}

.about p:not(.section-tag) {
    color: var(--text-muted);
    max-width: 750px;
    margin: 0 auto 20px;
    line-height: 1.8;
}

.about p:not(.section-tag) {
    text-align: left;
    margin-left: 0;
    margin-right: 0;
}

.about a {
    color: var(--purple-bright);
    font-weight: 600;
    transition: color 0.3s ease;
}

.about a:hover {
    color: var(--lavender);
    text-shadow: 0 0 10px #c084fc88;
}

.tu-logo {
    float: right;
    width: 100%;
    max-width: 500px;
    height: auto;
    margin: 0 0 20px 35px;
}

/* PROJECTS */

.projects {
    background: var(--background-light);
    padding: 100px 8%;
    text-align: center;
}

.project-card {
    display: flex;
    max-width: 1000px;
    margin: 50px auto 0;
    background: var(--card);
    border: 1px solid var(--border);
    text-align: left;
    border-radius: 8px;
    overflow: hidden;
    transition: 0.3s;
}

.project-card:hover {
    border-color: var(--purple-bright);
    box-shadow: 0 0 25px #a855f722;
}

.project-image {
    flex: 1;
    min-height: 300px;

    background:
        radial-gradient(
            circle,
            #7136a5,
            #34204e 45%,
            #120e20 85%
        );

    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--lavender);
    letter-spacing: 4px;
    font-weight: bold;
}

.project-info {
    flex: 1;
    padding: 40px;
}

.project-info h3 {
    font-size: 35px;
    color: var(--purple-bright);
    margin-bottom: 10px;
}

.project-status {
    color: var(--lavender);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 25px;
}

.project-info p:not(.project-status) {
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 20px;
}

.coming-soon {
    display: inline-block;
    color: var(--purple-bright);
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 10px;
}

/* TEAM */

.team {
    text-align: center;
    padding: 100px 8%;
    background: var(--background);
}

.team > p:not(.section-tag) {
    color: var(--text-muted);
    line-height: 1.7;
}

.team-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 50px;
    flex-wrap: wrap;
}

.team-card {
    background: var(--card);
    border: 1px solid var(--border);
    padding: 30px;
    width: 250px;
    border-radius: 8px;
    transition: 0.3s;
}

.team-card:hover {
    border-color: var(--purple-bright);
    background: var(--card-hover);
    transform: translateY(-8px);
    box-shadow: 0 0 20px #a855f733;
}

.team-placeholder {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: #34204e;
    border: 2px solid var(--purple);
    border-radius: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: var(--lavender);
    font-size: 35px;

    box-shadow: 0 0 20px #a855f733;
}

.team-card h3 {
    color: var(--purple-bright);
    margin-bottom: 10px;
}

.team-card p {
    color: var(--text-muted);
}

.team-note {
    margin-top: 40px;
    font-size: 13px;
}

/* FOOTER */

footer {
    background: var(--background-light);
    padding: 40px 20px;
    text-align: center;
    color: var(--text-muted);
    line-height: 2;
    font-size: 13px;
    border-top: 1px solid rgba(168, 85, 247, 0.15);
}

.footer-logo {
    color: var(--purple-bright);
    font-size: 18px;
    font-weight: bold;
    letter-spacing: 3px;
    margin-bottom: 15px;
}

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

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 25px;
    margin: 20px 0;
}

.footer-links a {
    color: #b7aabe;
    text-decoration: none;
    transition: 0.3s ease;
}

.footer-links a:hover {
    color: #c084fc;
}

.copyright {
    margin-top: 20px;
}

/* MOBILE */

@media (max-width: 700px) {

    header {
        flex-direction: column;
        gap: 20px;
    }

    nav {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    nav a {
        margin: 0;
        font-size: 13px;
    }

    .hero {
        min-height: 75vh;
    }

    .project-card {
        flex-direction: column;
    }

    .project-image {
        min-height: 200px;
    }

    .project-info {
        padding: 25px;
    }

    .team-card {
        width: 100%;
        max-width: 300px;
    }

    .tu-logo {
    float: none;
    display: block;
    max-width: 220px;
    margin: 0 auto 25px;
}
}