:root  {
    --nav-height: 56px;
    --google: "Google Sans", sans-serif;
    --playfair: "Playfair", serif;
    --fw-300: 300;
    --fw-300: 400;
    --fw-300: 500;
    --fw-300: 600;
    --fw-300: 700;
    --fw-300: 800;
    --fw-300: 900;
    --dark-grey: #5e5e5e;
    --grey: #c1c1c1;
    --lighter-grey: #dfdfdf;
    --lightest-grey: #eeeeee;
    --red: #93000b;
}

/* GENERAL */

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    scroll-padding-top: calc(var(--nav-height) + 5px);
    overflow-x: clip;
    width: 100%;
}
body {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: clip;
    margin: 0;
    padding: 0;
    width: 100%;
}
img, picture, video {
    max-width: 100%;
    height: auto;
}
*:focus, *:focus-visible, .btn:focus, .btn:active, .btn:focus-visible, .form-control:focus, .navbar-toggler:focus {
    outline: none !important;
    box-shadow: none !important;
}

/* COUNT DOWN */

.display-6 {
    animation: pulse 2s infinite;
}
@keyframes pulse {
    0% { 
        opacity: 0.8; 
    }
    50% { 
        opacity: 1; 
    }
    100% { 
        opacity: 0.8; 
    }
}
.spacer { 
    height: 100vh; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    color: #888888; 
}
.box { 
    width: 200px; 
    height: 200px; 
    background-color: #cc0000; 
    margin: 100px auto; 
    opacity: 0;
}

/* TYPOGRAPHY */

h1, h2, h3, h4, h5, h6 {
    font-optical-sizing: auto;
}
h1, h2, h3, h4 {
    font-family: var(--playfair);
}
h5, h6, p {
    font-family: var(--google);
}
.fw-300 {
    font-weight: var(--fw-300);
}
.fw-400 {
    font-weight: var(--fw-400);
}
.fw-500 {
    font-weight: var(--fw-500);
}
.fw-600 {
    font-weight: var(--fw-600);
}
.fw-700 {
    font-weight: var(--fw-700);
}
.fw-800 {
    font-weight: var(--fw-800);
}
.fw-900 {
    font-weight: var(--fw-900);
}
a {
    text-decoration: none;
}
.custom-square-list {
    list-style-type: square !important;
    padding-left: 1.2rem !important;
}
.custom-square-list li::marker {
    color: var(--bs-red, #dc3545);
    font-size: 0.8rem;
}
.accordion a {
    color: var(--red);
}

/* COLORS */

.bg-grey {
    background-color: var(--grey);
}
.bg-lighter-grey {
    background-color: var(--lighter-grey);
}
.bg-lightest-grey {
    background-color: var(--lightest-grey);
}
.text-dark-grey {
    color: var(--dark-grey);
}
.text-grey {
    color: var(--grey);
}
.text-lighter-grey {
    color: var(--lighter-grey);
}
.text-lightest-grey {
    color: var(--lightest-grey);
}
.text-red {
    color: var(--red);
}
.border-dark {
    border-color: var(--grey) !important;
}
.hoverable {
    transition: all 0.3s ease-in-out;
}
.hoverable:hover {
    transform: translateY(-3px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15)!important;
}

/* BUTTONS */

.btn-outline-dark {
    transition: color 0.3s ease;
}
.btn-outline-dark:hover, button.btn.btn-md.btn-outline-dark.position-relative.overflow-hidden.rounded-0:hover {
    color: #ffffff !important;
    background-color: transparent !important;
}
.btn-outline-dark::before, button.btn.btn-md.btn-outline-dark.position-relative.overflow-hidden.rounded-0::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    color: #ffffff !important;
    background-color: var(--red);
    transition: transform 0.3s ease-in-out;
    z-index: 0;
}
.btn-outline-dark:hover::before, button.btn.btn-md.btn-outline-dark.position-relative.overflow-hidden.rounded-0:hover::before {
    color: #ffffff !important;
    transform: translateX(100%);
}

/* NAVBAR */

header, .navbar, .fixed-top {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    filter: drop-shadow(1px 0px 2px rgba(0, 0, 0, .25));
    z-index: 999 !important;
    transform: none !important;
    will-change: auto !important;
}
@media (min-width: 992px) {
    .dropdown-menu {
        margin-top: 0 !important;
        display: none;
    }
    .dropdown:hover > .dropdown-menu {
        display: block;
        margin-top: 0;
        transform: none !important;
        top: 100% !important;
        left: 0 !important;
        margin-top: 0 !important;
    }
}
li.nav-item {
    padding-top: .5rem;
    padding-bottom: .5rem;
}
.nav-link.active {
    color: var(--red) !important;
}
.dropdown-menu {
    width: max-content;
    min-width: 200px;
    z-index: 1300;
}

/* MAIN SLIDER */

.main-slider {
    width: 100%;
    height: auto;
}
.main-slider .swiper-slide {
    height: auto;
}
.slider-content h1, .slider-content h2, .banner-title h1 {
    font-size: 3rem !important;
}
.slider-content h1, .slider-content h2, .slider-content p, .banner-title h1 {
    filter: drop-shadow(1px 1px 0px rgba(0,0,0,.7));
}
.main-slider img, .main-slider picture {
    display: block;
    width: 100%;
    height: auto;
}

/* SCROLLING SLIDERS */

.scrolling-slider-container {
    width: 100%;
    overflow: hidden;
}
.scrollingSwiper .swiper-wrapper {
    -webkit-transition-timing-function: linear !important;
    transition-timing-function: linear !important;
}
.scrollingSwiper .swiper-slide {
    height: auto;
    display: flex;
}
.scrollingSwiper.is-paused .swiper-wrapper {
    -webkit-transition-play-state: paused !important;
    transition-play-state: paused !important;
}
.scrolling-slide-inner {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
}
.scrolling-slide-inner img {
    width: 100%;
    aspect-ratio: 3 / 2;
    object-fit: cover;
    display: block;
}
.scrolling-slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    text-align: center;
}
.scrolling-slide-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

/* STICKY STYLES */

.sticky-header-title {
    position: -webkit-sticky;
    position: sticky;
    top: 71px; 
    z-index: 99;
}
.sticky-header-title.un-stick {
    position: static !important;
}

/* SCROLL DOWN */

.scroll-down-row {
    transition: opacity 0.5s ease, visibility 0.5s ease, height 0.5s ease;
    opacity: 1;
    visibility: visible;
    height: auto;
}
.scroll-down-row.hidden {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
    padding: 0;
    overflow: hidden;
}
.scroll-down {
    position: relative;
    margin: .5rem auto;
    width: 34px;
    height: 55px;
}
.scroll-down {
    position: relative;
    margin: .5rem auto;
    width: 34px;
    height: 36px;
}
.scrolling-slide-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bs-dark, #212529);
    animation: scrollDownFlow 1.6s infinite cubic-bezier(0.65, 0, 0.35, 1);
}
.scrolling-slide-arrow svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}
@keyframes scrollDownFlow {
    0% {
        opacity: 0;
        transform: translateY(-12px);
    }
    30% {
        opacity: 1;
    }
    70% {
        opacity: 1;
    }
    100% {
        opacity: 0;
        transform: translateY(14px);
    }
}

/* SCROLL TO TOP */

#scrollToTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: #212529;
    color: #ffffff;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background-color 0.2s ease;
}
#scrollToTopBtn:hover {
    background-color: var(--red);
}
#scrollToTopBtn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
#scrollToTopBtn .material-symbols-outlined {
    font-size: 24px;
}

/* SLAB TEXTS */

.slab-container {
    container-type: inline-size;
    width: 100%;
    opacity: 0;
    transition: opacity 0.15s ease-in;
    will-change: font-size;
}
.slab-container.slab-ready {
    opacity: 1;
}
.slab-text {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 0;
    text-transform: uppercase;
    font-weight: 900;
    line-height: 0.9;
    width: 100%;
}
.slab-line {
    display: inline-block;
    width: auto; 
    white-space: nowrap;
}
.line-1, .line-3 {
    font-size: 12cqw;
}
.line-2.large-slab {
    font-size: 30cqw;
}
.line-4 {
    font-size: 22cqw;
    line-height: 6rem;
}

/* CARDS & MOBILE FIXES */

#services .col {
    display: flex;
}
#services .card {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden; 
}
#services .card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0; 
    padding: 1.25rem;
}
.description-wrapper {
    position: relative;
    max-height: 4.5em;
    overflow: hidden;
    margin-bottom: 1rem;
}
.description-wrapper p {
    margin: 0;
}
.description-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2em;
    background: linear-gradient(transparent, var(--bs-card-bg, #ffffff));
    pointer-events: none;
}
#services .btn {
    white-space: normal; 
    word-break: break-word;
    font-size: 0.9rem;
    padding: 0.5rem 0.75rem;
}

/* MAPS */

.main-map {
    position: relative !important;
    margin: 0 auto;
    width: 100%;
    height: 40vh;
    max-height: 40vh;
    z-index: 99;
}
.leaflet-touch .leaflet-control-attribution, .leaflet-touch .leaflet-control-layers, .leaflet-touch .leaflet-bar {
    box-shadow: none;
}
.leaflet-bottom.leaflet-right {
    display: none;
}
.leaflet-popup-content-wrapper {
    border-radius: 0 !important;
}
.leaflet-popup-content {
    margin: 13px 19px;
    line-height: 1.4;
    font-family: var(--google);
    text-align: center;
    color: var(--dark-grey);
    font-weight: bold !important;
}

/* ACCORDIONS */

button.accordion-button {
    justify-content: space-between;
}
.accordion-button:not(.collapsed) {
    color: #ffffff;
    background-color: var(--dark-grey);
}
.accordion-button:not(.collapsed)::after {
    filter: invert(1) brightness(2);
}
.accordion-button::after {
    margin-left: 1.5rem;
}

/* CONTYACT FORM */
