/* ------------------------------------------------------------
   FRIENDLY THEME — Typography + Spacing Only
   (NO COLOR OVERRIDES)
------------------------------------------------------------ */

body.theme-friendly {
  /* Typography */
  --bs-body-font-family: 'Merriweather', serif;
  font-size: 1.125rem;
  line-height: 1.65;

  /* Rounded UI */
  --bs-border-radius: 0.75rem;
}

/* Headings */
body.theme-friendly h1 { font-size: 2.75rem; line-height: 1.2; }
body.theme-friendly h2 { font-size: 2.25rem; line-height: 1.25; }
body.theme-friendly h3 { font-size: 1.75rem; }
body.theme-friendly h4 { font-size: 1.35rem; }

/* Lead text */
body.theme-friendly .lead {
  font-size: 1.3rem;
  line-height: 1.7;
}

/* Navigation (keeps white surface, no color override) */
body.theme-friendly .navbar {
  background-color: var(--color-surface);
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
}

body.theme-friendly .nav-link {
  font-size: 1.15rem;
}

.navbar-brand img {
  height: 48px;
  width: auto;
  object-fit: contain;
}

/* Buttons */
body.theme-friendly .btn,
body.theme-friendly .btn-primary {
  font-size: 1.1rem;
}

body.theme-friendly .btn-primary {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: 0 8px 20px rgba(59,130,246,0.25);
}

body.theme-friendly .btn-primary:hover {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
}

/* Animations */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.fade-scroll {
  animation: fadeIn 1s ease-out both;
  animation-timeline: view();
  animation-range: entry 0% cover 40%;
}

@keyframes heroFloatIn {
  0% { opacity: 0; transform: translateY(30px) scale(0.98); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

.hero-animate {
  animation: heroFloatIn 1s ease-out forwards;
}

/* ------------------------------------------------------------
   HERO IMAGE ROTATOR
------------------------------------------------------------ */
.hero-image-rotator {
  position: relative;
  width: 100%;
  height: 70vh;
  max-height: 700px;
  overflow: hidden;
}

.hero-image-rotator .rotating-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-image-rotator .rotating-image.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .hero-image-rotator { height: 220px; }
}

/* ------------------------------------------------------------
   SERVICE CARD — Friendly Mode
------------------------------------------------------------ */
.service-card {
  position: relative;
  overflow: hidden;
  background: #f8f9fa;
}

/* Background image layer */
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: var(--card-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.15; /* gentle */
  transition: opacity 0.4s ease;
  z-index: 1;
}

/* Dark overlay for readability */
.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.25);
  opacity: 0.25;
  transition: opacity 0.4s ease;
  z-index: 2;
}

/* Hover effect */
.service-card:hover::before {
  opacity: 0.28;
}

.service-card:hover::after {
  opacity: 0.35;
}

/* Ensure content stays above overlays */
.service-card > * {
  position: relative;
  z-index: 3;
}


.service-toggle {
  background: none;
  border: none;
  padding: 0;
  width: 100%;
  text-align: left;
}

.service-card.open { border: none !important; }

.card-title {
  font-size: 1.9rem;
  font-weight: 700;
  margin: 0;
}

/* ================================
   REVIEW SUMMARY SECTION
================================ */

#review-summary {
  background: #ffffff;
}

#review-summary .stars {
  font-size: 2rem;
  color: #f4b400; /* Google star color */
  letter-spacing: 3px;
}

#review-summary .review-logos {
  display: flex;
  justify-content: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

#review-summary .review-logo svg {
  height: 32px;
  width: auto;
  opacity: 0.9;
  transition: opacity 0.2s ease;
}

#review-summary .review-logo svg:hover {
  opacity: 1;
}

#review-summary .btn {
  padding: 0.6rem 1.5rem;
  font-size: 1rem;
  border-radius: 6px;
}

/* ================================
   TESTIMONIAL SECTION
================================ */

#testimonialCarousel .carousel-item-fb{
  min-height: 320px; /* adjust as needed */
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonial-carousel-item-fb {
  min-height: 260px;   /* adjust to your tallest review */
  display: flex;
  flex-direction: column;
  justify-content: center;
}


@media (max-width: 768px) {
  #testimonialCarousel .carousel-item-fb {
    min-height: 260px;
  }
}

/* ================================
   BUTTON SECTION
================================ */

.buttons-section {
  min-height: 400px; /* centers vertically */
  display: flex;
  justify-content: center;
  align-items: center;
}

.buttons-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  max-width: 420px;
}

.sf-button-link {
  width: 100%;
  text-decoration: none;
}

.sf-button {
  width: 100%;
  padding: 1rem 1.25rem;
  font-size: 1.25rem;
  font-weight: 600;
  border-radius: 0.75rem;
  border: none;
  background-color: var(--color-primary);
  color: #fff;
  transition: background-color 0.25s ease, transform 0.2s ease;
  box-shadow: 0 6px 16px rgba(0,0,0,0.12);
}

.sf-button:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
}

/* ============================================
   ALTERNATING ACTION BUTTON COLORS
============================================ */

/* Remove inline background so CSS can override */
.action-button {
  background: #222 !important;
  color: #fff !important;
}

/* Odd buttons = dark */
.actions-wrapper a:nth-child(odd).action-button {
  background: #222 !important;
  color: #fff !important;
}

/* Even buttons = white */
.actions-wrapper a:nth-child(even).action-button {
  background: #fff !important;
  color: #222 !important;
  border: 2px solid #222 !important;
}

/* Hover states */
.actions-wrapper a:nth-child(odd).action-button:hover {
  background: #000 !important;
  color: #fff !important;
}

.actions-wrapper a:nth-child(even).action-button:hover {
  background: #222 !important;
  color: #fff !important;
}


.btn-primary.btn-lg.cta-pop {
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-dark));
  border: none;
  padding: 1rem 2rem;
  font-weight: 800;
  letter-spacing: 1px;
  text-transform: uppercase;
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
  transition: transform .2s ease, box-shadow .2s ease;
}

.btn-primary.btn-lg.cta-pop:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 32px rgba(0,0,0,0.32);
}

/* Wide vacancies section */
.vacancies-wide {
  width: 100%;
  max-width: 1400px; /* wider than your old 900px */
  margin: 0 auto;
  padding: 0 20px;
}

/* Title styling */
.vacancies-title {
  text-shadow: 0 3px 10px rgba(0,0,0,0.25);
}

/* Embed container */
.vacancies-embed {
  width: 100%;
  margin-top: 2rem;
}

/* ============================================
   MOBILE FRIENDLY TENANT + OWNER SECTIONS
============================================ */

@media (max-width: 768px) {

  /* Make text centered on mobile */
  #tenants div,
  #owners div,
  #vacaincies div {
    text-align: center !important;
    padding: 0 20px;
  }

  /* Reduce headline sizes */
  #tenants h2,
  #owners h2,
  #vacancies h2 {
    font-size: 2rem !important;
    line-height: 1.25;
  }

  #tenants h3,
  #owners h3,
  #vacancies h3 {
    font-size: 1.5rem !important;
    line-height: 1.3;
  }

  /* Paragraph readability */
  #tenants p,
  #owners p,
  #vacancies p {
    font-size: 1.1rem !important;
    line-height: 1.6;
    margin-bottom: 1.5rem;
  }

  /* Bullet list spacing */
  #tenants ul,
  #owners ul,
  #vacancies ul {
    padding: 0 !important;
    margin: 0 auto 1.5rem auto !important;
    text-align: left !important;
    max-width: 320px;
  }

  /* Buttons stack cleanly */
  #tenants .actions-wrapper,
  #owners .actions-wrapper,
  #vacancies .actions-wrapper {
    justify-content: center !important;
    gap: 1rem !important;
    flex-direction: column;
  }

  #tenants .action-button,
  #owners .action-button,
  #vacancies .action-button {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
  }

  /* Section padding */
  #tenants,
  #owners,
  #vacancies {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
    min-height: auto !important;
  }
}

/* ============================================
   MOBILE HERO FIX — Friendly, readable, not huge
   ============================================ */
@media (max-width: 768px) {

  /* Hero container spacing */
  .hero,
  .hero-friendly,
  .hero-card,
  .hero-minimal,
  .hero-background-image,
  section.hero,
  section.hero-friendly {
    padding: 2rem 1rem !important;
    text-align: center;
  }

  /* Headline */
  .hero-background-image h1,
  .hero-title,
  .hero-card-box h1,
  section.hero h1 {
    font-size: 1.5rem !important;
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.75rem;
  }

  /* Subheadline */
  .hero p,
  .hero-subtitle,
  .hero-card-box p,
  section.hero p {
    font-size: 1rem !important;
    line-height: 1.55;
    opacity: 0.9;
    max-width: 90%;
    margin: 0 auto;
  }

  /* Reduce hero image height if present */
  .hero img,
  .hero-image,
  .hero-gallery img {
    max-height: 180px;
    object-fit: cover;
    border-radius: 8px;
  }

  /* CTA button */
  .hero .btn,
  .hero button {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    margin-top: 1rem;
  }
}



