/* Palmier Developments Custom Styles */

/* Palmier Brand Colors */
:root {
  --palmier-primary: #2C5530; /* Forest Green */
  --palmier-secondary: #8B4513; /* Saddle Brown */
  --palmier-accent: #ecd8bd; /* Goldenrod */
  --palmier-light: #F5F5DC; /* Beige */
  --palmier-dark: #1A1A1A; /* Dark Gray */
  --palmier-text: #333333; /* Dark Gray Text */
}

/* Palmier Logo Styling */
.palmier-logo {
  font-family: 'Eudoxussans', sans-serif;
  font-weight: 700;
  color: var(--palmier-primary);
}

.palmier-logo .thin-span {
  font-weight: 300;
}

/* Palmier Button Styles */
.palmier-button {
  background-color: var(--palmier-primary);
  color: white;
  border: 2px solid var(--palmier-primary);
  transition: all 0.3s ease;
}

.palmier-button:hover {
  background-color: transparent;
  color: var(--palmier-primary);
}

.palmier-button-outline {
  background-color: transparent;
  color: var(--palmier-primary);
  border: 2px solid var(--palmier-primary);
}

.palmier-button-outline:hover {
  background-color: var(--palmier-primary);
  color: white;
}

/* Palmier Section Headers */
.palmier-section-title {
  color: var(--palmier-primary);
  font-family: 'Eudoxussans', sans-serif;
  font-weight: 700;
}

.palmier-section-subtitle {
  color: var(--palmier-secondary);
  font-family: 'Plusjakartasans', sans-serif;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Palmier Project Cards */
.palmier-project-card {
  border: 1px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  background: white;
}

.palmier-project-card:hover {
  box-shadow: 0 10px 30px rgba(44, 85, 48, 0.15);
  transform: translateY(-5px);
}

.palmier-project-card .project-title {
  color: var(--palmier-primary);
  font-family: 'Eudoxussans', sans-serif;
  font-weight: 600;
}

.palmier-project-card .project-location {
  color: var(--palmier-secondary);
  font-size: 14px;
}

/* Palmier Benefits Icons */
.palmier-benefit-icon {
  background-color: var(--palmier-light);
  border-radius: 50%;
  padding: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.palmier-benefit-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--palmier-primary);
}

/* Palmier Contact Info */
.palmier-contact-info {
  background-color: var(--palmier-light);
  padding: 30px;
  border-radius: 8px;
}

.palmier-contact-info h3 {
  color: var(--palmier-primary);
  font-family: 'Eudoxussans', sans-serif;
  font-weight: 600;
}

/* Palmier Form Styles */
.palmier-form input,
.palmier-form textarea,
.palmier-form select {
  border: 2px solid #e0e0e0;
  border-radius: 4px;
  padding: 12px 16px;
  font-family: 'Plusjakartasans', sans-serif;
  transition: border-color 0.3s ease;
}

.palmier-form input:focus,
.palmier-form textarea:focus,
.palmier-form select:focus {
  border-color: var(--palmier-primary);
  outline: none;
}

/* Palmier Footer */
.palmier-footer {
  background-color: var(--palmier-dark);
  color: white;
}

.palmier-footer .footer-logo {
  color: var(--palmier-accent);
  font-family: 'Eudoxussans', sans-serif;
  font-weight: 700;
}

.palmier-footer .footer-logo .thin-span {
  font-weight: 300;
}







/* ============================================================
   PALMIER FOOTER REDESIGN
   ============================================================ */

.palmier-footer-redesign {
  background-color: var(--palmier-primary);
  color: #ffffff;
  font-family: 'Inter', 'Poppins', sans-serif;
  position: relative;
}

/* Main content grid: 4 columns on desktop */
.palmier-footer-content {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 80px 60px 60px;
}

/* Column base */
.palmier-footer-column {
  display: flex;
  flex-direction: column;
}

/* --- Brand column --- */
.palmier-footer-logo-link {
  display: inline-block;
  margin-bottom: 20px;
}

.palmier-footer-logo-img {
  width: 8rem;
  display: block;
}

.palmier-footer-tagline {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--palmier-accent);
  margin: 0 0 14px;
}

.palmier-footer-description {
  font-size: 13.5px;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.7);
  margin: 0 0 28px;
}

/* Social icons */
.palmier-footer-social {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.palmier-footer-social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background-color: rgba(255, 255, 255, 0.07);
  transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
  text-decoration: none;
}

.palmier-footer-social-link:hover {
  background-color: var(--palmier-accent);
  border-color: var(--palmier-accent);
  transform: scale(1.1);
}

.palmier-footer-social-icon {
  width: 16px;
  height: 16px;
  display: block;
  filter: brightness(0) invert(1);
}

/* --- Section headings --- */
.palmier-footer-heading {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--palmier-accent);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(218, 165, 32, 0.3);
}

/* --- Link lists --- */
.palmier-footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.palmier-footer-link {
  color: rgba(255, 255, 255, 0.72);
  text-decoration: none;
  font-size: 13.5px;
  line-height: 1.5;
  transition: color 0.25s ease, transform 0.25s ease;
  display: inline-block;
}

.palmier-footer-link:hover {
  color: var(--palmier-accent);
  transform: translateX(4px);
}

/* --- Contact list --- */
.palmier-footer-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.palmier-footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.72);
  line-height: 1.5;
}

.palmier-footer-contact-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  margin-top: 2px;
  filter: brightness(0) invert(1);
  opacity: 0.75;
}

/* --- Bottom copyright bar --- */
.palmier-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.palmier-footer-bottom-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 20px 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.palmier-footer-copyright {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  margin: 0;
  letter-spacing: 0.5px;
}

.palmier-footer-bottom-links {
  display: flex;
  align-items: center;
  gap: 10px;
}

.palmier-footer-bottom-link {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.45);
  text-decoration: none;
  letter-spacing: 0.5px;
  transition: color 0.25s ease;
}

.palmier-footer-bottom-link:hover {
  color: var(--palmier-accent);
}

.palmier-footer-bottom-divider {
  color: rgba(255, 255, 255, 0.25);
  font-size: 12px;
}

/* Journal card: keep date badge and button compact/left-aligned */
.journal-card-info > .journal-category-tag,
.journal-card-info > .outline-button {
  justify-self: start;
}

/* Careers form: stack labels above inputs (single column per field) */
#lead-form-intro .contact-field-wrapper {
  grid-template-columns: 1fr;
}

/* ============================================================
   FOOTER RESPONSIVE BREAKPOINTS
   ============================================================ */

/* Tablet: 2-column layout */
@media screen and (max-width: 991px) {
  .palmier-footer-content {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 60px 40px 48px;
  }

  /* Brand column spans full width on tablet */
  .palmier-footer-column--brand {
    grid-column: 1 / -1;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 24px;
    align-items: flex-start;
  }

  .palmier-footer-column--brand .palmier-footer-description {
    flex: 1 1 300px;
    margin-bottom: 0;
  }

  .palmier-footer-social {
    margin-top: 0;
    align-self: flex-end;
  }

  .palmier-footer-bottom-inner {
    padding: 18px 40px;
  }
}

/* Mobile: single column */
@media screen and (max-width: 767px) {
  .palmier-footer-content {
    grid-template-columns: 1fr;
    gap: 36px;
    padding: 48px 24px 40px;
  }

  .palmier-footer-column--brand {
    grid-column: auto;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .palmier-footer-column--brand .palmier-footer-description {
    text-align: center;
    flex: unset;
    margin-bottom: 0;
  }

  .palmier-footer-social {
    justify-content: center;
    margin-top: 4px;
  }

  .palmier-footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    align-items: center;
    padding: 18px 24px;
    gap: 8px;
  }
}

/* ============================================================
   RESPONSIVE FIXES — inline style overrides moved to CSS
   ============================================================ */

/* Intro-wrapper grid variants (desktop: two-column, tablet+: stack) */
.intro-wrapper--wide { grid-template-columns: minmax(50%, 475px) 1fr; }
.intro-wrapper--narrow { grid-template-columns: minmax(30%, 400px) 1fr; }

@media screen and (max-width: 991px) {
  .intro-wrapper--wide,
  .intro-wrapper--narrow { grid-template-columns: 1fr; }
}

/* Hero heading — scale down on small phones */
.hero-heading-custom { font-size: 2.5rem; }

@media screen and (max-width: 479px) {
  .hero-heading-custom { font-size: 1.75rem; }
}

/* About page metrics bar overlap */
.about-metrics-overlap { margin-top: -140px; }

@media screen and (max-width: 767px) {
  .about-metrics-overlap { margin-top: 0; }
}

/* Project detail inquiry form wrapper */
.inquire-form-wrapper {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 40px;
}

@media screen and (max-width: 767px) {
  .inquire-form-wrapper { padding: 0 24px; }
}

/* Navbar — hamburger and brand offset */
.hamburger-btn { text-align: center; width: 50px; }
.brand-offset { margin-left: -30px; }

@media screen and (max-width: 767px) {
  .brand-offset { margin-left: -10px; }
}

/* Nav links — base color + responsive font size */
.nav-menu-links .nav-link { color: #fff; font-size: 12px; }

@media screen and (max-width: 991px) {
  .nav-menu-links .nav-link { font-size: 16px; }
}

/* Field validation errors */
.field-error {
  color: #dc3545;
  font-size: 12px;
  margin-top: 4px;
}

/* Scroll arrow (home hero) */
@keyframes bounceArrow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(10px); }
}

.scroll-arrow {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.scroll-arrow:hover { opacity: 0.8; }

.scroll-arrow-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: bounceArrow 2s ease-in-out infinite;
}

.scroll-arrow-icon svg {
  width: 24px;
  height: 24px;
  color: currentColor;
}

.scroll-arrow-label {
  font-size: 14px;
  font-weight: 500;
  text-transform: lowercase;
  letter-spacing: 1px;
  color: #ffffff;
  white-space: nowrap;
}

@media screen and (max-width: 767px) {
  .scroll-arrow { bottom: 30px; }
  .scroll-arrow-icon { width: 40px; height: 40px; }
  .scroll-arrow-label { font-size: 12px; }
}

/* ============================================================
   PALMIER PAGINATION
   ============================================================ */

.palmier-pagination {
  display: flex;
  justify-content: center;
  margin-top: 48px;
  padding: 0 20px;
}

.palmier-pagination ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.palmier-pagination li a,
.palmier-pagination li span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 4px;
  border-radius: 8px;
  font-family: 'Plusjakartasans', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: var(--palmier-text);
  text-decoration: none;
  border: 1px solid transparent;
  transition: all 0.25s ease;
  cursor: default;
}

.palmier-pagination li a {
  cursor: pointer;
}

.palmier-pagination li a:hover {
  background-color: rgba(44, 85, 48, 0.08);
  border-color: rgba(44, 85, 48, 0.2);
  color: var(--palmier-primary);
}

.palmier-pagination li.active span {
  background-color: var(--palmier-primary);
  color: #fff;
  border-color: var(--palmier-primary);
}

.palmier-pagination li.disabled span {
  opacity: 0.35;
  cursor: not-allowed;
}

.palmier-pagination li.ellipsis span {
  border: none;
  cursor: default;
  color: var(--palmier-text);
  opacity: 0.5;
  letter-spacing: 2px;
}

.palmier-pagination li a svg,
.palmier-pagination li span svg {
  display: block;
}

@media screen and (max-width: 479px) {
  .palmier-pagination li a,
  .palmier-pagination li span {
    min-width: 36px;
    height: 36px;
    font-size: 13px;
  }

  .palmier-pagination ul {
    gap: 4px;
  }
}

/* ============================================================
   PROJECT INQUIRY FORM
   ============================================================ */

.inquire-form-header {
  text-align: center;
  margin-bottom: 36px;
}

.inquire-form-header .subtitle {
  margin-bottom: 8px;
}

.inquire-form-header h2 {
  font-family: 'Eudoxussans', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  color: var(--palmier-dark);
  margin: 0 0 12px;
}

.inquire-form-header p {
  font-size: 15px;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
}

.inquire-form-wrapper .form-block {
  background-color: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
}

.inquire-form-wrapper .contact-field-wrapper {
  grid-template-columns: 1fr;
}

.inquire-form-wrapper .field-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--palmier-dark);
  letter-spacing: 0.3px;
}

.inquire-form-wrapper .text-field {
  border: 1.5px solid #e2e5ea;
  border-radius: 8px;
  min-height: 48px;
  padding: 12px 16px;
  font-size: 14px;
  background-color: #fafbfc;
  transition: border-color 0.25s ease, background-color 0.25s ease, box-shadow 0.25s ease;
}

.inquire-form-wrapper .text-field:focus {
  border-color: var(--palmier-primary);
  background-color: #fff;
  box-shadow: 0 0 0 3px rgba(44, 85, 48, 0.1);
  padding-left: 16px;
}

.inquire-form-wrapper .text-field::placeholder {
  color: #9ca3af;
}

.inquire-form-wrapper .submit-button {
  background-color: var(--palmier-primary);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 32px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  width: 100%;
  cursor: pointer;
  transition: background-color 0.25s ease, transform 0.15s ease;
}

.inquire-form-wrapper .submit-button:hover {
  background-color: #1e3d22;
}

.inquire-form-wrapper .submit-button:active {
  transform: scale(0.98);
}

@media screen and (max-width: 767px) {
  .inquire-form-header h2 {
    font-size: 1.6rem;
  }

  .inquire-form-wrapper .form-block {
    padding: 28px 20px;
  }
}
