/*
 * Marima Tours — canonical Stone theme
 * Loaded after the purchased theme styles so Marima branding remains centralized
 * and future vendor upgrades do not require editing large minified stylesheets.
 */
:root {
    --marima-stone-50: #fafaf9;
    --marima-stone-100: #f5f5f4;
    --marima-stone-200: #e7e5e4;
    --marima-stone-300: #d6d3d1;
    --marima-stone-400: #a8a29e;
    --marima-stone-500: #78716c;
    --marima-stone-600: #57534e;
    --marima-stone-700: #44403c;
    --marima-stone-800: #292524;
    --marima-stone-900: #1c1917;
    --marima-stone-950: #0c0a09;

    /* Adventure theme compatibility */
    --primary-color: var(--marima-stone-900);
    --heading-color: var(--marima-stone-950);
    --black: var(--marima-stone-950);
    --grayish-blue: var(--marima-stone-500);
    --btn-hover-bg: var(--marima-stone-950);
    --white: #ffffff;
    --bg-color1: var(--marima-stone-50);
    --bg-color2: #ffffff;
    --bg-color3: var(--marima-stone-950);
    --body-color: var(--marima-stone-600);
    --border-color1: var(--marima-stone-200);
    --border-color2: rgba(214, 211, 209, 0.55);
    --primary-color-opacity-low: rgba(28, 25, 23, 0.08);
    --primary-color-opacity-low2: rgba(28, 25, 23, 0.14);
    --shadow1: 0 12px 36px rgba(28, 25, 23, 0.08);
    --shadow2: 0 4px 12px rgba(28, 25, 23, 0.10);
    --shadow3: 0 2px 8px rgba(28, 25, 23, 0.10);
    --shadow4: 0 12px 35px rgba(28, 25, 23, 0.14);

    /* Relaxation theme compatibility (vendor misspelling retained intentionally). */
    --praimary-color: var(--marima-stone-900);
    --praimary-color-grb: 28, 25, 23;
    --secondary-color: var(--marima-stone-600);
    --tertiary-color: var(--marima-stone-400);
    --text-color-1: var(--marima-stone-950);
    --text-color-2: var(--marima-stone-600);
    --white-color: #ffffff;
    --white-color-rgb: 255, 255, 255;
    --bg-1: var(--marima-stone-50);
    --bg-2: var(--marima-stone-100);
    --bg-3: #ffffff;
    --bg-4: var(--marima-stone-50);
    --card-1: var(--marima-stone-100);
    --card-2: var(--marima-stone-50);
    --shadow-1: 0 12px 36px rgba(28, 25, 23, 0.08);
}

html {
    color-scheme: light;
}

body {
    color: var(--marima-stone-600);
    background: #ffffff;
}

::selection {
    color: #ffffff !important;
    background: var(--marima-stone-900) !important;
}

/* Brand marks */
.navbar-brand img,
.logo-box .logo img,
.sign-in-logo img,
.logo-container img,
.footer-logo img,
.nav-logo img {
    object-fit: contain;
}

.navbar-brand-adventure img,
.logo-box .logo img {
    max-height: 52px;
    width: auto;
}

.sign-in-logo img {
    max-height: 58px;
    width: auto;
}

/* Core controls */
.cmn-btn,
.cmn-btn2,
.cmn-btn3,
.btn-1,
.btn-2,
.multiple-search-btn,
.search-box .search-btn,
.navbar .navbar-toggler,
.navbar .cmn-btn-close {
    background-color: var(--marima-stone-900) !important;
    border-color: var(--marima-stone-900) !important;
}

.cmn-btn:hover,
.cmn-btn2:hover,
.cmn-btn3:hover,
.btn-1:hover,
.btn-2:hover,
.multiple-search-btn:hover,
.search-box .search-btn:hover {
    background-color: var(--marima-stone-950) !important;
    border-color: var(--marima-stone-950) !important;
}

input:focus,
textarea:focus,
select:focus,
.form-control:focus,
.form-select:focus {
    border-color: var(--marima-stone-500) !important;
    box-shadow: 0 0 0 .2rem rgba(120, 113, 108, .12) !important;
}

/* Navigation */
.header-top-section,
.header.active .navbar {
    background-color: var(--marima-stone-950) !important;
}

.navbar .navbar-nav .nav-link:hover,
.navbar .navbar-nav .nav-link.active,
.header.active .navbar .navbar-nav .nav-link:hover,
.header.active .navbar .navbar-nav .nav-link.active {
    color: var(--marima-stone-300) !important;
}

.navbar:not(.different) .navbar-nav .nav-link:hover,
.navbar:not(.different) .navbar-nav .nav-link.active {
    color: var(--marima-stone-900) !important;
}

/* Cards and neutral surfaces */
.card,
.package-box,
.destination-box,
.blog-box,
.search-result,
.profile-box .user-dropdown {
    border-color: var(--marima-stone-200) !important;
}

/* Dark theme uses the same Stone family instead of the vendor purple gradient. */
.dark-theme {
    --bg-color1: var(--marima-stone-950);
    --bg-color2: var(--marima-stone-900);
    --bg-color3: var(--marima-stone-800);
    --bg-color5: var(--marima-stone-900);
    --bg-color6: var(--marima-stone-950);
    --heading-color: #ffffff;
    --border-color1: var(--marima-stone-700);
}

.dark-theme .shape1,
.dark-theme .shape2,
.dark-theme .shape3,
.dark-theme .shape4,
.dark-theme .shape5 {
    background: linear-gradient(135deg, var(--marima-stone-700), var(--marima-stone-950)) !important;
}

/* Progress and small interactive accents */
a:hover,
.link-primary,
.text-primary,
.prgoress_indicator i {
    color: var(--marima-stone-700) !important;
}

@media (max-width: 575px) {
    .navbar-brand-adventure img,
    .logo-box .logo img {
        max-height: 42px;
    }
}
