
/* Custom Bootstrap 5 Theme */
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;700;900&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display&display=swap');

:root {
  --bs-primary: #cf4d33;
  --bs-primary-rgb: 207, 77, 51;
  --bs-secondary: #632137;
  --bs-secondary-rgb: 99, 33, 55;
  --bs-link-color: #cf4d33;
  --bs-link-color-rgb: 207, 77, 51;
  --bs-link-hover-color: #632137;
  --bs-link-hover-color-rgb: 99, 33, 55;
  --bs-body-font-family: 'Roboto', sans-serif;
  --bs-alt-font-family: 'Playfair Display', serif;
  --bs-body-color: #333333;
  --bs-body-color-rgb: 51, 51, 51;
}

/* Extra styles */
.font-alt { font-family: var(--bs-alt-font-family) !important; }

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: #fff;
}
.btn-primary:hover {
  background-color: rgba(var(--bs-primary-rgb), 0.85);
  border-color: rgba(var(--bs-primary-rgb), 0.85);
}

.btn.btn-secondary, .btn-secondary {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: #fff;
}
.btn-secondary:hover {
  background-color: rgba(var(--bs-secondary-rgb), 0.85);
  border-color: rgba(var(--bs-secondary-rgb), 0.85);
}

.text-primary { color: var(--bs-primary) !important; }
.bg-primary { background-color: var(--bs-primary) !important; }
.border-primary { border-color: var(--bs-primary) !important; }

.text-secondary { color: var(--bs-secondary) !important; }
.bg-secondary { background-color: var(--bs-secondary) !important; }
.border-secondary { border-color: var(--bs-secondary) !important; }

a { color: var(--bs-link-color); }
a:hover { color: var(--bs-link-hover-color); }

/* Additional CSS for Re-branding */

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.5); /* optional: lighter white border */
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' " +
  "xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%28255, 255, 255, 1%29' " +
  "stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Home Page CSS */
   .video-bg {
      position: relative;
      overflow: hidden;
      height: 100vh;
    }
    .video-bg video {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      min-width: 100%;
      min-height: 100%;
      z-index: -1;
    }
    .video-overlay {
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-color: #632137;
    }
    .hero-content {
      color: white;
      z-index: 1;
      position: relative;
      text-align: center;
      top: 50%;
      transform: translateY(-50%);
    }
    .brand-logos img {
      max-height: 60px;
      margin: 1rem;
      filter: grayscale(100%);
    }
    a {color: #CF4D33;}
    .icon-circle {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: #CF4D33;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem auto;
  }

  .icon-circle i {
    color: #fff!important;
    font-size: 32px;
  }
  .video-bg {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  margin-top: -70px;
}

.hero-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 0;
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  top: 50%;
  transform: translateY(-50%);
  padding: 2rem 1rem;
}



@media (max-width: 768px) {
  .video-bg {
    background: url('https://uploads.prod01.oregon.platform-os.com/instances/1896/assets/images/hero-mobile-test.jpg?updated=1753370136987') center center / cover no-repeat;
  }

  .hero-video {
    display: none;
  }
}



   /* Hide Siteglide search input by default */
    #site_search_field {
      display: none;
      transition: all 0.3s ease;
      max-width: 140px;
    }
    /* Show when toggled */
    #site_search_field.show {
      display: inline-block;
      width: 140px;
    }
    /* Responsive for mobile */
   @media (max-width: 576px) {
      #site_search_field.show {
        width: 100%;
      }
     
   }    
    @media (max-width: 1200px) {

    .navbar-nav .nav-link {
      border-bottom: 1px solid rgba(var(--bs-white-rgb), 0.3);
    }  
    .navbar-nav {
      margin-top:20px; margin-bottom:20px; border-top: 1px solid rgba(var(--bs-white-rgb), 0.7);
    }
    ul .navbar-nav {
      margin-bottom:50px; 
    }
    }

  #searchToggle {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 6px;
    min-width: 40px; /* Force wider rectangle */
    /* height: 40px;     Optional: consistent height */
    padding: 0 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.2s ease;
  }
  #searchToggle:hover {
    background-color: #f1f1f1;
  }
  #searchIcon {
    color: #444; /* darkish grey */
    font-size: 1.2rem;
  }
  /* Ensure Roboto font is applied */
  .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    font-weight: 300!important; /* Light */
    color: white; /* or your preferred color */
  }
    /* Active nav link style */
    .nav-link.active {
      font-weight: 700!important; /* Bold */
      color: white!important; /* or your preferred color */
    }
    /* Space between search & contact button */
    .btn-contact {
      margin-left: .5rem;
    }
.navbar-brand img {
  max-height: 50px;
  width: auto;
}

.tagline { font-family: 'Roboto', sans-serif;
  /*font-size: 2rem;*/
  font-weight: 300;
  line-height: 1.2;
  display: inline-block;
  /*max-width: 140px;  Adjust as needed */
  white-space: normal;
  text-align: left; margin-bottom: 3px;
}



/* Below 1200px */

@media (max-width: 1201px) {
  .tagline {
    font-size: .67em;
  }
  .navbar-brand {
  max-width: 370px;
  }
}

/* Above 1400px */
@media (min-width: 1401px) {
  .tagline {
    font-size: .67em;
  }
  .navbar-brand {
  max-width: 370px;
  }  
}

@media (min-width: 1200px) and (max-width: 1400px) {
  .tagline {
    font-size: 0.5em; /* Or whatever size you prefer */
  }
  .navbar-brand {
  max-width: 340px;
  }  
}



.navbar-brand {
  display: flex;
  align-items: flex-end; /* Align bottom edges */
  gap: 0.5rem; /* Optional spacing between logo and tagline */
  text-decoration: none;
  color: white;
}
.navbar-tagline { 
  font-size: 0.875rem;
  line-height: 1.3;
  display: inline-block; 
}
  .navbar .container {
   display: flex;
   /* align-items: flex-end;*/ 
   justify-content: space-between;
   flex-wrap: wrap;
    }
 /*    .navbar-nav {
   align-items: flex-end;
    } */ 
.navbar-nav .nav-link {
  color: #fff; /* default color */
  font-weight: 300;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: rgba(var(--bs-white-rgb), 0.5);
}
/* Make hamburger icon white */
  .navbar-toggler-icon {
    filter: brightness(0) invert(1);
  }

  /* Optional: Remove blue focus border on hamburger */
  .navbar-toggler:focus {
    box-shadow: none;
  }
  
  /* Inside Page Image Headers */  
  .header-overlay {
  position: relative;
  height: 250px;
  min-height: 250px;
  max-height: 250px;
}

.header-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
background: linear-gradient(
    to bottom,
    rgba(99, 33, 55, 0) 50%,   /* transparent until halfway */
    rgba(99, 33, 55, 0.9) 100% /* plum fades in after halfway */
  );  z-index: 1;
}

.header-text {position: relative; z-index: 2;}
  @media (max-width: 1200px) {
    .header-text h1 {font-size: 50px; margin-bottom: -10px!important;}
  }
  @media (min-width: 1201px) {
    .header-text h1 {font-size: 88px; margin-bottom: -20px!important;}
  }  
.header-text h1 {font-family: "Roboto", sans-serif;  opacity: 0.5;}

/* parallex code */

  .parallax-background {
  background: url('https://uploads.prod01.oregon.platform-os.com/instances/1896/assets/images/sesco-logo-background-3.gif?updated=1753452895316');  
  background-attachment: fixed!important;
  background-size: auto;
  background-position: right!important;
  background-repeat: no-repeat!important;
  position: relative;
  z-index: 1;
}