/*    ===========================
      Home Page - CSS
      File: styles.css
      Author: Caleb Green
      Date Finished: 15/09/2025
      =========================== */

/* Base styles for body */
body {
  margin: 0;
  font-family: 'soloist', sans-serif;
  background-color: black;
  color: white;
  line-height: 1.5;

  display: flex;
  flex-direction: column;

  /* Background image with fixed size and position */
  background-image: url("img/MelFalcon.jpg");
  background-size: 100%;
  background-position: center 150px;
}

/* Import custom font */
@font-face {
  font-family: 'soloist';
  src: url('Resources/Fonts/soloist-font/SoloistTitle-Gp7D.otf') ;
}

/* Header styling with background image */
header {
  background-image: url(Resources/Logos/stars.jpg);
  position: relative; 
  height: auto;
  display: flex;       
  align-items: center; 
  justify-content: center;
  overflow: hidden; 
  background-color:black;
}

/* Dark overlay on header image */
header::before {
  content: "";                 
  position: absolute;           
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5); 
  opacity: 0.7;              
  z-index: 1;                    
}

/* Logo inside header */
header img {
  padding:40px 0px;
  width: 30%;  
  z-index: 2; /* Above overlay */
}

/* Main heading style */
h1 {
  font-size: 3rem;
  color: rgb(255, 195, 0);
  text-shadow: 2px 2px 5px black;
  margin-top: 130px;
}

/* Welcome text block */
.welcome {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.9);
  margin-left:100px;
  color: rgb(255, 255, 255);
  transform: rotateX(25deg) scale(1, 0.85); 
  line-height: 1.5;
  width: 30%;
  font-size: 1.40rem
}

.welcome p {
  margin: 0.5em 0;
}

/* Navigation buttons container */
.nav-buttons {
  font-family: 'Orbitron', sans-serif;
  margin: 40px 0;
  display: flex;
  justify-content: center;
  gap: 30px;
}

/* Button styling */
.nav-button {
  display: inline-block;
  background-color: transparent;
  border: 3px solid rgb(255, 195, 0);
  border-radius: 8px;
  padding: 15px 30px;
  color: rgb(255, 195, 0);
  font-weight: bold;
  text-decoration: none;
  font-size: 1.2rem;
  transition: background-color 0.3s, color 0.3s;
  cursor: pointer;
}

/* Button hover effect */
.nav-button:hover,
.nav-button:focus {
  background-color: rgb(255, 195, 0);
  color: black;
  outline: none;
}

/* Footer styling */
footer {
  background-color: #111;
  color: rgb(255, 195, 0);
  text-align: center;
  padding: 15px;
  font-size: 0.9rem;
  width: 100%;
  z-index: 1002;
}

/* Bottom navigation */
.bottom-nav {
  border-top: 2px solid rgb(255, 195, 0);
  position: fixed;
  bottom: -100%; 
  left: 0;
  width: 100%;
  height: 80%;
  background-image: url(background_index.png);
  background-repeat: no-repeat;
  background-size: 120% auto;     
  background-position: center -440px;  
  background-color: #111;
  color: white;
  transition: bottom 0.3s ease-in-out; 
  z-index: 1000;
  padding: 20px 0;
  text-align: center;
  font-family: 'Orbitron', sans-serif;
}

/* Links inside bottom navigation */
.bottom-nav a {
  color: #ffcc00;
  text-decoration: none;
  font-size: 18px;
}

.bottom-nav a:hover {
  text-decoration: underline;
}

/* Close button for bottom navigation */
.bottom-nav .close-btn {
  position: absolute;
  top:10px;
  right: 20px;
  background: none;
  border: none;
  color: white;
  font-size: 30px;
  cursor: pointer;
}

/* Button to open bottom navigation */
.open-btn {
  position: absolute;
  bottom: -235px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #111;
  color: #d8d8d8;
  border: none;
  padding: 12px 25px;
  font-size: 18px;
  cursor: pointer;
  z-index: 1001;
  border-radius: 5px;
  font-family: 'Orbitron', sans-serif;
}

.open-btn:hover {
  background-color: #111;
}

/* Bottom navigation layout */
.bottom-nav {
  display: flex;
  align-items: center;
  padding: 40px 20px;
}

/* Column inside bottom nav */
.nav-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
}

/* Images in nav */
.nav-image {
  border-radius:10px;
  max-width: 800px;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border: 2px solid rgb(255, 195, 0);
}

/* Navigation link buttons */
.nav-link {
  width:69%;
  font-family: 'Orbitron', sans-serif;
  color: rgb(255, 195, 0);
  font-size: 1.2rem;
  text-decoration: none;
  padding: 10px 20px;
  border: 2px solid rgb(255, 195, 0);
  border-radius: 6px;
  text-align: center;
  transition: background-color 0.3s, color 0.3s;
}

/* Hover effect for nav links */
.nav-link:hover {
  background-color: rgb(255, 195, 0);
  color: black;
}
