/* ============================================
   WNY BRIDGE BRIGADE THEME
   ============================================ */

/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css?family=Lobster|Open+Sans:300,400,600,700,800");

/* Custom Fonts */
@font-face {
  font-family: 'JoeJack';
  src: url('../fonts/JoeJack.ttf.woff') format('woff'),
       url('../fonts/JoeJack.ttf.svg#JoeJack') format('svg'),
       url('../fonts/JoeJack.ttf.eot');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'ErikasBuero1';
  src: url('../fonts/ErikasBuero1.ttf.woff') format('woff'),
       url('../fonts/ErikasBuero1.ttf.svg#ErikasBuero1') format('svg'),
       url('../fonts/ErikasBuero1.ttf.eot'); 
  font-weight: normal;
  font-style: normal;
}

/* Override CSS Variables for WNYBB Theme */
:root {
  /* WNYBB Color Scheme - From original */
  --color-primary: #B31942;        /* Red - menu background */
  --color-secondary: #0A3161;      /* Dark blue - footer/buttons */
  --color-accent: #f75f5f;         /* Light red for hovers */
  
  /* Background Colors */
  --color-bg-dark: #1b1b1b;
  --color-bg-blue: #0A3161;        /* Blue for quote sections */
  --color-bg-light: #f8f9fa;
  
  /* Text Colors */
  --color-text-dark: #000000;
  --color-text-light: #ffffff;
  --color-text-link: #aecef5;
  --color-text-link-hover: #f5aeae;
  --color-text-dark-link: #0A3161;
  --color-text-dark-link-hover: #f75f5f;
  
  /* Fonts */
  --font-primary: "Open Sans", Arial, Helvetica, sans-serif;
  --font-heading: "ErikasBuero1", "Courier New", Courier, monospace;
  --font-display: "JoeJack", Arial, Helvetica, sans-serif;
}

/* Override body font */
body {
  font-family: var(--font-primary);
  font-size: 15pt;
  font-weight: 400;
  line-height: 1.65;
  background-color: var(--color-bg-dark);
  color: rgba(255, 255, 255, 1);
}

@media screen and (max-width: 1280px) {
  body {
    font-size: 11pt;
  }
}

@media screen and (max-width: 980px) {
  body {
    font-size: 12pt;
  }
}

/* Typography overrides */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.5;
  text-transform: uppercase;
}

h2 {
  font-size: 2.5em;
  font-family: var(--font-heading);
  line-height: 1.2;
  font-weight: normal;
}

h3 {
  font-size: 1.5em;
}

h4 {
  font-size: 1.3em;
}

h5 {
  font-size: 1em;
}

/* Links */
a {
  text-decoration: underline;
  color: inherit;
}

a:hover {
  text-decoration: none;
}

.text-link {
  text-decoration: underline;
  color: var(--color-text-link);
}

.text-link:hover {
  color: var(--color-text-link-hover);
}


.col-33 {
  flex: 1 1 150px;
  align-content: center;
}  /* 3 equal columns, stack below 150px */

/* ============================================
   BACKGROUND IMAGES
   ============================================ */

/* Banner - Hero */
#banner.bg-image {
  background-image: url('../images/banner-01.png');
}

/* ============================================
   BACKGROUND IMAGES - FIXED, NOT SCROLLING
   ============================================ */


.bg-image{
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  border-bottom: 1px solid var(--color-bg-dark);
}

/* Banner - Hero */
#banner.bg-image {
  background-image: url('../images/banner-01.png');
}

/* About Section */
#about.bg-image {
  background-image: url('../images/banner-02.png');
}

/* Visibility Brigade Section */
#vb.bg-image {
  background-image: url('../images/banner-03.png');
}

/* Regular Events Section */
#regular.bg-image {
  background-image: url('../images/banner-04.png');
}

/* Regular Events Section */
#friends.bg-image {
  background-image: url('../images/banner-06.png');
}

/* Calendar Section */
#calendar.bg-image {
  background-image: url('../images/banner-07.png');
}

/* On mobile, switch to scroll for performance */
@media screen and (max-width: 768px) {
  #banner.bg-image,
  #about.bg-image,
  #vb.bg-image,
  #regular.bg-image,
  #calendar.bg-image {
    background-attachment: scroll;
  }
}

/* ============================================
   BLUE SECTIONS (Quotes)
   ============================================ */
.bg-blue {
  background-color: var(--color-bg-blue);
  color: var(--color-text-light);
}

.bg-blue .content-box{
  margin-bottom: 0;
}

.bg-blue h2 {
  color: var(--color-text-light);
  text-align: center;
  margin: 0;
}

/* ============================================
   CONTENT BOXES - Translucent like original
   ============================================ */
.content-box {
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  padding: 4em;
  margin-bottom: 2em;
  overflow: hidden;
}
.content-box.white{
  border: 4px solid #fff;
  border-radius: 10px;
}

.content-box.blue2{
  border: 4px solid var(--color-secondary);
  border-radius: 10px;
}

.content-box-white {
  background-color: #ffffff;
  color: #000000;
  border-radius: 4px;
  padding: 4em;
  margin-top: var(--space-md);
}

.content-box h2,
.content-box h3,
.content-box h4,
.content-box h5,
.content-box h6 {
  color: #ffffff;
}

.content-box-white h2 {
  color: var(--color-secondary);
}

@media screen and (max-width: 980px) {
  .content-box,
  .content-box-white {
    padding: 3em;
  }
}

@media screen and (max-width: 768px) {
  .content-box,
  .content-box-white {
    padding: 2em;
  }
}

@media screen and (max-width: 480px) {
  .content-box,
  .content-box-white {
    padding: 1em;
  }
}

/* Section Headers */
.section-header {
  margin-bottom: var(--space-md);
  background-color: #ffffff;
  padding: 1.5em;
  border-radius: 4px 4px 0 0 ;
  margin-left: -4em;
  margin-right: -4em;
  margin-top: -4em;
  margin-bottom: 4em;
}

.content-box-white .section-header {
  background-color: var(--color-secondary);
}

.section-header h2 {
  margin-bottom: var(--space-xs);
  color: var(--color-secondary);
  font-family: var(--font-heading);
  line-height: 1;
  margin-bottom: 0;
}

.content-box-white .section-header h2 {
  color: #ffffff;
}

.section-header h5 {
  font-size: var(--text-xl);
  margin-bottom: 0;
  color: var(--color-text-dark);
}

.content-box-white .section-header h5 {
  color: #ffffff;
}

.section-header p {
  font-size: var(--text-lg);
  margin-bottom: 0;
  color: var(--color-text-dark);
  font-weight: 600;
}

.content-box-white .section-header p {
  color: #ffffff;
}

@media screen and (max-width: 980px) {
  .section-header {
    margin-left: -3em;
    margin-right: -3em;
    margin-top: -3em;
  }
}

@media screen and (max-width: 768px) {
  .section-header {
    margin-left: -2em;
    margin-right: -2em;
    margin-top: -2em;
  }
}

@media screen and (max-width: 480px) {
  .section-header {
    margin-left: -1em;
    margin-right: -1em;
    margin-top: -1em;
  }
}

/* Section Footers */
.section-footer {
  margin-top: var(--space-md);
}

.section-footer h3{
  text-align: center;
  border-bottom: 1px white solid;
  padding-top: 17px;
}

.fbook{
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ============================================
   NAVIGATION - Hamburger menu on ALL screen sizes
   ============================================ */
.navbar {
  background-color: var(--color-secondary);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: 60px;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 1.5em;
  height: 100%;
  max-width: 100%;
}

.navbar-brand {
  font-family: var(--font-heading);
  font-weight: normal;
  font-size: 1.5em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-light);
  z-index: 10003;
}

.navbar-brand:hover {
  color: var(--color-text-light);
  text-decoration: none;
}

/* Mobile Toggle - ALWAYS VISIBLE */
.navbar-toggle {
  display: block;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: var(--color-text-light);
  cursor: pointer;
  height: 2.5em;
  line-height: 2.5em;
  padding: 0 1.25em;
  position: relative;
  text-decoration: none;
  z-index: 10003;
  border-radius: 4px;
  font-size: 0.9em;
}

.navbar-toggle:hover {
  border-color: rgba(255, 255, 255, 0.75);
}

.navbar-toggle span {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Side Panel Menu */
.navbar-nav {
  position: fixed;
  top: 0;
  right: 0;
  width: 20em;
  max-width: 80%;
  height: 100%;
  background: var(--color-primary);
  color: var(--color-text-light);
  padding: 3em 2em;
  transform: translateX(calc(100% + 10px));
  transition: transform 0.5s ease, box-shadow 0.5s ease;
  overflow-y: auto;
  z-index: 10002;
  list-style: none;
  margin: 0;
  -webkit-overflow-scrolling: touch;
  display: flex;
  flex-direction: column;
  gap: 0;
  pointer-events: none;
}

.navbar-nav.active {
  transform: translateX(0);
  box-shadow: 0 0 1.5em 0 rgba(0, 0, 0, 0.2);
  pointer-events: auto;
}

.navbar-nav li {
  padding: 20px 0;
  margin: 0;
  border-top: solid 1px rgba(255, 255, 255, 0.25);
  width: 100%;
}

.navbar-nav li:first-child {
  border-top: 0;
}

.navbar-nav a {
  color: var(--color-text-light);
  text-decoration: none;
  display: block;
  /* line-height: 3.5em; */
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.9em;
  letter-spacing: 0.05em;
  width: 100%;
}

.navbar-nav a:hover,
.navbar-nav a.active {
  color: rgba(255, 255, 255, 0.75);
}

@media screen and (max-width: 768px) {
  .navbar-nav {
    /* Change to top dropdown on mobile */
    top: 60px;
    right: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 0;
    padding: 0;
    transform: none;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
  }
  
  .navbar-nav.active {
    max-height: 500px;
    padding: 2em 1.5em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  }
  
  .navbar-nav li {
    padding: 0.75em 0;
  }
  
  .navbar-nav a {
    border-bottom: none;
  }
}

/* ============================================
   HERO / BANNER
   ============================================ */
.hero {
  min-height: 100vh;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 8em 0 6em 0;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--color-text-light);
  width: 60em;
  max-width: 90%;
  padding: var(--space-md);
}

.hero-content h1 {
  font-size: 7em;
  line-height: 1.1;
  font-family: var(--font-display);
  margin-bottom: 0.25em;
  color: rgba(255, 255, 255, 0.75);
  text-shadow: -2px -2px 0 rgba(0, 0, 0, 0.125);
  text-transform: none;
}

.hero-content h2 {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.75em;
  font-family: var(--font-heading);
  font-weight: normal;
  text-transform: uppercase;
  /* letter-spacing: 0.15em; */
  margin-bottom: var(--space-md);
}

.hero-content h3 {
  font-size: 1.25em;
  font-weight: 400;
  color: var(--color-text-light);
  font-family: var(--font-primary);
  text-transform: none;
}

.text-link-light {
  color: var(--color-text-link);
  text-decoration: underline;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.text-link-light:hover {
  color: var(--color-text-link-hover);
}

@media screen and (max-width: 768px) {
  .hero-content h1 {
    font-size: 3em;
  }
  
  .hero-content h2 {
    font-size: 1.3em;
  }
  
  .hero-content h3 {
    font-size: 1.1em;
  }
}

@media screen and (max-width: 480px) {
  .hero-content h1 {
    font-size: 2.5em;
  }
  
  .hero-content h2 {
    font-size: 1.2em;
  }
}

/* ============================================
   BUTTONS - Original styling
   ============================================ */
.btn,
.btn-special {
  background-color: var(--color-secondary);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 125%;
  font-weight: normal;
  border: #fff solid 1px;
  padding: 0.75rem 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}

.btn-special:hover,
.btn:hover {
  background-color: var(--color-accent);
  color: #ffffff !important;
  text-decoration: none;
}

.btn-lg {
  font-size: 140%;
  padding: 1rem 2rem;
}

/* ============================================
   FORM STYLING
   ============================================ */
.contact-form {
  max-width: 800px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 1.5em;
}

.form-label {
  color: #ffffff;
  font-weight: 600;
  margin-bottom: 0.5rem;
  display: block;
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.075);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 4px;
  font-family: var(--font-primary);
  font-size: 1em;
  color: #ffffff;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: #ffffff;
  box-shadow: 0 0 0 1px #ffffff;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Honeypot field - hidden */
.field.last-name {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

/* Checkbox styling */
.checkbox-group {
  margin-bottom: 1em;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.checkbox-group input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkbox-group label {
  cursor: pointer;
  font-size: 1em;
  color: #fdd1d1;
}

/* Form messages */
#form-messages {
  margin-bottom: 2em;
  padding: 1em;
  border-radius: 4px;
  text-align: center;
  display: none;
}

#form-messages.success {
  display: block;
  background-color: #d1fae5;
  color: #065f46;
  border: 1px solid #6ee7b7;
}

#form-messages.error {
  display: block;
  background-color: #fee2e2;
  color: #991b1b;
  border: 1px solid #fca5a5;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background-color: var(--color-secondary);
  background: var(--color-secondary);
  color: #fdd1d1;
  padding: 6em 0 4em 0;
}

.footer h2 {
  color: #ffffff;
  text-align: center;
  margin-bottom: 2em;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.footer a {
  color: #ffffff;
  text-decoration: underline;
}

.footer a:hover {
  text-decoration: none;
}

.footer label {
  color: #ffffff;
}

.footer .btn-special {
  background-color: #ffffff;
  color: var(--color-secondary) !important;
  border: var(--color-accent) solid 2px;
}

.footer .btn-special:hover {
  border: #000 solid 2px;
  color: #000 !important;
  background-color: var(--color-accent);
}

.hashtags {
  text-align: center;
  margin-top: 3em;
  font-size: 0.9em;
  color: rgba(255, 255, 255, 0.7);
}

/* ============================================
   FRIENDS SECTION - White BG, visible text, smaller images
   ============================================ */
#friends {
  background-color: #ffffff;
}

/* #friends .container {
  background-color: #ffffff;
} */

#friends .content-box {
  background-color: #fff;
  color: var(--color-text-dark);
}

#friends .content-box h2,
#friends .content-box h3,
#friends .content-box h4,
#friends .content-box h5 {
  color: var(--color-text-dark);
}

#friends .content-box .section-header {
  background-color: var(--color-secondary);
}

#friends .content-box .section-header h2,
#friends .content-box .section-header p {
  color: #ffffff;
}

#friends .row > div {
  text-align: center;
}

#friends .row > div img {
  max-width: 75%;
  margin: 0 auto;
}

#friends .image-fit{
  width: 50%;
}

@media screen and (max-width: 768px) {
  #friends .row > div img {
    max-width: 50%;
  }
}

#friends .row > div p {
  margin-top: 1em;
  color: var(--color-text-dark);
}

#friends .row > div a {
  color: var(--color-text-dark-link);
  text-decoration: underline;
}

#friends .row > div a:hover {
  color: var(--color-text-dark-link-hover);
  text-decoration: none;
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.mb-3 {
  margin-bottom: 2em;
}

.text-center {
  text-align: center;
}

/* ============================================
   RESPONSIVE ADJUSTMENTS
   ============================================ */
@media screen and (max-width: 480px) {
  .navbar {
    font-size: 0.9em;
  }
}
