:root {
    --colorOne: #141414;
    --colorTwo: #5c5c5c;
    --colorWhite: #ffffff;

    --tileBorderRadius: 8px;
    /* swiper style override */
    --navigation-size: 4vw;
    --swiper-theme-color: #ffffff;

    --fontFamily: "Helvetica Neue", Helvetica, sans-serif;

    color-scheme: light dark;
}

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: var(--fontFamily);
    background-color: light-dark(var(--colorWhite), var(--colorOne));
    overflow-x: hidden;              /* Prevent horizontal scroll */
    overscroll-behavior-x: contain;  /* Block swipe-back or side panning */
    touch-action: pan-y;             /* Allow only vertical scroll, no horizontal swipe */

    /* Added to place footer at bottom of page */
    /* Fallback for browsers that don't support dvh */
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
}

/* Margin and padding styles */

.mb-5 {
    margin-bottom: 5%;
}

/* Top navigation header */

img.logo {
    width: 110px;
    height: auto;
}

.hamburger-menu, 
.close-cross {
    display: none;
}

.main {
    height: 100%;
    width: 100%;
}

.main.background-color {
    height: 100%;
    width: 100%;
    background-color: #141414;
}

.navbar {
    position: relative;
    top: 0;
    height: auto;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 5vw;
    color: var(--colorWhite);
}

.right-nav {
    position: absolute;
    right: 4vw;
    display: flex;
    gap: 4vw;
    z-index: 1;
}

.right-nav a {
    text-decoration: none;
    color: var(--colorWhite);
    font-size: 1.3em;
    font-weight: 500;
    padding-bottom: 4px;
    border-bottom: 1px solid transparent;

}

.right-nav a.active,
.right-nav a:hover {
    border-bottom: 1px solid var(--colorWhite);
}

/* responsive footer two column content */

.footer {
    display: flex;
    width: 100%;
    padding: 2% 5vw;
    justify-content: space-between;
    background-color: var(--colorOne);
    align-items: center;
    /* margin-top: 5%; */
    margin-top: auto;
}

.footer .button {
    padding: 16px 24px;
    background-color: var(--colorWhite);
    color: var(--colorOne);
    display: flex;
    text-transform: uppercase;
    align-items: center;
    border-radius: 6px;
}

.footer .button a {
    color: var(--colorOne);
}

/* responsive two column content */

/* Create two equal columns that floats next to each other */
.column-left {
  float: left;
  width: 56%;
  padding: 5% 4% 2%;
}

.column-right {
  float: left;
  width: 36%;
  padding: 5% 4% 2%;
}

.column-wide {
    float: left;
    width: 100%;
    padding: 2.5% 4%;
}

.column-wide img {
    width: 100%;
    /* max-width: 1600px;  Limits the image width to 1600px */
    height: auto;
    }

/* Clear floats after the columns */
.row {
    margin-top: 4%;
}

.row:after {
  content: "";
  display: table;
  clear: both;
}

.column-left h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 4.125rem;
    letter-spacing: -2px;
    color: light-dark(var(--colorOne), var(--colorWhite));
}

.column-right p {
    font-size: 24px;
    font-weight: 400;
    line-height: 36px;
    color: light-dark(var(--colorOne), var(--colorWhite));
    margin-bottom: 16px;
}

.email, .call {
    padding-bottom: 4px;
    border-bottom: 2px solid;
    border-color: light-dark(var(--colorOne), var(--colorWhite));
    color: light-dark(var(--colorOne), var(--colorWhite));
}

/* Hero section styles */

.fullscreen-video-container {
    position: relative; /* Establishes a positioning context for children */
    width: 100vw;
    height: 100vh;
    padding-bottom: 15%;
    overflow: hidden;
}

.fullscreen-video-container video {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    object-fit: cover;
    z-index: -1; /* Places the video behind the content */
}

.fullscreen-video-container .content {
    text-align: left;
    position: absolute;
    bottom: 20%;
    left: 5%;
    max-width: 940px;
}

.fullscreen-video-container .content h1 {
    font-size: 72px;
    line-height: 84px;
    color: var(--colorWhite);
    font-weight: 700;
    letter-spacing: -1px;
    transition: 0.5s;
}


/* Video carousel styles */

.thumbSection {
    margin-top: 3%;
    /* color: var(--colorOne); */
}

.thumbSection h2 {
    font-size: 32px;
    color: light-dark(var(--colorOne), var(--colorWhite));
    font-weight: 700;
}

.thumbTitle {
    font-size: 24px;
    line-height: 32px;
    font-weight: 500;
    margin: 0 4% 12px;
}

.thumbTile {
    width: 20%;
}

.thumbTiles.swiper {
    padding: 0 4%;
}

.thumbTile__image {
    aspect-ratio: 16 / 9;
  /* You can also specify one dimension, e.g., width, and the other will adjust automatically */
    width: 100%;
    border-radius: var(--tileBorderRadius);

}

.swiper-slide .title {
    font-size: 1.2rem;
    padding: 8px 6px;
}

.thumbTiles.swiper .swiper-button-prev,
.thumbTiles.swiper .swiper-button-next {
    height: 100%;
    width: 4%;
    width: calc(4% - 5px);
    top: 0;
    bottom: 0;
    margin: 0;
    background-color: rgba(20, 20, 20, 0.5);
}

.thumbTiles.swiper .swiper-button-prev {
    left: 0;
    border-top-right-radius: var(--tileBorderRadius);
    border-bottom-right-radius: var(--tileBorderRadius);
}

.thumbTiles.swiper .swiper-button-next {
    right: 0;
    border-top-left-radius: var(--tileBorderRadius);
    border-bottom-left-radius: var(--tileBorderRadius);
}

.thumbTiles.swiper svg.swiper-navigation-icon {
    color: var(--swiper-theme-color);
    width: 16px;
    height: auto;
    transition: transform 0.1s ease-out;    
}

@media screen and (min-width: 768px) {
    .thumbTiles.swiper svg.swiper-navigation-icon {
    display: none;
    width: 12px;
    }
    .thumbTiles.swiper svg.swiper-navigation-icon:hover {
    transform: scale(2.5);
    }
    .thumbTiles.swiper:hover svg.swiper-navigation-icon {
        display: block;
    }
}

@media screen and (max-width: 768px) {
    .fullscreen-video-container .content h1 {
        font-size: 52px;
        line-height: 56px;
    }

   .column-left,
   .column-right {
        width: 100%;
    }

    .column-left h2 {
        font-size: 3.25rem;
        line-height: 3.5rem;
    }

    .column-right p {
        font-size: 20px;
        line-height: 30px;
    }

    .right-nav {
        position: absolute;
        top: 0;
        left: 100%;
        height: 100vh;
        width: 100vw;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        font-size: 2em;
        gap: 2rem;
        background: rgba(0, 0, 0, 0.8);
        transition: left 0.3s ease-in-out;
    }

    .hamburger-menu {
        position: absolute;
        right: 5vw;
        height: 8vh;
        width: 8vw;
        display: flex;
        align-items: center;
        flex-direction: column;
        justify-content: center;
        gap: 0.75rem;
        z-index: 4;
        cursor: pointer;
        transition: all 0.3s ease-in-out; 
    }

    .hamburger-menu div {
        width: 75%;
        height: 2px;
        background-color: var(--colorWhite);
    }

    .close-cross {
        display: flex;
        position: absolute;
        right: 5vw;
        height: 8vh;
        width: 8vw;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        z-index: 3;
        opacity: 0;
        transition: all 0.3s ease-in-out;
    }

    .close-cross .a,
    .close-cross .b {
        position: absolute;
        height: 2px;
        width: 75%;
        background-color: var(--colorWhite);
        left: 12%;
        top: 50%;
    }

    .close-cross .a {
        transform: rotate(45deg);
    }

    .close-cross .b {
        transform: rotate(135deg);
    }
}


