@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* HTML Element Styles */

body {
    background-color: #121212;
    color: white;
    font-family: "Poppins";
    display: flex;
    flex-direction: column;
    margin-bottom: 0px;
    margin-top: 0px;
}
header {
    margin-bottom: 20px;
    padding-top: 5px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #12121269;
    backdrop-filter: blur(10px)
                     grayscale(0)
                     sepia(1)
                     hue-rotate(-30deg)
                     saturate(3)
                     brightness(0.6);
    z-index: 1000;
    overflow: hidden;
    position: sticky;
}

/* Left fade */
header::before,
header::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    width: 80px; /* fade size */
    pointer-events: none; /* don’t block clicks */
}

/* Left side fade */
header::before {
    left: 0;
    background: linear-gradient(to right,
        rgba(18, 18, 18, 0.8),   /* start opaque */
        rgba(18, 18, 18, 0)      /* fade to transparent */
    );
}

/* Right side fade */
header::after {
    right: 0;
    background: linear-gradient(to left,
        rgba(18, 18, 18, 0.8),
        rgba(18, 18, 18, 0)
    );
}

.Notification-Banner {
    margin-bottom: 20px;
    padding-top: 5px;
    padding-bottom: 10px;
    display: flex;
    flex-direction: row;
    align-items: center;
    top: 0;
    background-color: #12121269;
    backdrop-filter: blur(10px)
                     grayscale(0)
                     sepia(1)
                     hue-rotate(-30deg)
                     saturate(3)
                     brightness(0.6);
    overflow: hidden;
}


main {
    display: flex;
    width: 90%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    align-items: center;

    /* Fade-in */
    opacity: 0;
    transform: translateY(4px);
    animation: mainFadeIn 400ms ease-out 250ms forwards;
}

/* Animation keyframes */
@keyframes mainFadeIn {
    from {
        opacity: 0;
    transform: scale(0.99) perspective(1000px) rotatex(1deg) translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Respect users who prefer reduced motion */
@media (prefers-reduced-motion: reduce) {
    main {
        opacity: 1;
        transform: none;
        animation: none;
    }
}

/* Text Styles */

h1 {
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 10px;
    justify-content: center;
    align-content: center;
}

h2 {
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 8px;
}

p {
    font-size: 20px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 16px;
}

a {
    color: #ff6a00;
    text-decoration: underline;
    transition: color 0.1s;
}

/* Navigation */
@media print {
    body {
        background: none;
    }

    header {
        display:none;
    }
}

.Navigation {
    font-size: 30px;
    font-weight: 400;
    width: auto;
    display: flex;
    flex-direction: row;
    align-items: center;
}

.Navigation-link {
    margin-top: 6px;
    margin-right: 20px;
    margin-left: 20px;
    transition: color 0.2s, transform 0.3s;
}

.Navigation-link:hover {
    color: #ff6a00;
    cursor: pointer;
    transform: scale(1.06) perspective(1000px) rotatex(9deg) translateY(0px);
    transition: color 0.2s, transform 0.3s;
}

.Navigation-link:active {
    color: #cf4500;
    cursor: pointer;
    transform: scale(1.00) perspective(1000px) rotatex(-9deg) translateY(0px);
    transition: color 0.2s, transform 0.3s;
}

.Navigation-link-current {
    color: #ff6a00;
    margin-top: 6px;
    transition: color 0.1s;
    margin-right: 20px;
    margin-left: 20px;
    transition: color 0.2s, transform 0.3s;
}

.Navigation-button {
    cursor: pointer;
    background: #f7662250;
    border-radius: 8px;
    padding: 8px 30px;
    margin-top: 8px;
    transition: all 0.1s, transform 0.3s;
    white-space: nowrap;
}

.Navigation-button:hover {
    transform: scale(1.08) perspective(1000px) rotatex(9deg) translateY(0px);
    background: #f1672ccf;
    padding: 8px 30px;
    margin-top: 8px;
    transition: all 0.1s, transform 0.3s;
}

.Navigation-button:active {
    transform: scale(1.00) perspective(1000px) rotatex(-9deg) translateY(0px);
    padding: 8px 30px;
    margin-top: 8px;
    transition: all 0.1s, transform 0.3s;
}

/* Left Link Group */
.Navigation-links {
    display: flex;
    gap: 40px;
    flex: 1 1 auto;
    align-items: center;
}

.Navigation-right {
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

/* Right link Group - make the nav stretch and push the button to the far right */
.Navigation {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    /* keep items in flow so .Navigation-links can grow */
    width: 100%;
    /* ensure the nav fills the header/container */
}

/* container for right-side items */
.Navigation-right {
    margin-left: 50px;
    /* pushes this group to the right */
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Logo */
.LogoHeader {
    cursor: pointer;
    width: 300px;
    height: 40px;
    margin: 16px 24px;
    transition: transform 0.3s;
}

.LogoHeader:hover {
    transform: scale(1.03) perspective(1000px) rotatex(9deg) translateY(0px);
    transition: transform 0.3s;
}

.LogoHeader:active {
    transform: scale(1.00) perspective(1000px) rotatex(-9deg) translateY(0px);
    transition: transform 0.3s;
}

/* Media query for smaller screens */
@media (max-width: 1400px) {
    .Navigation {
        font-size: 24px;
        /* Further reduce font size for small screens */
    }

    .LogoHeader {
        width: 200px;
        height: 40px;
        margin-right: 30px;
    }

    .Navigation-link {
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (max-width: 1100px) {
    .Navigation {
        font-size: 20px;
        /* Further reduce font size for small screens */
    }

    .LogoHeader {
        width: 40px;
        height: 40px;
        margin-right: 30px;
    }

    .Navigation-link {
        margin-left: 5px;
        margin-right: 5px;
    }
}

@media (max-width: 870px) {
    .Navigation {
        font-size: 20px;
        flex-direction: column;
    }

    .LogoHeader {
        width: 200px;
        height: 25px;
        margin-right: 30px;
    }

    .Navigation-right {
        margin-left: 0px;
        /* pushes this group to the right */
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    main {
        width: 98%;
    }
}

/* Footer */

footer {
    width: 90%;
    max-width: 1200px;
    margin: auto;
    margin-top: 40px;
    display: flex;
    flex-direction: row;
    border-top: 1px solid #dddddd;
    /* border-image: linear-gradient(to right, #f7a222, #f16824) 1; */
}

.footer-section {
    display: flex;
    flex-direction: row;
    margin-bottom: 20px;
    color: #ffffff;
    justify-content: space-between; /* This pushes items apart */
    align-items: center;
    width: 100%; /* Ensure it takes up the full width of the footer */
}

.footer-container {
        padding: 15px;
    width: 1170px;
}

.footer-right {
    display: flex;
    align-items: center;
    justify-content: flex-end; /* Aligns icons to the right of this container */
    gap: 12px;
    flex-shrink: 0; /* Prevents icons from squishing on small screens */
}

.footer-right .social-icons {
    height: 38px;
    width: auto;
    right: 0px;
    max-height: 32px;
    cursor: pointer;
}

.social-icons {
    filter: grayscale(1.0)
    sepia(100.00)
    hue-rotate(-10deg);
    transition: filter 0.3s;
}


.social-icons:hover {
    filter: grayscale(0.0);
    transition: filter 0.3s;
}

.Hero-Banner {
    display: flex;
}

.Hero-Banner img {
    width: 80vw;
}

/* Full Page Image */
.Hero-Area {
    position: relative;
    width: auto;
    height: 87vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}


.Hero-Area img {
    width: 90vw;
    margin-top: 0;
    object-fit: cover;
}

.Hero-Content {
    width: 80vh;
    color: white;
    text-align: center;
    z-index: 10;
} 

/* Scroll Down Indicator */
.Arrow-Container {
    position: absolute;
    left: 50%;
    bottom: 24px;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    z-index: 20;
}

.Arrow {
    width: 22px;
    height: 22px;
    border-left: 4px solid #ffffff;
    border-bottom: 4px solid #ffffff;
    transform: rotate(-45deg);
    opacity: 1;
    animation: arrowmove 1.5s linear infinite;
    /* animation-timing-function: linear;  <-- redundant when set in shorthand, kept for clarity if you prefer separate properties */
}

/*  animation */
@keyframes arrowmove {
    0% {
        transform: translateY(-14px) rotate(-45deg);
        opacity: 0;
    }

    25% {
        transform: translateY(-7px) rotate(-45deg);
        opacity: 0.4;
    }

    50% {
        transform: translateY(0px) rotate(-45deg);
        opacity: 1;
    }

    75% {
        transform: translateY(7px) rotate(-45deg);
        opacity: 0.7;
    }

    100% {
        transform: translateY(14px) rotate(-45deg);
        opacity: 0;
    }
}

/* smaller arrow on tiny screens */
@media (max-width: 700px) {
    .Arrow {
        width: 16px;
        height: 16px;
        border-left-width: 3px;
        border-bottom-width: 3px;
    }

    .Arrow-Container {
        transform: translateY(-140px);
    }
}

/* Meet the team page styles */

.Team-Member-Tile {
    background-color: #1e1e1e;
    border-radius: 12px;
    padding: 20px;
    margin: 10px;
    z-index: 200;
    width: 240px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s, box-shadow 0.2s, background-color 0.2s;
}

.Team-Member-Tile img {
    width: 240px;
    height: 240px;
    fill: #ff00ff;
    border-radius: 12px;
    object-fit: cover;
    margin-bottom: 15px;
    background-color: #333;   /* fallback background */
    display: block;
}

.Team-Member-Tile:hover {
    background-color: #ff6a00;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.402);;
    transform: scale(1.01) perspective(1000px) rotateX(3deg);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.Team-Member-Tile:hover small {
    color: white;
}

.Team-member-tiles {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.Team-Member-Tile h2 {
    font-size: 24px;
    margin: 0px;
}

.Team-Member-Tile p {
    font-size: 18px;
    color: #cccccc;
    margin: 0px;
    margin-top: 5px;
}

.Team-Member-Tile small {
    font-size: 14px;
    color: #999999;
    margin: 0px;
}

/* Controls */

.Generic-Button {
    cursor: pointer;
    border: 0;
    color: white;
    font-size: 26px;
    font-weight: 400;
    background: #f7662250;
    border-radius: 8px;
    padding: 8px 20px;
    margin: 8px;
    transition: all 0.1s, transform 0.3s;
    white-space: nowrap;
}

.Generic-Button:hover {
    transform: scale(1.01) perspective(1000px) rotatex(2deg) translateY(0px);
    background: #f1672ccf;
    padding: 8px 20px;
    margin: 8px;
    transition: all 0.1s, transform 0.3s;
}

.Generic-Button:active {
    transform: scale(1.00) perspective(1000px) rotatex(-2deg) translateY(0px);
    background: #f1672c82;
    padding: 8px 20px;
    margin: 8px;
    transition: all 0.1s, transform 0.3s;
}