/*
Theme Name: GW Theme
Theme URI: https://www.gatewaywestmarketing.com/
Author: Sean Yeaney
Description: A custom theme for client sites
Version: 1.0
*/
html {
  scroll-behavior: smooth;
}
h1 {
  font-size: clamp(45px, 5vw, 65px);
}
p {
  font-size: clamp(15px, 1.2vw, 17px);
}
a {
  color: var(--gw-color-link);
  transition: color 0.2s ease;
}
.clamp-xl {
  font-size: clamp(55px, 6.5vw, 80px);
}
.clamp-lg {
  font-size: clamp(45px, 4vw, 60px);
}
.clamp-md {
  font-size: clamp(22px, 2vw, 30px);
}
.clamp-sm {
  font-size: clamp(16px, 1.4vw, 20px);
}

a:hover,
a:focus,
a:active {
  text-decoration: none;
  color: color-mix(in srgb, var(--gw-color-link) 80%, black 20%);
}
h1,
h2,
h3 {
}

.google-reviews-grid-wrapper {
  padding: 1rem;
}
.google-reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(22.5%, 1fr));
  gap: 1.5rem;
}
.google-review-card {
  background: #282828;
  border: 1px solid #2b2b2b;
  color: #fff;
  border-radius: 1.5rem;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
  transition: box-shadow 0.2s ease-in-out;
}
.review-rating {
  color: #fbb03b;
}
.scroll-to-top {
  position: fixed;
  bottom: 40px;
  right: 40px;
  width: 45px;
  height: 45px;
  background: var(--gw-color-dark);
  color: #fff;
  text-align: center;
  line-height: 35px;
  border-radius: 50%;
  font-size: 36px;
  cursor: pointer;
  z-index: 999;
  display: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.scroll-to-top:hover {
  color: #ccc;
  transform: scale(1.1);
}

.scroll-to-top i {
  vertical-align: middle;
  font-size: 20px;
}
.footer svg {
  height: 30px;
  width: 30px;
}
.fc-daygrid-event {
  white-space: normal !important;
  align-items: normal !important;
}
.fc a {
  color: unset;
}
.contact {
  background: #4869ee;
  color: #fff;
}
.contact .social-links {
  justify-content: end;
}
.contact .social-links svg {
  fill: #fff;
}
.contact .social-link {
  width: 30px;
  height: 30px;
  margin: 3px;
}
.contact .callnow {
  margin: 3px;
  padding-right: 10px;
  font-weight: bold;
  text-transform: uppercase;
}
.cta-text {
  text-transform: uppercase;
  font-weight: bold;
  color: #fff;
}
.hero-heading {
  line-height: clamp(45px, 5.5vw, 65px);
  margin-bottom: 0;
}
.specials-block figure {
  margin-bottom: 0;
  overflow: hidden;
}
.specials-block p {
  color: #fff;
}
.special-events {
  background: #4869ee;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  font-weight: 500;
}
.special-events p {
  color: #fff;
}
.special-events::after {
  content: "\f061"; /* FA5 “arrow-right” */
  font-family: "Font Awesome 5 Free";
  font-weight: 900; /* solid */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-40%);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: #4869ee;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #fff !important;
  z-index: 10;
}
.current-specials {
  background: #cf2e2e;
  color: #fff;
  text-transform: uppercase;
  position: relative;
  font-weight: 500;
}

.current-specials::after {
  content: "\f061"; /* FA5 “arrow-right” */
  font-family: "Font Awesome 5 Free";
  font-weight: 900; /* solid */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-40%);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: #cf2e2e;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #fff;
  z-index: 10;
}
.know-how-button:hover {
  filter: brightness(1.1);
}
.know-how-button {
  background: #4869ee;
  color: #2b2b2b;
  text-transform: uppercase;
  position: relative;
  font-weight: 500;
}
.know-how-button::after {
  content: "\f061"; /* FA5 “arrow-right” */
  font-family: "Font Awesome 5 Free";
  font-weight: 900; /* solid */
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-40%);
  width: 4rem;
  height: 4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.75rem;
  background: #4869ee;
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  color: #fff;
  z-index: 10;
}
.specials-block:hover {
  filter: brightness(1.1);
}
.no-gap {
  grid-row-gap: 0 !important;
  grid-column-gap: 0 !important;
}
.know-how-white {
  min-height: 100%;
  background: rgba(255, 255, 255, 0.89);
}
#gform_2 input {
  border-radius: 25px;
}
#gform_submit_button_2 {
  background-color: #cf2e2e;
  color: black;
  text-transform: uppercase;
  font-weight: bold;
}
#gform_submit_button_2:hover {
  background: #c7454a;
}
#gform_2_validation_container {
  background: #fff;
}
.footer {
  padding: 30px 0;
  background: #4869ee;
  color: #fff;
}
.footer-nav {
  background: #98c1d9 !important;
  text-transform: uppercase;
  font-weight: 600;
  margin-top: 40px;
}
.footer-nav a {
  color: #2b2b2b !important;
  font-size: clamp(12px, 1.2vw, 25px);
}
.footer svg {
  fill: #fff;
}
.footer svg:hover {
  fill: #98c1d9;
}
.upcoming-event-link {
  color: #2b2b2b;
}
.footer h3 {
  color: #fff;
  text-transform: uppercase;
}
.copyright {
  padding: 10px;
  background: #2b2b2b;
  color: #e4f0ff;
}
.copyright p {
  font-size: 13px;
}
.footer-nav .nav-link:hover {
  color: #e4f0ff !important;
}
.copyright a {
  color: #ccc;
}
.navbar {
  background: #e4f0ff;
  color: #2b2b2b;
}
.navbar-light .navbar-nav .nav-link {
  color: rgb(27, 27, 27);
  text-transform: uppercase;
  font-size: clamp(13px, 1.25vw, 20px);
}
.navbar .navbar-nav .nav-link:hover {
  color: #c7454a;
}

.navbar a:hover,
.navbar a:focus,
.navbar a:active {
  text-decoration: none;
  color: color-mix(in srgb, var(--gw-color-link) 80%, black 20%);
}
.social-links a {
  color: unset;
}
.hero-text-wrapper {
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(2px);
  padding: 20px 30px;
  border-radius: 8px;
}
.brand-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap; /* allows wrapping on smaller screens */
  gap: 10px; /* space between items */
}

.brand-list li {
  display: inline-block;
  color: #fff;
  font-size: 0.95rem;
  text-transform: capitalize; /* optional, keeps names tidy */
}
.brand-gallery {
  display: grid;
  gap: 20px;
  margin: 20px auto;
  width: 100%;
  max-width: 100%;
  text-align: center;
  justify-content: center; /* Centers if fewer items */
  background: #e4f0ff;
  padding: 10px;
}

/* Desktop column counts */
.brand-gallery.cols-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 1000px;
}
.brand-gallery.cols-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 1000px;
}

.brand-gallery.cols-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  max-width: 1200px;
}

.brand-gallery.cols-5 {
  grid-template-columns: repeat(5, minmax(0, 1fr));
  max-width: 1400px;
}

.brand-gallery.cols-6 {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  max-width: 1600px;
}

/* Force uniform image display */
.gallery-item img {
  width: 100%;
  aspect-ratio: 1 / 1; /* Squares everything */
  object-fit: cover;
  display: block;
}
.gallery-item {
  border: 1px solid #85c7ff;
  box-shadow: 4px 7px 8px #656d754f;
  background-color: ghostwhite;
  color: #2b2b2b;
  text-transform: uppercase;
}
.inventory-title {
  margin-top: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  line-height: 1.3;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Limit to 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  word-break: break-word;
  max-width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.brand-logo-nav {
  display: flex; /* Flex container, not grid */
  justify-content: space-between;
  align-items: center;
  width: 100%;
  gap: 20px;
  padding: 15px 0;
  background: #fff; /* optional */
}

/* Each logo gets equal space in the row */
.brand-logo-item {
  flex: 1 1 0; /* Flex equally */
  display: flex; /* So image can center inside */
  justify-content: center;
  align-items: center;
  cursor: pointer;
  transition: transform 0.2s ease;
  max-width: none; /* Let flex sizing control width */
}

/* Image fills its flex column */
.brand-logo-item img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Prevent skew */
  max-height: 120px; /* Limit row height */
}

/* Hover effect */
.brand-logo-item:hover img {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.brand-logo-item a.active img {
  filter: grayscale(1);
  pointer-events: none;
  cursor: not-allowed !important; /* shows it’s disabled */
  transform: scale(1.12); /* slight pop */
  transition: all 0.2s ease;
}

.brand-logo-item a.active {
  cursor: not-allowed;
}

.page-subnav {
  position: sticky;
  top: 0; /* sticks below the header */
  z-index: 50;
  background: #4869ee; /* neutral, matches site */
  border-bottom: 1px solid #ddd;
  display: flex;
  flex-wrap: nowrap; /* Force items in one row */
  overflow-x: auto; /* Enable horizontal scrolling */
  overflow-y: hidden; /* Prevent vertical scroll */
  -webkit-overflow-scrolling: touch; /* Smooth scroll on iOS/Android */
  scrollbar-width: none; /* Hide scrollbar on Firefox */
  -ms-overflow-style: none; /* Hide scrollbar on IE/Edge */
  justify-content: center;
  gap: 1.5rem;
  padding: 10px 15px;
  font-weight: 600;
  font-size: 1rem;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
  white-space: nowrap;
}

.page-subnav::-webkit-scrollbar {
  display: none; /* hide scrollbar for Chrome/Safari */
}

.page-subnav a {
  color: #e9f1fa;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 5px;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0; /* prevents squishing */
}

.page-subnav a:hover {
  background: #f4f4f4;
  color: #000;
}
.page-subnav a.active {
  background: #e9f1fa; /* soft blue, easy on the eyes */
  color: #000;
  pointer-events: none; /* make it clear it's not clickable while active */
  cursor: default;
}
.accent strong {
  color: #c7454a;
}
.btn-vendor {
  background: #98c1d9;
  border-radius: 0;
  color: #fff;
}
.btn-vendor:hover {
  background-color: aliceblue;
  color: #2b2b2b;
  transition: all 500ms ease;
}
.disabled {
  cursor: none;
  opacity: 0.5;
}
.team-card {
  background-color: #e6ecff;
  box-shadow: 2px 2px 6px #ccc;
  height: 100%;
  border-radius: 10px;
}
.team-card p {
  font-size: clamp(15px, 1.1vw, 18px);
}
.video-section iframe {
  width: 100%;
}
@media (max-width: 992px) {
  .brand-gallery.cols-3,
  .brand-gallery.cols-4,
  .brand-gallery.cols-5,
  .brand-gallery.cols-6 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }
}

@media screen and (max-width: 768px) {
  .contact .social-links {
    justify-content: center;
  }
  .page-subnav {
    justify-content: flex-start; /* allow true scrolling */
    padding-left: 10px;
    padding-right: 10px;
  }
  .google-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
  }
  .brand-logo-item img {
    max-height: 70px;
  }
}
@media (max-width: 600px) {
  .ci-booking-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 0.5rem; /* tighter spacing between fields */
  }

  .ci-booking-form .form-group {
    flex: none;
    margin: 0; /* remove default paragraph margins */
    padding: 0; /* remove extra padding */
  }

  .ci-booking-form input,
  .ci-booking-form select {
    width: 100%; /* make fields span the container */
    max-width: 100%;
  }
}
