/*    ===========================
      Character Page - CSS
      File: styles1.css
      Author: Caleb Green
      Date Finished: 15/09/2025
      =========================== */

/* Base body setup */
body {
    margin: 0;
    background-color: black;
    font-family: 'soloist', sans-serif;
    color: white;
    text-align: center;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    height:100%;
}

/* Custom font import */
@font-face {
  font-family: 'soloist';
  src: url('Resources/Fonts/soloist-font/SoloistTitle-Gp7D.otf');
}

/* Subtle background overlay */
body::before {
    content: "";
    position: absolute;
    top: 300px;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 80%;
    opacity: 0.4;
    z-index: -1;
}

/* ================= HEADER ================= */
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 over header background */
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;                    
}

header img {
  padding:40px 0px;
  width: 30%;  
  z-index: 2;
}

/* ================= FOOTER ================= */
footer {
    position:absolute;
    bottom:-150px;
    font-family: "soloist";
    background-color: #111;
    color: rgb(255, 195, 0);
    text-align: center;
    padding: 15px;
    font-size: 0.9rem;
    width: 100%;
    z-index: 1002;
}

/* ================= SLIDING NAVIGATION ================= */
.bottom-nav {
    border-top: 2px solid rgb(255, 195, 0);
    display: flex;
    align-items: center;
    padding: 40px 20px;
    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;
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.bottom-nav a {
    color: #ffcc00;
    text-decoration: none;
    font-size: 18px;
}

.bottom-nav a:hover {
    text-decoration: underline;
}

/* Close button inside sliding nav */
.bottom-nav .close-btn {
    position: absolute;
    top: 10px;
    right: 20px;
    background: none;
    border: none;
    color: white;
    font-size: 30px;
    cursor: pointer;
}

/* Open nav button */
.open-btn {
    bottom: -100px;
    position: absolute;
    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;
}

/* ================= NAV BUTTONS ================= */
.nav-buttons {
    font-family: 'Orbitron', sans-serif;
    margin: 40px 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.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;
}

.nav-button:hover,
.nav-button:focus {
    background-color: rgb(255, 195, 0);
    color: black;
    outline: none;
}

/* ================= SLIDESHOW ================= */
.slideshows-wrapper {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    flex-wrap: wrap;
    width: 100%;
    margin-top: 0px;
}

.slideshow-container {
    flex: 1 1 100px;
    max-width: 500px;
    padding: 20px;
    background: #111;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 255, 0, 0.4);
    text-align: center;
    font-family: 'Orbitron', sans-serif;
}

.slideshow-container img {
    width: 100%;
    border-radius: 10px;
}

.slideshow-container h2 {
    color: #ffe81f;
    margin-top: 10px;
}

.slideshow-container p {
    color: #ccc;
    margin: 10px 0;
}

/* Slideshow buttons */
.buttons {
    margin-top: 15px;
}

.buttons button {
    padding: 10px 20px;
    background-color: #ffe81f;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
    margin: 0 5px;
    font-weight: bold;
    transition: 0.2s;
}

.buttons button:hover {
    background-color: #ffcf00;
}

/* ================= TEXT & HEADINGS ================= */
#text { 
    color: rgb(255, 195, 0);
    font-family: "soloist";
}

#video {
    width:100%;
}

#video video {
  width: 100%;        
  max-width: 1000px;   
  height: auto;    
  display: block;      
  margin: 40px auto;  
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(255, 255, 0, 0.4);
}

#video h1 { 
    color: rgb(255, 195, 0);
    margin-top:40px;
    font-family: "Orbitron";
}

#htext h1 { 
  padding: 0px 15px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: "Orbitron";
  font-size: 100px;
}

/* ================= BOTTOM NAV EXTRA ================= */
.nav-column {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 80%;
}

.nav-image {
  border-radius:10px;
  max-width: 800px;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
  border: 2px solid rgb(255, 195, 0);
}

.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;
}

.nav-link:hover {
  background-color: rgb(255, 195, 0);
  color: black;
}
