/*
Theme Name: Agbara Estate Custom Theme
Theme URI: https://yoursite.com
Author: Ezekiel
Author URI: https://yoursite.com
Description: Custom theme for Agbara Estate 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: agbara-estate
*/

@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: #0A0A0A !important;
  background: #0A0A0A !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: #F9FAFB;
}

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

/* 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 {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 60px 20px 40px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background: #FFFFFF	
} */

.site-footer {
	 padding: 60px 20px 40px;
}


img.custom-logo {
    max-width: 145px;
    height: 80px;
}


.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 0;
  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: 80px;
  max-width: 145px;
  width: auto;
  margin-bottom: 20px;
}

.contact-text {
    font-size: 16px;
    line-height: 1.6;
    color: #475467;
    margin-bottom: 30px;
    margin-top: 20px;
}

.btn-get-in-touch {
  display: inline-block;
  padding: 12px 30px;
  border: 1px solid #D0D5DD;
  color: #344054;
  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: left;
}

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

.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;
  overflow: hidden;
  width: 100%;
  white-space: nowrap;
}

.footer-hero-track {
  display: flex; /* side by side, no wrapping */
  flex-wrap: nowrap;
  width: max-content; /* shrink-wraps both spans exactly */
  animation: marquee 25s linear infinite;
  will-change: transform; /* GPU layer = smooth */
}

.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;
  padding-right: 120px; /* gap between the two copies */
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
  flex-shrink: 0;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
.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 {
  padding: 20px;
}

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

.copyright {
  color: #303030;
  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 #D9D9D9;
  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;
  }
}


/* =============================================
   SITE FOOTER
   ============================================= */

.site-footer {
    background-color: #1a1a1a;
    color: #c8c8c8;
    font-size: 14px;
    line-height: 1.6;
    padding: 60px 0 0;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ── Brand / Logo Block ── */
.footer-brand {
    text-align: center;
    margin-bottom: 52px;
}

.footer-brand .footer-logo,
.footer-brand .custom-logo {
    max-height: 64px;
    width: auto;
    display: block;
    margin: 0 auto 10px;
}

.footer-tagline {
    font-size: 13px;
    color: #888;
    margin: 0;
    letter-spacing: 0.02em;
}

/* ── 5-Column Row ── */
.footer-columns {
    display: grid;
    grid-template-columns: 1.4fr 1.4fr 0.9fr 0.9fr 1.8fr;
    gap: 32px 24px;
    margin-bottom: 40px;
}

/* ── Column Headings ── */
.footer-heading {
    font-size: 14px;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 16px;
    letter-spacing: 0.01em;
}

/* ── Link Lists ── */
.footer-links {
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-links li {
    margin-bottom: 8px;
    color: #aaa;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.2s ease;
}

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

/* ── Newsletter Column ── */
.footer-newsletter .newsletter-desc {
    color: #aaa;
    font-size: 13px;
    margin: 0 0 14px;
    line-height: 1.5;
}

.newsletter-form {
    display: flex;
    gap: 0;
    margin-bottom: 10px;
}

.newsletter-input {
    flex: 1;
    padding: 10px 14px;
    background: #2a2a2a;
    border: 1px solid #3a3a3a;
    border-right: none;
    border-radius: 4px 0 0 4px;
    color: #fff;
    font-size: 13px;
    outline: none;
    transition: border-color 0.2s;
}

.newsletter-input::placeholder {
    color: #666;
}

.newsletter-input:focus {
    border-color: #666;
}

.newsletter-btn {
    padding: 10px 18px;
    background: #8fbc0a;
    color: #000;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s;
}

.newsletter-btn:hover {
    background: #a0d40c;
}

.newsletter-privacy {
    font-size: 12px;
    color: #777;
    margin: 10px 0 0 0;
}

.newsletter-privacy a {
    color: #aaa;
    text-decoration: underline;
}

.newsletter-privacy a:hover {
    color: #fff;
}

/* ── Bottom Bar ── */
.footer-bottom {
    margin-top: 8px;
}

.footer-divider {
    border: none;
    border-top: 1px solid #2e2e2e;
    margin: 0 0 20px;
}

.footer-bottom-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 28px;
}

.copyright {
    font-size: 13px;
    color: #666;
    margin: 0;
}

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

.social-links a {
    color: #888;
    font-size: 16px;
    text-decoration: none;
    transition: color 0.2s;
    display: flex;
    align-items: center;
}

.social-links a:hover {
    color: #ffffff;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .footer-columns {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .footer-columns {
        grid-template-columns: 1fr 1fr;
    }

    .footer-newsletter {
        grid-column: 1 / -1;
    }

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