:root {
    --primary-accent-color: #c42727;
    --primary-text-color: #000000A6;
    --secondary-text-color: #ececec;
    --primary-bg-color: #E6E6E6;
    --secondary-bg-color: #F8F8F8;
}

/* accent utility */
text-accent,
.text-accent {
    color: var(--primary-accent-color);
    font-weight: 600;
}

/* add fonts */
@font-face {
    font-family: 'Archivo';
    src: url('/static/fonts/Archivo-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Archivo-Bold';
    src: url('/static/fonts/Archivo-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Archivo', sans-serif;
}

nav {
    font-family: 'Archivo', sans-serif;
    font-size: 1.1rem;
}

nav.navbar {
    border-bottom: 3px solid #c42727;
    background-color: var(--primary-bg-color) !important;
}

nav.navbar .navbar-nav .nav-item {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
}

.img-navbar-brand {
    height: 80px;
    color: var(--primary-bg-color);
}


.container-expanded {
    padding-left: 0!important;
    padding-right: 0!important;
    margin-left: 0!important;
    margin-right: 0!important;
    max-width: none!important;
}

.header-container {
    position: relative;
    display: inline-block;
    width: 100%;
    max-width: 25vw; /* Adjust as needed */
}

.header-ribbon {
    display: block;
    width: 100%; /* Ensure the image scales with the container */
    height: auto; /* Maintain aspect ratio */
    z-index: -1;
}

.header-text {
    position: absolute;
    top: 50%;
    left: 40%;
    transform: translate(-50%, -50%);
    color: white; /* Adjust color as needed */
    font-size: 2vw; /* Adjust font size as needed for responsiveness */
    text-align: center;
    width: 100%; /* Ensure text is centered */
}

/* Media query for desktops */
@media (min-width: 1025px) {
    .header-container {
        max-width: 25%; /* Make the container full width on desktops */
    }

    .header-text {
        font-size: 2vw; /* Adjust font size as needed for desktops */
    }
}

/* Media query for tablets */
@media (max-width: 1024px) {
    .header-container {
        max-width: 30%; /* Make the container full width on tablets */
    }

    .header-text {
        font-size: 3vw; /* Increase font size for better readability on tablets */
    }
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .header-container {
        max-width: 60%; /* Make the container full width on mobile */
    }

    .header-text {
        font-size: 4vw; /* Increase font size for better readability on mobile */
        top: 10%; /* Adjust top position to start near the top */
        transform: translate(-50%, 0); /* Adjust transform to align properly */
    }
}


.track-bg-primary {
    background-color: var(--primary-bg-color);
}

.track-bg-secondary {
    background-color: var(--secondary-bg-color);
}

.position-relative {
    position: relative;
}

.overlay-text-container {
    position: absolute;
    top: 50%;
    left: 25%;
    transform: translate(0, -50%);
    z-index: 1; /* Ensure the text is above the image */
}

@media (max-width: 768px) {
    .overlay-text-container {
        left: 0;
        transform: translate(0, -50%);
    }
}

.overlay-text {
    font-size: 2vw; /* Adjust font size as needed for responsiveness */
    font-weight: bold;
}

/* Media query for mobile devices */
@media (max-width: 768px) {
    .overlay-text {
        font-size: 4vw; /* Increase font size for better readability on mobile */
    }
}


.parallax {
    

    /* Set a specific height */
    height: 500px;

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    /* Use a CSS variable for the background image */
    background-image: url('../static/images/camera.webp');
}

.button-bar {
    background-color: #f8f9fa;
    padding: 20px 0;
    border-top: 1px solid #dee2e6;
}

.btn-custom {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    background-color: #c42727;
    color: white;
    text-decoration: none;
    border-radius: 0;
    transition: background-color 0.3s ease;
}

.btn-custom:hover {
    background-color: #a01f1f;
    color: white;
}

/* Accent button utility that uses the primary accent variable */
.btn-accent {
    display: inline-block;
    padding: 10px 20px;
    margin-right: 10px;
    background-color: var(--primary-accent-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.08s ease;
    font-size: 1.5rem;
}

.btn-accent:hover {
    background-color: #a01f1f;
    transform: translateY(-1px);
}

.btn-accent:focus {
    outline: 3px solid rgba(196,38,38,0.18);
    outline-offset: 2px;
}

.jumbotron-transparent {
    background-color: transparent;
    padding: 2rem 1rem;
}

@media (max-width: 768px) {
    .jumbotron-offset-25 {
        margin-left: 0;
        max-width: 100%;
    }
}

nav.navbar-accent .navbar-nav-accent .nav-item-accent {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    display: inline-block;
    margin-right: 10px;
    background-color: var(--primary-accent-color);
    color: #ffffff;
    text-decoration: none;
    border-radius: 0;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: background-color 0.2s ease, transform 0.08s ease;
}

/* Generic rule: make nav links use accent when parent nav has .navbar-accent */
nav.navbar-accent .nav-link,
nav.navbar-accent .nav-item > a {
    background-color: var(--primary-accent-color);
    color: #ffffff;
    border-radius: 0;
    padding: 8px 12px;
    display: inline-block;
    margin-right: 8px;
    text-decoration: none;
}

.img-background{
    opacity: 0.5;
    z-index: -1;
}


/* Card link div styles - white text on accent background with no text formatting */
.card.card-link {
    background-color: var(--primary-accent-color);
    border: none;
    border-radius: 10px;
}

.card.card-link .card-body {
    background-color: var(--primary-accent-color);
    color: #ffffff;
    border: none;
    border-radius: 10px;
}

.card.card-link .card-title {
    color: #ffffff;
    font-weight: bold;
    text-align: center;
    font-size: 25px;
}

.card.card-link .card-text {
    color: #ffffff;
    font-weight: normal;
}

.card.card-link a {
    color: #ffffff;
    text-decoration: none;
}

.card.card-link:hover{
     transform: scale(1.02);
  box-shadow: 0 10px 20px rgba(0,0,0,.12), 0 4px 8px rgba(0,0,0,.06);
  transition: all 0.3s ease;
}
/* Carousel responsive styling */
@media (max-width: 768px) {
    .carousel-item .row {
        flex-direction: column;
        align-items: center;
    }
    
    .carousel-item .col-md-3 {
        width: 100%;
        max-width: 350px;
    }
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: var(--primary-bg-color);
    border-radius: 50%;
    width: 50px;
    height: 50px;
}

.hr-line-short{
    width: 100px;
    border-bottom-color: black;
    border-bottom-style: solid;
    border-bottom-width: 1px;
}
.hr-line-short-centered{
    width: 100px;
    border-bottom-color: black;
    border-bottom-style: solid;
    border-bottom-width: 1px;
    margin: 0 auto;
    display: block;
    margin-bottom: 10px;
}

.ms-9 {
    margin-left: 9rem !important;
}
.mt-neg-1-5 {
    margin-top: -1.5rem !important;
}

.mt-neg-2-5 {
    margin-top: -2.5rem !important;
}

.mb-neg-2 {
    margin-bottom: -2rem !important;
}

.img-banner {
    width: 100%;
    height: 30rem;
    padding: 0;
    margin: 0;
    object-fit: cover;
}
 .nav-item .nav-item-accent-mobile {
    width: 9rem;
}

.ms-neg-2 {
    margin-left: -2rem !important;
}

.background-white {
    background-color: white;
}

.background-primary {
    background-color: var(--primary-bg-color);
}

.overlay-text-relative {
    position: relative;
    transform: translate(0, -100%);
    z-index: 1; /* Ensure the text is above the image */
}

.img-badge {
    height: 4rem;
    width: 4rem;
}

.text-title-size {
    font-size: 2.5rem;
}

.row-short {
    max-width: 75%;
    margin-left: 16.5%;
}

.img-mail {
    height: 1.2rem;
}