/* Custom Premium Design System for Branch Out Assisted Living */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400..900;1,400..900&family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap');

:root {
  --primary-green: #1b3b2b;
  --secondary-green: #2a523d;
  --dark-green: #0e1e16;
  --light-green: #eaf1ed;
  --gold: #d4af37;
  --gold-hover: #f3cf5a;
  --gold-dark: #aa851e;
  --cream: #FAF8F5;
  --white: #ffffff;
  --text-dark: #202b24;
  --text-light: #faf8f5;
  --font-title: 'Playfair Display', serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --transition-smooth: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  --box-shadow-premium: 0 20px 40px rgba(14, 30, 22, 0.06);
  --box-shadow-hover: 0 30px 60px rgba(14, 30, 22, 0.12);
}

/* Base Styles */
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background-color: var(--cream);
  overflow-x: hidden;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .display-font {
  font-family: var(--font-title);
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: var(--cream);
}
::-webkit-scrollbar-thumb {
  background: var(--secondary-green);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--gold);
}

/* Utility Colors & Gradients */
.bg-hunter {
  background-color: var(--primary-green) !important;
}
.bg-hunter-dark {
  background-color: var(--dark-green) !important;
}
.bg-cream {
  background-color: var(--cream) !important;
}
.text-gold {
  color: var(--gold) !important;
}
.text-hunter {
  color: var(--primary-green) !important;
}

/* Header & Navbar */
.navbar-custom {
  padding: 1.25rem 0;
  transition: var(--transition-smooth);
  z-index: 1030;
}
.navbar-custom.scrolled {
  padding: 0.75rem 0;
  background-color: rgba(14, 30, 22, 0.95);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}
.navbar-brand {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white) !important;
  transition: var(--transition-smooth);
}
.navbar-brand span {
  color: var(--gold);
}
.navbar-brand:hover {
  transform: translateY(-1px);
}
.nav-link-custom {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  font-size: 0.95rem;
  margin: 0 1rem;
  position: relative;
  transition: var(--transition-smooth);
}
.nav-link-custom:hover {
  color: var(--gold) !important;
}
.nav-link-custom::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--gold);
  transition: var(--transition-smooth);
}
.nav-link-custom:hover::after {
  width: 100%;
}

/* Buttons */
.btn-gold {
  background-color: var(--gold);
  color: var(--dark-green);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--gold);
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(212, 175, 55, 0.2);
}
.btn-gold:hover, .btn-gold:focus {
  background-color: var(--gold-hover);
  border-color: var(--gold-hover);
  color: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.35);
}
.btn-gold:active {
  transform: translateY(-1px);
}

.btn-outline-gold {
  background-color: transparent;
  color: var(--gold);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--gold);
  transition: var(--transition-smooth);
}
.btn-outline-gold:hover, .btn-outline-gold:focus {
  background-color: var(--gold);
  color: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}

.btn-hunter {
  background-color: var(--primary-green);
  color: var(--white);
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0.03em;
  padding: 0.8rem 2rem;
  border-radius: 50px;
  border: 2px solid var(--primary-green);
  transition: var(--transition-smooth);
}
.btn-hunter:hover {
  background-color: var(--secondary-green);
  border-color: var(--secondary-green);
  color: var(--white);
  transform: translateY(-3px);
}

/* Hero Section */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--dark-green) 0%, var(--primary-green) 100%);
  padding: 9rem 0 6rem 0;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
}
.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, rgba(0,0,0,0) 70%);
  z-index: 1;
  pointer-events: none;
}
.hero-content {
  z-index: 2;
  position: relative;
}
.hero-tagline {
  font-family: var(--font-body);
  font-weight: 600;
  color: var(--gold);
  letter-spacing: 0.15em;
  text-transform: uppercase;
  font-size: 0.9rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  position: relative;
  padding-left: 3rem;
}
.hero-tagline::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 2rem;
  height: 2px;
  background-color: var(--gold);
  transform: translateY(-50%);
}
.hero-title {
  color: var(--white);
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}
@media (max-width: 991px) {
  .hero-title {
    font-size: 2.8rem;
  }
  .hero-section {
    padding: 7rem 0 4rem 0;
    min-height: auto;
  }
}
.hero-subtitle {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.15rem;
  margin-bottom: 2.5rem;
  font-weight: 400;
  max-width: 550px;
}
.hero-img-container {
  position: relative;
  z-index: 2;
}
.hero-img-wrapper {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transform: perspective(1000px) rotateY(-5deg) rotateX(2deg);
  transition: var(--transition-smooth);
}
.hero-img-wrapper:hover {
  transform: perspective(1000px) rotateY(0deg) rotateX(0deg);
  box-shadow: 0 40px 80px rgba(212, 175, 55, 0.15);
}
.hero-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.6s ease;
}
.hero-img-wrapper:hover .hero-img {
  transform: scale(1.03);
}
.hero-img-backdrop {
  position: absolute;
  top: 20px;
  left: 20px;
  right: -20px;
  bottom: -20px;
  border: 2px solid var(--gold);
  border-radius: 24px;
  z-index: 1;
  pointer-events: none;
  opacity: 0.5;
  transition: var(--transition-smooth);
}
.hero-img-container:hover .hero-img-backdrop {
  top: 10px;
  left: 10px;
  right: -10px;
  bottom: -10px;
  opacity: 0.8;
}

/* Three Column Section */
.info-section {
  padding: 7rem 0;
  position: relative;
  background-color: var(--cream);
}
.info-title-area {
  margin-bottom: 4.5rem;
}
.section-badge {
  font-family: var(--font-body);
  font-weight: 700;
  color: var(--primary-green);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  background-color: var(--light-green);
  padding: 0.4rem 1.2rem;
  border-radius: 50px;
  display: inline-block;
  margin-bottom: 1rem;
}
.info-card {
  background: var(--white);
  border-radius: 20px;
  padding: 3rem 2.5rem;
  height: 100%;
  box-shadow: var(--box-shadow-premium);
  transition: var(--transition-smooth);
  border: 1px solid rgba(27, 59, 43, 0.04);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.info-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-green) 0%, var(--gold) 100%);
  opacity: 0;
  transition: var(--transition-smooth);
}
.info-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--box-shadow-hover);
  border-color: rgba(212, 175, 55, 0.2);
}
.info-card:hover::before {
  opacity: 1;
}
.info-icon-box {
  width: 70px;
  height: 70px;
  border-radius: 18px;
  background-color: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
  color: var(--primary-green);
  font-size: 1.8rem;
  transition: var(--transition-smooth);
}
.info-card:hover .info-icon-box {
  background-color: var(--primary-green);
  color: var(--gold);
  transform: scale(1.05);
}
.info-card h3 {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1.5rem;
}
.info-card p {
  color: #4a5c51;
  font-size: 1.05rem;
  line-height: 1.7;
}

/* Mission Column Specific */
.mission-text {
  text-align: justify;
  text-justify: inter-word;
}

/* Contact Column Specific */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}
.contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1.25rem;
  font-size: 1.05rem;
  color: #4a5c51;
}
.contact-list li i {
  color: var(--gold);
  font-size: 1.2rem;
  margin-right: 1rem;
  width: 24px;
  text-align: center;
}
.contact-list li a {
  color: #4a5c51;
  text-decoration: none;
  transition: var(--transition-smooth);
}
.contact-list li a:hover {
  color: var(--primary-green);
  padding-left: 4px;
}
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}
.social-icon-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-color: var(--light-green);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-green);
  font-size: 1.2rem;
  text-decoration: none;
  transition: var(--transition-smooth);
  border: 1px solid transparent;
}
.social-icon-btn:hover {
  background-color: var(--primary-green);
  color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(27, 59, 43, 0.15);
}

/* Signup Form Column Specific */
.signup-card-text {
  margin-bottom: 1.5rem;
}
.form-group-custom {
  position: relative;
  margin-bottom: 1.25rem;
}
.form-control-custom {
  background-color: var(--light-green);
  border: 2px solid transparent;
  border-radius: 12px;
  padding: 1rem 1.25rem;
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 500;
  width: 100%;
  transition: var(--transition-smooth);
}
.form-control-custom:focus {
  background-color: var(--white);
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
  outline: none;
}
.form-control-custom::placeholder {
  color: #7b8e83;
}
.btn-submit-custom {
  width: 100%;
  background-color: var(--primary-green);
  color: var(--white);
  border: 2px solid var(--primary-green);
  border-radius: 12px;
  padding: 1rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-smooth);
  box-shadow: 0 4px 15px rgba(27, 59, 43, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}
.btn-submit-custom:hover {
  background-color: var(--gold);
  border-color: var(--gold);
  color: var(--dark-green);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(212, 175, 55, 0.25);
}
.btn-submit-custom i {
  transition: var(--transition-smooth);
}
.btn-submit-custom:hover i {
  transform: translateX(4px);
}

/* Brevo form instructions placeholder */
.brevo-notice {
  font-size: 0.8rem;
  color: #7b8e83;
  margin-top: 1rem;
  text-align: center;
}
.brevo-notice a {
  color: var(--primary-green);
  text-decoration: underline;
  font-weight: 600;
}

/* Interactive Modal */
.modal-content-custom {
  background: var(--cream);
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 24px;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.25);
  overflow: hidden;
}
.modal-header-custom {
  background: var(--primary-green);
  color: var(--white);
  border-bottom: 2px solid var(--gold);
  padding: 2rem;
  position: relative;
}
.modal-title-custom {
  font-family: var(--font-title);
  font-weight: 700;
  font-size: 1.8rem;
}
.modal-title-custom span {
  color: var(--gold);
}
.btn-close-custom {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.75);
  font-size: 1.5rem;
  cursor: pointer;
  transition: var(--transition-smooth);
}
.btn-close-custom:hover {
  color: var(--gold);
  transform: rotate(90deg);
}
.modal-body-custom {
  padding: 2.5rem 2rem;
}

/* Footer */
footer {
  background-color: var(--dark-green);
  color: rgba(255, 255, 255, 0.7);
  padding: 4rem 0 2rem 0;
  border-top: 2px solid var(--gold);
}
.footer-logo {
  font-family: var(--font-title);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.footer-logo span {
  color: var(--gold);
}
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-links li {
  margin-bottom: 0.75rem;
}
.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition-smooth);
}
.footer-links a:hover {
  color: var(--gold);
}
.footer-bottom {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

/* Fade-in Animation Classes */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.animate-on-scroll.appear {
  opacity: 1;
  transform: translateY(0);
}

/* Micro-animations */
@keyframes pulse-subtle {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.pulse-hover:hover {
  animation: pulse-subtle 1.5s infinite ease-in-out;
}
