/*
Theme Name: LandAfrique Custom Theme
Theme URI: https://yoursite.com
Author: Ezekiel
Author URI: https://yoursite.com
Description: Custom theme for LandAfrique with Elementor support
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: landafrique
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

/* Apply Inter font globally */
body {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    "Helvetica Neue",
    Arial,
    sans-serif;
}

/* Your custom styles will go here */

/* Header Styles - Transparent to White on Scroll */

#site-header {
  position: fixed !important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  padding: 20px 0;
  transition: all 0.3s ease-in-out;
  background-color: transparent !important;
  border-bottom: none !important;
}

/* Transparent state (before scroll) */
#site-header.transparent-header {
  background-color: transparent !important;
  background: transparent !important;
  box-shadow: none !important;
  border-bottom: none !important;
}

/* Ensure header inner elements are also transparent */
#site-header.transparent-header .container,
#site-header.transparent-header > div {
  background-color: transparent !important;
  background: transparent !important;
}

#site-header.transparent-header .site-branding h1,
#site-header.transparent-header .site-branding a {
  color: #ffffff;
}

#site-header.transparent-header .primary-menu li a {
  color: #ffffff;
}

/* White state (after scroll) */
#site-header.scrolled {
  background-color: #ffffff !important;
  background: #ffffff !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
  padding: 15px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#site-header.scrolled .site-branding h1,
#site-header.scrolled .site-branding a {
  color: #1a1a1a;
}

#site-header.scrolled .primary-menu li a {
  color: #1a1a1a;
}

/* Container styles */
#site-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo/Branding styles */
.site-branding {
  display: flex;
  align-items: center;
}

/* Logo container */
.site-branding .custom-logo-link {
  display: inline-block;
  position: relative;
}

/* Both logos should be positioned in the same space */
.site-branding .logo-transparent,
.site-branding .logo-white {
  max-height: 60px;
  width: auto;
  transition:
    opacity 0.3s ease,
    max-height 0.3s ease;
  display: block;
}

/* Position white logo on top of transparent logo */
.site-branding .logo-white {
  position: absolute;
  top: 0;
  left: 0;
}

/* Show/Hide logic for transparent state */
#site-header.transparent-header .logo-transparent {
  opacity: 1;
}

#site-header.transparent-header .logo-white {
  opacity: 0;
}

/* Show/Hide logic for scrolled (white background) state */
#site-header.scrolled .logo-transparent {
  opacity: 0;
}

#site-header.scrolled .logo-white {
  opacity: 1;
}

/* Adjust logo size when scrolled */
#site-header.scrolled .site-branding .logo-transparent,
#site-header.scrolled .site-branding .logo-white {
  max-height: 50px;
}

.site-branding h1 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  transition: color 0.3s ease;
}

/* Navigation styles */
#site-navigation {
  display: flex;
  align-items: center;
}

.primary-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 30px;
}

.primary-menu ul {
  list-style: none;
  display: flex;
  gap: 30px;
}

.primary-menu li {
  margin: 0;
  position: relative;
}

.primary-menu li a {
  text-decoration: none;
  font-size: 16px;
  font-weight: 300;
  padding: 8px 0;
  transition: all 0.3s ease;
  display: block;
  position: relative;
}

/* Hover effect for menu items */
.primary-menu li a::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: currentColor;
  transition: width 0.3s ease;
}

.primary-menu li a:hover::after {
  width: 100%;
}

/* Responsive styles */
@media (max-width: 768px) {
  #site-header .container {
    flex-direction: column;
    gap: 15px;
  }

  .primary-menu {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }

  body {
    padding-top: 150px;
  }
}

/* ================================================
   FOOTER STYLES
   ================================================ */

.site-footer {
  position: relative;
  min-height: 100vh;
  background-image: url("http://landafriquegroup.com/wp-content/uploads/2026/02/footer-bg.png"); /* Update with your image path */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

/* Add overlay if needed */
.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.4); /* Adjust darkness */
  z-index: 1;
}

.footer-container {
  position: relative; /* Creates positioning context for absolute children */
  z-index: 2;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: calc(100vh - 100px);
}

/* ================================================
   CONTACT CARD
   ================================================ */

.footer-contact-card {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 20px;
  padding: 50px 60px;
  margin-bottom: auto;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-card-content {
  display: flex;
  justify-content: space-between;
  gap: 80px;
}

.contact-left {
  flex: 1;
  max-width: 400px;
}

.footer-logo {
  height: 50px;
  width: auto;
  margin-bottom: 20px;
}

.contact-text {
  font-size: 18px;
  line-height: 1.6;
  color: #666;
  margin-bottom: 30px;
}

.btn-get-in-touch {
  display: inline-block;
  padding: 12px 30px;
  border: 2px solid #333;
  color: #333;
  text-decoration: none;
  border-radius: 8px;
  font-weight: 500;
  transition: all 0.3s ease;
}

.btn-get-in-touch:hover {
  background: #333;
  color: #fff;
}

.contact-right {
  display: flex;
  gap: 100px;
}

.footer-column {
  min-width: 180px;
}

.footer-heading {
  font-size: 16px;
  font-weight: 600;
  color: #333;
  margin-bottom: 20px;
  text-align: right;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  text-align: right;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: #666;
  text-decoration: none;
  font-size: 15px;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #333;
}

/* ================================================
   HERO TEXT - MARQUEE SLIDING TEXT
   ================================================ */

.footer-hero {
  position: absolute;
  bottom: 80px;
  left: 0;
  right: 0;
  z-index: 2;
  pointer-events: none;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.footer-hero-track {
  display: inline-block;
  animation: marquee 20s linear infinite;
}

.footer-hero-text {
  display: inline-block;
  font-size: clamp(40px, 8vw, 120px);
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  line-height: 1;
  margin: 0;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

.footer-bottom {
  position: absolute; /* Absolute positioning within footer */
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: transparent;
  padding: 20px;
}

.footer-bottom-content {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.copyright {
  color: #fff;
  font-size: 14px;
  margin: 0;
}

.social-links {
  display: flex;
  gap: 20px;
}

.social-links a {
  color: #fff;
  font-size: 20px;
  transition: opacity 0.3s ease;
}

.social-links a:hover {
  opacity: 0.7;
}

.footer-divider {
  border: none;
  border-top: 1px solid rgba(255, 255, 255, 0.3);
  margin: 0 0 15px 0;
}

/* =============================================
   LandAfrique Team Section – Custom CSS
   Paste into: Elementor > Custom CSS
   OR Appearance > Customize > Additional CSS
   ============================================= */

/* Frosted glass info bar */
.team-info-bar {
  margin: 0 10px;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border-radius: 12px;
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

/* Name + arrow row */
.tib-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 6px;
}

/* Name text */
.tib-name {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: #111111;
  line-height: 1.3;
}

/* Role text */
.tib-role {
  display: block;
  font-size: 11.5px;
  color: #444444;
  font-weight: 400;
  margin-top: 2px;
}

/* Arrow icon pill */
.tib-arrow {
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  background: rgba(255, 255, 255, 0.75);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  color: #333333;
  line-height: 1;
}

/* LinkedIn icon button */
.tib-li {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.8);
  border-radius: 6px;
  text-decoration: none;
  transition: background 0.2s;
}

.tib-li:hover {
  background: #ffffff;
}

/* Card hover lift */
.team-card {
  transition:
    transform 0.35s cubic-bezier(0.25, 0.8, 0.25, 1),
    box-shadow 0.35s ease !important;
}

.team-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.18) !important;
}

/* ================================================
   RESPONSIVE DESIGN
   ================================================ */

@media (max-width: 1024px) {
  .footer-contact-card {
    padding: 40px;
  }

  .contact-card-content {
    gap: 40px;
  }

  .contact-right {
    gap: 60px;
  }

  .footer-hero-text {
    font-size: clamp(35px, 7vw, 80px);
  }
}

@media (max-width: 768px) {
  .site-footer {
    padding: 40px 15px 30px;
    min-height: 100vh; /* Ensure full height on mobile */
  }

  .footer-hero-track {
    animation-duration: 14s; /* Slightly faster on mobile since viewport is smaller */
  }

  /* Inside @media (max-width: 480px) */
  .footer-hero-track {
    animation-duration: 10s;
  }

  .footer-contact-card {
    padding: 30px 25px;
    margin-bottom: 100px; /* More space for hero text */
  }

  .contact-card-content {
    flex-direction: column;
    gap: 30px;
  }

  .contact-left {
    max-width: 100%;
  }

  .contact-right {
    flex-direction: column;
    gap: 30px;
  }

  .footer-heading,
  .footer-links {
    text-align: left;
  }

  .footer-hero {
    bottom: 60px; /* Stays at bottom */
    position: absolute; /* Keep absolute */
  }

  .footer-hero-text {
    font-size: clamp(28px, 6vw, 50px);
  }

  .footer-bottom {
    position: absolute; /* Keep absolute */
  }

  .footer-bottom-content {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .footer-hero-text {
    font-size: clamp(24px, 5vw, 40px);
  }

  .contact-text {
    font-size: 16px;
  }

  .btn-get-in-touch {
    padding: 10px 25px;
    font-size: 14px;
  }
}

/* ================================================
   RESPONSIVE HEADER - Mobile Navigation
   Add this to your custom.css or style.css
   ================================================ */

/* ── Hamburger Button ── */
.nav-toggle {
    display: none; /* Hidden on desktop */
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    padding: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1200; /* Must be above nav panel (1060) and overlay (1050) */
    position: relative;
}

.hamburger-line {
    display: block;
    width: 24px;
    height: 2px;
    background-color: #ffffff; /* White on transparent header */
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, background-color 0.3s ease;
    transform-origin: center;
}

/* Dark lines when header is scrolled */
#site-header.scrolled .hamburger-line {
    background-color: #1a1a1a;
}

/* Animate hamburger to X when active */
.nav-toggle.is-active .hamburger-line:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.nav-toggle.is-active .hamburger-line:nth-child(2) {
    opacity: 0;
    transform: scaleX(0);
}
.nav-toggle.is-active .hamburger-line:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* Keep lines dark when menu is open (panel is white) */
.nav-toggle.is-active .hamburger-line {
    background-color: #1a1a1a;
}

/* ── Mobile Overlay ── */
.mobile-menu-overlay {
    display: block;
/*     position: fixed; */
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1050;
    opacity: 0;
    pointer-events: none; /* invisible to clicks when menu is closed */
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.is-visible {
    opacity: 1;
    pointer-events: auto; /* clickable only when menu is open */
}

/* ── Responsive Breakpoint ── */
@media (max-width: 768px) {

    /* Show hamburger */
    .nav-toggle {
        display: flex;
    }

    /* Mobile menu overlay */
    .mobile-menu-overlay {
        display: block;
    }

    /* Slide-in nav panel from the right */
    #site-navigation {
        position: fixed;
        top: 0;
        right: 0;
        height: 100vh;
        width: 280px;
        max-width: 85vw;
        background: #ffffff;
        z-index: 1060;
        padding: 80px 30px 40px;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
        overflow-y: auto;
        box-shadow: -4px 0 30px rgba(0, 0, 0, 0.15);
    }

    #site-navigation.is-open {
        transform: translateX(0);
    }

    /* Reset the flex row layout on mobile */
    .primary-menu {
        flex-direction: column;
        gap: 0;
    }

    /* Remove bullet points entirely */
    .primary-menu,
    .primary-menu ul {
        list-style: none !important;
        padding-left: 0 !important;
		width: 100%
    }

    .primary-menu li {
        list-style: none !important;
        border-bottom: 1px solid #f0f0f0;
    }

    .primary-menu li:last-child {
        border-bottom: none;
    }

    .primary-menu li a {
        color: #1a1a1a !important;
        font-size: 17px;
        font-weight: 400;
        padding: 16px 0;
        display: block;
    }

    .primary-menu li a:hover {
        color: #7a4f2a !important; /* LandAfrique brand brown */
    }

    /* Prevent body scroll when menu open */
    body.menu-open {
        overflow: hidden;
    }

    /* Header layout: logo left, hamburger right */
    #site-header .container {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 0 20px;
    }

    /* Remove the old stacking body padding */
    body {
        padding-top: 0;
    }
}