/* === HERO SECTION TYPOGRAPHY FIXES === */
.hero-section h1 {
  font-size: 4rem;
  font-weight: 900;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-section h2 {
  font-size: 3rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-section h3 {
  font-size: 2.2rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 1rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.hero-section .hero-btn,
.hero-section .hero-btn-join {
  background: #ffd600;
  color: #000;
  font-weight: 900;
  font-size: 1.5rem;
  padding: 1.2rem 3rem;
  border: none;
  border-radius: 4px;
  transition: background 0.3s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.hero-section p {
  font-size: 1.5rem;
  font-weight: 500;
  color: #fff;
  margin-bottom: 2rem;
}
/* =========================================
   Hero Section & Header Styles
   ========================================= */

:root {
  --hero-primary-red: #cc0000;
  --hero-primary-yellow: #ffd700;
  --hero-dark-bg: #111;
  --hero-text-white: #fff;
}

/* Apply font to new sections */
.hero-header,
.hero-section,
.hero-bottom-bar,
.hero-video-modal {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

/* Header Overrides/New Styles */
.hero-header {
  display: flex;
  height: 70px;
  position: absolute; /* Changed from relative to absolute */
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  color: white;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  background: linear-gradient(90deg, black 50%, rgba(204, 0, 0, 0.6) 50%);
  align-items: center;
  justify-content: space-between;
  padding: 0;
  margin: 0;
}

.hero-header-left {
  flex: 1;
  padding-left: 3rem;
  color: #ccc;
  letter-spacing: 0.5px;
}
.hero-header-right {
  flex: 1;
  text-align: right;
  padding-right: 3rem;
}
.hero-header-right a {
  color: white;
  text-decoration: none;
  margin: 0 10px;
  font-size: 0.75rem;
  font-weight: 700;
}
.hero-header-right a:hover {
  text-decoration: underline;
}

/* Logo */
.hero-logo-container {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  background: white;
  width: 220px;
  height: 110px;
  border-top-left-radius: 0;
  border-top-right-radius: 0;
  border-bottom-left-radius: 110px;
  border-bottom-right-radius: 110px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 101;
  overflow: hidden;
}
.hero-logo-container img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
}

/* Hero Section */
.hero-section {
  position: relative;
  min-height: 500px;
  height: 750px;
  overflow: hidden;
  background: #333;
}

/* Prevent any play button from appearing inside the hero/carousel */
.hero-section .hero-play-btn {
  display: none !important;
}

/* Carousel */
.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 5vw;
  box-sizing: border-box;
}
.hero-slide.active {
  opacity: 1;
  z-index: 1;
}

.hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  max-width: 100%;
  max-height: 100%;
}

.hero-slide-content {
  position: relative;
  z-index: 2;
  color: white;
  max-width: 800px;
  margin-left: 0;
  margin-top: 70px; /* Added to account for absolute header */
  width: 100%;
  padding: 2vw;
  box-sizing: border-box;
}

.hero-slide-title {
  font-size: 4vw;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 2vw;
  text-transform: uppercase;
  font-family: "Arial Black", sans-serif;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  word-break: break-word;
}

@media (max-width: 900px) {
  .hero-slide-title {
    font-size: 6vw;
  }
  .hero-slide-content {
    max-width: 95vw;
    padding: 4vw 2vw;
  }
}

@media (max-width: 600px) {
  .hero-slide {
    padding: 0 2vw;
  }
  .hero-slide-title {
    font-size: 6vw !important;
    margin-bottom: 4vw;
  }
  .hero-slide-content {
    margin-top: 2vh;
    padding: 2vw 1vw;
  }
}

.hero-btn-join {
  background-color: var(--hero-primary-yellow);
  color: black;
  padding: 15px 35px;
  font-size: 1.2rem;
  font-weight: 800;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  text-decoration: none;
  display: inline-block;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}
.hero-btn-join:hover {
  background-color: #e6c200;
}

/* Social Sidebar */
.hero-social-sidebar {
  position: fixed;
  right: 0;
  top: 45%;
  transform: translateY(-50%);
  background: #111;
  display: flex;
  flex-direction: column;
  padding: 15px 10px;
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  z-index: 1000;
  width: 50px;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.hero-social-sidebar a {
  color: white;
  margin: 15px 0;
  font-size: 1rem;
  transition: color 0.3s;
}
.hero-social-sidebar a:hover {
  color: var(--hero-primary-yellow);
}

/* News Box */
.hero-news-wrapper {
  position: relative;
  height: 100%;
}
.hero-news-box {
  background: var(--hero-primary-red);
  color: white;
  padding: 30px;
  z-index: 20;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
}
.hero-news-box h3 {
  margin-bottom: 15px;
  font-size: 1.4rem;
  font-weight: 700;
  color: white;
}
.hero-news-box p {
  font-size: 0.9rem;
  line-height: 1.6;
  margin: 0;
  color: white;
}

.hero-bottom-links {
  display: grid;
  align-items: center;
  justify-content: center;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1.5fr;
  gap: 0;
  padding: 0;
}
.hero-bottom-link {
  text-decoration: none;
  color: black;
  font-weight: 800;
  font-size: 1.3rem;
  text-transform: uppercase;
  padding: 0 20px;
  border-right: 1px solid #ccc;
  text-align: center;
  line-height: 1.2;
  display: flex;
  align-items: center;
  height: 100%;
  justify-content: center;
}
.hero-bottom-link:last-child {
  border-right: none;
}
.hero-bottom-link:hover {
  color: var(--hero-primary-red);
}

.hero-director-msg {
  background: black;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.3s;
  padding: 20px;
}
.hero-director-msg:hover {
  background: #222;
}

.hero-director-msg-content {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.hero-director-text {
  flex: 1 1 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1.2;
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: 0.5px;
}
.hero-play-btn {
  flex: 0 0 auto;
  align-self: center;
  width: 50px;
  height: 50px;
  background: transparent;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  margin-left: 0;
  margin-right: 0;
  position: static;
  box-shadow: none;
  transition: border-color 0.2s;
  padding: 0;
}

/* Remove any before content for play button */
.hero-play-btn::before {
  content: none !important;
}

.hero-play-btn i {
  color: #fff !important;
  margin: 0 !important;
  position: static;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 1rem;
}
.hero-play-btn:hover {
  border-color: #ffd700;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

/* Modal */
.hero-video-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}
.hero-video-modal-content {
  position: relative;
  width: 80%;
  max-width: 900px;
  aspect-ratio: 16/9;
  background: black;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.hero-close-modal {
  position: absolute;
  top: -40px;
  right: 0;
  color: white;
  font-size: 2.5rem;
  cursor: pointer;
  transition: color 0.3s;
}
.hero-close-modal:hover {
  color: var(--hero-primary-red);
}

/* =========================================
   Mobile Responsiveness & Sidebar
   ========================================= */

/* Mobile Sidebar Styles */
.hero-mobile-sidebar {
    position: fixed;
    top: 0;
    left: -100%; /* Hidden by default */
    width: 100%;
    height: 100vh;
    background-color: #111;
    z-index: 2000;
    transition: left 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
}

.hero-mobile-sidebar.active {
    left: 0;
}

.sidebar-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2.5rem;
    cursor: pointer;
    color: white;
    z-index: 2001;
}

.sidebar-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
}

.sidebar-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 3rem;
    width: 100%;
}

.sidebar-links a {
    color: white;
    font-size: 1.5rem;
    margin: 15px 0;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 700;
    transition: color 0.3s;
}

.sidebar-links a:hover {
    color: var(--hero-primary-yellow);
}

.sidebar-text {
    text-align: center;
    padding: 20px;
    color: #ccc;
    font-size: 1rem;
    text-transform: uppercase;
    border-top: 1px solid rgba(255,255,255,0.1);
    width: 80%;
    line-height: 1.6;
}

/* Hamburger Menu */
.hero-mobile-toggle {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: white;
    font-size: 1rem;
    cursor: pointer;
    z-index: 102;
    padding: 10px;
}

/* Mobile Adjustments */
@media (max-width: 1200px) {
    .hero-header {
        justify-content: center;
        height: 60px;
        /* Keep gradient background */
    }
    
    /* Adjust Logo for Mobile */
    .hero-logo-container {
        width: 140px;
        height: 70px;
        border-bottom-left-radius: 70px;
        border-bottom-right-radius: 70px;
    }
    
    /* Reduce Social Sidebar Size */
    .hero-social-sidebar {
        width: 40px;
        padding: 10px 0;
    }
    .hero-social-sidebar a {
        font-size: 0.9rem;
        margin: 10px 0;
    }
    
    /* Adjust Hero Title Size further if needed */
    .hero-slide-title {
        font-size: 8vw;
    }
    
    .hero-btn-join {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

/* Bottom Section Responsive */
@media (max-width: 1200px) {
    .hero-bottom-links {
        grid-template-columns: repeat(2, 1fr);
    }
    .hero-bottom-link {
        border-bottom: 1px solid #ccc;
        padding: 20px;
    }
    .hero-bottom-link:nth-child(2n) {
        border-right: none;
    }
    .hero-director-msg {
        grid-column: span 2;
    }
    .hero-news-wrapper {
        grid-column: span 2;
    }
    .hero-news-box {
        position: relative;
        height: auto;
    }
}

@media (max-width: 768px) {
    .hero-bottom-links {
        display: flex;
        flex-direction: column;
    }
    .hero-bottom-link {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #eee;
    }
    .hero-director-msg {
        width: 100%;
    }
    .hero-news-wrapper {
        width: 100%;
    }
}

/* Floating Brochure Button */
.floating-brochure-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: var(--hero-primary-yellow);
    color: black;
    padding: 15px 25px;
    font-weight: 800;
    text-transform: uppercase;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    z-index: 2147483647; /* Max z-index */
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.floating-brochure-btn.show {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

@media (max-width: 768px) {
    .floating-brochure-btn {
        bottom: 20px;
        right: 20px;
        padding: 12px 20px;
        font-size: 0.9rem;
    }
}

.floating-brochure-btn:hover {
    background-color: #e6c200;
    transform: translateY(-5px);
    color: black;
}

/* Large screen adjustments for better scaling */
@media (min-width: 1920px) {
  .hero-section {
    height: 80vh;
    min-height: 750px;
  }
  
  .hero-slide-content {
    max-width: 1000px;
  }
  
  .hero-slide-title {
    font-size: 3.5vw;
  }
}
