/* 1. Base reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
   
  
html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; 
  background-color: #f7fafc;

  font-size: 16px;
  line-height: 1.6;
  color: #333333;
}

/* 2. Header and Main Menu Container */
header {
  background-color: #111111; 
  color:  #ffffff;
  padding-top: 20px;
  border-bottom: 3px solid #f77111; 

}

header h1, header h2 {
  text-align: center;
  margin-top: 0;
  margin-bottom: 5px;
}

header h1 {
  color: #f77111;
  text-transform: uppercase;
  font-weight: 900;
}

header h2 {
  font-size: 20px;
  color: #f77111;
  margin-bottom: 20px;
  font-weight: 700;
}

/* Navigation Links Container */
nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #1a1a1a;
  height: 50px;
}

/* Base style for all links and trigger buttons */
nav a, .dropbtn {
  color: #ffffff;
  text-decoration: none;
  padding: 0 20px;
  height: 100%;
  display: flex;
  align-items: center;
  font-size: 15px;
  font-weight: 600;
  background: none;
  border: none;
  cursor: pointer;
  transition: background color 0.2s;

}

nav a:hover, .dropdown:hover .dropbtn {
  background-color: #f77111;

}

/* 4. Dropdown Container Setup */
.dropdown {
  position: relative; 
  height: 100%;

}

/* The actual list of links */
.dropdown-content {
  display: none; 
  position: absolute;
  background-color: #ffffff;
  min-width: 180px;
  box-shadow: 0px 8px 16px
  rgba(0,0,0,0,2);
  z-index: 1000; 
  top: 50px; 

}

.dropdown-content a {
  color: #111111;
  padding: 12px 16px;
  display: block;
  height: auto;
  border-bottom: 1px solid #e2e8f0;

}

.dropdown-content a:hover {
  background-color: #111111;
  color: #f77111;
  
}

/* 5. The Hover Trigger! */
.dropdown:hover .dropdown-content {
  display: block; 

}

/* 6. Utility Login Button (Spaced to the right */
.nav-utility {
  margin-left: auto;
  padding-right: 20px;

}

.login-btn {
  border: 1.5px solid #f77111;
  border-radius: 4px;
  padding: 6px 15px;
  height: auto;
  color: #000000;
  text-decoration: none;
}

.login-btn:hover {
  background-color: #f77111;
  color: #000000

}

header h3 {
  color: #f77111; 
  font-size: 18px; 
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
  margin-bottom: 20px;
}

/* Gives the navigation bar a bold white strip */
nav {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  background-color: #ffffff; 
  height: 60px;
  padding-left: 20px;
  box-shadow: 0 4px 10px rgba(0, 0, 0.15); 
}
nav img {
  height: 50px;
  width: auto;
}
/* Styles the text to stand out against the white */
nav a, .dropbtn {
  color: #111111;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  height: 100%;
  display: flex;
  align-items: center;
  text-decoration: none;
  transition: all 0.2s ease;
  border-bottom: 4px solid transparent;
  }

  nav a:hover, .dropdown:hover .dropbtn {
    background-color: #f77111;
    color: #ffffff;
  }
  
  .dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    padding-left: 10px;
    z-index: 1;
  }

.hero-overlay h1 {
  font-size: 44px;
  text-transform: uppercase;
  color: #f77111;
  margin-bottom: 15px;
  font-weight: 900;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6); 
}

.homepage-hero {
  height: 600px;
  width: 100%;
  background-color: #111111;
  background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('../images/hero-banner.jpg');
  background-size: cover;
  background-position: center 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}
  
  .hero-overlay p {
  font-size: 18px;
  color: #ffffff;
  margin-bottom: 35px;
  max-width: 450px;
  line-height: 1.6;
}


.hero-overlay p {
  font-size: 18px;
  margin-bottom: 20px;
}

.hero-btn {
  display: inline-block;
  background-color: #f77111;
  color: #ffffff;
  padding: 12px 24px;
  text-decoration: none;
  font-weight: bold;
  border-radius: 4px;
  text-transform: uppercase;
  transition: 0.2;
}

.hero-btn:hover {
  background-color: #111111;
  color: #f77111;
}

/* Container for the news section */
.latest-news {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.latest-news h2 {
  font-size: 32px;
  margin-bottom: 40px;
  color: #111111;
  text-transform: uppercase;
}

/* Flexbox layout to align cards horizontally */
.card-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: stretch;
}
  
/* Individual Card Styling */
.news-card {
  background: #fff;
  width: 100%;
  min-height: 45  0px;
  padding: 35px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  border: 2px solid #f77111;
  transition: transform 0.3s;
  }

/* Hover Effect */
.news-card:hover {
  box-shadow: 0, 10px 25px rgba(0, 0, 0, 0.2s);
  border-top-color: #111111;
}

.news-card h3 {
  font-size: 1.5rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: #212121;
}

.news-card p {
  font-size: 1rem;
  line-height: 1.6;
  color: #555;
}

.news-card img {
  max-width: 100%; 
  height: 180px;
  object-fit: contain;
  display: block;
}

/* Dark background that covers the whole screen */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0; top: 0;
  width: 100%; height: 100%;
  background-color: rgba(0,0,0,0.8);
}

/* The actual white box in the middle */
.modal-content {
  background-color: #fff;
  margin: 15% auto;
  padding: 30px;
  width: 300px;
  border-top: 8px solid #f77111;
  border-radius: 10px;
  text-align: center;
  position: relative;
}

.modal-content {
  position: relative;
  color: #000000;
  text-align: center;
}


/* The X button to close it */
.close-btn {
  position: absolute;
  right: 15px; top: 10px;
  font-size: 24px;
  cursor: pointer;
}

.form-footer {
  margin-top: 20px;
  font-size: 14px;
  color: #555;
}

.form-footer hr { 
  border: 0;
  border-top: 1px solid #fff;
  margin: 15px 0;
}

.form-footer a {
  color: #f77111;
  text-decoration: none;
  font-weight: bold;
}

.form-footer a:hover {
  text-decoration: underline;
  color: #111111;
}

.submit-btn {
  background-color: #f77111;
  color: white;
  padding: 12px;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  width: 100%;
  margin-top: 10px;
}

.submit-btn:hover {
  background-color: #111111;
}

#welcome-box {
  animation: roarIn 0.5s ease-out;
}

@keyframes roarIn {
  0% { transform: scale(0.5); opacity: 0;}
  100% { transform: scale(1); opacity: 1;}
}

[class*="card"], .thumbnail, [class*="news-box"] {
    width: 90%;
    margin: 15px auto;
  }
    
nav img {
  height: 75px;
  width: auto;
  margin-right: 25px;
  vertical-align: middle;
}
/* -- Terms Page Styling --*/
main {

  max-width: 1400px;
  margin: 40px auto;
  padding: 0 20px;
  font-family: sans-serif;
  line-height: 1.6;
}

/*2. Styles Main Title */
main h1 {
  color: #f77111;
  border-bottom: 2px solid #f77111;
  padding-bottom: 10px;
}

/* 3. Styles the sub-heading */
main h3 {
  color: #f77111;
  margin-top: 25px;
  margin-bottom: 10px;
}

main p {
  color: #555;
  margin-bottom: 15px;
}

.tigers-footer {
  background-color: #000000;
  color: #ffffff;
  padding: 60px 20px 20px 20px;
  margin-top: 50px;
  clear: both;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 95%;
  margin: 0 auto;
}

/* 1. LEFT: Quick Links Box */
.footer-column {
  border: 2px solid #f77111;
  padding: 15px;
  flex: 1;
  text-align: left;
  min-height: 250px;
}

.footer-links-stack a {
  display: block;
  color: #ffffff;
  text-decoration: none;
  margin-bottom: 10px;
}

.footer-logo-wrapper {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 15px;
}

.footer-links-stack {
  display: flex;
  flex-direction: column;
}

.footer-logo-img {
  width: 80px;
  height: auto;
}

/* 2. MIDDLE: Subscribe Section */
.footer-column.subscribe {
  text-align: center;
  flex: 1;
}

/* 3. RIGHT: Contact & Socials */
.footer-column.contact {
  text-align: right;
  flex: 1;
}

.social-icons {
display: flex;
justify-content: flex-end;
gap: 15px;
margin-top: 15px;
}

.social-icons img {
  width: 30px;
  height: auto;
}

/* 4. BOTTOM: Copyright */
.footer-copyright {
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #333333;
  width: 100%;
  font-size: 0.9rem;
}

a, a:visited {
  color: #f77111;
  text-decoration: none;
}

a:hover {
  color: #ff8c3b;
  text-decoration: underline;
}

/* --- History Page Special Styles ---

/* Styles the Merger Box */
.merger-highlight {
  background-color: #f9f9f9;
  border-left: 10px solid #f77111;
  padding: 25px;
  margin: 40px 0;
  line-height: 1.6;
}

.merger-highlight h2 {
  color: #000000;
  margin-top: 0;
  text-transform: uppercase;
  font-size: 22px;
}

.merger-highlight p {
  color: #333333;
  font-size: 18px;
}

.history-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  display: block;
  margin: 20px auto;
  border: 4px solid #f77111;
  border-radius: 8px;
}

.merger-highlight {
  padding: 20px;
  overflow: hidden;
}

/* --- Player Grid Style --- */
/* --- 1. The Coach (Top Centre) --- */
.coach-section {
  display: flex;
  justify-content: center;
  margin-bottom: 50px;
  width: 100%;
}

.coach-card {
  border: 6px double #000000;
  outline: 6px solid #f77111;
  transform: scale(1.05);
}

/* --- 2. The Player Grid --- */
.player-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 25px;
  max-width: 850px;
  margin: 0 auto;
}

.card {
  background-color: #ffffff;
  border: 3px solid #f77111;
  border-radius: 12px;
  width: 280px;
  text-align: center;
  overflow: visible;
  margin: 15px;
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.1);
  padding-bottom: 20px;
}

.card img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  object-position: top;
  border-bottom: none;
}

.card-info {
  padding: 20px;
}

.bio {
  color: #222222;
  font-size: 1.15rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  padding: 0 10px;
}

.card h3 {
  color: #000000;
  font-size: 1.4rem;
  font-weight: 900;
  margin-bottom: 5px;
  text-transform: uppercase;
  text-align: center;
}

.card-info .role {
  color: #e05300;
  font-size: 1.3rem;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.poll-container {
  background-color: white;
  color: black;
  border: 3px solid #f77111;
  padding: 30px;
  border-radius: 15px;
  max-width: 400px;
  margin: 20px auto; 
  text-align: center;
}

.poll-option {
  display: block;
  text-align: left;
  margin: 10px 0;
  font-size: 18px;
  cursor: pointer;
}

.merch-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.product-card {
  width: 45%;
  border: 4px solid #f37021;
  border-radius: 12px;
  padding: 20px;
  text-align: center;
  box-sizing: border-box;

  height: auto;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding-bottom: 25px;
  box-sizing: border-box;
}

.size-dropdown {
  display: block;
  width: 80%;
  margin: 10px auto 20px auto;
  padding: 8px;
  border: 2px solid #ccc;
  border-radius: 4px;
}

.checkout-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 999;
}

.modal-body {
  background-color: white;
  width: 400px;
  margin: 15% auto;
  padding: 25%;
  border-radius: 8px;
  border: 3px solid #000;
  position: relative;
}

.close-modal {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 24px;
  cursor: pointer;
}

.buy-btn {
  background-color: #f37021;
  color: #000000;
  font-weight: bold;
  padding: 12px 0;
  font-size: 16px;
  display: block;
  width: 80%;
  margin: 15px auto 5px auto;
}

.modal-bg {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: (rgba, 0, 0, 0, 0.75);
}

.modal-form-container {
  background-color: #ffffff;
  margin: 10% auto;
  padding: 30px;
  border: 4px solid #000000;
  border-radius: 12px;
  width: 90%;
  max-width: 400px;
  position: relative;
  box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.6);
}

.modal-form-container label {
  font-weight: bold;
  display: block;
  margin-top: 10px;
  color: #000000;
}

.modal-form-container input {
  width: 100%;
  padding: 10px;
  margin: 6px 0 12px 0;
  border: 2px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.close-modal-btn {
  position: absolute;
  right: 15px;
  top: 10px;
  font-size: 32px;
  font-weight: bold;
  cursor: pointer;
  color: #999;
}
.close-modal-btn:hover { color: #f37021;}

.form-submit-btn {
  background-color: #f37021;
  color: #ffffff;
  border: none;
  padding: 12px;
  width: 100px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 10px;
}
.form-submit-btn:hover { background-color: #000000;}

.back-to-top-container {
text-align: center;
margin-bottom: 15px;
}

.top-link {
  color: #ffffff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
  transition: color 0.3s ease;
}

.top-link:hover {
  color: #f37021;
}

/* Wests Tigers Community Page Styles */
.header-banner {
  background-color: #f37021;
  color: white;
  text-align: center;
  padding: 30px 20px;
}

.container {
  max-width: 800px;
  margin: 20px auto;
  padding: 20px;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0, 2px 4px rgba(0, 0, 0, 0.1);
}

.container h4 {
  color: #000000;
  border-bottom: 3px solid #f37021;
  padding-bottom: 5px;
  margin-top: 30px;
}

.district-box {
  background-color: light orange ;
  padding: 15px;
  margin: 15px 0;
  border-left: 5px solid #000000;
  border-radius: 4px;
}

.district-box ul {
  padding-left: 20px;
  margin-top: 10px;
}

.district-box li {
  margin-bottom: 8px;
  font-size: 15px;
}

/*Privacy Policy Layout */
.policy-container {
  max-width: 800px;
  margin: 40px auto;
  padding: 20px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #000000;
}

/* Page Title Style */
.policy-container h3 {
  color: #f36f21;
  text-transform: uppercase;
  border-bottom: 2px solid #f36f21;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

/* Last Updated text styling */
.update-date {
  font-style: italic;
  color: #000000;
  margin-bottom: 20px;
}

.policy-group {
  margin-top: 30px;
}

.policy-group h4 {
  color: #f36f21;
  font-size: 1.5rem;
  margin-bottom: 10px;
}

.policy-group p {
  line-height: 1.6;
}

.policy-link {
  color: #f36f21;
  text-decoration: none;
  font-weight: bold;
}

.policy-link:hover {
  text-decoration: underline;
  color: #000000;
}

.banner-logo {
  width: 120px;
  height: auto;
  display: inline-block;
  vertical-align: middle;
}

.header-banner p {
  color: #000000;
  font-size: 18px;
  font-weight: bold;
}

@media screen and (max-width: 600px) {
  .header-banner {
    display: block;
    text-align: center;
  }

  .banner-logo {
    width: 100px;
    margin: 0 auto 10px auto;
    display: block;
  }

  .header-banner p {
    font-size: 16px;
  }
  
}

.banner-logo {
  width: 120px;
  height: auto;
  
}
.header-banner p {
  color: #000000;
}

.banner-logo {
  width: 120px;
  height: auto;
}

.district-logo {
  height: 100px;
  width: auto;
  border: 3px solid #f37023;
  margin-right: 15px;
}

.grassroots-logo {
  width: 120px;
  height: auto;
  border: 3px solid #f37023;
}

.grassroots-logo {
  float: right;
  clear: left;
  margin-top: -20px;
  margin-bottom: 20px;
  width: 120px;
  height: auto;
  border: 3px solid #f37023;
}

.program-img {
  border: 3px solid#f37023;
  border-radius: 6px;
}

.poll-container h3,
  .poll-container p {
    color: #000000;
    font-weight: bold;
  }

  .poll-container h3 {
    color: #f37023;
    font-size: 24px;
  }

  .fanzone-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    margin-top: -30px;
    margin-bottom: 40px;
  }

  .poll-side-graphic {
    width: 240px;
    height: auto;
    border: 3px solid #f37023;
    border-radius: 6px;
  }

  .fan-photos-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 40px;
  }

  .fan-pair-img {
    width: 320px;
    height: auto;
    border: 3px solid #f37023;
    border-radius: 6px;
  }




