:root {
    --color-rgb-white: 255, 255, 255;
    --color-rgb-darkblue: 42, 58, 72;
    --color-rgb-warmbrown: 195, 141, 103;
    --color-rgb-warmbrown-light: 217, 168, 135;
    --color-rgb-green: 90, 120, 80;
    --color-rgb-green-light: 140, 170, 120;
}
/* Mac inspired scrollbar */
  ::-webkit-scrollbar {
    width: 10px;
    height: 10px;
  }

  ::-webkit-scrollbar-track {
    background: transparent;
  }

  ::-webkit-scrollbar-thumb {
    background: rgba(var(--color-rgb-darkblue), 0.25);
    border-radius: 10px;
    border: 2px solid transparent;
    background-clip: content-box;
    transition: all 0.2s ease;
  }

  ::-webkit-scrollbar-thumb:hover {
    background: rgba(var(--color-rgb-darkblue), 0.45);
  }

  /* Dark sections */
  .bg-blue ::-webkit-scrollbar-thumb,
  .footer-custom ::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.25);
  }

  .bg-blue ::-webkit-scrollbar-thumb:hover,
  .footer-custom ::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
  }

  /* Firefox */
  * {
    scrollbar-width: thin;
    scrollbar-color: rgba(var(--color-rgb-darkblue),0.7) transparent;
  }

body {
    margin: 0;
    font-size: 18px;
    font-family: 'Open Sans', sans-serif;
    color: rgb(var(--color-rgb-darkblue));
}
:focus-visible{outline: none}

h1,
h2,
h3,
h4,
h5,p{text-align: center}


h1,
h2,
h3,
h4,
.navbar-brand {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-style: normal;
}

h1{text-transform: uppercase;}

@media (min-width: 1200px) {

    .h2,
    h2 {
        font-size: 2.5rem;
    }
}

.bg-blue {
    color: rgb(var(--color-rgb-warmbrown));
    background: linear-gradient(180deg, rgb(var(--color-rgb-darkblue)) 0%, rgba(var(--color-rgb-darkblue), 0.9) 100%) !important;
}

.bg-blue h1,
.bg-blue h2,
.bg-blue h3,
.bg-blue h4 {
    color: rgb(var(--color-rgb-warmbrown));
}

.bg-blue p,
.bg-blue li,
.bg-blue label {
    color: rgb(var(--color-rgb-warmbrown-light));
}

.text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}


.carousel-caption {
    top: 35%;
    left: 10%;
    right: 10%;
    text-align: center;
}
@media (max-width: 768px) {
  .carousel-caption h1 {
        font-size: calc(1.1rem + 1.5vw);
    }

}
.carousel-caption p {
    font-size:calc(.55rem + 1.5vw);
    opacity: 1;
}

@media (min-width: 768px) {
    h1,
h2,
h3,
h4,
h5,
p{text-align:left;}

    .carousel-caption {
        top: 35%;
        left: 15%;
        right: 15%;
        text-align: left;
        max-width: 600px;
    }


    .carousel-caption p {
        font-size: 1.1rem;
        opacity: 0.9;
    }
}

.form-control {
    background: rgba(255, 255, 255, 0.92);
    border: none;
}

.btn-dark {
    background: rgb(var(--color-rgb-darkblue));
    border-color: rgb(var(--color-rgb-darkblue));
}

.btn-dark:hover {
    background: rgba(var(--color-rgb-darkblue), 0.85);
    border-color: rgba(var(--color-rgb-darkblue), 0.85);
}

.topbar {
    font-family: "parabolica", sans-serif;
    font-weight: 100;
    color: #fff;
    font-size: 13px;
    background-color: rgba(var(--bs-dark-rgb), .3);
    border-bottom: 1px solid rgba(255, 255, 255, .15);
    backdrop-filter: blur(16px);

}

.topbar a {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-left: 15px;
    margin-left: 15px;
    border-left: 1px solid rgba(255, 255, 255, 0.15);
    text-decoration: none !important;
}

.topbar a i {
    text-decoration: none;
}


.topbar a:first-child {
    border-left: none;
    padding-left: 0;
    margin-left: 0;
}

.topbar a:hover {
    opacity: 0.7;
}

.navbar-custom {
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 1000;
    transform: translateY(0);
    transition: background 0.3s ease, box-shadow 0.3s ease, padding 0.3s ease;
    padding: 16px 0;
}

.navbar-custom .container-fluid {
    min-height: 90px;
    transition: min-height 0.3s ease;
}


.navbar-scrolled {
    position: fixed;
    top: 0;
    background: #fff;
    animation: navSlideDown 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    padding: 6px 0;
}

.navbar-scrolled .container-fluid {
    min-height: 60px;
}

.navbar-scrolled .logo svg {
    transform: scale(0.8);
}

.logo svg {
    width: 100%;
    height: 60px;
    transition: fill 0.3s ease;
    fill: #fff;
}

.navbar-scrolled .logo svg {
    height: 40px;
    fill: #000;
}

.nav-link {
    font-family: 'parabolica', sans-serif;

    font-style: normal;
}

.navbar-custom .nav-link {
    color: #fff;
    font-weight: 600;
    position: relative;
    padding: 8px 12px;
    transition: all 0.25s ease;
}

.navbar-custom .nav-link::after {
    content: '';
    position: absolute;
    left: 12px;
    bottom: 2px;
    width: 0;
    height: 2px;
    background: rgb(var(--color-rgb-warmbrown));
    transition: width 0.25s ease;
}

.navbar-custom .nav-link:hover::after {
    width: calc(100% - 24px);
}

.navbar-custom .nav-link:hover {
    color: rgb(var(--color-rgb-warmbrown-light));
}

.navbar-scrolled .nav-link,
.navbar-scrolled .navbar-brand {
    color: #000;
}


.navbar-scrolled .nav-link:hover {
    color: rgb(var(--color-rgb-warmbrown));
}

.navbar-scrolled {
    position: fixed;
    top: 0;
    background: #fff;
    animation: navSlideDown 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

@keyframes navSlideDown {
    from {
        transform: translateY(-79px);
    }

    to {
        transform: translateY(0);
    }
}

.navbar-scrolled .topbar {
    background: rgb(var(--color-rgb-darkblue));
    color: rgb(var(--color-rgb-white));
    border-bottom-color: transparent;
}


.hero {
    height: 50vh;
}

.hero img {
    object-fit: cover;
    height: 50vh;
    width: 100%;
}

.swiper {
    padding-bottom: 40px;
}

.swiper-button-prev,
.swiper-button-next {
    top: 30%;
    color: rgb(var(--color-rgb-white));
}

.swiper-button-prev::after,
.swiper-button-next::after {
    font-size: 20px;
}

.swiper-button-prev:hover,
.swiper-button-next:hover {
    opacity: 0.8;
}

.card-title {
    font-size: 1.3rem;
    margin-top: 10px;
}

.card-text {
    font-size: 0.95rem;
    opacity: 0.8;
}

.card-img-custom {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.carousel-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    border: none;
    margin: 0 4px;
}

.carousel-indicators .active {
    background-color: #fff;
    opacity: 1;
}

.navbar-scrolled .carousel-indicators [data-bs-target] {
    background-color: rgba(0, 0, 0, 0.3);
}

.navbar-scrolled .carousel-indicators .active {
    background-color: #000;
}

.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background: rgba(0, 0, 0, 0.3);
    opacity: 1;
}

.swiper-pagination-bullet-active {
    background: #000;
}

.halfwidth-image {
    position: relative;
}

.halfwidth-image::after {
    display: block;
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 0;
}

.halfwidth-image>.container {
    position: relative;
    z-index: 1;
}

@media (max-width: 767.98px) {
    .halfwidth-image::after {
        display: none;
    }
}

.image--contact::after {
    background-image: url('../img/backgrounds/contact.jpg');
}

.footer-custom {
    background: linear-gradient(180deg, rgb(22, 32, 42) 0%, rgb(15, 22, 30) 100%);
}

.footer-title {
    font-weight: 700;
    margin-bottom: 15px;
    color: rgb(var(--color-rgb-warmbrown));
}

.footer-text {
    margin-bottom: 6px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    transition: all 0.2s ease;
}

.footer-link:hover {
    color: rgb(var(--color-rgb-warmbrown));
    padding-left: 4px;
}

.footer-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-list li {
    margin-bottom: 8px;
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.reveal-up {
    opacity: 0;
    transform: translate3d(0, 32px, 0);
    transition: opacity 0.7s ease, transform 0.7s ease;
    will-change: opacity, transform;
}

.reveal-up.is-visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
}

@media (prefers-reduced-motion: reduce) {

    .reveal-up,
    .reveal-up.is-visible {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

.navbar-custom:not(.navbar-scrolled) .navbar-toggler {
    border-color: #fff;
}

.navbar-custom:not(.navbar-scrolled) .navbar-toggler-icon {
    filter: invert(1);
}

@media (max-width: 991.98px) {
    .offcanvas {
        background: linear-gradient(180deg, rgb(var(--color-rgb-darkblue)) 0%, rgb(18, 26, 34) 100%);
        color: #fff;
        height: 100vh;
        display: flex;
        flex-direction: column;
        box-shadow: -30px 0 80px rgba(0, 0, 0, 0.4);
    }

    .offcanvas-header {
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        padding: 1.25rem 1.5rem;
    }

    .offcanvas-title {
        font-weight: 700;
        font-size: 1.4rem;
    }

    .offcanvas-body {
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 2rem 1.75rem 3rem;
    }

    .offcanvas .navbar-nav {
        width: 100%;
        gap: 8px;
    }

    .offcanvas .nav-item+.nav-item {
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .offcanvas .nav-link {
        color: #fff;
        font-size: 1.5rem;
        font-weight: 600;
        padding: 14px 0;
        position: relative;
        transition: all 0.25s ease;
    }

    .offcanvas .nav-link::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 6px;
        width: 0;
        height: 2px;
        background: rgb(var(--color-rgb-warmbrown));
        transition: width 0.25s ease;
    }

    .offcanvas .nav-link:hover::after {
        width: 100%;
    }

    .offcanvas .nav-link:hover {
        color: rgb(var(--color-rgb-warmbrown-light));
        transform: translateX(6px);
    }

    .offcanvas .btn-close {
        filter: invert(1);
        opacity: 0.9;
    }

    .offcanvas .btn-close:hover {
        opacity: 1;
    }

    .offcanvas-backdrop.show {
        background-color: rgba(0, 0, 0, 0.7);
    }
}

.form-floating>.form-control-plaintext~label::after,
.form-floating>.form-control:focus~label::after,
.form-floating>.form-control:not(:placeholder-shown)~label::after,
.form-floating>.form-select~label::after {
    display: none;
}

.form-floating>.form-control-plaintext~label,
.form-floating>.form-control:focus~label,
.form-floating>.form-control:not(:placeholder-shown)~label,
.form-floating>.form-select~label {

    transform: scale(.7) translateY(-.5rem) translateX(.15rem);
}

.modal-custom {
    background: linear-gradient(180deg, rgb(22, 32, 42) 0%, rgb(15, 22, 30) 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
}

.modal-custom .modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-custom .modal-title {
    color: rgb(var(--color-rgb-warmbrown));
    font-weight: 700;
}

.modal-custom .btn-close {
    filter: invert(1);
    opacity: 0.8;
}

.modal-custom .btn-close:hover {
    opacity: 1;
}

.modal-custom a {
    color: rgb(var(--color-rgb-warmbrown-light));
    text-decoration: none;
}

.modal-custom a:hover {
    color: rgb(var(--color-rgb-warmbrown));
}

.modal-backdrop.show {
    background: rgba(0, 0, 0, 0.75);
}