@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');


/*=================================================================
                            Background
==================================================================*/
body,
body.theme-lumapps {
  font-family: "Lato", sans-serif;
  background-color: #FFFFFF !important;
}

/* Page Titles */
.widget--shared-titre-page .block-title,
.widget--shared-titre-page-fonce .widget-title__title {
    font-size: 42px !important;
    font-weight: 400 !important;
}

/* Fixed Images */
.component-row--row-links,
.component-row--row-fixed{
    background-attachment: fixed !important; /* Makes the background fixed */
    background-repeat: no-repeat !important; /* Prevents repeating */   
    position: relative;
    overflow: hidden;    
}

/*=================================================================
                        Main Navigation
==================================================================*/
.main-nav-item__label {
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-top: 4px;
  padding-bottom: 4px;
  background-image: linear-gradient(white, white);
  background-size: 0% 2px;
  background-repeat: no-repeat;
  background-position: center bottom;
  transition: background-size 0.3s ease;
}
.main-nav-item__label:hover {
  background-size: 100% 2px;
}
.main-nav__root > li:last-child {
  margin-left: auto;
  background-color: #EA2D33 !important;
}

/*=================================================================
                Fixed Background all pages
==================================================================*/
.component-row--fix-row {
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;  
}

/*=================================================================
                    Background Home
==================================================================*/
.component-row--gradient-background {
  position: relative;
  background-color: rgb(251, 250, 246);
  overflow: hidden;
}
.component-row--gradient-background::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url(https://skema.app.lumapps.com/serve/2203391860943635-2253425523651785/gradient_background_V3.svg?contentDisposition=inline);
  background-size: cover;
  background-repeat: no-repeat;
  background-attachment: fixed;
  z-index: 0;
}
.component-row--gradient-background > * {
  position: relative;
  z-index: 1;
}

/*=================================================================
                      Alert Message
==================================================================*/
.widget--shared-alert-message .block-page-preview__title {
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    height: 40px;
    padding: 10px 0;
}
.widget--shared-alert-message .block-page-preview__link {
    position: absolute;
    display: flex;
    align-items: center;
    top: 50%;
    transform: translateY(-50%);
    gap: 8px;
    white-space: nowrap;
    animation: smooth-scroll 20s linear infinite;
    left: 0; /* Start aligned to left edge */
}
/* Text styling */
.widget--shared-alert-message .block-page-preview__link span {
    font-size: 18px !important;
}
/* Icon inside a perfectly centered circular background */
.widget--shared-alert-message .block-page-preview__link::before {
    content: "";
    display: inline-block;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background-image: url("https://skema.app.lumapps.com/serve/2203391860943635-3914223590223333/warning_circle.svg?contentDisposition=inline");
    background-size: 70%;
    background-repeat: no-repeat;
    background-position: center;
}
/* Smooth scroll animation from right to left */
@keyframes smooth-scroll {
    0% {
        transform: translateX(100%) translateY(-50%);
    }
    100% {
        transform: translateX(-100%) translateY(-50%);
    }
}

/*=================================================================
                          Widget Footers
==================================================================*/
.widget-footer__wrapper {
  text-transform: uppercase !important;
  outline: 2px solid transparent !important;
  outline-offset: 0px !important;
  transition: outline-color 0.5s ease, outline-offset 0.5s ease !important;
}
.widget-footer__wrapper:hover {
  outline-color: #212529 !important;
  outline-offset: 4px !important;
}
/* Only on dark widgets */
.widget--shared-widget-fonce .widget-footer__wrapper:hover {
  outline-color: #FBFAF6 !important;
}

/*=================================================================
                       Widget Content Tags
==================================================================*/
.widget-content .block-page-preview__tags,
.widget-content .lumx-tabs__link .lumx-text {
  text-transform: uppercase !important;
}

/*=================================================================
                      Homepage Bouton 01
==================================================================*/
.widget--shared-bouton-01 {
  background-color: rgba(255, 255, 255, 0.8) !important;
  position: relative;
  outline: 2px solid transparent;
  outline-offset: 0px;
  transition: outline-color 0.5s ease, outline-offset 0.5s ease !important;
  z-index: 1;
}
.widget--shared-bouton-01:hover {
  background-color: rgba(255, 255, 255) !important;
  outline-color: #FFFFFF;
  outline-offset: 4px;
}
.widget--shared-bouton-01 .lelab-marketplace-button-image {
  width: 48px;
  height: 100%;
  transition: transform 0.5s ease;
}
.widget--shared-bouton-01:hover .lelab-marketplace-button-image {
  transform: rotate(45deg);
}
.widget--shared-bouton-01 .lumx-typography-title {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 18px !important;
  text-align: center;
}

/*=================================================================
                      Homepage Bouton 02
==================================================================*/
.widget--shared-bouton-02 {
  position: relative;
  outline: 2px solid transparent;
  outline-offset: 0px;
  transition: outline-color 0.5s ease, outline-offset 0.5s ease !important;
  z-index: 1;
}
.widget--shared-bouton-02:hover {
  outline-color: #E42D33;
  outline-offset: 4px;
}
.widget--shared-bouton-02 .lelab-marketplace-button-image {
  width: 48px;
  height: 100%;
  transition: transform 0.5s ease;
}
.widget--shared-bouton-02:hover .lelab-marketplace-button-image {
  transform: rotate(45deg);
}
.widget--shared-bouton-02 .lumx-typography-title {
  text-transform: uppercase;
  font-weight: 600;
  font-size: 14px !important;
  text-align: center;
}

/*=================================================================
                  Content List v2 + v3 (rounded corners)
==================================================================*/
.widget--shared-widget-transparent-no-padding .lumx-thumbnail__image {
  border-radius: 15px !important;
}

/*=================================================================
                  SkemAgenda
==================================================================*/
/* Categories */
.widget--shared-widget-skemagenda .block-page-preview--theme-light .block-page-preview__excerpt  {
  color: #EA2D33 !important;
  border-radius: 15px;
  width: fit-content;
  font-size: 28px !important;
  font-weight: 900 !important;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.widget--shared-widget-skemagenda .lumx-link__content {
  font-size: 16px !important;
}
.widget--shared-widget-skemagenda .block-list--grouped>.block-list__item {
  background-color: #ffffff;
  padding: 12px 24px;
  border-radius: 15px;
  border: 1px solid #e2e2e2;
}
.widget--shared-widget-skemagenda .lumx-divider--theme-light {
  display: none !important;
}

/*=================================================================
                            Footer
==================================================================*/
.skema-footer {
  background: #212529;
  padding: 40px 0 16px;
  text-align: center;
  color: #ffffff;
}
.skema-footer-container {
  max-width: 1200px;
  margin: 0 auto;
}
/* === Social Media Icons (from V1) === */
.skema-footer-social {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.skema-footer-social a {
  position: relative;
  display: inline-block;
  overflow: hidden;
  border-radius: 50%;
  padding: 5px;
  transition: transform 0.4s ease-in-out, background-color 0.4s ease-in-out;
}
.skema-footer-social a img {
  width: 30px;
  height: 30px;
  display: block;
  transition: transform 0.3s ease, filter 0.3s ease;
}
/* Glowing border on hover */
.skema-footer-social a::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120%;
  height: 120%;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(255,255,255,0.3), rgba(255,255,255,0.6));
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
  transform: translate(-50%, -50%) scale(0);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  z-index: -1;
}
.skema-footer-social a:hover {
  background-color: rgba(255, 255, 255, 0.1);
  transform: rotate(10deg) scale(1.1);
}
.skema-footer-social a:hover img {
  transform: scale(1.2);
  filter: brightness(1.3);
}
.skema-footer-social a:hover::before {
  transform: translate(-50%, -50%) scale(1);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
  50% {
    box-shadow: 0 0 30px rgba(255, 255, 255, 1);
  }
  100% {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
  }
}
/* === Footer Links === */
.skema-footer-links ul {
  width: 100%;
  margin: 1% 0;
  padding: 0.6% 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  padding-left: 0;
}
.skema-footer-links ul li {
  display: inline-block;
}
.skema-footer-links a {
  color: #ffffff !important;
  text-decoration: none;
  font-size: 0.8em;
  transition: 0.5s;
}
.skema-footer-links a:hover {
  opacity: 0.4;
}
/* === Copyright === */
.skema-footer-copy {
  width: 100%;
  margin: 1% 0;
  padding: 0.6% 0;
  font-size: 0.8em;
  color: #ffffff;
}
/* === Responsive === */
@media (max-width: 720px) {
  .skema-footer {
    text-align: left;
    padding: 5%;
  }
  .skema-footer-links ul {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .skema-footer-links ul li {
    display: block;
    margin: 10px 0;
  }
  .skema-footer-social {
    justify-content: flex-start;
    gap: 8px;
  }
  .skema-footer-social a img {
    width: 24px;
    height: 24px;
  }
  .skema-footer-copy {
    text-align: left;
  }
}
