:root {
    color-scheme: dark;
    --moriti-bg: #101820;
    --moriti-panel: #17232d;
    --moriti-panel-light: #1d2b37;
    --moriti-text: #f3f6f7;
    --moriti-muted: #a7b3bd;
    --moriti-line: rgba(224, 237, 241, .12);
    --moriti-teal: #49d6c1;
    --moriti-amber: #ffbd59;
    --moriti-blue: #66a8ff;
    --moriti-pink: #ff7b88;
}

html { scroll-behavior: smooth; }
body {
    position: relative;
    overflow-x: hidden;
    background: var(--moriti-bg);
    color: var(--moriti-text);
    font-family: "DM Sans", "Roboto", sans-serif;
    line-height: 1.7;
}
body::before,
body::after {
    position: fixed;
    z-index: 0;
    color: var(--moriti-teal);
    font-family: "Font Awesome 5 Free";
    font-size: 2rem;
    font-weight: 900;
    opacity: .14;
    pointer-events: none;
    animation: moriti-drift 7s ease-in-out infinite;
}
body::before { top: 28%; left: 18px; content: "\f3ed"; }
body::after { right: 20px; bottom: 20%; color: var(--moriti-amber); content: "\f0d1"; animation-delay: -3.5s; }
body > * { position: relative; z-index: 1; }
a { transition: color .2s ease, border-color .2s ease, background-color .2s ease, transform .2s ease, box-shadow .2s ease; }
a:hover { color: var(--moriti-teal); }
h1, h2, h3, h4, h5, h6 { color: var(--moriti-text); font-family: "Manrope", "Jost", sans-serif; font-weight: 700; letter-spacing: -.025em; }
p { color: var(--moriti-muted); }
.container-fluid { overflow: clip; }
.container-fluid.position-relative.p-0 { display: contents; }
.bg-light, .bg-white, .contact.bg-light, .service.bg-light {
    background-color: var(--moriti-panel) !important;
    color: var(--moriti-text) !important;
}
.text-dark, .text-body { color: var(--moriti-text) !important; }
.text-primary { color: var(--moriti-teal) !important; }
.border, .border-primary { border-color: var(--moriti-line) !important; }
.rounded, .rounded-top, .rounded-bottom { border-radius: 12px !important; }

.topbar {
    border-bottom: 1px solid var(--moriti-line);
    background: #0c1319 !important;
}
.topbar .btn { border-color: var(--moriti-line); color: var(--moriti-muted); }
.topbar .btn:hover { border-color: var(--moriti-teal); color: var(--moriti-teal); }
.navbar {
    position: sticky !important;
    top: 0;
    width: 100%;
    z-index: 25;
    min-height: 84px;
    border-bottom: 1px solid var(--moriti-line);
    background: rgba(16, 24, 32, .94) !important;
    backdrop-filter: blur(16px);
}
.navbar.sticky-top.navbar-light { position: sticky !important; top: 0; }
.navbar-light .navbar-nav .nav-link {
    padding: 18px 14px;
    color: #c4cdd3 !important;
    font-family: "DM Sans", "Roboto", sans-serif;
    font-size: .94rem;
    font-weight: 600;
}
.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active { color: var(--moriti-teal) !important; }
.navbar-light .navbar-toggler { border-color: var(--moriti-line); color: var(--moriti-text); }
.navbar-light .navbar-toggler .fa { color: var(--moriti-text); }
.navbar-light .navbar-brand img, nav > img[alt="Logo"] { width: auto; max-width: 130px; height: 70px !important; object-fit: contain; }
.sticky-top.navbar-light .navbar-nav .nav-link { color: #c4cdd3 !important; }

.site-header {
    position: sticky;
    z-index: 100;
    top: 0;
    width: 100%;
    border-bottom: 1px solid var(--moriti-line);
    background: rgba(16, 24, 32, .94);
    backdrop-filter: blur(16px);
}
.nav-wrap {
    display: flex;
    width: min(1160px, calc(100% - 48px));
    min-height: 82px;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-inline: auto;
}
.brand { flex: 0 0 auto; }
.brand img { width: 114px; height: auto; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links .nav-link {
    padding: 10px 0;
    color: #c4cdd3;
    font-size: .94rem;
    font-weight: 600;
    white-space: nowrap;
}
.nav-links .nav-link:hover,
.nav-links .nav-link.is-active,
.nav-links .nav-link[aria-current="page"] { color: var(--moriti-teal); }
.nav-links .nav-contact {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    border: 1px solid transparent;
    border-radius: 8px;
    background: var(--moriti-teal);
    color: #0c191a;
}
.nav-links .nav-contact:hover { transform: translateY(-2px); background: #70ead8; color: #0c191a; }
.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--moriti-line);
    border-radius: 8px;
    background: var(--moriti-panel);
    color: var(--moriti-text);
    font-size: 1rem;
}

.btn, .btn.btn-primary {
    border: 1px solid transparent;
    border-radius: 8px !important;
    background: var(--moriti-teal) !important;
    box-shadow: none !important;
    color: #0c191a !important;
    font-weight: 700;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease;
}
.btn:hover, .btn.btn-primary:hover {
    transform: translateY(-2px);
    border-color: var(--moriti-teal) !important;
    background: #70ead8 !important;
    box-shadow: 0 12px 28px rgba(73, 214, 193, .18) !important;
    color: #0c191a !important;
}
.btn-light { border-color: var(--moriti-line) !important; background: var(--moriti-panel-light) !important; color: var(--moriti-text) !important; }
.btn-square, .btn-sm-square, .btn-md-square, .btn-lg-square { color: #0c191a !important; }

.bg-breadcrumb {
    position: relative;
    display: grid;
    min-height: 290px;
    place-items: center;
    background:
        linear-gradient(110deg, rgba(10, 17, 23, .9), rgba(16, 24, 32, .62)),
        url("breadcrumb-bg.jpg") center 48% / cover no-repeat !important;
}
.bg-breadcrumb::after {
    position: absolute;
    right: 9%;
    bottom: -100px;
    width: 270px;
    height: 270px;
    border: 1px solid rgba(73, 214, 193, .24);
    border-radius: 50%;
    box-shadow: 0 0 0 30px rgba(73, 214, 193, .035), 0 0 0 60px rgba(73, 214, 193, .025);
    content: "";
}
.bg-breadcrumb .container { position: relative; z-index: 1; }
.bg-breadcrumb h1, .bg-breadcrumb h3 { margin-bottom: 0 !important; font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 800; }
.section-title, .section-about-title, .section-booking-title, .subscribe-title {
    color: var(--moriti-teal) !important;
    font-size: .82rem;
    font-weight: 700;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.section-title::before, .section-title::after,
.section-about-title::before, .section-booking-title::before,
.subscribe-title::before, .subscribe-title::after { border-color: var(--moriti-teal) !important; }

.carousel-header { position: relative; background: var(--moriti-bg); }
.carousel-header .carousel-inner .carousel-item { min-height: 620px; background: #0d151c; }
.carousel-header .carousel-inner .carousel-item img { min-height: 620px; object-fit: cover; filter: saturate(.82); }
.carousel-header .carousel-inner .carousel-item::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(8, 14, 19, .84), rgba(8, 14, 19, .34));
    content: "";
}
.carousel-header .carousel-inner .carousel-caption { z-index: 2; text-align: left; }
.carousel-header .carousel-caption > div { margin-left: max(0px, calc((100vw - 1140px) / 2)); }
.carousel-header .carousel-caption h1 { max-width: 800px; font-size: clamp(2.7rem, 5.3vw, 5rem); font-weight: 800; letter-spacing: -.05em; line-height: 1.08; }
.carousel-header .carousel-caption h4 { color: var(--moriti-teal); }
.carousel-header .carousel-caption p { max-width: 680px; color: #e0e6e9; }
.carousel-header .carousel-indicators [data-bs-target] { width: 28px; height: 4px; border: 0; border-radius: 5px; background-color: var(--moriti-teal); }
.carousel-header .carousel-control-prev, .carousel-header .carousel-control-next { z-index: 3; }
.carousel-header .carousel-control-prev-icon, .carousel-header .carousel-control-next-icon { border-radius: 50%; background-color: rgba(73,214,193,.8); }

.about, .blog, .ExploreTour, .service, .packages, .contact { background: var(--moriti-bg); }
.about .row.align-items-center > [style*="background"] {
    padding: 34px;
    border: 1px solid var(--moriti-line);
    border-radius: 16px;
    background: var(--moriti-panel) !important;
}
.about .h-100:not([style]) { overflow: hidden; border: 1px solid var(--moriti-line); border-radius: 16px; }
.about .h-100 img { min-height: 360px; border-radius: 14px; object-fit: cover; }
.about .row p { color: var(--moriti-muted); }
.about .row .row p { color: var(--moriti-text); }
.service-content-inner, .blog-item, .packages-item, .contact .bg-white, .contact .rounded.p-4 {
    overflow: hidden;
    border: 1px solid var(--moriti-line) !important;
    border-radius: 14px !important;
    background: linear-gradient(145deg, var(--moriti-panel-light), var(--moriti-panel)) !important;
    color: var(--moriti-text);
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-content-inner:hover, .blog-item:hover, .packages-item:hover {
    transform: translateY(-5px);
    border-color: rgba(73,214,193,.45) !important;
    box-shadow: 0 18px 40px rgba(0,0,0,.2);
}
.service-content-inner { height: 100%; }
.service-content-inner h5, .blog-content .h4, .packages-item h5 { color: var(--moriti-text) !important; }
.service-content-inner p, .blog-content p, .packages-item p { color: var(--moriti-muted) !important; }
.service-icon, .blog-icon { color: var(--moriti-teal); }
.blog-img-inner { overflow: hidden; }
.blog-img-inner img, .international-item img { transition: transform .45s ease, filter .45s ease; }
.blog-item:hover .blog-img-inner img, .international-item:hover img { transform: scale(1.04); filter: saturate(1.08); }
.blog-content { border-color: var(--moriti-line) !important; }
.international-item { overflow: hidden; border: 1px solid var(--moriti-line); border-radius: 12px; background: var(--moriti-panel); }
.international-item img { max-height: 260px; object-fit: cover; }
.owl-theme .owl-dots .owl-dot span { background: #53636e; }
.owl-theme .owl-dots .owl-dot.active span, .owl-theme .owl-dots .owl-dot:hover span { background: var(--moriti-teal); }
.packages-content { background: transparent !important; }
.packages-content .bg-primary { border-top: 1px solid var(--moriti-line); background: rgba(73,214,193,.1) !important; }

.booking {
    background: linear-gradient(110deg, rgba(10,17,23,.94), rgba(16,24,32,.8)), url("tour-booking-bg.jpg") center / cover no-repeat !important;
}
.booking p { color: #c2cdd3 !important; }
.booking .form-control, .contact .form-control {
    border: 1px solid var(--moriti-line) !important;
    border-radius: 9px;
    background-color: #111b23 !important;
    color: var(--moriti-text) !important;
}
.booking .form-control::placeholder, .contact .form-control::placeholder { color: #85949e; }
.booking label, .contact label { color: var(--moriti-muted); }
.booking .form-control:focus, .contact .form-control:focus { border-color: var(--moriti-teal) !important; box-shadow: 0 0 0 3px rgba(73,214,193,.12); }
.contact-status { min-height: 1.6em; margin: 12px 0 0; font-size: .9rem; }
.contact-status[data-state="pending"] { color: var(--moriti-blue); }
.contact-status[data-state="success"] { color: var(--moriti-teal); }
.contact-status[data-state="error"] { color: var(--moriti-pink); }
.contact form button:disabled, .booking form button:disabled { cursor: wait; opacity: .7; }
.contact .text-center h4, .contact h3 { color: var(--moriti-text) !important; }
.contact iframe { border: 1px solid var(--moriti-line); filter: grayscale(.85) invert(.9) hue-rotate(160deg); }
.subscribe {
    position: relative;
    overflow: hidden;
    background: linear-gradient(100deg, rgba(11,19,25,.92), rgba(16,24,32,.78)), url("subscribe-img.jpg") center / cover no-repeat !important;
}
.subscribe .container { position: relative; z-index: 1; }
.subscribe .text-white { color: var(--moriti-text) !important; }
.footer { border-top: 1px solid var(--moriti-line); background: #0c1319 !important; }
.footer > .container > .row.g-5 {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: start;
    gap: 36px;
    margin: 0;
}
.footer > .container > .row.g-5 > [class*="col-"] { width: auto; max-width: none; padding: 0; }
.footer .footer-brand p { max-width: 290px; }
.footer .footer-logo { display: inline-block; width: fit-content; margin-bottom: 16px; }
.footer .footer-logo img { width: 122px; height: auto; object-fit: contain; }
.footer .footer-item h4 { color: var(--moriti-text) !important; }
.footer .footer-item p { color: var(--moriti-muted); }
.footer .footer-item a { color: var(--moriti-muted); }
.footer .footer-item a:hover { color: var(--moriti-teal) !important; }
.copyright { border-top: 1px solid var(--moriti-line); background: #0c1319 !important; color: var(--moriti-muted) !important; }
.copyright a { color: var(--moriti-text) !important; }
.copyright-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-block: 18px;
    color: var(--moriti-muted);
    font-size: .82rem;
}
.copyright-inner a { color: var(--moriti-text); }
.copyright-inner a:hover { color: var(--moriti-teal); }
.back-to-top { border: 1px solid var(--moriti-line) !important; }
.social-float {
    position: fixed;
    z-index: 1000;
    top: 50%;
    right: 12px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transform: translateY(-50%);
}
.social-float__icon {
    display: grid;
    width: 46px;
    height: 46px;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 14px 0 0 14px;
    background: rgba(23,35,45,.96);
    box-shadow: 0 8px 24px rgba(0,0,0,.26);
    color: var(--moriti-text);
    font-size: 1.15rem;
}
.social-float__icon:hover { transform: translateX(-4px); color: white; }
.social-float__icon--facebook { color: var(--moriti-blue); }
.social-float__icon--tiktok { color: var(--moriti-pink); }
.social-float__icon--whatsapp { color: #51d98b; }

@keyframes moriti-drift {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-14px) rotate(5deg); }
}
@media (max-width: 991.98px) {
    .navbar-collapse { padding: 8px 18px 18px; border: 1px solid var(--moriti-line); border-radius: 0 0 12px 12px; background: var(--moriti-panel); }
    .navbar-light .navbar-nav .nav-link { padding: 10px 0; }
    .nav-wrap { min-height: 74px; flex-wrap: wrap; gap: 12px; }
    .menu-toggle { display: block; margin-left: auto; }
    .nav-links { display: none; order: 3; width: 100%; align-items: stretch; flex-direction: column; gap: 0; padding: 2px 0 16px; }
    .nav-links.is-open { display: flex; }
    .nav-links .nav-link { padding: 11px 8px; }
    .nav-links .nav-contact { min-height: 44px; margin-top: 6px; }
    .carousel-header .carousel-inner .carousel-item, .carousel-header .carousel-inner .carousel-item img { min-height: 560px; }
    .carousel-header .carousel-caption > div { margin-left: 0; }
}
@media (max-width: 767.98px) {
    body::before { left: 4px; font-size: 1.4rem; }
    body::after { right: 5px; font-size: 1.4rem; }
    .navbar { min-height: 72px; }
    .navbar.sticky-top.navbar-light { position: sticky !important; }
    .nav-wrap { width: calc(100% - 36px); }
    .brand img { width: 94px; }
    .navbar-light .navbar-brand img, nav > img[alt="Logo"] { max-width: 104px; height: 58px !important; }
    .bg-breadcrumb { min-height: 220px; }
    .carousel-header .carousel-inner .carousel-item, .carousel-header .carousel-inner .carousel-item img { min-height: 530px; }
    .carousel-header .carousel-caption h1 { font-size: clamp(2.5rem, 10vw, 4rem); }
    .about .row.align-items-center > [style*="background"] { padding: 23px; }
    .about .h-100 img { min-height: 280px; }
    .service-content-inner { padding: 18px !important; }
    .footer .g-5 { --bs-gutter-y: 2rem; }
    .footer > .container > .row.g-5 { grid-template-columns: 1fr; gap: 24px; }
    .copyright-inner { flex-direction: column; align-items: center; text-align: center; }
    .social-float { right: 5px; gap: 8px; }
    .social-float__icon { width: 40px; height: 42px; }
}
@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
