/********** LALIMBT — Template CSS **********/
:root {
    --primary: #0077C8;
    --accent: #F7941D;
    --secondary: #6B6B6B;
    --light: #F5F5F5;
    --dark: #333333;
    --bs-primary: #0077C8;
    --bs-primary-rgb: 0, 119, 200;
}

.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.bg-primary { background-color: var(--primary) !important; }
.bg-accent { background-color: var(--accent) !important; }
.btn-primary { background-color: var(--primary); border-color: var(--primary); color: #fff; }
.btn-primary:hover { background-color: #005fa3; border-color: #005fa3; color: #fff; }
.btn-accent { background-color: var(--accent); border-color: var(--accent); color: #fff; }
.btn-accent:hover { background-color: #e07d0a; border-color: #e07d0a; color: #fff; }
.btn-outline-primary { color: var(--primary); border-color: var(--primary); }
.btn-outline-primary:hover { background-color: var(--primary); border-color: var(--primary); color: #fff; }

.wow fadeInUp,
.wow fadeInDown,
.wow fadeIn,
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}
.reveal.is-visible,
.wow.is-visible {
    opacity: 1;
    transform: none;
}
@media (prefers-reduced-motion: reduce) {
    .reveal, .wow { opacity: 1; transform: none; transition: none; }
}

.skip-link {
    position: absolute;
    left: -9999px;
    z-index: 100000;
    padding: .5rem 1rem;
    background: var(--accent);
    color: #fff;
}
.skip-link:focus {
    left: 1rem;
    top: 1rem;
}

.mobile-social-btn {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-caption::before {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,.35) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.65) 100%);
    z-index: 0;
    border-radius: .25rem;
}
.carousel-caption > * { position: relative; z-index: 1; }
.carousel-item img { aspect-ratio: 21/9; object-fit: cover; }

.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    z-index: 99;
    display: none;
    align-items: center;
    justify-content: center;
}


h1, h2, .h1, .h2, .fw-bold { font-weight: 700 !important; }
h3, h4, .h3, .h4, .fw-medium { font-weight: 600 !important; }
h5, h6, .h5, .h6, .fw-semi-bold { font-weight: 500 !important; }

#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}
#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

.btn { transition: .5s; font-weight: 500; }
.btn-square { width: 38px; height: 38px; }
.btn-lg-square { width: 48px; height: 48px; }
.btn-square, .btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Topbar */
.topbar { font-size: .9rem; }
.topbar-link { color: #fff; text-decoration: none; }
.topbar-link:hover { color: var(--accent); }
.topbar-social { padding: 0 .25rem; }

.topbar-right {
    position: relative;
    background: var(--accent);
}
.topbar-right::before {
    position: absolute;
    content: "";
    width: 30px;
    height: 100%;
    top: 0;
    left: -15px;
    transform: skewX(-30deg);
    background-color: var(--accent);
}

/* Navbar */
.navbar.sticky-top { top: -100px; transition: .5s; }

.navbar .navbar-brand {
    position: relative;
    padding-right: 50px;
    height: 75px;
    display: flex;
    align-items: center;
    background: var(--accent);
}
.navbar .brand-text {
    color: #fff;
    font-family: 'Rubik', sans-serif;
    font-weight: 700;
    font-size: 1.35rem;
    letter-spacing: .5px;
    text-transform: uppercase;
    line-height: 1.2;
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .navbar .brand-text { font-size: 1rem; }
}
.navbar .navbar-brand::after {
    position: absolute;
    content: "";
    width: 50px;
    height: 100%;
    top: 0;
    right: -25px;
    transform: skewX(-30deg);
    background-color: var(--accent);
}

.navbar .navbar-nav .nav-link {
    margin-right: 35px;
    padding: 20px 0;
    color: var(--dark);
    font-size: 18px;
    font-weight: 500;
}
.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active { color: var(--primary); }

.mobile-contact-bar {
    border-top: 1px solid #eee;
    margin-top: .5rem;
}

@media (max-width: 991.98px) {
    .navbar .navbar-nav .nav-link { margin-right: 0; padding: 10px 0; }
    .navbar .navbar-nav { border-top: 1px solid #EEEEEE; }
}

/* Carousel */
.carousel-caption {
    top: 0; left: 0; right: 0; bottom: 0;
    display: flex;
    align-items: center;
    background: linear-gradient(to right, rgba(51, 51, 51, .85) 0%, rgba(51, 51, 51, 0) 100%);
    z-index: 1;
}
.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 3.5rem; height: 3.5rem;
    background-color: var(--accent);
    border: 15px solid var(--accent);
    border-radius: 3.5rem;
}

@media (max-width: 768px) {
    #header-carousel .carousel-item { position: relative; min-height: 450px; }
    #header-carousel .carousel-item img {
        position: absolute; width: 100%; height: 100%; object-fit: cover;
    }
}

.page-header {
    background: linear-gradient(to right, rgba(0, 119, 200, .9) 0%, rgba(0, 119, 200, .4) 100%), url(../img/carousel-2.jpg) center center no-repeat;
    background-size: cover;
}

/* Footer */
.footer { color: #B0B9AE; }
.footer .btn.btn-link {
    display: block; margin-bottom: 5px; padding: 0;
    text-align: left; color: #B0B9AE; font-weight: normal;
    text-transform: capitalize; transition: .3s;
}
.footer .btn.btn-link::before {
    content: "\f105";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    margin-right: 10px;
}
.footer .btn.btn-link:hover { color: var(--light); letter-spacing: 1px; box-shadow: none; }
.copyright { color: #B0B9AE; border-top: 1px solid rgba(255,255,255,.1); }

/* Contact */
#contact { overflow-x: hidden; }
.text-anywhere { overflow-wrap: anywhere; word-break: break-word; }

/* Gallery carousel */
.gallery-carousel { max-width: 960px; margin: 0 auto; }
.gallery-slide-img {
    object-fit: cover;
    width: 100%;
    height: 280px;
}
@media (min-width: 768px) { .gallery-slide-img { height: 420px; } }
@media (min-width: 992px) { .gallery-slide-img { height: 500px; } }

.gallery-caption {
    left: 0; right: 0; bottom: 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(transparent, rgba(0,0,0,.75));
    text-align: left;
}
.gallery-caption p {
    font-weight: 600;
    font-size: 1rem;
    text-shadow: 0 1px 3px rgba(0,0,0,.4);
}

.gallery-control {
    width: 3rem;
    opacity: .9;
}
.gallery-indicators {
    margin-bottom: .75rem;
}
.gallery-indicators [data-bs-target] {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,.6);
    border: none;
}
.gallery-indicators .active {
    background-color: var(--accent);
}

.gallery-thumbs {
    display: flex;
    gap: .5rem;
    overflow-x: auto;
    padding-bottom: .25rem;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
}
.gallery-thumb {
    flex: 0 0 auto;
    width: 88px;
    height: 60px;
    padding: 0;
    border: 2px solid transparent;
    border-radius: .35rem;
    overflow: hidden;
    opacity: .65;
    cursor: pointer;
    background: none;
    scroll-snap-align: start;
    transition: opacity .2s, border-color .2s, transform .2s;
}
@media (min-width: 768px) {
    .gallery-thumb { width: 110px; height: 72px; }
}
.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.gallery-thumb:hover { opacity: .9; }
.gallery-thumb.active {
    opacity: 1;
    border-color: var(--primary);
    transform: scale(1.03);
}

/* Social FAB — pétale */
.social-fab {
    position: fixed;
    right: 30px;
    bottom: 100px;
    z-index: 98;
}
.social-fab-toggle {
    width: 52px; height: 52px;
    box-shadow: 0 4px 15px rgba(0,0,0,.2);
    font-size: 1.2rem;
}
.social-fab-petals {
    position: absolute;
    bottom: 60px;
    right: 0;
    width: 52px;
    height: 52px;
    pointer-events: none;
}
.social-petal {
    position: absolute;
    width: 44px; height: 44px;
    display: flex; align-items: center; justify-content: center;
    bottom: 0; right: 4px;
    opacity: 0;
    transform: scale(0) rotate(0deg);
    transition: all .35s cubic-bezier(.68,-0.55,.27,1.55);
    pointer-events: none;
    box-shadow: 0 3px 10px rgba(0,0,0,.15);
}
.social-fab.open .social-petal {
    opacity: 1;
    pointer-events: auto;
}
.social-fab.open .social-petal:nth-child(1) { transform: translate(-70px, -10px) scale(1); transition-delay: .05s; }
.social-fab.open .social-petal:nth-child(2) { transform: translate(-55px, -55px) scale(1); transition-delay: .1s; }
.social-fab.open .social-petal:nth-child(3) { transform: translate(-10px, -70px) scale(1); transition-delay: .15s; }
.social-fab.open .social-petal:nth-child(4) { transform: translate(35px, -55px) scale(1); transition-delay: .2s; }

/* Review stars */
.review-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 4px; }
.review-stars .star-label {
    cursor: pointer;
    font-size: 1.5rem;
    color: #ddd;
    transition: color .2s;
}
.review-stars .star-label:hover,
.review-stars .star-label:hover ~ .star-label,
.review-stars .star-label.active { color: var(--accent); }

/* Article content */
.article-content { line-height: 1.8; font-size: 1.05rem; }
.article-content h2, .article-content h3 { margin-top: 1.5rem; margin-bottom: .75rem; }
.article-content p { margin-bottom: 1rem; }
.article-content img { max-width: 100%; height: auto; border-radius: .25rem; }

/* Legal & cookies */
.legal-content { line-height: 1.8; white-space: pre-line; }
.cookie-notice {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 1000;
    background: rgba(51, 51, 51, .97);
    color: #fff;
    padding: 1rem;
    box-shadow: 0 -4px 20px rgba(0,0,0,.15);
}
.cookie-notice-inner {
    max-width: 1140px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.cookie-notice p { margin: 0; font-size: .95rem; }

@media (max-width: 575.98px) {
    .social-fab { right: 20px; bottom: 90px; }
    .back-to-top { right: 20px; bottom: 20px; }
}
