/* *****************************************************

    ** Custom Stylesheet **

    Any custom styling you want to apply should be
    defined here.

***************************************************** */

/* Custom CSS for Nexus Theme
 *
 * This file allows you to customize the theme colors and styles for the entire Nexus template.
 *
 * To customize colors:
 * - Replace the var() references with your own hex colors or other CSS values.
 * - For example, instead of --primary: #4b5563; use --primary: #your-color;
 * - You can also override any CSS properties here.
 */

:root {
    --white: #fff;

    /* Neutral shades */
    --neutral-50: #fbf9fa;
    --neutral-100: #f4f5f7;
    --neutral-200: #e4e4e7;
    --neutral-300: #d0d5dd;
    --neutral-400: #9ca3af;
    --neutral-500: #6b7280;
    --neutral-600: #4b5563;
    --neutral-700: #374151;
    --neutral-800: #1f2937;
    --neutral-900: #111827;
    --neutral-950: #030712;

    /* Neutral shades */
    /* define own pallet with brand colors */
    --primary-50: #fff1f1;
    --primary-100: #ffe0e0;
    --primary-200: #ffc6c6;
    --primary-300: #ff9f9f;
    --primary-400: #f36a6a;
    --primary-500: #db4040;
    --primary-600: #c73535;
    --primary-700: #a92c2c;
    --primary-800: #8c2828;
    --primary-900: #742626;
    --primary-950: #3f1111;

    /* Primary colors */
    /* Use shades from comments if `primary` colors use other colors, then neutral */
    --primary: var(--primary-500);          /* Maroc Hebergement red */
    --primary-lifted: var(--primary-600);
    --primary-accented: var(--primary-700);

    /* Secondary colors */
    --secondary: #38373c;
    --secondary-lifted: #2f2e33;
    --secondary-accented: #1f1f1f;

    /* Success colors */
    --success: #00a63e;
    --success-lifted: #008236;
    --success-accented: #016630;

    /* Info colors */
    --info: #155dfc;
    --info-lifted: #1447e6;
    --info-accented: #193cb8;

    /* Notice colors */
    --notice: #7f22fe;
    --notice-lifted: #7008e7;
    --notice-accented: #5d0ec0;

    /* Warning colors */
    --warning: #f54a00;
    --warning-lifted: #ca3500;
    --warning-accented: #9f2d00;

    /* Error colors */
    --error: #e7000b;
    --error-lifted: #c10007;
    --error-accented: #9f0712;

    /* Grayscale colors */
    --grayscale: var(--neutral-900);
    --grayscale-lifted: var(--neutral-800);
    --grayscale-accented: var(--neutral-700);

    /* Neutral colors */
    --neutral: var(--neutral-500);
    --neutral-lifted: var(--neutral-600);
    --neutral-accented: var(--neutral-700);

    /* Text neutral colors */
    --text-inverted: var(--white);
    --text-muted: var(--neutral-400);
    --text-lifted: var(--neutral-500);
    --text-accented: var(--neutral-600);
    --text: var(--neutral-900);

    /* Border neutral colors */
    --border-muted: var(--neutral-200);
    --border: var(--neutral-300);
    --border-lifted: var(--neutral-400);
    --border-accented: var(--neutral-600);

    /* Background neutral colors */
    --bg: var(--white);
    --bg-muted: var(--neutral-50);
    --bg-lifted: var(--neutral-100);
    --bg-accented: var(--neutral-200);
    --bg-inverted: var(--neutral-900);

    /* Additional colors */
    --yellow-200: #fff085;
    --yellow-300: #ffdf20;
    --teal-300: #46edd5;
    --teal-400: #00d5be;
    --emerald-300: #5ee9b5;
    --pink-400: #fb64b6;

    /* Additional custom properties */
    /* Font sizes */
    --text-xs: 0.625rem;
    --text-sm: 0.75rem;
    --text-md: 0.875rem;
    --text-lg: 1rem;

    /* Spacing */
    --outline-sm: 1px;
    --outline-md: 2px;
    --outline-lg: 3px;

    /* Rounding */
    --rounding-sm: 0.25rem;
    --rounding-md: 0.5rem;
    --rounding-lg: 0.75rem;

    /* Other */
    --letter-spacing: 0em;
    --disabled-opacity: 25%;
}

body {
    letter-spacing: 0;
    background-color: #edf1f2;
}

a,
.btn-link {
    color: var(--primary);
}

a:hover,
.btn-link:hover {
    color: var(--primary-accented);
}

.mh-brand-topbar {
    background: #fff;
    border-bottom: 1px solid #e7e7e7;
    color: #333;
    font-size: 0.875rem;
}

.mh-brand-topbar-inner {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
    min-height: 42px;
}

.mh-brand-contact,
.mh-brand-actions {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.mh-brand-contact span:first-child {
    color: #222;
    font-weight: 600;
}

.mh-brand-actions a {
    color: #333;
    font-weight: 500;
}

.mh-brand-actions a:hover {
    color: var(--primary);
    text-decoration: none;
}

.header .navbar.navbar-light {
    background: #fff;
}

.header .navbar-brand .logo-img,
.header .navbar-brand .mh-logo-img {
    max-height: 58px;
    width: auto;
}

.header .main-navbar-wrapper {
    background: #1f1f1f;
    border: 0;
}

.header .main-navbar-wrapper .navbar-nav .nav-link,
.header .main-navbar-wrapper .navbar-nav > li > a {
    color: #fff;
    font-weight: 600;
}

.header .main-navbar-wrapper .navbar-nav .nav-link:hover,
.header .main-navbar-wrapper .navbar-nav > li > a:hover,
.header .main-navbar-wrapper .navbar-nav .show > .nav-link,
.header .main-navbar-wrapper .navbar-nav .active > .nav-link {
    background: #444;
    color: #fff;
}

.btn-primary,
.bg-primary,
.badge-primary {
    background-color: var(--primary) !important;
    border-color: var(--primary) !important;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: var(--primary-lifted) !important;
    border-color: var(--primary-lifted) !important;
}

.text-primary {
    color: var(--primary) !important;
}

.mh-footer {
    background: #38373c;
    color: #eee;
    padding: 0;
}

.mh-footer-main {
    padding: 3rem 0 2.5rem;
}

.mh-footer-logo {
    display: block;
    height: auto;
    margin-bottom: 1.5rem;
    max-width: 180px;
}

.mh-footer-description {
    color: #e8e8e8;
    font-size: 0.925rem;
    line-height: 1.6;
    margin-bottom: 1.25rem;
    max-width: 24rem;
}

.mh-footer h5 {
    color: #fff;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.mh-footer h5::after {
    background: #cfcfcf;
    content: "";
    display: block;
    height: 2px;
    margin-top: 0.5rem;
    width: 40px;
}

.mh-footer a {
    color: #d9d9d9;
    display: block;
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: 0.65rem;
}

.mh-footer a:hover {
    color: var(--primary);
    text-decoration: none;
}

.mh-footer-social .list-inline-item {
    margin-right: 0.75rem;
}

.mh-footer-bottom {
    background: #f8f8f8;
    color: #444;
    font-size: 0.875rem;
    padding: 0.9rem 0;
}

.mh-footer-bottom-inner,
.mh-footer-meta {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: space-between;
}

.mh-payment-types {
    height: auto;
    max-width: 230px;
}

.mh-footer-bottom .btn-outline-light {
    border-color: #aaa;
    color: #333;
}

@media (max-width: 991px) {
    .mh-brand-topbar-inner,
    .mh-footer-bottom-inner,
    .mh-footer-meta {
        align-items: flex-start;
        flex-direction: column;
    }

    .header .navbar-brand .logo-img,
    .header .navbar-brand .mh-logo-img {
        max-height: 46px;
    }
}

@media (max-width: 575.98px) {
    #frmDomainHomepage,
    .home-domain-search,
    .home-domain-search .container {
        max-width: 100vw;
        overflow-x: hidden;
    }

    .home-domain-search .p-5 {
        overflow: hidden;
        padding-left: 0.75rem !important;
        padding-right: 0.75rem !important;
    }

    .home-domain-search h2 {
        font-size: 1.7rem;
        line-height: 1.2;
        overflow-wrap: break-word;
    }

    .home-domain-search .row.d-sm-none {
        margin-left: -0.35rem;
        margin-right: -0.35rem;
    }

    .home-domain-search .row.d-sm-none > [class*="col-"] {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .home-domain-search .btn {
        min-width: 0;
        padding-left: 0.75rem;
        padding-right: 0.75rem;
        white-space: normal;
    }

    .home-domain-search .btn-link.float-right {
        display: block;
        float: none !important;
        margin-top: 1rem;
        text-align: center;
    }
}
