@import url('https://fonts.googleapis.com/css2?family=Grey+Qo&family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Noto+Sans+JP:wght@100..900&family=Sankofa+Display&display=swap');
@import url('https://fonts.cdnfonts.com/css/lemonmilk');

.lemon-title {
  font-family: 'Lemon/Milk', sans-serif;
}

* {
    box-sizing: border-box;
    font-family: "IBM Plex Sans", sans-serif;
    font-weight: 500;
    font-style: normal; 
}

html, body{
    margin: 0;
    padding: 0;
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body{
  display:flex;
  flex-direction: column;
}

main {
  flex: 1;
}

img {
    max-width: 100%;
    height: auto;
    width: auto/9;
}

a {
    color: red;
}


/* Header Styling 
-----------------------------------------------------------------------------------------------------------------------------------------
*/

header {
   position: relative; 
   z-index: 10;
}

.header-logo {
    padding: 7px;
    width: 80px;
    z-index: 1;
}

.nav ul {
    margin: 0;
}

.nav li {
    display: inline;
}

.nav a {
    font-family: "IBM Plex Sans", sans-serif;
    font-size: 18px;
    font-weight: 20px;

    display: inline-block; 
    padding: 0em 0.8em;
    /*padding-top: 1em;*/
    color: white;
    text-decoration: none;
    z-index: 1;
}

.nav a:hover {
    color: rgba(199, 34, 34);
}

.main-nav {
    text-align: right;
    font-size: 0.5em;
    padding: 0 2%;
}

.main-nav li{
    padding: 0 0%; 
}

.main-header{
    background-color: transparent;
    background-size: cover;
    background-blend-mode: multiply;
    position: fixed;

    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    transition: background-color 0.3s ease;
}

.main-header.scrolled {
  background-color: rgba(0, 0, 0, 0.6); 
}

.main-header-alt{
    background-color: transparent;
    background-size: cover;
    background-blend-mode: multiply;
    position: fixed;

    display: flex;
    justify-content: space-between;
    align-items: center;

    width: 100%;
    transition: background-color 0.3s ease;
    background-color: rgba(0, 0, 0, 0.6);
}

/* End of Header Styling 
-----------------------------------------------------------------------------------------------------------------------------------------
*/

/*Home Page Styling
-----------------------------------------------------------------------------------------------------------------------------------------
*/

.home-body {
    background-repeat: no-repeat;
    background-size: cover;     
    background-position: top;
    background-attachment: scroll; 
    overflow-x: hidden;
}

.fixed-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("home-image.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: 50% 50%;
    z-index: -1;
    background-size:110%;
    transform:scale(1.1);
    pointer-events: none;
    transition: background-position 0.1s ease;
}

.bg-overlay {
    position: absolute;
    inset: 0;
    background-color: black;
    opacity: 0; 
    transition: opacity 0.1s linear; 
    z-index: 1;
    pointer-events: none;
}

.fixed-bg-alt {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("home-image.jpg");
    background-repeat: no-repeat;
    background-size: cover; 
    background-position: 50% 50%;
    z-index: -1;
    background-size:110%;
    filter:blur(10px) brightness(0.5);
    transform:scale(1.1);
    pointer-events: none;
    transition: background-position 0.1s ease;
}

/*End of Home Page Styling
-----------------------------------------------------------------------------------------------------------------------------------------
*/

/*Flexbox Styling for Landing Page
-----------------------------------------------------------------------------------------------------------------------------------------
*/

.opening-section {
    position: relative;
    width: 100%;
    height: 100vh; 
    min-height: 100vh;

    overflow: hidden;
}

.welcome-container { 
    display: flex;

    height: 5vh;
    width: 100%;
    
    align-items: center;
    justify-content: center;
}

.welcome-box {
    align-items: center;
    transform: translate(0px, 370px);
    max-width:100%;
}

.title-container {
    display: flex;

    height: 15vh;
    width: 100%;
    
    transform: translate(0px, 360px);
    align-items: center;
    justify-content: center;
}

.trojan-box{
    height: auto;
    max-width:100%;
    transform: translate(60px,0px);
}

.anime-box{
    height: auto;
    max-width:100%; 
}

.culture-box{
    height: auto;
    max-width:100%;
    transform: translate(-60px,0px);
}

.scroll-hint {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-family: 'IBM Plex Sans', sans-serif;
    color: #fff;
    opacity: 0.9;
}

.scroll-text {
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.arrow-down {
    font-size: 1.2rem;
    color: #FFCC00;
    animation: bounce-arrow 1.5s infinite ease-in-out;
}

/* End of Flexbox Styling
-----------------------------------------------------------------------------------------------------------------------------------------
*/

/* Meetings Info Section Styling
-----------------------------------------------------------------------------------------------------------------------------------------
*/
.meeting-info-section{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center; 
}

.meeting-info{
    font-size: 75px;
    margin-bottom: 0.5rem;
    color: #fff; 
    font-family: 'Lemon Milk'; font-weight: bold;
}

.meeting-note {
    margin-top: 0.25rem;
    font-size: 1rem;
    color: #ccc;
    text-align: center;
}

/* End of Meeting Info Section Styling
-----------------------------------------------------------------------------------------------------------------------------------------
*/

.about-row-1 {
    display: flex;
    align-items: center;
    gap: 12rem; 
    padding: 2rem 5vw;
    flex-wrap: wrap; 
}

.image-container {
    flex: 1;
    max-width: 700px;
}

.image-container img {
    width: 100%;
    height: auto;
    border-radius: 10px; 
}

.side-section {
    flex: 2;
    max-width: 700px;
    padding-left:100px;
}

.section-title {
    font-family: 'Lemon Milk', sans-serif; font-size: 2rem; margin-bottom: 0.5rem; 
            color: #fff; letter-spacing: 1px;text-transform: uppercase;
}

.section-bar {
    width: 100px;
    height: 3px;
    background-color: #990000; 
    margin-bottom: 1rem;
}

/*Cardinal: #990000 Gold: #FFCC00 */

.section-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ccc; 
}

.centered-section {
    max-width: 700px;
    margin: 4rem auto;
    text-align: center;
    padding: 0 1rem;
}

.centered-section-alt {
    padding-top: 100px;
    max-width: 700px;
    margin: 4rem auto;
    text-align: center;
}

/*Footer Styling */

.tac-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-family: 'Lemon Milk', sans-serif;
    font-size: 0.9rem;
    position: relative;
    z-index: 5;
}

.footer-left img {
    height: 40px; 
}

.footer-right {
    font-size: 0.75rem;
    color: #ccc;
    text-align: right;
}


/* Eboard Page Styling
----------------------------------------------------------
*/

.board-scroll-wrapper {
    width: 90%;
    margin: 0 auto;
    padding: 2rem;
    padding-top: 5px;
    overflow: visible;  
}

.board-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center; 
    width: 100%;             
}

.board-scroll-wrapper::-webkit-scrollbar {
    display: none;             
}

.discord-card {
    display: flex;
    align-items: center;
    background: rgba(54, 57, 63, 0.8); 
    padding: 1rem;
    border-radius: 10px;
    width: 300px;
    height: 300px;
    color: white;
    margin: 1rem auto;
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.5);
}

.discord-card:hover {
    background: rgba(21, 23, 26, 0.8); 
}

.discord-card.selected {
  background: rgba(88, 101, 242, 0.9); 
  transform: scale(1.03);
  box-shadow: 0 0 12px #5865F2;
}

.discord-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-right: 1rem;
  border: 2px solid #5865F2;
}

.discord-username {
  margin: 0;
  font-size: 1.2rem;
}

.discord-role {
  margin: 0;
  color: #b9bbbe;
  font-size: 0.9rem;
}

.discord-card {
  will-change: transform;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.discord-card:hover {
  transform: scale(1.05);
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
}

.board-card-container {
  overflow: hidden; /* Prevent layout reflow on hover scale */
}
/* Bio Section styling */

.discord-bio {
  background: rgba(54, 57, 63, 0.9);
  color: white;
  max-width: 600px;
  margin: 2rem auto;
  border-radius: 10px;
  padding: 1rem;
  box-shadow: 0 0 10px rgba(0,0,0,0.5);
  font-family: 'Arial', sans-serif;
  transition: all 0.3s ease;
}

.bio-header {
  font-weight: bold;
  color: #b9bbbe;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid #444;
  padding-bottom: 0.5rem;
}

.bio-content {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #dcddde;
}

.hidden {
  display: none;
}

/* End of Eboard Page Styling
----------------------------------------------------------------------
*/

/* Socials Page Styling */

.discord-section {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 20px 0;
  padding-left: 150px;
}

.discord-block {
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2f3136;
  border-radius: 10px;
  padding: 10px 20px;
  color: #fff;
  width: 400px;
  height: 400px;
}

.discord-block:hover {
    background: rgba(21, 23, 26, 0.8); 
    transform: scale(1.05);
}

.discord-block img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  margin-right: 15px;
}

.discord-info p {
  margin: 0;
  line-height: 1.5;
}

#server-name {
  font-weight: bold;
  font-size: 1rem;
  margin: 0;
}

.instagram-section {
  max-width: 600px;
  margin: 0 auto;
  background-color: rgba(0, 0, 0, 0.5);
  color: #fff;
  border-radius: 8px;
  overflow: hidden; 
  padding: 10px;
}

.instagram-header {
  display: flex;
  align-items: center;
  padding: 10px;
}

.profile-pic {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-info {
  display: flex;
  align-items: center;
  margin-left: 10px;
}

.username {
  font-size: 1.2rem;
  margin: 0;
}

.verified {
  margin-left: 5px;
  color: #0095f6; 
}

.instagram-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px;
  margin-top: 10px;
}

.instagram-grid img,
.instagram-grid video {
  width: 100%;
  display: block;
}

.instagram-grid img:hover,
.instagram-grid video:hover {
  transform: scale(1.05);
}

.faq-section {
  max-width: 1200px;
  margin: 50px auto;
  color: #fff;
  font-family: Arial, sans-serif;
  text-align: left;
  padding-top:100px;
  padding-bottom:100px;
}

.faq-section h2 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 2em;
  color: #ffcc00;
}

.faq-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
}

.faq-box {
  background: rgba(21, 23, 26, 0.8);
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.2s, box-shadow 0.2s;
}

.faq-box:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.faq-box h3 {
  margin: 0 0 8px;
  font-size: 1.1em;
  color: #ffcc00;
}

.faq-box p {
  margin: 0;
  line-height: 1.5;
  font-size: 0.95em;
}

.faq-box a {
  color: #ffcc00;
  text-decoration: underline;
}


/* Mobile Optimization */


@media (max-width: 768px) {
  .opening-section h1 {
    font-size: 2rem;
  }
  .title-container {
    flex-direction: column;
  }
  .image-container img {
    width: 100%;
    height: auto;
  }
  .side-section {
    width: 100%;
    padding: 1rem;
  }
}

@media (max-width: 768px) {
  section[style*="height"] {
    height: 20vh !important;
  }
}

@media (max-width: 768px) {
  .fixed-bg {
    background-position: center top;
  }
}

@media (max-width: 768px) {
  /* General container adjustments */
  .about-row-1 {
    flex-direction: column;
    gap: 2rem;
    padding: 1rem;
  }

  .side-section {
    padding: 0 1rem;
  }

  .title-container {
    flex-direction: column;
    transform: none;
  }

  .trojan-box,
  .culture-box {
    transform: none;
  }

  .welcome-container {
    height: auto;
  }

  .welcome-box,
  .title-container {
    transform: none;
    margin: 1rem 0;
  }

  /* Adjust meeting info section for smaller screens */
  .meeting-info {
    font-size: 2rem;
  }

  .meeting-note {
    font-size: 0.9rem;
  }

  /* Footer layout tweak for smaller screens */
  .tac-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .footer-left img {
    margin-bottom: 1rem;
  }

  /* Reduce large fixed heights for sections */
  section[style*="height"] {
    height: auto !important;
    padding: 2rem 0;
  }

  /* Fix fixed background scaling issues */
  .fixed-bg {
    background-size: cover;
    transform: none;
  }

  /* FAQ grid to stack vertically */
  .faq-grid {
    grid-template-columns: 1fr;
  }

  /* Adjust Discord blocks to fit smaller screens */
  .discord-block {
    flex-direction: column;
    height: auto;
  }
}

@media (max-width: 768px) {
  /* Nav bar stacks vertically */
  .nav ul {
    display: flex;
    flex-direction: column;
    background-color: rgba(0,0,0,0.7);
    position: absolute;
    top: 60px;
    right: 10px;
    padding: 1rem;
    border-radius: 8px;
  }

  .nav li {
    display: block;
    margin: 0.5rem 0;
  }

  .main-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .welcome-box,
  .title-container,
  .trojan-box,
  .culture-box {
    transform: none !important;
    margin: 0.5rem 0;
  }

  .title-container {
    flex-direction: column;
  }

  .opening-section {
    height: auto;
    padding: 2rem 1rem;
    text-align: center;
  }

  .fixed-bg {
    background-size: cover;
    transform: none;
  }

  .fixed-bg-alt {
    background-size: cover;
    transform: none;
  }
}


@media (max-width: 768px) {
  .opening-section {
    display: flex;
    flex-direction: column;
    justify-content: center; 
    align-items: center;     
    text-align: center;
    height: 100vh;
    padding: 2rem 1rem;
  }

  .welcome-container,
  .title-container {
    margin: 0.5rem 0;
  }

  .welcome-box,
  .title-container,
  .trojan-box,
  .culture-box {
    transform: none !important;
  }
}

@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-Regular.otf') format('opentype');
  font-weight: 400;
  font-style: normal;
}

/* Lemon Milk Italic */
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-RegularItalic.otf') format('opentype');
  font-weight: 400;
  font-style: italic;
}

/* Lemon Milk Bold */
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-Bold.otf') format('opentype');
  font-weight: 700;
  font-style: normal;
}

/* Lemon Milk Bold Italic */
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-BoldItalic.otf') format('opentype');
  font-weight: 700;
  font-style: italic;
}

/* Lemon Milk Medium */
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-Medium.otf') format('opentype');
  font-weight: 500;
  font-style: normal;
}

/* Lemon Milk Medium Italic */
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-MediumItalic.otf') format('opentype');
  font-weight: 500;
  font-style: italic;
}

/* Lemon Milk Light */
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-Light.otf') format('opentype');
  font-weight: 300;
  font-style: normal;
}

/* Lemon Milk Light Italic */
@font-face {
  font-family: 'Lemon Milk';
  src: url('fonts/LEMONMILK-LightItalic.otf') format('opentype');
  font-weight: 300;
  font-style: italic;
}

.about-row-1 {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: start; 
  gap: 3rem;
  margin: 3rem auto;
}

.discord-section {
  margin-left: 100px;
  margin-right: auto;
  max-width: 400px; 
}

.side-section,
.discord-section {
  flex: 1;
  min-width: 300px;
}

@media (max-width: 768px) {
  .about-row-1 {
    flex-direction: column;
  }

  .side-section,
  .discord-section {
    width: 100%;
    max-width: 400px;
  }
}

.about-row-1 .image-container {
  margin-left: 10rem;
}

@media (max-width: 768px) {
  .discord-section {
    width: 90%;
    max-width: 400px;
    margin: 2rem auto; 
  }

  .about-row-1 {
    flex-direction: column;
    align-items: center;
  }
}

.fixed-bg, .bg-overlay, .blurred-background {
  border: 1px solid transparent; 
  outline: none;
  box-shadow: none;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

@media (max-width: 768px) {
  .fixed-bg,
  .fixed-bg-alt {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    filter: none !important;
    transform: none !important;
    background-size: cover !important;
    background-color: rgba(0, 0, 0, 0.6);
    background-blend-mode: multiply; 
  }
}

@media (max-width: 768px) {
  .bg-overlay {
    filter: none;
    background-color: rgba(0, 0, 0, 0.3);
  }
}

@media (max-width: 768px) {
  .opening-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start; 
    align-items: center;
    text-align: center;
    height: 100vh;
    padding: 10rem 1rem; 
  }

  .title-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto !important;
    width: 100%;
    margin-top: 10rem;
  }

  .trojan-box,
  .anime-box,
  .culture-box {
    transform: none !important;
    margin: 0 auto !important;
    display: block;
  }
}
@media (max-width: 768px) {
  .main-header {
    display: flex;
    flex-direction: row; /* Make header items go in a row */
    justify-content: space-between; /* Pushes logo left, hamburger right */
    align-items: center; /* Center vertically */
    padding: 0.5rem 1rem;
  }

  .hamburger {
    display: block;
    font-size: 2rem;
    background: none;
    border: none;
    color: #fff;
    cursor: pointer;
    padding-left: 280px;
  }

  .main-nav ul {
    display: none;
    flex-direction: column;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 120px; 
    right: 10px;
    width: 200px;
    border-radius: 8px;
    padding: 1rem;
  }

  .main-nav ul.active {
    display: flex;
  }
}

@media (max-width: 768px) {
  .centered-section-alt h2 {
    font-size: 2rem !important;
  }

  .centered-section-alt p {
    font-size: 1rem !important;
    line-height: 1.4 !important;
    margin-left: 1rem;
    margin-right: 1rem;
  }
}

.hamburger {
  display: none;
}

@media (max-width: 768px) {
  .hamburger {
    display: block;
  }
}

@media (max-width: 768px) {
  html, body {
    height: 100%;
  }

  .fixed-bg {
    height: 100%;
    background-attachment: scroll; 
  }

  .fixed-bg {
    height: 100dvh;
  }

  footer {
    padding-bottom: env(safe-area-inset-bottom);
  }
}








