/* ===============================
   Import styles
   - manage and organize CSS imports in the project.
   =============================== */
   @import url(imports.css);

/* ===============================
   Fonts
   - Defines custom fonts used in the project.
   =============================== */
   /* @font-face {
    font-family: "HacenMaghrebBdReg";
    src: url(../fonts/Hacen-Maghreb-Bd-reg.ttf);
} */
/* End Fonts */


/*=============================================================
     GLOBAL RESET & BASE STYLES
=============================================================*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    /* overflow-x: hidden; */
}


body {
    font-family: "Outfit", sans-serif;
    line-height: 1.7;
    /* color: var(--text-dark);
    background-color: var(--white); */
    direction: ltr;
    text-align: left;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

a:hover {
    text-decoration: none;
    color: var(--accent-color);
}

ul, ol {
    list-style: none;
    margin: 0;
    padding: 0;
}

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    font-weight: var(--font-weight-bold);
    line-height: 1.3;
}

p {
    margin: 0;
}

button {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: var(--font-primary);
}



/* --------------------------------------------------------------------------------------------- */




.show_on_mobile{display:none !important}
@media (max-width: 991px) {
.show_on_mobile{display:block !important}
.show_on_desktop{display:none !important}
nav.navbar:hover {background:transparent;}
.hide_on_mobile {display:none !important}

}

:root {
  --bg-light: #F5F5F7;
  --text-dark: #1D1D1F;
  --text-muted: #86868B;
  --glide-blue: #155DFC;
  --card-bg: #FFFFFF;
}

/* Menu Trigger Hamburger button */
.mobile-menu-trigger {
  background: none;
  border: none;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 10px;
}
.mobile-menu-trigger span {
  display: block;
  width: 28px;
  height: 2px;
  background-color: #000;
  transition: 0.3s;
}

/* Full screen Container */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  right: -100%; /* Hidden off-screen right */
  width: 100%;
  height: 100%;
  background-color: var(--bg-light);
  z-index: 9999;
  transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav-overlay.open {
  right: 0;
}

.mobile-nav-container {
  position: relative;
  width: 100%;
  height: 100%;
  padding: 30px 24px 140px 24px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Dynamic Panel Positioning Mechanism */
.nav-panel {
  position: absolute;
  top: 30px;
  left: 100%;
  width: calc(100% - 48px);
  height: calc(100% - 160px);
  opacity: 0;
  visibility: hidden;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s, visibility 0.3s;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}
.nav-panel.active {
  left: 24px;
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.nav-panel.slide-left {
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
}

/* Universal Top Buttons */
.menu-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #E8E8ED;
  border: none;
  font-size: 20px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}
.back-btn {
  background: none;
	display:flex;
  border: none;
  color: var(--text-dark);
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  align-self: flex-start;
  margin-bottom: 24px;
  padding: 0;
}

/* Typography styles */
.panel-header-brand {margin-bottom: 21px;padding-bottom: 25px;border-bottom: 1px solid #CCCCD352;}
.brand-logo { height: 28px; }
.panel-title { font-size: 32px; font-weight: 800; color: var(--text-dark); margin: 0 0 4px 0; }
.panel-subtitle { font-size: 16px; color: var(--text-muted); margin: 0 0 24px 0; }

/* PANEL 1: List Elements */
.main-menu-links { list-style: none; padding: 0; margin: 0 0 32px 0; }
.main-menu-links li {
  padding: 14px 16px;
  margin-bottom: 3px;
  border-radius: 14px;
  font-size: 17px;
  font-weight: 500;
  color: var(--text-dark);
  cursor: pointer;
}
.main-menu-links li a { text-decoration: none; color: inherit; display: block; }
.main-menu-links li.has-submenu {
  background-color: #EEEEF0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.arrow-icon { font-size: 14px; color: var(--text-dark); }

/* Banner Card Style */
.featured-banner-card {
  border-radius: 20px;
  padding: 20px;
  background-size: cover;
  background-position: center;
  color: #FFFFFF;
  margin-top: auto;
  min-height: 179px;
  position: relative;
  background-repeat: no-repeat;
}
.featured-banner-card::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0, .3);
    border-radius: 20px;
}

.featured-banner-card * {
    position: relative;
}


.banner-badge {font-size: 12px;font-weight: 500;opacity: 0.8;margin-bottom: 8px;color: #63CEF5;    display: flex; gap: 5px;}
.featured-banner-card h3 { font-size: 20px; margin: 0 0 4px 0; font-weight: 700; }
.featured-banner-card p { font-size: 13px; opacity: 0.7; margin: 0 0 16px 0; }
.banner-btn {
  display: inline-block;
  background: #FFFFFF;
  color: #000000;
  padding: 8px 16px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
}
.banner-btn:hover{  background: #FFFFFF;
  color: #000000;}
/* PANEL 2: Category Selector Layout */
.category-list { display: flex; flex-direction: column; gap: 12px; }
.category-card {
  background: var(--card-bg);
  border-radius: 16px;
  padding: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(0,0,0,0.02);
}
.category-info h3 { font-size: 18px; font-weight: 700; color: var(--text-dark); margin: 0 0 4px 0; }
.category-info p { font-size: 13px; color: var(--text-muted); margin: 0; }
.chevron { font-size: 20px; color: #C7C7CC; }

/* PANEL 3: Submodel scroll items */
.submodels-scroll-container { display: flex; flex-direction: column; gap: 16px; padding-bottom: 20px; }
.model-product-card {
  /* background: linear-gradient(135deg, #E9EBF1 0%, #F1F3F7 100%); */
  border-radius: 24px;
  padding: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  background-size: cover;
  background-position-x: 102%;
}
.card-text { display: flex; flex-direction: column; z-index: 2; width: 55%; }
.model-title-row { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.model-title-row h3 { font-size: 28px; font-weight: 800; margin: 0; color: var(--text-dark); }
.new-badge {
  background: #46B6F7;
  color: #FFF;
  font-size: 10px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
}
.availability { font-size: 13px; font-weight: 600; color: var(--text-muted); display: flex; align-items: center; gap: 6px; margin: 0 0 2px 0; }
.availability .dot { width: 6px; height: 6px; background-color: #46B6F7; border-radius: 50%; }
.spec-text { font-size: 14px; color: var(--text-muted); margin: 0 0 24px 0; }
.explore-link { font-size: 14px; font-weight: 700; color: var(--text-dark); text-decoration: none; border-bottom: 1.5px solid var(--text-dark); align-self: flex-start; }

.card-img-wrapper { position: relative; width: 45%; display: flex; justify-content: center; align-items: center; }
/* .card-img-wrapper img { width: 140%; max-width: 190px; transform: scale(1.1) translateX(10px); object-fit: contain; } */
.arrow-circle-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  width: 32px;
  height: 32px;
  background: #FFFFFF;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08);
}

/* Fixed Global Panel Footer */
.mobile-menu-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-light);
  padding: 20px 24px;
  box-sizing: border-box;
  text-align: center;
  border-top: 1px solid rgba(0,0,0,0.03);
}
.social-links { display: flex; justify-content: center; gap: 24px; margin-bottom: 12px; }
.social-links img { height: 20px; opacity: 0.6; }
.copyright { font-size: 12px; color: var(--text-muted); margin: 0 0 16px 0; }
.home-indicator-bar { width: 140px; height: 5px; background-color: #C5C5C7; border-radius: 10px; margin: 0 auto; }

/* Ensure the image frame clips the scaling image */
.mega-img-frame {
    overflow: hidden !important;
    border-radius: 8px; /* Optional: adjust to match your design */
}

/* Base styles for smooth transition */
.mega-img-frame img {
    transition: transform 0.4s ease-in-out !important;
    will-change: transform !important;
}

/* Hover effect triggered by card hover */
.mega-product-card:hover .mega-img-frame img {
    transform: scale(1.08) !important;
}

/* ------------------------------------------------------------------------------------- */
/* ==========================================================================
   17. MINI PRE-FOOTER CALL TO ACTION BANNER (MOBILE FIXES)
   ========================================================================== */

@media (max-width: 767.98px) {
    /* Stack elements vertically and align everything to the left */
    .glide-mini-cta-section .row {
        flex-direction: column;
        align-items: flex-start !important;
    }

    .glide-mini-cta-section .col-12 {
        width: 100%;
        text-align: left !important;
    }

    /* Change content container from row to column layout */
    .glide-mini-cta-section .col-12.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 1rem !important;
    }

    /* Target title line breaks: enable forcing breaks on mobile for exact image wrap */
    .cta-primary-title {
        font-size: 2rem; /* Adjusted for mobile scale */
        line-height: 1.2;
    }

    .cta-primary-title br.d-none.d-sm-inline {
        display: inline !important; /* Force title to break on 'Experience the' */
    }

    /* Hide vertical accent line on mobile */
    .vertical-accent-line {
        display: none !important;
    }

    /* Clean spacing for supporting text wrapper */
    .cta-subtitle-divider-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    .cta-supporting-text {
        padding-inline-start: 0;
        font-size: 13px;
        line-height: 1.5;
    }

    /* Align button to start under text */
    .btn-explore-models {
        margin-top: 0.5rem;
    }
}




