
/* ===== General Reset ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background: #0e0e0e;
  color: #f5f5f5;
}

strong{
  color: #f0c674;
}

/* ===== Top Bar ===== */
.topbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;
  background: #000;
  border-bottom: 2px solid #f0c674;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1rem;
  z-index: 1100;
}

br::selection{
  background-color:#f0c674;
}

.guide-title {
  font-size: 1.1rem;
  color: #f0c674;
  text-align: center;
  flex: 1;
}


/* ===== FAQ Section ===== */
#faq {
  margin-top: 40px;
}

#faq h2 {
  color: #f0c674;
  margin-bottom: 10px;
}

#faq p {
  margin-bottom: 20px;
}

/* === Individual FAQ Items === */
.faq-item {
  border: 2px solid #f0c674;
  border-radius: 10px;
  margin-bottom: 15px;
  overflow: hidden;
  background: #000;
  transition: border 0.3s ease, background 0.3s ease;
}

.faq-item:hover {
  border-color: #dcb85c;
}

/* === FAQ Question Button === */
.faq-question {
  background: #000;
  color: #f0c674;
  width: 100%;
  text-align: left;
  padding: 1rem;
  border: none;
  outline: none;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease, color 0.3s ease;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Arrow indicator */
.faq-question::after {
  content: "▼";
  font-size: 1rem;
  transition: transform 0.3s ease;
}

/* Rotate arrow when active */
.faq-item.active .faq-question::after {
  transform: rotate(180deg);
}

/* Hover effect */
.faq-question:hover {
  background: #f0c674;
  color: #000;
}

/* === FAQ Answers === */
.faq-answer {
  background: #111;
  color: #f5f5f5;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 1rem;
}

.faq-answer p {
  padding: 1rem 0;
  line-height: 1.5;
}

/* Expand when active */
.faq-item.active .faq-answer {
  max-height: 300px;
}

/* ===== Contact Form Section ===== */
.faq-contact {
  border-top: 2px solid #f0c674;
  margin-top: 30px;
  padding-top: 20px;
  text-align: center;
}

.faq-contact h3 {
  color: #f0c674;
  margin-bottom: 15px;
}

/* Center the form */
.faq-contact form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

/* Inputs and Textarea */
.faq-contact input,
.faq-contact textarea {
  background: #111;
  border: 1px solid #f0c674;
  border-radius: 8px;
  padding: 10px;
  color: #f5f5f5;
  font-size: 0.95rem;
  resize: none;
}

.faq-contact input::placeholder,
.faq-contact textarea::placeholder {
  color: #bbb;
}

/* Submit Button */
.faq-contact button {
  background: #f0c674;
  color: #000;
  border: none;
  border-radius: 8px;
  padding: 10px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s ease;
}

.faq-contact button:hover {
  background: #dcb85c;
}


/* ===== Menu Button ===== */
.menu-btn {
  background: none;
  border: none;
  color: #f0c674;
  font-size: 1.8rem;
  cursor: pointer;
  z-index: 1200;
}

/* ===== Sidebar ===== */
.sidebar {
  position: fixed;
  top: 60px;
  left: 0;
  width: 280px;
  /* Use full available space minus the topbar */
  height: calc(100dvh - 60px);
  background: #000;
  border-right: 2px solid #f0c674;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch; /* smooth iOS scroll */
  overscroll-behavior: contain;
  scrollbar-gutter: stable; /* prevent jump when scrollbar appears */
  transition: transform 0.3s ease;
  z-index: 1000;
}




.sidebar h2 {
  color: #f0c674;
  text-align: center;
  margin-bottom: 2rem;
  font-weight: 600;
  letter-spacing: 1px;
}

.sidebar ul {
  list-style: none;
}

.sidebar ul li {
  margin-bottom: 1rem;
}

.sidebar ul li a {
  color: #ddd;
  text-decoration: none;
  display: block;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.sidebar ul li a:hover {
  background: #f0c674;
  color: #000;
  transform: translateX(5px);
}

/* ===== Sidebar Collapsed (Mobile) ===== */
.sidebar.hidden {
  transform: translateX(-100%);
}

/* ===== Scrollbar Styling ===== */
.sidebar::-webkit-scrollbar {
  width: 6px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: #f0c674;
  border-radius: 10px;
}

/* ===== Main Content ===== */
main {
  margin-left: 280px;
  margin-top: 60px;
  padding: 2rem;
  max-width: 1000px;
  transition: margin-left 0.3s ease;
}

section{
  margin-bottom: 25px;
}


/* When sidebar is hidden — content expands */
.sidebar.hidden ~ main {
  margin-left: 10px;
}

/* Main */
li{
    color: #f0c674;
    font-size: 1rem;
    margin-left: 10px;
}

 ul p{
  font-size: 1rem;
}

#intro{
    margin-bottom: 20px;
}

 img{
    width: 100%;
    margin-top: 20px;
    border: 2px solid #f0c674;
    border-radius: 10px;
    margin-bottom: 20px;
}

video {
  width: 100%;
  margin-top: 20px;
  border: 2px solid #f0c674;
  border-radius: 10px;
  margin-bottom: 20px;
  display: block;}

 h3{
    margin-top: 20px;
    margin-bottom: 10px;
    color: #f0c674;
}

section h2{
    margin-bottom: 10px;
}

/* Selection Colours */

a::selection{
    background: #f0c674;
    color: #000;
}

h1::selection{
    background: #f0c674;
    color: #000;
}

h2::selection{
    background: #f0c674;
    color: #000;
}

h3::selection{
    background: #f0c674;
    color: #000;
}

p::selection{
    background: #f0c674;
    color: #000;
}

b::selection{
    background: #f0c674;
    color: #000;
}

img::selection{
    background: #f0c674;
    color: #000;
}

strong::selection{
    background: #f0c674;
    color: #000;
}

/* Mobile */
@media (max-width: 600px) {
    /* Sidebar */
    .sidebar {
    width: 70%;
    max-width: 250px;
  }

  .sidebar.hidden {
    transform: translateX(-100%);
  }

  main {
    margin-left: 0;
    padding: 1.5rem;
  }

  .guide-title {
    font-size: 1rem;
  }

  #navigate img{
    width: 100%;
  }

  #menu-toggle{
    visibility:visible;
  }
}

/* Tablet */
@media (max-width: 1024px) {
    /* Sidebar */
  .sidebar {
    width: 230px;
  }

  main {
    margin-left: 230px;
  } 

  #menu-toggle{
    visibility: visible;
  }

}

/* Desktops */
@media (min-width: 1400px) {
    /* Sidebar */
      .sidebar {
    width: 250px;
  }

  main {
    margin-left: 550px;
  }

  #menu-toggle{
    visibility: hidden;
  }
  
  /* Slightly smaller version for specific images */
.small-img {
  width: 25%;
  display: block;
  margin: 20px auto;
}


}


html, body {
  height: 100%;
  overflow: hidden; /* Prevent body scroll bleed */
}

body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
}

/* Ensure sidebar scrolls fully visible on all mobile browsers */
@supports not (height: 100dvh) {
  .sidebar {
    height: calc(100vh - 60px);
  }
}
