/**
 * Buy Box Shield - Custom Styles
 * This file contains custom overrides and shared styles
 */

/* ============================================
   FONTS - Using Source Sans Pro as Proxima Nova alternative
   ============================================ */
body, html {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}
h1, h2, h3, h4, h5, h6,
.bbs-block-button-element,
nav, .nav-wrapper,
#mainNavigation a,
#mobileNavigation a {
  font-family: 'Source Sans Pro', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
}

/* ============================================
   NAVIGATION
   ============================================ */
#header {
  background: #fff;
  border-bottom: none;
}

#mainNavigation .external:last-child a,
#mobileNavigation .external:last-child a {
  background: #f5a623 !important;
  color: #fff !important;
  padding: 10px 20px !important;
  border-radius: 4px !important;
  text-decoration: none !important;
  font-weight: 600 !important;
  display: inline-block !important;
}

#mainNavigation .external:last-child a:hover,
#mobileNavigation .external:last-child a:hover {
  background: #e09000 !important;
}

/* ============================================
   TEXT VISIBILITY
   ============================================ */
.main-content, #content, .bbs-layout {
  color: #333 !important;
}

.main-content h1, .main-content h2, .main-content h3, .main-content p,
#content h1, #content h2, #content h3, #content p,
.bbs-block-html h1, .bbs-block-html h2, .bbs-block-html h3, .bbs-block-html p {
  color: #333 !important;
}

.bbs-html-content h1, .bbs-html-content h2, .bbs-html-content p {
  color: #333 !important;
}

/* ============================================
   HERO BANNER
   ============================================ */
.banner-thumbnail-wrapper,
.banner-thumbnail-wrapper .desc-wrapper,
.banner-thumbnail-wrapper p,
.banner-thumbnail-wrapper strong,
.banner-thumbnail-wrapper a {
  color: #fff !important;
}

.banner-thumbnail-wrapper a:hover {
  color: #ddd !important;
}

.banner-thumbnail-wrapper {
  position: relative;
  min-height: 400px;
  background: #1a1a1a;
}

.banner-thumbnail-wrapper figure {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.banner-thumbnail-wrapper figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.banner-thumbnail-wrapper .desc-wrapper {
  position: relative;
  z-index: 10;
  padding: 100px 20px;
  text-align: center;
}

.banner-thumbnail-wrapper .color-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.4);
  z-index: 5;
}

/* ============================================
   FEATURES SECTION
   ============================================ */
.features-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 60px 20px;
  background: #fff;
}

.features-section .section-title {
  text-align: center;
  font-size: 2.5em;
  color: #333;
  margin-bottom: 50px;
}

.feature-grid {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.feature-card {
  display: flex;
  align-items: center;
  gap: 30px;
  background: #f9f9f9;
  border-radius: 8px;
  overflow: hidden;
}

.feature-card:nth-child(even) {
  flex-direction: row-reverse;
}

.feature-image {
  flex: 1;
  min-width: 300px;
}

.feature-image img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-content {
  flex: 1;
  padding: 30px;
}

.feature-content h3 {
  color: #333;
  font-size: 1.5em;
  margin: 0 0 15px 0;
  text-transform: capitalize;
}

.feature-content p {
  color: #555;
  font-size: 1em;
  line-height: 1.6;
  margin: 0;
}

.coming-soon {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  background: #e74c3c;
  color: #fff;
  font-size: 0.8em;
  font-weight: bold;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .feature-card,
  .feature-card:nth-child(even) {
    flex-direction: column;
  }
  .feature-image {
    min-width: 100%;
  }
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-container {
  max-width: 800px;
  margin: 80px auto;
  padding: 40px 20px;
  text-align: center;
}

.contact-container h1 {
  font-size: 2.5em;
  margin-bottom: 30px;
  color: #333;
}

.contact-container p {
  font-size: 1.2em;
  margin-bottom: 20px;
  color: #333;
}

.contact-container .email-link {
  display: inline-block;
  margin-top: 20px;
  padding: 15px 40px;
  background: #007bff;
  color: #fff;
  text-decoration: none;
  border-radius: 30px;
  font-weight: 600;
  font-size: 1.1em;
}

.contact-container .email-link:hover {
  background: #0056b3;
}

/* ============================================
   BUTTONS
   ============================================ */
.bbs-block-button-element {
  background: #007bff !important;
  color: #fff !important;
  border-radius: 30px !important;
}

.bbs-block-button-element:hover {
  background: #0056b3 !important;
}

/* ============================================
   GENERAL
   ============================================ */
img {
  max-width: 100%;
  height: auto;
}
