/**
 * GVA Partners - CSS Externe
 * 
 * 4 Styles de partenaires avec effets hover
 * Compatible Bootstrap 5
 */

/* ============================================
   VARIABLES COULEURS
   ============================================ */
:root {
   --c-blue:   #5a9bd4;
   --c-cyan:   #4ac5ea;
   --c-green:  #8cc540;
   --c-orange: #f69646;
   --c-purple: #7e6bc4;
   --c-red:    #c1504d;
}

/* ============================================
   COMMUN
   ============================================ */
.gva-partners-wrapper {
   padding: 40px 0;
}

.gva-partners-wrapper .mock-logo {
   max-width: 160px;
   max-height: 100px;
   object-fit: contain;
   transition: 0.3s;
}

.text-c-blue { color: var(--c-blue); }
.text-c-cyan { color: var(--c-cyan); }
.text-c-green { color: var(--c-green); }
.text-c-orange { color: var(--c-orange); }
.text-c-purple { color: var(--c-purple); }
.text-c-red { color: var(--c-red); }

/* ============================================
   STYLE 1 : LIGHT GLASS
   ============================================ */
.light-glass-style .light-card {
   background: #ffffff;
   border-radius: 20px;
   height: 300px;
   position: relative;
   overflow: hidden;
   box-shadow: 0 10px 30px rgba(0,0,0,0.03);
   transition: all 0.4s ease;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   border: 1px solid #f1f1f1;
   text-decoration: none;
   color: inherit;
}

.light-glass-style .border-blue { border-bottom: 4px solid var(--c-blue); }
.light-glass-style .border-cyan { border-bottom: 4px solid var(--c-cyan); }
.light-glass-style .border-green { border-bottom: 4px solid var(--c-green); }
.light-glass-style .border-orange { border-bottom: 4px solid var(--c-orange); }
.light-glass-style .border-purple { border-bottom: 4px solid var(--c-purple); }
.light-glass-style .border-red { border-bottom: 4px solid var(--c-red); }

.light-glass-style .light-card:hover { 
   transform: translateY(-10px); 
   box-shadow: 0 20px 40px rgba(0,0,0,0.08); 
}

.light-glass-style .logo-box { 
   transition: 0.5s; 
   padding: 20px; 
   text-align: center; 
}

.light-glass-style .light-card:hover .logo-box { 
   transform: translateY(-50px) scale(0.9); 
}

.light-glass-style .light-overlay {
   position: absolute;
   bottom: -100%;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(255, 255, 255, 0.95);
   backdrop-filter: blur(5px);
   padding: 30px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;
   transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.light-glass-style .light-card:hover .light-overlay { 
   bottom: 0; 
}

.light-glass-style .d-title { 
   font-weight: 800; 
   text-transform: uppercase; 
   margin-bottom: 10px; 
   font-size: 1rem; 
}

.light-glass-style .d-text { 
   font-size: 0.9rem; 
   color: #666; 
   line-height: 1.4; 
}

/* ============================================
   STYLE 2 : FOCUS & BLUR
   ============================================ */
.focus-blur-style .focus-card {
   background: white;
   border-radius: 20px;
   height: 280px;
   position: relative;
   display: flex;
   align-items: center;
   justify-content: center;
   box-shadow: 0 5px 15px rgba(0,0,0,0.03);
   border: 1px solid #eee;
   overflow: hidden;
   transition: 0.4s;
   cursor: pointer;
   text-decoration: none;
   color: inherit;
}

.focus-blur-style .focus-bg-logo {
   transition: 0.5s ease;
   filter: grayscale(100%);
   opacity: 0.8;
   transform: scale(1);
}

.focus-blur-style .focus-text-wrapper {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: rgba(255, 255, 255, 0.85);
   display: flex;
   flex-direction: column;
   justify-content: center;
   align-items: center;
   text-align: center;
   opacity: 0;
   transform: scale(0.9);
   transition: 0.4s ease;
   padding: 20px;
}

.focus-blur-style .focus-card:hover { 
   box-shadow: 0 15px 30px rgba(0,0,0,0.08); 
}

.focus-blur-style .focus-card:hover .focus-bg-logo {
   filter: blur(8px) grayscale(0%);
   transform: scale(1.3);
   opacity: 0.4;
}

.focus-blur-style .focus-card:hover .focus-text-wrapper {
   opacity: 1;
   transform: scale(1);
}

.focus-blur-style .focus-card h5 {
   font-weight: bold;
   margin-bottom: 10px;
}

.focus-blur-style .focus-card p {
   font-size: 0.9rem;
   color: #666;
}

/* ============================================
   STYLE 3 : LUMINOUS SLIDE
   ============================================ */
.luminous-slide-style .luminous-card {
   background: white;
   border-radius: 24px;
   height: 280px;
   position: relative;
   overflow: hidden;
   border: 1px solid transparent;
   transition: 0.4s;
   cursor: pointer;
   box-shadow: 0 5px 15px rgba(0,0,0,0.04);
   text-decoration: none;
   color: inherit;
}

.luminous-slide-style .luminous-logo {
   position: absolute;
   top: 50%;
   left: 50%;
   transform: translate(-50%, -50%);
   transition: 0.5s;
   filter: grayscale(100%);
}

.luminous-slide-style .luminous-panel {
   position: absolute;
   bottom: -100%;
   left: 0;
   width: 100%;
   background: white;
   padding: 25px;
   border-top: 1px solid #f0f0f0;
   transition: 0.5s ease;
   z-index: 2;
}

.luminous-slide-style .hover-blue:hover { 
   border-color: var(--c-blue); 
   box-shadow: 0 10px 30px rgba(90, 155, 212, 0.25); 
}
.luminous-slide-style .hover-cyan:hover { 
   border-color: var(--c-cyan); 
   box-shadow: 0 10px 30px rgba(74, 197, 234, 0.25); 
}
.luminous-slide-style .hover-green:hover { 
   border-color: var(--c-green); 
   box-shadow: 0 10px 30px rgba(140, 197, 64, 0.25); 
}
.luminous-slide-style .hover-orange:hover { 
   border-color: var(--c-orange); 
   box-shadow: 0 10px 30px rgba(246, 150, 70, 0.25); 
}
.luminous-slide-style .hover-purple:hover { 
   border-color: var(--c-purple); 
   box-shadow: 0 10px 30px rgba(126, 107, 196, 0.25); 
}
.luminous-slide-style .hover-red:hover { 
   border-color: var(--c-red); 
   box-shadow: 0 10px 30px rgba(193, 80, 77, 0.25); 
}

.luminous-slide-style .luminous-card:hover .luminous-logo { 
   filter: grayscale(0%); 
   top: 30%; 
   transform: translate(-50%, -50%) scale(0.9); 
}

.luminous-slide-style .luminous-card:hover .luminous-panel { 
   bottom: 0; 
}

.luminous-slide-style .luminous-panel h6 {
   font-weight: bold;
   margin-bottom: 8px;
}

.luminous-slide-style .luminous-panel p {
   font-size: 0.9rem;
   color: #666;
   margin-bottom: 0;
}

/* ============================================
   STYLE 4 : SIDE SLIDE
   ============================================ */
.side-slide-style .side-card {
   background: white;
   border-radius: 16px;
   height: 200px;
   position: relative;
   display: flex;
   overflow: hidden;
   border: 1px solid #eee;
   transition: 0.3s;
   box-shadow: 0 4px 10px rgba(0,0,0,0.03);
   cursor: pointer;
   text-decoration: none;
   color: inherit;
}

.side-slide-style .side-left {
   width: 100%;
   display: flex;
   align-items: center;
   justify-content: center;
   transition: 0.5s cubic-bezier(0.25, 1, 0.5, 1);
}

.side-slide-style .side-right {
   position: absolute;
   right: 0;
   top: 0;
   bottom: 0;
   width: 65%;
   background: #fdfdfd;
   border-left: 1px solid #eee;
   padding: 20px;
   display: flex;
   flex-direction: column;
   justify-content: center;
   transform: translateX(100%);
   transition: 0.5s;
}

.side-slide-style .side-card:hover { 
   box-shadow: 0 10px 20px rgba(0,0,0,0.08); 
}

.side-slide-style .side-card.s-blue:hover { border-left: 5px solid var(--c-blue); }
.side-slide-style .side-card.s-cyan:hover { border-left: 5px solid var(--c-cyan); }
.side-slide-style .side-card.s-green:hover { border-left: 5px solid var(--c-green); }
.side-slide-style .side-card.s-orange:hover { border-left: 5px solid var(--c-orange); }
.side-slide-style .side-card.s-purple:hover { border-left: 5px solid var(--c-purple); }
.side-slide-style .side-card.s-red:hover { border-left: 5px solid var(--c-red); }

.side-slide-style .side-card:hover .side-left { 
   width: 35%; 
   background: #fff; 
}

.side-slide-style .side-card:hover .side-left .mock-logo { 
   transform: scale(0.7); 
   filter: grayscale(100%); 
}

.side-slide-style .side-card:hover .side-right { 
   transform: translateX(0); 
}

.side-slide-style .side-right h6 {
   font-weight: bold;
   margin-bottom: 8px;
}

.side-slide-style .side-right p {
   font-size: 0.9rem;
   color: #666;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
   .light-glass-style .light-card,
   .focus-blur-style .focus-card,
   .luminous-slide-style .luminous-card {
      height: 250px;
   }
   
   .side-slide-style .side-card {
      height: 180px;
   }
   
   .gva-partners-wrapper .mock-logo {
      max-width: 100px;
      max-height: 60px;
   }
}

/*  ========================================
   RTL SUPPORT
   ======================================== */
html[lang="ar"] .side-slide-style .side-card:hover .side-right {
    transform: translateX(0);
    left: 0;
    right: 140px;
    border-right: 1px solid #eee;
    border-left: 0;
}
html[lang="ar"] .side-slide-style .side-card.s-blue:hover { border-right: 5px solid var(--c-blue);border-left: 0; }
html[lang="ar"] .side-slide-style .side-card.s-cyan:hover { border-right: 5px solid var(--c-cyan);border-left: 0; }
html[lang="ar"] .side-slide-style .side-card.s-green:hover { border-right: 5px solid var(--c-green);border-left: 0; }
html[lang="ar"] .side-slide-style .side-card.s-orange:hover { border-right: 5px solid var(--c-orange);border-left: 0; }
html[lang="ar"] .side-slide-style .side-card.s-purple:hover { border-right: 5px solid var(--c-purple);border-left: 0; }
html[lang="ar"] .side-slide-style .side-card.s-red:hover { border-right: 5px solid var(--c-red);border-left: 0; }