/* =========================================
   GLOBAL RESET & BASE STYLES
   ========================================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box; /* Prevents padding from breaking widths */
  scrollbar-width: none;
}

body {
  background-color: white;
  overflow-x: hidden; /* Prevents horizontal scrolling */
}

/* =========================================
   FONTS & ANIMATIONS
   ========================================= */
@font-face {
  font-family: 'titleFont';
  src: url('font/Helvetica-Bold.ttf') format('truetype');
}

@font-face {
  font-family: 'bodyFont';
  src: url('font/Helvetica.ttf') format('truetype');
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(-30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0); 
  }
}

/* =========================================
   HEADER & LOGO SECTION
   ========================================= */
.bigbox {
  position: relative;
  height: 20vh;
  display: flex;
  align-items: center;
  justify-content: left;
  gap: 0.5vw; /* Space between logo box and title */
  margin-left: 20vw;
}

.box {
  position: relative;
  background-image: url("images/bysmv3bg.png");
  width: 5rem;  
  height: 5rem; 
  background-size: cover;
  overflow: hidden;
  flex-shrink: 0;
}

.title {
  opacity: 0; 
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.2s;
}

.title h1 {
  font-family: 'titleFont', sans-serif;
  color: #A4A4A4;
  font-size: 5rem;
  text-align: center;
  white-space: nowrap;
}

/* Logo Animations */
.logo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transform: translateY(30px); 
  transition: all 0.5s ease;
}

.logo.visible { 
  opacity: 0.5;
  transform: translateY(0);
}

.box:hover .logo { 
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   MAIN BODY & MENU LAYOUT (Flexbox)
   ========================================= */
.main-body {
  display: flex;
  width: 100%;
  min-height: 55vh;
}

.leftside, .rightside {
  flex: 1; /* Takes up 25% each if menu is flex: 2 */
}

.menu {
  flex: 2; /* Takes up 50% in the middle */
  display: flex;
  flex-direction: column;  
  opacity: 0;
  animation: fadeInUp 0.8s ease forwards;
  animation-delay: 0.7s;
  align-content: left;
}

.entries {
  position: relative;
  margin-bottom: 10px;
  margin-top: 10px;
  cursor: pointer;
  text-align: left;
  width: fit-content;
  transition: all 0.2s ease;
}

.entries h3 {
  font-family: 'titleFont', sans-serif;
  color: #A4A4A4;
  font-size: 3rem;       
  transition: all 0.2s ease;
  transform-origin: left;
}

.entries h5 {
  font-family: 'titleFont', sans-serif;
  color: #A4A4A4;
  font-size: 1.5rem;       
  transition: all 0.2s ease;
  transform-origin: left;
  margin-bottom: 20px;
}

.entries:hover h3 {
  color: #285cc4;
  transform: scale(1.05); /* Slightly reduced scale for a cleaner look */
}

.entries:hover h5 {
  color: #285cc4;
  transform: scale(1.1);
}

/* =========================================
   BOTTOM LINE & TYPOGRAPHY
   ========================================= */
.line {
  display: block;
  background-color: #285cc4;
  height: 25vh;
  width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

p {
  font-family: 'bodyFont', sans-serif;
  color: #A4A4A4;
  font-size: 2rem;       
  transition: all 0.2s ease;
}

.blue-text {
  color: #285cc4;
  font-family: 'titleFont', sans-serif;
}

.small-text {
  font-family: 'bodyFont', sans-serif;
  font-size: 1.3rem;
  color: #A4A4A4;
}

/* =========================================
   RESPONSIVE DESIGN (Mobile Fixes)
   ========================================= */
@media (max-width: 768px) {
  .bigbox {
    flex-direction: column;
    height: auto;
    padding: 20px 0;
    gap: 10px;
  }

  .title h1 {
    font-size: 3rem;
  }

  .main-body {
    flex-direction: column;
    min-height: auto;
    padding: 40px 20px;
  }

  .leftside, .rightside {
    display: none; /* Hide empty sidebars on mobile to center the menu */
  }

  .menu {
    width: 100%;
    align-items: center;
  }

  .entries {
    text-align: center;
    width: 100%;
  }

  .entries h3 {
    font-size: 2.5rem;
    text-align: center;
  }
  
  .line {
    height: 15vh;
  }
}

/* =========================================
   CONTACT FORM STYLES
   ========================================= */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 30px 0;
  max-width: 500px;
}

.contact-form input,
.contact-form textarea {
  font-family: 'bodyFont', sans-serif;
  font-size: 1.2rem;
  color: #A4A4A4;
  background-color: transparent;
  border: 2px solid #A4A4A4;
  padding: 12px 15px;
  transition: all 0.3s ease;
  outline: none;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #285cc4;
  color: #285cc4;
}

.contact-form textarea {
  resize: vertical;
  min-height: 100px;
}

.submit-btn {
  font-family: 'titleFont', sans-serif;
  font-size: 1.5rem;
  color: white;
  background-color: #285cc4;
  border: none;
  padding: 12px 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.submit-btn:hover {
  background-color: #1e4a9e;
  transform: scale(1.05);
}

/* Mobile responsive */
@media (max-width: 768px) {
  .contact-form {
    max-width: 100%;
  }
  
  .submit-btn {
    width: 100%;
    text-align: center;
  }
}

/* =========================================
   SOCIALS PAGE STYLES
   ========================================= */
/* =========================================
   SOCIALS PAGE STYLES
   ========================================= */
.socials-menu {
  gap: 25px;
}

.social-card {
  display: flex;
  align-items: center;
  padding: 20px 25px;
  background-color: #f5f5f5;
  border: 2px solid #A4A4A4;
  transition: all 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
  margin-bottom: 20px;
}

.social-card::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 4px;
  background-color: #A4A4A4;
  transition: all 0.3s ease;
}

.social-card:hover {
  transform: translateX(8px);
  border-color: #285cc4;
}

.social-card:hover::before {
  width: 8px;
  background-color: #285cc4;
}

.social-icon {
  color: #A4A4A4;
  margin-right: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-card:hover .social-icon {
  color: #285cc4;
}

.social-info {
  flex: 1;
  text-align: left;
}

.social-title {
  font-family: 'titleFont', sans-serif;
  color: #A4A4A4;
  font-size: 2rem;
  margin: 0;
  transition: all 0.3s ease;
}

.social-card:hover .social-title {
  color: #285cc4;
}

.social-username {
  font-family: 'bodyFont', sans-serif;
  color: #333;
  font-size: 1.1rem;
  margin: 5px 0 0 0;
}

.social-status {
  font-family: 'bodyFont', sans-serif;
  color: #A4A4A4;
  font-size: 0.9rem;
  margin: 3px 0 0 0;
  font-style: italic;
}

.social-arrow {
  font-family: 'titleFont', sans-serif;
  color: #A4A4A4;
  font-size: 2rem;
  margin-left: 20px;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.social-card:hover .social-arrow {
  color: #285cc4;
  transform: translateX(5px);
}

/* Discord Widget */
.discord-widget-container {
  margin-top: 30px;
  margin-bottom: 20px;
}

.discord-widget-container .section-title {
  font-family: 'titleFont', sans-serif;
  color: #285cc4;
  font-size: 1.8rem;
  margin-bottom: 15px;
  text-align: center;
}

.discord-widget-container iframe {
  border: 2px solid #A4A4A4;
  transition: all 0.3s ease;
  display: block;
}

.discord-widget-container iframe:hover {
  border-color: #285cc4;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .social-card {
    padding: 15px 18px;
  }

  .social-icon {
    margin-right: 15px;
  }

  .social-icon svg {
    width: 32px;
    height: 32px;
  }

  .social-title {
    font-size: 1.5rem;
  }

  .social-username {
    font-size: 0.95rem;
  }

  .social-status {
    font-size: 0.8rem;
  }

  .social-arrow {
    font-size: 1.5rem;
    margin-left: 10px;
  }

  .discord-widget-container iframe {
    height: 350px;
  }
}