/* Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Libre+Franklin:ital,wght@1,500;1,600&family=Montserrat:wght@600;700&display=swap");

/* Reset & Base */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  list-style: none;
  text-decoration: none;
  font-family: "Montserrat", sans-serif;
}

::selection {
  background-color: #c50529;
}

html {
  scroll-behavior: smooth;
  background-color: black;
}

/* ===== HEADER / HERO SECTION ===== */
header, .about-header {
  position: relative;
  width: 100%;
  height: 100vh; /* full viewport */
  background: url("home-images/hero.jpg") no-repeat top center/cover;
  background-attachment: fixed; /* parallax effect */
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  padding: 0 20px;
  overflow: hidden;
}

/* Dark overlay for contrast */
header::before, .about-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 0;
}

/* ===== NAVIGATION ===== */
nav {
  display: flex;
  padding: 2.5% 5%;
  position: relative;
  z-index: 2;
}

nav img {
  width: 260px;
  height: 221px;
  cursor: pointer;
  filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.8)); /* harsh shadow */
}

nav ul {
  text-align: right;
  flex: 1;
}

nav ul li {
  display: inline-block;
  padding: 6px 15px;
}

nav ul li a {
  color: white;
  font-size: 16px;
}

nav ul li a:hover {
  color: #c50529;
}

nav ul li a::after {
  content: "";
  width: 0;
  height: 2px;
  display: block;
  transition: 0.6s;
  background-color: #c50529;
}

nav ul li a:hover::after {
  width: 100%;
}

#check-btn {
  font-size: 20px;
  color: white;
  float: right;
  flex: 1;
  margin-right: 40px;
  cursor: pointer;
  display: none;
}

#check {
  display: none;
}

/* ===== HERO TEXT ===== */
.head {
  text-align: center;
  justify-content: center;
  color: white;
  margin-top: 8%;
  position: relative;
  z-index: 1;
}

.hero-title {
  color: #d4af37;
  font-size: 3.5rem;
  font-weight: 800;
  letter-spacing: 2px;
  margin-bottom: 25px;
  text-transform: uppercase;
}

.head h1 {
  font-size: 70px;
  padding-bottom: 20px;
  line-height: 1.2em;
}

.head p {
  line-height: 1.4;
  font-family: "Libre Franklin", sans-serif;
  font-weight: 300 !important;
  font-size: 23px;
  letter-spacing: 1px;
  margin-bottom: 3%;
  opacity: 0.9;
}

/* ===== BUTTON ===== */
button,
.learn-btn {
  display: inline-block;
  padding: 15px 40px;
  color: white;
  cursor: pointer;
  font-weight: bold !important;
  font-size: 22px;
  border-radius: 5px;
  background: linear-gradient(110deg, #c50529 40%, #833556 60%);
  transition: all 0.3s ease;
}

.learn-btn {
  text-decoration: none;
}

button:hover,
.learn-btn:hover {
  transform: translateY(-3px);
}

/* ===== RESPONSIVE NAV ===== */
@media (max-width: 858px) {
  #check-btn {
    display: block;
    color: #c50529;
  }

  ul {
    position: fixed;
    width: 100%;
    height: 82vh;
    background-color: #c50529;
    top: 80px;
    left: -100%;
    text-align: center;
    align-items: center;
    justify-content: center;
    display: flex;
    flex-direction: column;
    transition: 0.5s;
  }

  ul li {
    display: block;
    margin: 30px 0;
    line-height: 30px;
  }

  ul li a {
    color: white;
    font-size: 20px;
  }

  #check:checked ~ ul {
    left: 0;
  }
}

/* ===== SMALLER SCREENS ===== */
@media (max-width: 636px) {
  .head h1 {
    font-size: 55px;
  }

  .head p {
    font-size: 16px;
    padding-bottom: 5%;
  }

  button,
  .learn-btn {
    padding: 10px 25px;
    font-size: 16px;
  }
}

/* ===== FOOTER ===== */
footer {
  background-color: #111;
  padding: 150px 20px 120px 20px; /* taller footer */
  text-align: center;
}

.about-title {
  color: #d4af37;
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.footer-text {
  color: white;
  font-size: 1.3rem;
  line-height: 1.9;
  max-width: 800px;
  margin: 0 auto;
  opacity: 0.9;
  letter-spacing: 0.6px;
}

.footer-text strong {
  color: #d4af37;
  letter-spacing: 1px;
}

.spacer {
  height: 150px;
  background-color: black;
}

.after-footer {
  height: 180px;
  background-color: black;
}

/* ===== ABOUT PAGE ===== */
.about-header {
  background: linear-gradient(to bottom right, #000, #111); /* dark gradient instead of hero image */
  color: white;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
}


.about-container {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.about-container h1 {
  font-size: 3rem;
  color: #d4af37;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 15px;
}

.about-container p {
  font-size: 1.2rem;
  color: #ccc;
  margin-bottom: 50px;
}

/* ===== TEAM SECTION (BRICK LAYOUT) ===== */
.team-section {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); /* max 3 per row */
  gap: 30px;
  justify-items: center;
  padding: 20px 0;
}

.team-member {
  background-color: #111;
  border-radius: 15px;
  padding: 25px 20px;
  width: 100%;
  max-width: 300px;
  text-align: center;
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.06);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-6px);
}

.team-member .member-photo {
  width: 140px;
  height: 140px;
  object-fit: cover;
  border-radius: 15px;
  margin-bottom: 15px;
}

.team-member h2 {
  color: #d4af37;
  font-size: 1.5rem;
  margin-bottom: 8px;
}

.team-member p {
  color: #bbb;
  font-size: 1rem;
}

/* ===== CONTACT PAGE ===== */
.contact-header {
  background: linear-gradient(to bottom right, #111, #000);
  color: white;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  position: relative;
}

.contact-container {
  position: relative;
  z-index: 1;
  padding: 0 20px;
}

.contact-container h1 {
  font-size: 3rem;
  color: #d4af37;
  font-weight: 800;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.contact-container p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.contact-info {
  margin-top: 50px;
  font-size: 1.3rem;
  line-height: 2;
}

.contact-info i {
  color: #d4af37;
  margin-right: 10px;
}

nav ul li a.active {
  color: #c50529;
  font-weight: 700;
}
/* ===== ENDORSED BY SECTION ===== */
.endorsed-section {
  text-align: center;
  padding: 60px 20px;
  background-color: #111;
  color: white;
}

.endorsed-section h2 {
  font-size: 2.5rem;
  color: #d4af37;
  margin-bottom: 40px;
  text-transform: uppercase;
}

.endorsed-logos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 60px;
}

.endorsed-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.endorsed-logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 15px;
}

.endorsed-logo p {
  font-size: 1.2rem;
  color: white;
  text-align: center;
}
