/* Fonts */
@font-face {
    font-family: 'Larissa';
    src: url('larissa.otf') format('opentype');
}

@font-face {
    font-family: 'Black North';
    src: url('black-north.otf') format('opentype');
}

@font-face {
    font-family: 'Smooth Fantasy';
    src: url('Smooth Fantasy.otf') format('opentype');
}

/* Global styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.banner { /* REMOVE AFTER COMPLETION OF SITE */
    position: fixed;
    width: 100%;
    height: 90px;
    background-color: rgba(255, 0, 0, 0.5);
    color: white;
    text-align: center;
    padding: 20px;
    font-size: 20px;
    z-index: 1000;
    bottom: 0;
}

body, html {
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

.cta-button {
    text-align: center; /* Center the text */
}

/* Universal effects */
.hover-scale {
    transition: transform 0.3s ease-in-out !important;
}

.hover-scale:hover {
    transform: scale(1.1);
}

.fade-in {
    opacity: 0;
    visibility: hidden;
    transition-delay: 3s;
    transition: opacity 1s ease, visibility 1s ease;
    will-change: opacity, visibility;
}

.fade-in.active {
    opacity: 1;
    visibility: visible;
}

.button-press:active {
    transform: scale(0.95);
}

/* Font-specific classes */
.larissa-font {
    font-family: 'Larissa', Arial, sans-serif;
    font-size: 4em;
}

.black-north-font {
    font-family: 'Roboto', Arial, sans-serif; /* was black north */
    font-size: 1.5em;
}

/* Body and Typography */
body {
    font-family: 'Roboto', sans-serif;
    background-color: #0e0e0e;
    color: #fff;
}

/* Header */
header {
    background-color: #0e0e0e;
}

/* Navigation */
nav {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 1;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
}

/* Mobile-specific navigation styles */
@media (max-width: 768px) {
    nav {
        
    }
}

@media (max-width: 768px) {
    nav {
        top: 0;
        right: auto;
        left: auto;
        width: 100%;
        background-color: #0e0e0ef7;
        opacity: 1;
        visibility: visible;
        font-size: .8em;
    }

    nav ul {
        text-align: center;
        padding: 0px 0;
        margin-right: 0;
    }
}

nav.scrolled {
    opacity: 1;
    visibility: visible;
}

nav ul {
    list-style-type: none;
    padding: 10px;
    text-align: right;
    border-radius: 10px;
    display: inline-block;
    margin-right: 10px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

nav ul li {
    display: inline;
    margin-right: 10px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 1);
    font-size: 1.7em;
    font-family: 'Roboto', Arial, sans-serif; /* was black north */
    transition: color 0.3s ease-in-out;
}

nav ul li a:hover img {
    filter: brightness(0) saturate(100%) hue-rotate(0deg);
    transition: filter 0.3s ease-in-out;
}

nav ul li a:hover {
    color: #ff0000;
}

nav ul li a img.logo {
    height: 1.5em;
    width: auto;
}

.hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.hero-logo {
    position: fixed;
    top: 20px;
    left: 20px;
    width: 10% !important;
    height: auto;
    z-index: 2;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 1));
}

@media (max-width: 768px) {
    .hero-logo {
        position: fixed;
        top: 10px;
        left: 10px;
        width: 50px; /* Adjust as needed */
        height: auto;
    }
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('images/hero.jpeg') no-repeat center center/cover;
}

.hero-image {
    position: relative;
    width: 100%;
    height: 100vh;
    background: url('images/hero.jpeg') no-repeat center center/cover;
}

@media (max-width: 768px) {
    .hero-image {
        background-position: center;
    }
}

.hero-image::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5); /* Adjust the last value to darken the image */
}

.hero::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, #0e0e0e, transparent);
}

.hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
}


.hero .logo {
    margin-top: 100px;
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vmin;
    height: auto;
}

@media (max-width: 768px) {
    .hero .logo {
        top: 30%;
    }
}

.hero img {
    display: block;
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: left;
    margin: 0;
}

.hero-text {
    position: absolute;
    top: 80%;
    left: 50%;
    width: 50%;
    transform: translate(-50%, 100%);
    text-align: center;
    padding: 20px;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out;
    z-index: 2;
    animation: slideUp 2s ease-out forwards;
}

@keyframes slideUp {
    0% {
        transform: translate(-50%, 100%);
    }
    100% {
        transform: translate(-50%, -50%);
    }
}

.hero-text blockquote, .hero-text blockquote cite {
    user-select: none;
}

.hero-text blockquote p {
    font-family: 'Roboto', Arial, sans-serif; /* Change font to Roboto */
    color: white;
    text-shadow: 4px 4px 10px rgba(0, 0, 0, 1); /* Increase blur radius and spread */
    font-size: calc(1.2vmin + 1.2vw); /* Increase font size */
    line-height: 1.5; /* Add line height */
}

.hero-text blockquote cite {
    font-family: 'Smooth Fantasy', Arial, sans-serif;
    color: white;
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
    font-size: calc(2vmin + 2vw);
    transition: color 0.3s ease-in-out;
}

.hero-text blockquote cite:hover {
    color: #ff0000;
}

@media (max-width: 768px) {
    .hero-text blockquote p {
        font-size: calc(2vmin + 2vw);
    }

    .hero-text blockquote cite {
        font-size: calc(4vmin + 4vw);
    }
}

.hero-text h2, .hero-text p {
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 1);
}

.hero-text p {
    color: #fff;
    font-size: 1.2em;
}

main {
    color: #fff;
}

#about-austin {
    background: url('images/austin-background.jpg') no-repeat center center/cover; /* Add a background image */
    color: #fff; /* Change the text color to white for better contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
}

#about-austin .section-card {
    padding: 20px;
    border-radius: 10px;
}

#about-austin h2 {
    font-size: 2em; /* Increase the font size of the heading */
    text-transform: uppercase; /* Make the heading uppercase */
    margin-bottom: 20px;
}

#about-austin p {
    font-size: 1.2em; /* Increase the font size of the paragraph */
    margin-bottom: 20px;
}

#about-austin .cta-button {
    display: inline-block;
    background-color: #ff0000; /* Use a vibrant color for the CTA button */
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#about-austin .cta-button:hover {
    background-color: #cc0000; /* Change the background color when hovering over the CTA button */
}

details summary, details p {
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

details[open] summary {
    color: red;
}

details p {
    font-size: 0.9em !important;
    margin-left: 30px;
    font-style: italic;
    margin-bottom: 10px;
}

#about-training {
    background: url('images/training-background.jpg') no-repeat center center/cover; /* Add a background image */
    color: #fff; /* Change the text color to white for better contrast */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* Add text shadow for better readability */
}

#about-training h2 {
    font-size: 2em; /* Increase the font size of the heading */
    text-transform: uppercase; /* Make the heading uppercase */
    margin-bottom: 20px;
}

#about-training p {
    font-size: 1.2em; /* Increase the font size of the paragraph */
    margin-bottom: 20px;
}

#about-training .cta-button {
    display: inline-block;
    background-color: #ff0000; /* Use a vibrant color for the CTA button */
    color: #fff;
    padding: 10px 20px;
    margin-top: 20px;
    border-radius: 5px;
    text-decoration: none;
    transition: background-color 0.3s ease;
}

#about-training .cta-button:hover {
    background-color: #cc0000; /* Change the background color when hovering over the CTA button */
}

.card-image {
    width: 40%;
    height: auto;
    object-fit: cover;
    border-radius: 25px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 1);
    margin: 0;
    transition: transform 0.3s ease-in-out;
}

section {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 800px;
}

@media (max-width: 768px) {
    section {
        min-height: 600px;
    }
}

section h2 {
    color: #ff0000;
    font-size: 2.5em;
    margin-bottom: 10px;
}

section p {
    font-size: 1.2em;
    line-height: 1.5;
}

section img {
    width: 100%;
    height: auto;
    margin-bottom: 10px;
}

.sub-section {
    display: flex;
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
    max-width: 1240px;
    width: 100%;
    margin: 0 auto;
    padding: 70px 0;
}

@media (max-width: 768px) {
    .sub-section {
        padding: 0px 0px;
    }
}

.section-card {
    display: flex;
    gap: 20px;
    margin: 0 auto;
    margin: 50px 20px;
    align-items: center; /* Add this line to center the text vertically */
    justify-content: space-between;
}

@media (max-width: 768px) {
    .section-card {
        position: relative; /* Add this */
        display: flex;
        flex-direction: column; /* Stack the children vertically */
    }
    
    .section-card .section-info {
        top: 0;
        left: 0;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: stretch; /* Stretch the text to fill the container */
        color: #fff;
        padding: 20px;
    }

    .section-card .card-image {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 768px) {
    .sub-section {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 768px) {
    .card-image {
        width: 100%;
    }
}

.section-info {
    width: 60%;
}

.section-info p {
    margin-bottom: 20px;
}

.section-info ul {
    list-style-type: none;
    padding: 0;
}

.section-info ul li a {
    color: #ff0000;
    text-decoration: none;
}

.section-info ul li a img {
    width: 24px;
    height: 24px;
    border-radius: 0;
}

#clients {
    padding: 20px 0;
}

.client-card {
    flex: 0 0 calc(33.33% - 40px); /* Each card will take up a third of the gallery's width minus the margin */
    box-sizing: border-box; /* Include padding and border in the element's total width and height */
    padding: 20px;
    border-radius: 20px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
    overflow: hidden;
    margin: 20px; /* Add space around each card */
    color: #ffffff; /* Set the color of the text to black */
    height: 600px; /* Set a fixed height for the cards */
}

@media (max-width: 768px) {
    .client-card {
        flex: 0 0 100%; /* Make each card take up the full width of the gallery on small screens */
    }
}

.client-card img {
    border-radius: 15px; /* Half the border-radius of the card */
    width: 100%;
    height: 350px; /* Set a fixed height for the images */
    object-fit: cover;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); /* Add drop shadow */
}

#clients h2 {
    text-align: center;
    margin-bottom: 20px;
}

.scrollable-gallery-container {
    position: relative;
    overflow: hidden; /* Hide the overflow */
    height: 600px; /* Add a specific height */
    max-width: 100%; /* Ensure the container does not exceed the width of the viewport */
    margin: 0 auto; /* Center the container */
}

@media (max-width: 768px) {
    .scrollable-gallery-container {
        max-width: 100%;
        margin: 0 auto;
    }
}

.scrollable-gallery {
    display: flex;
    overflow-x: scroll;
    overflow-y: hidden;
    width: calc(100% - 50px); /* Subtract the padding from the width */
    padding-left: 50px; /* Add padding to the beginning */
    height: 100%; /* Make it fill the parent's height */
}

@media (max-width: 768px) {
    .scrollable-gallery {
        width: calc(100% - 50px);
        padding-left: 50px;
    }
}

.scrollable-gallery-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 50px; /* Adjust the width to match the padding */
    height: 100%;
    background: linear-gradient(to right, #0e0e0e, rgba(255, 255, 255, 0));
    pointer-events: none;
}

.scrollable-gallery-container::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 15%;
    height: 100%;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #0e0e0e);
    pointer-events: none; /* Ensure the gradient doesn't interfere with scrolling */
}

.gallery-image {
    flex: 0 0 auto;
    margin: 10px;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
    transition: 0.3s;
    border-radius: 5px;
    scroll-snap-align: center;
    width: 25%;
    height: auto;
}

#clients .sub-section {
    flex-direction: column;
    align-items: center;
}

.intro-text {
    width: 70%;
    margin: 0 auto;
}

#contact .sub-section {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
}

.contact-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.contact-text-container {
    max-width: 600px; /* Adjust this value to match the width of the training text */
    margin: 0 20px; /* Center the container */
}

.contact-text, form {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

form {
    display: flex;
    flex-direction: column;
    background-color: #f5f5f5;
    padding: 20px;
    border-radius: 10px;
    width: 80%;
    max-width: 1200px;
    margin: 20px auto;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease-in-out;
}

.form-control {
    font-family: 'Roboto', Arial, sans-serif;
}

@media (max-width: 768px) {
    form {
        width: 90%;
        max-width: 600px;
    }
}

form input, form textarea, form button {
    transition: transform 0.3s ease-in-out;
}

form input, form textarea {
    margin-bottom: 10px;
    padding: 10px;
    font-size: 1em;
    width: 100%;
}

form button {
    background-color: #ff0000;
    color: #fff;
    padding: 10px;
    border: none;
    cursor: pointer;
}

footer {
    display: flex;
    justify-content: center;
    background-color: #0e0e0e;
    color: #f2f2f29c;
    padding: 15px;
}

.footer-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
}

#partners {
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 20px 0;
    width: 100%;
    max-height: 200px;
    height: 200px;
}

#partners a {
    width: 20%;
    max-width: 200px;
    min-width: 50px;
    display: inline-block;
}

#partners a img {
    width: 100%;
    height: auto;
}

#footer-content {
    display: flex;
    width: 100%;
    justify-content: space-between;
}

.footer-section {
    flex: 1;
    padding: 0 20px;
}

.footer-section img {
    filter: invert(1);
}

.footer-section h3 {
    margin-bottom: 20px;
}

.footer-section a {
    color: #f2f2f2;
    text-decoration: none;
}

.footer-section img {
    width: 24px;
    height: 24px;
    margin-right: 10px;
}

.footer-section address {
    padding-bottom: 10px;
}

@media (max-width: 768px) {
    #footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-section {
        margin-bottom: 20px;
    }

    .footer-section:last-child {
        margin-bottom: 0;
    }
}

