/* =======================================================
   PILLAR OF HOPE RESIDENCE — SHARED STYLES
   Header, Footer, Base, Reset
======================================================= */

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; color: #333; background: #fff; }

/* ===== TOP BAR ===== */
.pohr-topbar {
  background: #1B3A5C;
  padding: 8px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.pohr-topbar-left {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.pohr-topbar-left a {
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: color 0.2s;
}
.pohr-topbar-left a:hover { color: #E07B39; }
.pohr-topbar-left a i { color: #E07B39; font-size: 12px; }
.pohr-topbar-right { display: flex; align-items: center; gap: 10px; }
.pohr-topbar-right a {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 13px;
  text-decoration: none;
  transition: all 0.2s;
}
.pohr-topbar-right a:hover { background: #E07B39; color: #fff; }

/* ===== MAIN HEADER ===== */
.pohr-header {
  background: #ffffff;
  padding: 0 40px;
  box-shadow: 0 2px 20px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 9999;
  border-bottom: 3px solid #E07B39;
}
.pohr-header-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
}
.pohr-logo {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
  flex-shrink: 0;
}
.pohr-logo img {
  height: 85px;
  width: auto;
  object-fit: contain;
}
.pohr-logo-text { display: flex; flex-direction: column; }
.pohr-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: #1B3A5C;
  line-height: 1.1;
}
.pohr-logo-tagline {
  font-size: 10px;
  color: #E07B39;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
  font-family: 'Inter', sans-serif;
}

/* ===== NAVIGATION ===== */
.pohr-nav {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.pohr-nav li a {
  font-family: 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 500;
  color: #333;
  text-decoration: none;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.2s;
  white-space: nowrap;
  position: relative;
}
.pohr-nav li a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background: #E07B39;
  border-radius: 2px;
  transition: width 0.3s;
}
.pohr-nav li a:hover { color: #E07B39; background: rgba(224,123,57,0.06); }
.pohr-nav li a:hover::after { width: 60%; }
.pohr-nav li a.active { color: #E07B39; }
.pohr-nav li a.active::after { width: 60%; }

/* APPLY NOW BUTTON */
.pohr-nav-cta {
  background: #E07B39 !important;
  color: #ffffff !important;
  padding: 10px 22px !important;
  border-radius: 50px !important;
  font-weight: 600 !important;
  margin-left: 8px;
  box-shadow: 0 4px 15px rgba(224,123,57,0.35);
}
.pohr-nav-cta:hover {
  background: #c96b2a !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(224,123,57,0.45) !important;
}
.pohr-nav-cta::after { display: none !important; }

/* HAMBURGER */
.pohr-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 6px;
  background: none;
  border: none;
}
.pohr-hamburger span {
  display: block;
  width: 26px;
  height: 2.5px;
  background: #1B3A5C;
  border-radius: 3px;
}

/* MOBILE MENU */
.pohr-mobile-menu {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(27,58,92,0.97);
  z-index: 99999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.pohr-mobile-menu.open { display: flex; }
.pohr-mobile-menu a {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  color: #ffffff;
  text-decoration: none;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 8px;
  transition: color 0.2s;
}
.pohr-mobile-menu a:hover { color: #E07B39; }
.pohr-mobile-close {
  position: absolute;
  top: 24px; right: 28px;
  background: none;
  border: none;
  color: #ffffff;
  font-size: 36px;
  cursor: pointer;
  line-height: 1;
}
.pohr-mobile-cta {
  margin-top: 10px;
  background: #E07B39 !important;
  border-radius: 50px !important;
  font-size: 20px !important;
  padding: 14px 44px !important;
}

@media (max-width: 900px) {
  .pohr-nav { display: none; }
  .pohr-hamburger { display: flex; }
  .pohr-topbar { padding: 6px 20px; }
  .pohr-header { padding: 0 20px; }
}
@media (max-width: 500px) {
  .pohr-logo-text { display: none; }
  .pohr-topbar-right { display: none; }
  .pohr-topbar-left a span { display: none; }
}

/* =======================================================
   FOOTER
======================================================= */
.pohr-footer {
  background: #0e2440;
  color: #ffffff;
  font-family: 'Inter', sans-serif;
}
.pohr-footer-top {
  padding: 70px 40px 50px;
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 50px;
}
.pohr-footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  text-decoration: none;
  background: rgba(255,255,255,0.97);
  border: 1px solid rgba(255,255,255,0.65);
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 24px rgba(0,0,0,0.22);
}
.pohr-footer-logo img {
  height: 60px;
  width: auto;
  display: block;
}
.pohr-footer-logo-txt { display: flex; flex-direction: column; }
.pohr-footer-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #0e2440;
  line-height: 1.2;
}
.pohr-footer-logo-tag {
  font-size: 10px;
  color: #d86424;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-top: 3px;
}
.pohr-footer-brand-desc {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.8;
  margin-bottom: 24px;
}
.pohr-footer-social { display: flex; gap: 10px; }
.pohr-footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  text-decoration: none;
  transition: all 0.2s;
}
.pohr-footer-social a:hover {
  background: #E07B39;
  color: #fff;
  transform: translateY(-2px);
}
.pohr-footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  color: #E07B39;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  margin-bottom: 22px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-family: 'Inter', sans-serif;
}
.pohr-footer-links { list-style: none; }
.pohr-footer-links li { margin-bottom: 11px; }
.pohr-footer-links a {
  color: rgba(255,255,255,0.70);
  text-decoration: none;
  font-size: 14px;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
}
.pohr-footer-links a::before {
  content: '›';
  color: #E07B39;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}
.pohr-footer-links a:hover { color: #E07B39; padding-left: 4px; }
.pohr-footer-contact-list { list-style: none; }
.pohr-footer-contact-list li {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  align-items: flex-start;
}
.pohr-footer-contact-list li i {
  color: #E07B39;
  font-size: 15px;
  margin-top: 2px;
  flex-shrink: 0;
  width: 18px;
}
.pohr-footer-contact-list li span,
.pohr-footer-contact-list li a {
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  text-decoration: none;
  line-height: 1.5;
  font-family: 'Inter', sans-serif;
}
.pohr-footer-contact-list li a:hover { color: #E07B39; }
.pohr-footer-hours {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 14px 16px;
  margin-top: 16px;
}
.pohr-footer-hours p {
  font-size: 11px;
  color: rgba(255,255,255,0.55);
  margin-bottom: 5px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-weight: 600;
  font-family: 'Inter', sans-serif;
}
.pohr-footer-hours strong {
  font-size: 14px;
  color: rgba(255,255,255,0.90);
  font-weight: 500;
  font-family: 'Inter', sans-serif;
}
.pohr-footer-strip {
  background: #E07B39;
  padding: 22px 40px;
  text-align: center;
}
.pohr-footer-strip p {
  font-size: 16px;
  color: #ffffff;
  font-family: 'Playfair Display', serif;
  font-style: italic;
  font-weight: 500;
}
.pohr-footer-bottom {
  background: #091829;
  padding: 18px 40px;
}
.pohr-footer-bottom-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.pohr-footer-bottom p {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  font-family: 'Inter', sans-serif;
}
.pohr-footer-bottom-links { display: flex; gap: 20px; }
.pohr-footer-bottom-links a {
  font-size: 13px;
  color: rgba(255,255,255,0.40);
  text-decoration: none;
  font-family: 'Inter', sans-serif;
  transition: color 0.2s;
}
.pohr-footer-bottom-links a:hover { color: #E07B39; }

@media (max-width: 960px) {
  .pohr-footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    padding: 50px 30px 40px;
  }
}
@media (max-width: 580px) {
  .pohr-footer-top {
    grid-template-columns: 1fr;
    padding: 40px 20px 36px;
    gap: 32px;
  }
  .pohr-footer-logo { width: 100%; max-width: 100%; padding: 10px 12px; gap: 10px; }
  .pohr-footer-logo img { height: 52px; }
  .pohr-footer-logo-name { font-size: 14px; }
  .pohr-footer-logo-tag { font-size: 9px; letter-spacing: 1.4px; }
  .pohr-footer-strip { padding: 18px 20px; }
  .pohr-footer-bottom { padding: 16px 20px; }
  .pohr-footer-bottom-inner { flex-direction: column; text-align: center; }
}

/* =======================================================
   SHARED REVEAL ANIMATIONS (used by all pages)
======================================================= */
@keyframes fadeInUp { from { opacity:0; transform:translateY(50px); } to { opacity:1; transform:translateY(0); } }
@keyframes fadeInLeft { from { opacity:0; transform:translateX(-50px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeInRight { from { opacity:0; transform:translateX(50px); } to { opacity:1; transform:translateX(0); } }
@keyframes fadeIn { from { opacity:0; } to { opacity:1; } }
@keyframes float { 0%,100% { transform:translateY(0); } 50% { transform:translateY(-12px); } }
@keyframes pulse { 0%,100% { box-shadow: 0 8px 30px rgba(224,123,57,0.35); } 50% { box-shadow: 0 8px 55px rgba(224,123,57,0.7); } }
@keyframes shimmer { 0% { opacity:0.6; } 50% { opacity:1; } 100% { opacity:0.6; } }

.reveal { opacity: 0; transform: translateY(40px); transition: all 0.75s cubic-bezier(0.4,0,0.2,1); }
.reveal-left { opacity: 0; transform: translateX(-50px); transition: all 0.75s cubic-bezier(0.4,0,0.2,1); }
.reveal-right { opacity: 0; transform: translateX(50px); transition: all 0.75s cubic-bezier(0.4,0,0.2,1); }
.reveal-fade { opacity: 0; transition: opacity 0.9s ease; }
.reveal.visible, .reveal-left.visible, .reveal-right.visible, .reveal-fade.visible { opacity: 1; transform: none; }
.d1 { transition-delay: .1s !important; }
.d2 { transition-delay: .2s !important; }
.d3 { transition-delay: .3s !important; }
.d4 { transition-delay: .4s !important; }
.d5 { transition-delay: .5s !important; }
.d6 { transition-delay: .6s !important; }
.d7 { transition-delay: .7s !important; }
