/*
Theme Name: Estate Partners
Author: Bright Bridge Dev
Authour URI: https://brightbridge.co/
Version: 1.3
Text Domain: estatepartners
*/

.hero-overlay {
  background: linear-gradient(
    90deg,
    rgba(10, 10, 15, 0.75) 0%,
    rgba(10, 10, 15, 0.45) 45%,
    rgba(10, 10, 15, 0.15) 100%
  );
}

.hero-title {
  max-width: 100%;
  font-size: clamp(1.5rem, calc(1.25rem + 1.8vw), 3rem);
  overflow-wrap: break-word;
}

.nav-link {
  position: relative;
}

/* .nav-link::after {
  position: absolute;
  right: 0;
  bottom: -0.5rem;
  left: 0;
  height: 2px;
  background: #b3814e;
  content: "";
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 180ms ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
} */

.nav-link.active {
  color: #b3814e;
  font-weight: 600;
}

.social-btn,
.footer-link {
  transition:
    color 180ms ease,
    border-color 180ms ease;
}

.social-btn:hover,
.footer-link:hover {
  color: #e3c98f;
}

.social-btn:hover {
  border-color: #e3c98f;
}

/* ---------- Hero Swiper ---------- */
.hero-swiper .swiper-pagination-bullet {
  width: 10px;
  height: 10px;
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  transition: all 0.3s ease;
}

.hero-swiper .swiper-pagination-bullet-active {
  width: 32px;
  border-radius: 9999px;
  background: #b3814e;
}

/* ---------- Cards Hover ---------- */
.project-card img,
.location-card img,
.insight-card img {
  transition: transform 0.6s ease;
}

.project-card:hover img,
.location-card:hover img,
.insight-card:hover img {
  transform: scale(1.06);
}

/* ---------- Swiper generic ---------- */
/* .testimonials-swiper .swiper-wrapper,
.testimonials-swiper .swiper-slide {
  height: auto;
} */

.swiper-button-next,
.swiper-button-prev {
  width: 48px;
  height: 48px;
  border-radius: 9999px;
  background: #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  color: #131313;
  transition: all 0.3s ease;
}

.swiper-button-next::after,
.swiper-button-prev::after {
  font-size: 18px;
  font-weight: 700;
}

.swiper-button-next:hover,
.swiper-button-prev:hover {
  background: #b3814e;
  color: #ffffff;
}

.swiper-pagination-bullet,
.insights-swiper .swiper-pagination-bullet,
.projects-swiper .swiper-pagination-bullet {
  width: 9px;
  height: 9px;
  background: #d8c6a8;
  opacity: 1;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active,
.insights-swiper .swiper-pagination-bullet-active,
.projects-swiper .swiper-pagination-bullet-active {
  width: 30px;
  border-radius: 9999px;
  background: #b3814e;
}

/* ---------- Status tabs ---------- */
.project-tab {
  transition: all 0.3s ease;
}

.project-tab.active {
  background: #302f5a;
  color: #ffffff;
  border-color: #302f5a;
}

.status-tab {
  transition: all 0.3s ease;
}

.status-tab.active {
  background: #302f5a;
  color: #ffffff;
  border-color: #302f5a;
}

.projects-tab .status-tab.active {
  background: #b3814e;
  color: #ffffff;
  border-color: #b3814e;
}

/* ---------- Location pills ---------- */
.location-pill {
  transition: all 0.25s ease;
}

.location-pill:hover {
  background: #302f5a;
  color: #ffffff;
  border-color: #302f5a;
  transform: translateY(-2px);
}

/* ---------- Header ---------- */
#site-header {
  transition:
    box-shadow 0.3s ease,
    background-color 0.3s ease;
}

#site-header.scrolled {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

/* ---------- Mobile menu ---------- */
#mobile-menu {
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

button[type="submit"].wpforms-submit {
  width: 100%;
  background-color: #302f5a !important;
  border-radius: 8px;
}

/* FAQ plus / minus icons: show only one at a time (plain CSS, independent of Tailwind variants) */
.faq-minus {
  display: none;
}

details[open] > summary .faq-plus {
  display: none;
}

details[open] > summary .faq-minus {
  display: inline;
}

/* Custom utility smooth transition styles */
.modal-backdrop {
  transition:
    opacity 0.3s ease,
    visibility 0.3s ease;
}

#modalBackdrop[aria-hidden="true"] {
  opacity: 0;
  pointer-events: none;
}

#modalBackdrop[aria-hidden="false"] {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  transition:
    transform 0.3s ease,
    opacity 0.3s ease;
}

.js-open-enquiry-modal {
  cursor: pointer;
}
