/* ============================================================
   PS Realty - Template 2 "Emerald & Teal"
   Primary: #0B5D3E | Accent: #14AB72 | Dark: #062A1C | Light: #f0faf4
   Font: Geist
   ============================================================ */

/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Geist:wght@300;400;500;600;700;800&display=swap');

:root {
  --primary: #0B5D3E;
  --accent: #14AB72;
  --dark: #062A1C;
  --light-bg: #f0faf4;
  --white: #ffffff;
  --text-dark: #1a1a1a;
  --text-muted: #6c757d;
  --border-light: rgba(11, 93, 62, 0.15);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--text-dark);
  background-color: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}

/* ============================================================
   Typography
   ============================================================ */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  color: var(--dark);
}

.display-1 { font-size: 3.2rem; font-weight: 800; }
.display-2 { font-size: 2.5rem; font-weight: 700; }
.display-4 { font-size: 1.1rem; font-weight: 500; }
.display-5 { font-size: 1.4rem; font-weight: 600; }
.display-7 { font-size: 0.95rem; font-weight: 500; }

.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }

/* ============================================================
   Navbar - Template 2 Style
   ============================================================ */
.custom-navbar {
  background-color: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.custom-navbar .navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.custom-navbar .navbar-brand img {
  height: 3.7rem;
  border-radius: 8px;
}

.custom-navbar .navbar-caption {
  font-family: 'Geist', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary) !important;
  text-decoration: none;
  letter-spacing: -0.02em;
}

.custom-navbar .nav-link {
  font-family: 'Geist', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  color: var(--primary) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.custom-navbar .nav-link:hover,
.custom-navbar .nav-link.active {
  color: var(--accent) !important;
}

.navbar-buttons .btn-secondary {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 0.5rem 1.5rem;
  border-radius: 6px;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.navbar-buttons .btn-secondary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
  transform: translateY(-1px);
}

.navbar-toggler {
  border: none;
  padding: 0.4rem;
}

.navbar-toggler:focus {
  box-shadow: none;
  outline: none;
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-black {
  background-color: var(--dark);
  color: #fff;
  border: 2px solid var(--dark);
  font-weight: 600;
  padding: 0.7rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-black:hover {
  background-color: transparent;
  color: var(--dark);
}

.btn-info {
  background-color: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
  font-weight: 600;
  padding: 0.7rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-info:hover {
  background-color: var(--primary);
  color: #fff;
}

.btn-secondary {
  background-color: var(--accent);
  border: 2px solid var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 0.7rem 2rem;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.btn-secondary:hover {
  background-color: var(--primary);
  border-color: var(--primary);
}

.btn-lg {
  padding: 0.85rem 2.5rem;
  font-size: 1rem;
}

/* ============================================================
   Decorative Elements - Template 2 Signature
   ============================================================ */

/* Border wraps */
.border-wrap {
  position: relative;
  padding: 2.5rem;
}

.border-wrap::before,
.border-wrap::after {
  content: '';
  position: absolute;
  width: 60px;
  height: 60px;
  border-color: var(--primary);
  border-style: solid;
}

.border_1::before {
  top: 0;
  left: 0;
  border-width: 3px 0 0 3px;
  border-radius: 8px 0 0 0;
}

.border_1::after {
  bottom: 0;
  right: 0;
  border-width: 0 3px 3px 0;
  border-radius: 0 0 8px 0;
}

.border_2::before {
  top: 0;
  right: 0;
  border-width: 3px 3px 0 0;
  border-radius: 0 8px 0 0;
}

.border_2::after {
  bottom: 0;
  left: 0;
  border-width: 0 0 3px 3px;
  border-radius: 0 0 0 8px;
}

/* Corner wraps */
.corner-wrapper {
  position: relative;
  padding: 2.5rem;
}

.corner-wrap {
  position: absolute;
  width: 20px;
  height: 20px;
  border-color: var(--accent);
  border-style: solid;
}

.corner_1 { top: 0; left: 0; border-width: 3px 0 0 3px; }
.corner_2 { top: 0; right: 0; border-width: 3px 3px 0 0; }
.corner_3 { bottom: 0; left: 0; border-width: 0 0 3px 3px; }
.corner_4 { bottom: 0; right: 0; border-width: 0 3px 3px 0; }

/* Frame wrapper with cross patterns */
.frame-wrapper {
  position: relative;
  padding: 3rem 2rem;
  background: var(--white);
  border-radius: 12px;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
}

.frame-wrapper::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 15px;
  right: 15px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.frame-wrapper::after {
  content: '';
  position: absolute;
  bottom: 15px;
  left: 15px;
  right: 15px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
}

.cross-section {
  position: absolute;
  width: 12px;
  height: 12px;
}

.cross-section::before,
.cross-section::after {
  content: '';
  position: absolute;
  background: var(--accent);
}

.cross-section::before {
  width: 12px;
  height: 1px;
  top: 50%;
  left: 0;
}

.cross-section::after {
  width: 1px;
  height: 12px;
  top: 0;
  left: 50%;
}

.cross_1 { top: 0; left: 0; }
.cross_2 { top: 0; right: 0; }
.cross_3 { bottom: 0; left: 0; }
.cross_4 { bottom: 0; right: 0; }

/* Card wrappers */
.card-wrapper {
  background: var(--white);
  border-radius: 16px;
  padding: 2.5rem;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
}

.large-radius {
  border-radius: 20px;
}

.small-radius {
  border-radius: 8px;
}

/* ============================================================
   Sections
   ============================================================ */
.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--light-bg);
}

.section-dark {
  background-color: var(--dark);
  color: #fff;
}

.section-dark h2,
.section-dark h3 {
  color: #fff;
}

/* Hero - Split (NOT full-screen, NOT parallax) */
.hero-split {
  padding: 8rem 0 5rem;
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
}

.hero-split .hero-image {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.hero-split .hero-image img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 16px;
}

.hero-split .hero-content {
  padding: 1rem 0;
}

.hero-split h1 {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
}

.hero-split .hero-subtitle {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 2rem;
}

/* Parallax section */
.parallax-section {
  position: relative;
  padding: 6rem 0;
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(6, 42, 28, 0.8);
}

.parallax-content {
  position: relative;
  z-index: 1;
  color: #fff;
}

.parallax-content h2 {
  color: #fff;
}

/* Services cards */
.service-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  transition: all 0.3s ease;
  height: 100%;
  border: 1px solid var(--border-light);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(11, 93, 62, 0.12);
  border-color: var(--accent);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 1.5rem;
}

.service-card .service-icon {
  width: 60px;
  height: 60px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
  font-size: 1.5rem;
  color: var(--accent);
}

.service-card h3 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.service-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Icon feature items */
.feature-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 2rem;
}

.feature-item .feature-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: var(--light-bg);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--accent);
}

.feature-item h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.35rem;
  color: var(--dark);
}

.feature-item p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Team cards */
.team-card {
  text-align: center;
  padding: 1.5rem;
}

.team-card img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.25rem;
  border: 3px solid var(--light-bg);
}

.team-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.team-card .role {
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 500;
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
}

.contact-form-wrap .form-control {
  border: 1px solid var(--border-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-family: 'Geist', sans-serif;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  background: var(--light-bg);
}

.contact-form-wrap .form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(20, 171, 114, 0.1);
  background: #fff;
}

.contact-form-wrap textarea.form-control {
  min-height: 140px;
  resize: vertical;
}

/* Contact info cards */
.contact-info-card {
  text-align: center;
  padding: 2rem 1rem;
}

.contact-info-card .contact-icon {
  width: 60px;
  height: 60px;
  background: var(--light-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
  font-size: 1.5rem;
  color: var(--accent);
  transition: all 0.3s ease;
}

.contact-info-card:hover .contact-icon {
  background: var(--accent);
  color: #fff;
}

.contact-info-card h4 {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  margin: 0;
}

/* Stats */
.stat-item {
  text-align: center;
  padding: 2rem;
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 1rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Map */
.map-container {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 2px 30px rgba(0, 0, 0, 0.05);
}

.map-container iframe {
  width: 100%;
  height: 400px;
  border: none;
}

/* FAQ Accordion */
.accordion-item {
  border: 1px solid var(--border-light);
  border-radius: 10px !important;
  margin-bottom: 0.75rem;
  overflow: hidden;
}

.accordion-button {
  font-weight: 600;
  font-size: 1rem;
  color: var(--dark);
  background: var(--white);
  padding: 1.25rem 1.5rem;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--light-bg);
  color: var(--primary);
}

.accordion-button::after {
  background-size: 1rem;
}

.accordion-body {
  padding: 1.25rem 1.5rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.04);
  border: 1px solid var(--border-light);
  height: 100%;
}

.testimonial-card .quote {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 1.5rem;
  position: relative;
  padding-left: 1.5rem;
  border-left: 3px solid var(--accent);
}

.testimonial-card .author {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--dark);
}

.testimonial-card .author-role {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* Footer */
.footer01 {
  background: var(--dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 2.5rem 0;
  font-size: 0.9rem;
}

.footer01 a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer01 a:hover {
  color: #fff;
  text-decoration: underline;
}

.footer01 .footer-links {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
  justify-content: center;
}

.footer01 .copyright {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.85rem;
}

/* Legal pages */
.legal-content {
  padding: 7rem 0 4rem;
}

.legal-content h2 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  color: var(--dark);
}

.legal-content h3 {
  font-size: 1.3rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: var(--primary);
}

.legal-content h4 {
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  color: var(--dark);
}

.legal-content p,
.legal-content li {
  color: #444;
  line-height: 1.7;
  margin-bottom: 0.75rem;
}

/* Cookie table styling */
.cookie-tables-white .wp-block-table table,
.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  border: 1px solid black !important;
  border-collapse: collapse !important;
}

.cookie-tables-white .wp-block-table th,
.cookie-tables-white .wp-block-table td {
  padding: 12px 8px !important;
}

.cookie-tables-white .wp-block-table th {
  background: #f0faf4;
  font-weight: 700;
}

/* Page header for subpages */
.page-header {
  background: linear-gradient(135deg, var(--light-bg) 0%, #ffffff 100%);
  padding: 7rem 0 3rem;
  text-align: center;
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.page-header p {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Responsive */
@media (max-width: 991.98px) {
  .hero-split {
    padding: 6rem 0 3rem;
  }

  .hero-split h1 {
    font-size: 2rem;
  }

  .hero-split .hero-image {
    margin-top: 2rem;
  }

  .hero-split .hero-image img {
    height: 280px;
  }

  .section {
    padding: 3rem 0;
  }

  .display-1 {
    font-size: 2.2rem;
  }

  .custom-navbar .navbar-collapse {
    background: #fff;
    padding: 1rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-split h1 {
    font-size: 1.7rem;
  }

  .hero-split .hero-image img {
    height: 220px;
  }

  .display-1 {
    font-size: 1.8rem;
  }

  .display-2 {
    font-size: 1.6rem;
  }

  .card-wrapper,
  .contact-form-wrap {
    padding: 1.5rem;
  }

  .border-wrap {
    padding: 1.5rem;
  }

  .copyright br {
    display: none;
  }
}
