﻿@media print {
    *, *::before, *::after {
        transition: none !important;
        animation: none !important;
    }
}

/* General */
a {
    text-decoration: none;
}

html {
    position: relative;
    min-height: 100%;
}

body {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

main {
    flex: 1; /* forces the main content area to expand and push the footer down */
}

.footer {
    width: 100%;
    white-space: nowrap;
    line-height: 60px;
}

/* No bullets on validation errors */
.validation-summary-errors ul {
    list-style-type: none;
    padding-left: 0;
    margin-bottom: 0;
}

/* Buttons */
.btn-adaptive {
    background-color: var(--bs-body-color);
    color: var(--bs-body-bg);
    border: 1px solid var(--bs-body-color);
    transition: all 0.2s ease-in-out;
}

    .btn-adaptive:hover {
        opacity: 0.85;
        color: var(--bs-body-bg);
        background-color: var(--bs-body-color);
        border-color: var(--bs-body-color);
    }

.btn-outline-adaptive {
    background-color: transparent;
    color: var(--bs-body-color);
    border: 1px solid var(--bs-body-color);
    transition: all 0.2s ease-in-out;
}

    .btn-outline-adaptive:hover {
        background-color: var(--bs-body-color);
        color: var(--bs-body-bg);
        border-color: var(--bs-body-color);
    }

.custom-img-shadow {
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.5) !important;
}

/* Navbar */
[data-bs-theme="light"] .navbar {
    /* background-color: var(--bs-tertiary-bg) !important;*/
}

    [data-bs-theme="light"] .navbar .nav-link {
        font-weight: 600;
    }

.navbar-nav .nav-link {
    /*text-transform: uppercase;*/
    letter-spacing: 0.1em;
    /*font-size: 0.9rem;*/
    margin-left: 0rem;
    margin-right: 4rem;
}

/* Hero Section Layout */
.hero-section {
    background: linear-gradient(rgba(20, 20, 20, 0.7), rgba(20, 20, 20, 0.5)), url('../images/hero-gts.jpg');
    background-size: cover;
    background-position: center;
    height: calc(100vh - 57px);
    min-height: 400px;
}

[data-bs-theme="light"] .hero-section {
   /* background: linear-gradient(rgba(20, 200, 200, 0.8), rgba(200, 200, 200, 0.8)), url('../images/hero-gts-dark.jpg');*/
    background-size: cover;
    background-position: center;
}

/* Hero Animations */
@keyframes slideUpFade {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    animation: slideUpFade 0.8s ease-out forwards;
}

.hero-list li {
    opacity: 0;
    animation: slideUpFade 0.6s ease-out forwards;
}

    .hero-list li:nth-child(1) {
        animation-delay: 2.5s;
    }

    .hero-list li:nth-child(2) {
        animation-delay: 3.0s;
    }

    .hero-list li:nth-child(3) {
        animation-delay: 3.5s;
    }

    .hero-list li:nth-child(4) {
        animation-delay: 4.0s;
    }

    .hero-list li:nth-child(5) {
        animation-delay: 5.0s;
    }

.hero-btn {
    opacity: 0;
    animation: slideUpFade 0.6s ease-out 4.5s forwards;
}

/* Hero Subtitle Animations */
@keyframes subtitleEntrance {
    0% {
        opacity: 0;
        transform: translateY(15px);
        clip-path: inset(0 100% 0 0);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
        clip-path: inset(0 0 0 0);
    }
}

.hero-subtitle {
    min-height: 5rem;
    display: block;
}

.hero-line-1,
.hero-line-2 {
    opacity: 0;
    display: inline-block;
    width: 100%;
}

.hero-line-1 {
    animation: subtitleEntrance 5s cubic-bezier(0.16, 1, 0.3, 1) 0.1s forwards;
}

.hero-line-2 {
    animation: subtitleEntrance 5s cubic-bezier(0.16, 1, 0.3, 1) 1s forwards;
}
