@import "colour_scheme.css";
@import url('https://fonts.cdnfonts.com/css/nunito');

/* Top Bar */

.topbar-logo-container {
    display: flex;
    justify-content: center; /* Centers the logo horizontally */
}

.topbar-logo {
    max-width: 100%; /* Ensure it scales within container */
    width: 200px; /* Base width */
    position: relative;
    filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.6));
    transition: all 0.3s ease-in-out; /* Smooth resizing */
    margin: 10px 0px; 
}




/* top bar: desktop view */ 
.top-bar {
    position: fixed; 
    top: 0; 
    left: 0; 
    right: 0; 
    margin: inherit; 
    height: 120px; 
    display: flex; 
    justify-content: space-between;
    align-items: center; 
    padding-left: 45px; 
    z-index: 100; 
    background-color: var(--secondary-bg-colour);
    font-family: 'Nunito'; 
    pointer-events: auto;
}

.top-bar-navlist {
    position: relative; 
    display: flex; 
    justify-content: center;
    align-items: center;
    margin-right: 30px; 
}

.top-bar-navlist li {
    position: relative; 
    list-style: none; 
    /*background-color: #2b003a;*/
    margin: 0 15px; 
    right: 0; 
    text-align: center;
}

.top-bar-navlist li a {
    position: relative; 
    font-weight: 700;
    color: var(--secondary-fg-colour);
    text-decoration: none;
    font-size: 1em;
    letter-spacing: 2px;
    transition: 0.6s;
    text-align: center;
    word-wrap: normal; 
    font-family: "Nunito"; 
}

.top-bar-navlist li a:hover {
    position: relative; 
    font-weight: 700;
    color: var(--secondary-fg-colour-accented);
    text-decoration: none;
    font-size: 1em;
    letter-spacing: 2px;
    transition: 0.6s;
    text-align: center;
}




/* top bar: hamburger view */ 
/* modified from https://github.com/javascriptacademy-stash/responsive-navbar */
#topbar-hamburger {
    position: relative; 
    right: 50px; 
    display: none; 
    cursor: pointer; 
    margin-left: 80px; 
}

#topbar-hamburger div {
    position: relative; 
    width: 35px; 
    height: 3px; 
    background-color: var(--secondary-fg-colour); 
    margin: 6px 0; 
    transition: 0.4s; 
}

.open .bar1 {
    -webkit-transform: rotate(-45deg) translate(-6px, 6px);
    transform: rotate(-45deg) translate(-6px, 6px);
}
  
.open .bar2 {
    opacity: 0;
}
  
.open .bar3 {
    -webkit-transform: rotate(45deg) translate(-6px, -8px);
    transform: rotate(45deg) translate(-6px, -8px);
}
  
.open .topbar-mobile-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
}
  
.topbar-mobile-menu {
    display: none;
    position: absolute;
    top: 50px;
    height: fit-content;
    width: fit-content;
    padding: 10px 10px; 
    right: 0; 
    background-color: var(--secondary-bg-colour);
    align-content: center;
    border-radius: 10px; 
    border-color: var(--secondary-bg-colour-accented);
    z-index: 10;
    text-align: center;
}
  
.topbar-mobile-menu li {
    margin-bottom: 5px;
    position: relative; 
    list-style: none; 
    
}

.topbar-mobile-menu li a {
    position: relative; 
    font-weight: 700;
    color: var(--secondary-fg-colour);
    text-decoration: none;
    font-size: 1em;
    letter-spacing: 2px;
    transition: 0.6s;
    text-align: center;
    text-justify: center;
}

.topbar-mobile-menu li a:hover {
    position: relative; 
    font-weight: 700;
    color: var(--secondary-fg-colour-accented);
    text-decoration: none;
    font-size: 1em;
    letter-spacing: 2px;
    transition: 0.6s;
    text-align: center;
}

.topbar-mobile-menu li div {
    min-width: 150px;
}



@media only screen and (max-width: 700px) {
    .top-bar-navlist {
        display: none; 
    }

    #topbar-hamburger {
        display: block; 
    }
}








/* things that are not in topbar (including bottombar) - topbar is sticky, so the rest should be in here */ 
.non-topbar-content {
    position: relative; 
    height: 100%; 
    width: 100%; 
    left: 0; 
    margin-top: 120px; 
    align-items: center;
    justify-content: center;
    align-items: center;
    display: flex;
    background-color: var(--primary-bg-colour);
    min-height: calc(100vh - 120px);
    z-index: -2;
}


/* bottom bar - not sticky bar, just some info. This will be put inside non-topbar-content */

.bottom-bar {
    position: relative; 
    bottom: 0; 
    left: 0; 
    right: 0; 
    width:100wh; 
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
    align-items: center; 
    margin: 20px 0; 
    padding: 20px 50px; 
    background: var(--secondary-bg-colour); 
    pointer-events: auto;
}



/* Contact Us part */ 

.bottom-bar h1 {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    font-family: 'Dejavu sans', sans-serif;
    color: var(--secondary-fg-colour); 
    width: fit-content; 
}

.bottom-bar p {
    font-size: 16px;
    line-height: 1.6;
    margin: 0 auto;
    max-width: 700px;
    color: var(--secondary-fg-colour); 
}

.contact-icons {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
}

.contact-icons .icon {
    font-size: 40px;
    color: var(--secondary-fg-colour); 
    transition: transform 0.3s, color 0.3s;
}

.contact-icons .icon:hover {
    transform: scale(1.1);
    color: var(--secondary-fg-colour-accented);
}

