/*
Theme Name: NanosatLab IST
Author: Joao Ma, Diogo Costa
Description: Custom theme for Nanosatlab.
Version: 1.1
*/

html, body {
  max-width: 100%;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Space Grotesk', sans-serif;
}

:root {
  /* Colors */
  --color-black: #000;
  --color-grey: #46555f;
  --color-light-grey: #777777;
  --color-white: #fff;
  --color-blue: #009de0;
  --color-dark-blue: #00567b;
}

/* Navigation bar */
.custom-header {
  position: absolute;
  top: 5;
  width: 100%;
  z-index: 1000;
  background: transparent;
  padding: 0rem 3rem;
  display: flex;
  align-items: center;
}

/* Navigation bar container */
.custom-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

/* Navigation bar logo */
.logo img {
  height: 60px;
  display: block;
}

/* Base navigation bar styles */
.nav-bar {
  width: 100%;
  background: transparent;
}

.nav-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem 2rem;
  max-width: 100%;
  margin: 0 auto;
}

.nav-menu {
  list-style: none;
  display: flex;
  gap: 2rem;
  margin: 0;
  padding-right: 7rem;
}

.nav-menu li a {
  color: var(--color-white);
  text-decoration: none;
  font-size: large;
  font-weight: lighter;
  text-transform: uppercase;
}

.nav-menu li a:hover {
  color: var(--color-blue);
}

/* Hamburger button (hidden on desktop) */
.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
}

.menu-toggle .bar {
  width: 25px;
  height: 3px;
  background: var(--color-white);
}

/* Responsive behavior */
@media (max-width: 768px) {
  .nav-menu {
    display: none;
    flex-direction: column;
    gap: 1.5rem;
    position: absolute;
    top: 100%;
    right: 0;
    background: black;
    padding: 2rem;
    z-index: 999;
  }

  .nav-menu.active {
    display: flex;
  }

  .menu-toggle {
    display: flex;
  }
}

/* Hero overlay and title */

/* Darken image */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hero title */
.hero-overlay h1 {
  font-size: 3rem;
  font-weight: bold;
  text-transform: uppercase;
  padding-top: 5%;
}

/* Content section */
.content-section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 6rem 0rem;
  background: var(--color-white);
  color: var(--color-black);
}

/* Content container */
.container {
  max-width: 100%;
  margin: 0 auto;
  padding-left: 10%;
  padding-right: 10%;
  box-sizing: border-box;
}

/* Content header */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5rem;
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 0.5rem;
}

/* Content header title */
.content-header h2 {
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
}

/* Content footer */
.content-footer {
  display: flex;
  justify-content: right;
  align-items: center;
  margin-bottom: 3rem;
  border-bottom: 2px solid var(--color-black);
  padding-bottom: 3rem;
  padding-top: 2rem;
}

/* Content footer text */
.content-footer a {
  color: var(--color-blue);
  font-size: 1.25rem;
  text-decoration: none;
  font-weight: 500;
}

/* Footer */
.custom-footer {
  position: relative;
  background: url('assets/images/space-bg.jpg') no-repeat center center/cover;
  color: var(--color-white);
  }

/* Darken image */
.footer-overlay {
  background-color: rgba(0, 0, 0, 0.7);
  padding: 3rem 2rem;
}

/* Footer layout */
.footer-layout {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

/* Footer sections */
.footer-left,
.footer-center,
.footer-right {
  flex: 1 1 250px;
}

/* Footer logo */
.footer-logo {
  height: 100px;
  margin-bottom: 1rem;
}

/* Footer text */
.footer-center p,
.footer-right p {
  font-weight: bold;
  margin-bottom: 0.5rem;
}

/* Footer social media icons */
.social-icons a {
  margin-right: 1rem;
  font-size: 2rem;
  color: var(--color-white);
  text-decoration: none;
}

/* Footer social media icons on hover */
.social-icons a:hover {
  color: var(--color-blue);
}

/* Footer page links */
.footer-right ul {
  list-style: none;
  padding: 0;
}

.footer-right ul li {
  margin-bottom: 0.5rem;
}

.footer-right ul li a {
  color: var(--color-white);
  text-decoration: none;
}

/* Footer page links on hover */
.footer-right ul li a:hover {
  text-decoration: underline;
}













