/* FacilityPro – Homepage / Landing */
:root {
  --fp-hero-bg: linear-gradient(135deg, #1a2a4a 0%, #2d3e6e 50%, #1e3a5f 100%);
  --fp-hero-text: #fff;
  --fp-accent: #e65251;
  --fp-accent-hover: #d94544;
  --fp-primary: #22345b;
  --fp-card-bg: #fff;
  --fp-card-shadow: 0 4px 20px rgba(0,0,0,0.08);
  --fp-radius: 12px;
  --fp-radius-lg: 20px;
}

.fp-page-home .fp-main { padding: 0; min-height: 0; }

/* Hero */
.fp-home-hero {
  color: #fff;
  padding: 6rem 1.5rem 8rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.fp-home-hero-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../fmp-hero.png') center center/cover no-repeat;
  z-index: 0;
}
.fp-home-hero-bg::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(15, 30, 60, 0.7); /* Dark overlay to make text readable */
}
.fp-home-hero-inner { 
  position: relative; 
  z-index: 1; 
  max-width: 800px; 
  margin: 0 auto; 
}
.fp-home-hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  margin: 0 0 1rem;
  letter-spacing: -0.02em;
  line-height: 1.15;
  text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}
.fp-home-hero .fp-hero-tagline {
  font-size: 1.25rem;
  opacity: 0.95;
  margin: 0 0 2.5rem;
  font-weight: 500;
  text-shadow: 0 1px 6px rgba(0,0,0,0.5);
}
.fp-home-hero .fp-hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  align-items: center;
}
.fp-home-hero .fp-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}
.fp-home-hero .fp-btn-primary {
  background: var(--fp-accent);
  color: #fff;
  box-shadow: 0 4px 14px rgba(230, 82, 81, 0.4);
}
.fp-home-hero .fp-btn-primary:hover {
  background: var(--fp-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(230, 82, 81, 0.45);
  color: #fff;
}
.fp-home-hero .fp-btn-secondary {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.5);
}
.fp-home-hero .fp-btn-secondary:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.8);
  color: #fff;
  transform: translateY(-2px);
}

/* Features strip */
.fp-home-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: -3rem auto 3rem;
  padding: 0 1.5rem;
  position: relative;
  z-index: 2;
}
.fp-home-feature-card {
  background: var(--fp-card-bg);
  border-radius: var(--fp-radius-lg);
  padding: 2.5rem 2rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s, box-shadow 0.3s;
  border-top: 4px solid var(--fp-accent);
}
.fp-home-feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.15);
}
.fp-home-feature-card .fp-feature-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}
.fp-home-feature-card h3 {
  font-size: 1.3rem;
  color: var(--fp-primary);
  margin: 0 0 0.75rem;
  font-weight: 700;
}
.fp-home-feature-card p {
  font-size: 1rem;
  color: #555;
  margin: 0;
  line-height: 1.6;
}

/* Split Content Sections */
.fp-home-split-section {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4rem;
  max-width: 1200px;
  margin: 4rem auto;
  padding: 2rem 1.5rem;
}
.fp-home-split-section.reverse {
  flex-direction: row-reverse;
}
.fp-home-split-content {
  flex: 1 1 400px;
}
.fp-home-split-content h2 {
  font-size: 2.25rem;
  color: var(--fp-primary);
  margin: 0 0 1rem;
  font-weight: 800;
  line-height: 1.2;
}
.fp-home-split-content p {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.7;
  margin: 0 0 1.5rem;
}
.fp-home-split-image {
  flex: 1 1 400px;
  position: relative;
  padding: 1rem;
}
.fp-home-split-image::before {
  content: '';
  position: absolute;
  top: 0; left: 3rem; right: -1rem; bottom: 2rem;
  background: var(--fp-accent);
  border-radius: 24px;
  z-index: 0;
  opacity: 0.15;
  transition: transform 0.4s ease;
}
.fp-home-split-section.reverse .fp-home-split-image::before {
  left: -1rem; right: 3rem;
  background: var(--fp-primary);
}
.fp-home-split-section:hover .fp-home-split-image::before {
  transform: translate(10px, 10px);
}
.fp-home-split-section.reverse:hover .fp-home-split-image::before {
  transform: translate(-10px, 10px);
}
.fp-home-split-image img {
  width: 100%;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  object-fit: cover;
  aspect-ratio: 4/3;
  display: block;
  position: relative;
  z-index: 1;
  border: 10px solid #fff;
}

/* Section */
.fp-home-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 6rem 1.5rem;
}
.fp-home-section h2 {
  font-size: 2.5rem;
  color: var(--fp-primary);
  text-align: center;
  margin: 0 0 0.5rem;
  font-weight: 800;
}
.fp-home-section .fp-section-sub {
  text-align: center;
  color: #666;
  margin: 0 auto 3.5rem;
  font-size: 1.15rem;
  max-width: 600px;
}

/* Facilities grid */
.fp-home-facilities {
  background: #f8f9fb;
}
.fp-facilities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
}
.fp-facility-card {
  background: var(--fp-card-bg);
  border-radius: var(--fp-radius-lg);
  overflow: hidden;
  box-shadow: var(--fp-card-shadow);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  color: inherit;
  display: block;
}
.fp-facility-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  color: inherit;
}
.fp-facility-card .fp-facility-image {
  aspect-ratio: 16/10;
  background: linear-gradient(145deg, #e8eaef 0%, #d1d5dc 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #9ca3af;
  font-size: 2.5rem;
}
.fp-facility-card .fp-facility-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.fp-facility-card .fp-facility-body {
  padding: 1.25rem;
}
.fp-facility-card .fp-facility-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--fp-primary);
  margin: 0 0 0.35rem;
}
.fp-facility-card .fp-facility-meta {
  font-size: 0.9rem;
  color: #666;
  margin: 0 0 0.5rem;
}
.fp-facility-card .fp-facility-desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.45;
}
.fp-facility-card .fp-facility-price {
  margin-top: 0.5rem;
  font-weight: 600;
  color: #0a7c42;
  font-size: 1rem;
}

/* CTA block */
.fp-home-cta {
  text-align: center;
  padding: 3rem 1.5rem;
  background: linear-gradient(135deg, #22345b 0%, #2d4577 100%);
  color: #fff;
}
.fp-home-cta h2 { color: #fff; margin: 0 0 0.5rem; }
.fp-home-cta p {
  max-width: 520px;
  margin: 0 auto 1.5rem;
  opacity: 0.95;
  font-size: 1.05rem;
}
.fp-home-cta .fp-btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  background: var(--fp-accent);
  color: #fff;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
}
.fp-home-cta .fp-btn:hover {
  background: var(--fp-accent-hover);
  color: #fff;
  transform: translateY(-2px);
}

/* Empty state */
.fp-home-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--fp-card-shadow);
  position: relative;
  overflow: hidden;
}
.fp-home-empty::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 180px;
  background: linear-gradient(135deg, var(--fp-primary) 0%, #2d4577 100%);
  z-index: 0;
}
.fp-home-empty-content {
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}
.fp-home-empty-img {
  width: 100%;
  max-width: 600px;
  height: auto;
  border-radius: 16px;
  margin-top: 1rem;
  margin-bottom: 2.5rem;
  box-shadow: 0 15px 35px rgba(0,0,0,0.15);
  border: 8px solid #fff;
}
.fp-home-empty h3 {
  font-size: 1.8rem;
  color: var(--fp-primary);
  margin-bottom: 1rem;
  font-weight: 800;
}
.fp-home-empty p {
  color: #555;
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

@media (max-width: 640px) {
  .fp-home-hero { padding: 3rem 1rem 4rem; }
  .fp-home-hero .fp-hero-ctas { flex-direction: column; }
  .fp-home-hero .fp-btn { width: 100%; max-width: 280px; text-align: center; }
  .fp-home-features { margin-top: -1.5rem; }
}
