/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.1
*/

@font-face {
  font-family: 'Gambetta';
  src: url('fonts/Gambetta-Regular.woff2') format('woff2'),
       url('fonts/Gambetta-Regular.woff') format('woff');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Gambetta';
  src: url('fonts/Gambetta-Italic.woff2') format('woff2'),
       url('fonts/Gambetta-Italic.woff') format('woff');
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Switzer';
  src: url('fonts/Switzer-Semibold.woff2') format('woff2'),
       url('fonts/Switzer-Semibold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

h1, h2, h3 {
  font-family: 'Switzer', sans-serif;
  text-transform: uppercase;
} 

body {
  font-family: 'Gambetta', serif; 
}

.sub-head {
  font-size: 24px;
  max-width: 500px;
  line-height: 1.8rem;
  margin-bottom: 24px;
}  

/* Base Section Component */
.section {
  padding: clamp(48px, 8vw, 120px) 16px;
  position: relative;
  isolation: isolate;
  background: var(--surface);
  color: var(--text);
}

.section--hero {
  min-height: 80vh;
  display: flex;
  align-items: end;
}

@media (max-width: 767px) {
  .section--hero {
    min-height: 100vh;
  }  
}

/* Theming Using GeneratePress Customizer Variables */
.theme-light {
  --surface: var(--base-3);
  --text: var(--contrast);
  --muted: var(--contrast-2);
  --btn-bg: var(--contrast);
  --btn-text: var(--base-3);
}

.theme-dark {
  --surface: var(--contrast);
  --text: var(--base-3);
  --muted: var(--contrast-3);
  --btn-bg: var(--base-3);
  --btn-text: var(--contrast);
}

/* Auto-Adapting Typography & Buttons */
.section h1, .section h2, .section p {
  color: var(--text);
}

.section .muted {
  color: var(--muted);
}

.btn {
  font-size: 18px;
  display: inline-block;
  cursor: pointer;
  background: var(--btn-bg);
  color: var(--btn-text);
  padding: 18px 32px;
  border-radius: 4px;
  text-align: center;
  text-decoration: none;
  line-height: 1.5; 
  transition: opacity 0.2s ease;
}

.btn:is(:hover, :focus-visible) {
  opacity: .9;
}

/* Background Image Utility */
.bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: hsla(var(--overlay-color, 0 0% 0%) / var(--overlay-alpha, 0.65));
  z-index: -1;
}

.bg-image.theme-light::before {
  --overlay-alpha: 0.15;
}

.bg-image.theme-dark::before {
  --overlay-alpha: 1;
}

.bg-image.bg-gradient::before {
  background:
    linear-gradient(0deg, rgba(0, 0, 0, 0.35) 0%, rgba(0, 0, 0, 0.35) 100%),
    linear-gradient(267deg, rgba(0, 0, 0, 0.00) 41.56%, rgba(0, 0, 0, 0.35) 81.24%);
}

@media (max-width: 767px) {
  .bg-image:not(.bg-gradient)::before {
    background: hsla(var(--overlay-color, 0 0% 0%) / var(--overlay-alpha, 0.45));
  }

  .bg-image.bg-gradient::before {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.00) 0%, rgba(0, 0, 0, 0.45) 100%);
  }
}

/* Layout Containers & Modifiers */
.content-container {
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
}

.content {
  display: grid;
  gap: clamp(16px, 3vw, 32px);
}

.content--center {
  text-align: center;
  place-items: center;
}

.content--split {
  grid-template-columns: 1fr;
  align-items: center;
}

@media (min-width: 768px) {
  .content--split {
    grid-template-columns: 1fr 1fr;
  }
}

.inside-header {
  padding-left: 0px;
  padding-right: 0px;
  }
  
  .site-header {
  padding: 0px 16px;
}

.header-wrap {
  background: linear-gradient(180deg, #212121a7, #6c6c6c00);
}

.gb-is-sticky {
  background-color: var(--contrast);
}

.gb-site-header {
  transition: background-color 0.3s ease-in-out;
}

.white-text {
  color: white!important;
}

/* .gallery-container ul {
  list-style: none; 
  margin: 0; 
  padding: 0; 
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 1rem;
}

.gallery-container li {
  margin: 0;
  padding: 0;
}

.gallery-container img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px; 
  object-fit: cover; 
  aspect-ratio: 1 / 1;
} */

.hover-overlay {
  position: relative;
  /* Ensure the parent has relative positioning for the pseudo-element to position against */
}

.hover-overlay::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  opacity: 1;
  transition: opacity 0.3s ease;
  pointer-events: none;
  /* Prevents the overlay from interfering with interactions */
}

.hover-overlay:hover::after {
  opacity: 0;
}

.video-player video {
  border-radius: 15px;
  border: solid 2px rgba(255, 255, 255, 0.5);
}

.line-before-text::before {
  content: '';
  display: inline-block;
  width: 100px; /* Adjust the length of the line */
  height: 2px; /* Adjust the thickness of the line */
  background-color: #777777; /* Adjust the color */
  vertical-align: middle;
  margin-right: 15px; /* Adjust space between the line and text */
}

.wp-block-image img {
  border-radius: 3px;
}

.no-wrap {
  text-wrap-mode: nowrap;
}

.hero-section {
    align-items: flex-end;
    color: var(--base-3);
    display: flex;
    filter: saturate(110%);
    min-height: 70vh;
    background: linear-gradient(30deg, rgba(0, 0, 0, .5) 30%, rgba(10, 10, 10, 0) 60%), linear-gradient(to left, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), var(--inline-bg-image) center / cover no-repeat;
    margin: 0px auto;
    padding: clamp(48px, 8vw, 120px) 16px;
}

@media (max-width: 767px) {
    .hero-section {
        background: linear-gradient(0deg, rgba(0, 0, 0, .6) 40%, rgba(10, 10, 10, 0) 80%), linear-gradient(to left, rgba(0, 0, 0, 0.10) 0%, rgba(0, 0, 0, 0.10) 100%), var(--inline-bg-image) center / cover no-repeat!important;

    }
}