/*--------------------------------------------------------------
  OPUX360 — Premium Footer Design
  Ajouter après premium-overrides.css
--------------------------------------------------------------*/

/* ============================================================
   FOOTER — Luxe Dark Edition
   ============================================================ */

.cs_footer.cs_style_1 {
  background: var(--premium-primary, #0d1b2a);
  border-top: none;
  position: relative;
  overflow: hidden;
}

/* Subtle gradient overlay */
.cs_footer.cs_style_1::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    radial-gradient(ellipse at 10% 90%, rgba(201, 162, 39, 0.06) 0%, transparent 50%),
    radial-gradient(ellipse at 90% 20%, rgba(201, 162, 39, 0.04) 0%, transparent 40%);
  pointer-events: none;
}

/* Top gold accent line */
.cs_footer.cs_style_1::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--premium-accent, #c9a227) 20%,
    var(--premium-accent, #c9a227) 80%,
    transparent 100%
  );
  opacity: 0.3;
}

/* ============================================================
   FOOTER MAIN CONTENT
   ============================================================ */

.cs_footer_main {
  position: relative;
  z-index: 1;
}

/* ============================================================
   BRAND SECTION
   ============================================================ */

.cs_footer_widget.cs_text_widget .cs_brand {
  margin-bottom: 1.5rem;
}

.cs_footer_widget.cs_text_widget .cs_brand img {
  filter: brightness(0) invert(1);
  opacity: 0.9;
  transition: opacity 0.4s ease;
}

.cs_footer_widget.cs_text_widget .cs_brand:hover img {
  opacity: 1;
}

.cs_footer_widget.cs_text_widget p {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  line-height: 1.75;
  max-width: 380px;
}

/* ============================================================
   WIDGET TITLES
   ============================================================ */

.cs_footer_widget_title {
  font-family: var(--font-body, 'Inter', sans-serif);
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--premium-accent, #c9a227);
  margin-bottom: 1.75rem;
  position: relative;
  display: inline-block;
}

/* Subtle underline accent */
.cs_footer_widget_title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 24px;
  height: 1px;
  background: var(--premium-accent, #c9a227);
  opacity: 0.5;
}

/* ============================================================
   FOOTER MENU LINKS
   ============================================================ */

.cs_footer_medu {
  padding: 0;
  margin: 0;
}

.cs_footer_medu li {
  list-style: none;
  margin-bottom: 0.875rem;
}

.cs_footer_medu li:last-child {
  margin-bottom: 0;
}

/* Non-link text (like address) */
.cs_footer_medu li:not(:has(a)) {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.9375rem;
}

.cs_footer_medu a {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.9375rem;
  font-weight: 400;
  text-decoration: none;
  position: relative;
  display: inline-block;
  padding-left: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
  white-space: nowrap;
}

/* Hover arrow indicator */
.cs_footer_medu a::before {
  content: '→';
  position: absolute;
  left: -1.25rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--premium-accent, #c9a227);
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_footer_medu a:hover {
  color: var(--premium-white, #fafaf8);
  padding-left: 1.25rem;
}

.cs_footer_medu a:hover::before {
  opacity: 1;
  left: 0;
}

/* ============================================================
   CONTACT INFO STYLING
   ============================================================ */

.cs_contact_widget .cs_footer_medu li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

/* Location dot */
.cs_contact_widget .cs_footer_medu li:first-child::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--premium-accent, #c9a227);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ============================================================
   FOOTER BOTTOM BAR
   ============================================================ */

.cs_footer_bottom {
  background: transparent !important;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 0 !important;
  padding: 1.5rem 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  position: relative;
  z-index: 1;
}

.cs_footer_text {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.35);
  font-weight: 400;
  letter-spacing: 0.02em;
}

/* ============================================================
   SOCIAL LINKS
   ============================================================ */

.cs_social_links.cs_style_1 {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.cs_social_links.cs_style_1 a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_social_links.cs_style_1 a .cs_social_icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_social_links.cs_style_1 a .cs_social_icon i {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.6);
  transition: all 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.cs_social_links.cs_style_1 a:hover {
  color: var(--premium-accent, #c9a227);
}

.cs_social_links.cs_style_1 a:hover .cs_social_icon {
  border-color: var(--premium-accent, #c9a227);
  background: rgba(201, 162, 39, 0.1);
}

.cs_social_links.cs_style_1 a:hover .cs_social_icon i {
  color: var(--premium-accent, #c9a227);
}

/* ============================================================
   DECORATIVE CORNER ELEMENT
   ============================================================ */

.cs_footer_main::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  border-right: 1px solid rgba(201, 162, 39, 0.1);
  border-top: 1px solid rgba(201, 162, 39, 0.1);
  pointer-events: none;
}

.cs_footer_main::after {
  content: '';
  position: absolute;
  bottom: 60px;
  left: 0;
  width: 120px;
  height: 120px;
  border-left: 1px solid rgba(201, 162, 39, 0.08);
  border-bottom: 1px solid rgba(201, 162, 39, 0.08);
  pointer-events: none;
}

/* ============================================================
   NEWSLETTER / CTA IN FOOTER (If Added Later)
   ============================================================ */

.cs_footer_newsletter {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2rem;
  margin-bottom: 3rem;
}

.cs_footer_newsletter input {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--premium-white, #fafaf8);
  padding: 0.875rem 1.25rem;
  font-size: 0.9375rem;
}

.cs_footer_newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

.cs_footer_newsletter input:focus {
  border-color: var(--premium-accent, #c9a227);
  outline: none;
}

/* ============================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================ */

@media (max-width: 991px) {
  .cs_footer_main::before,
  .cs_footer_main::after {
    display: none;
  }
  
  .cs_footer_widget_title {
    margin-bottom: 1.25rem;
  }
  
  .cs_footer_medu li {
    margin-bottom: 0.75rem;
  }
}

@media (max-width: 767px) {
  .cs_footer_bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  
  .cs_social_links.cs_style_1 {
    justify-content: center;
  }
  
  .cs_footer_widget.cs_text_widget p {
    max-width: 100%;
  }
}

/* ============================================================
   ANIMATION ON SCROLL
   ============================================================ */

.cs_footer_widget {
  opacity: 0;
  transform: translateY(20px);
  animation: footerFadeIn 0.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

.cs_footer_widget:nth-child(1) { animation-delay: 0.1s; }
.cs_footer_widget:nth-child(2) { animation-delay: 0.2s; }
.cs_footer_widget:nth-child(3) { animation-delay: 0.3s; }

@keyframes footerFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}