/* ==========================================================================
   Custom Styles - HOA Accounting Bakersfield
   Palette: Deep Pacific Navy (#0D3B66) & Warm Bakersfield Terracotta (#F4A261 / #E76F51)
   ========================================================================== */

:root {
  --clr-drk-blue: #0D3B66;
  --clr-blue: #E76F51;
  --clr-blue-3: #0D3B66;
  --clr-white: #FFFFFF;
  --clr-lgt-grey: #64748B;
  --clr-drk-grey: #334155;
  --clr-drk-grey2: #0F172A;
  --bg-lgt-blue: #F4F7FB;
  --bg-lgt-grey: #FAFCFE;
  --bg-lgt-grey-2: #F8FAFC;
  --bg-lgt-grey-3: #EDF2F7;
  --bg-lgt-grey-4: #E2E8F0;
  --clr-lgt-grey-5: #F8FAFC;
  --bg-drk-grey-1: #0A2540;
  --clr-vlgt-blue: rgba(231, 111, 81, 0.12);
  --clr-drk-white: #FCFAFA;
  --clr-drk-grey-2: #475569;
  --clr-white-2: #E2E8F0;
  --clr-black: #0F172A;
  --clr-white-3: #FFFFFF;
  --clr-black-2: #091E33;
  --clr-lgt-blue: #F0F5FA;
  --clr-gold-yellow: #F4A261;
  --clr-blue-2: rgba(231, 111, 81, 0.2);
  --clr-orange: #E76F51;
  --clr-grey-white: #94A3B8;
  --clr-lgt-grey-3: rgba(100, 116, 139, 0.2);
  --clr-lgt-black: #1E293B;
}

body {
  font-family: 'Inter', 'Montserrat', sans-serif;
  color: #334155;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  color: #0D3B66;
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Header & Navigation */
.top-menu-main-block {
  background: #FFFFFF;
  box-shadow: 0 4px 20px rgba(13, 59, 102, 0.08);
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 999;
}

.rexain-logo a {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-container {
  min-height: 48px;
  display: flex;
  align-items: center;
}

.logo-text-brand {
  font-size: 22px;
  font-weight: 800;
  color: #0D3B66;
  line-height: 1.1;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.logo-text-brand span {
  color: #E76F51;
}

.logo-text-sub {
  font-size: 11px;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 2px;
  text-transform: uppercase;
  display: block;
}

.nav-link {
  color: #0D3B66 !important;
  font-weight: 600 !important;
  font-size: 15px !important;
  padding: 10px 16px !important;
  transition: all 0.3s ease;
}

.nav-link:hover, .nav-link.active {
  color: #E76F51 !important;
}

/* Call to Action Button */
.btn-cta-phone {
  background: linear-gradient(135deg, #0D3B66 0%, #174C7D 100%);
  color: #FFFFFF !important;
  font-weight: 700;
  font-size: 14px;
  padding: 12px 24px;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 15px rgba(13, 59, 102, 0.25);
  transition: all 0.3s ease;
  text-decoration: none;
}

.btn-cta-phone:hover {
  background: linear-gradient(135deg, #E76F51 0%, #F4A261 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(231, 111, 81, 0.35);
  color: #FFFFFF !important;
}

.btn-primary-custom {
  background: #E76F51;
  color: #FFFFFF;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid #E76F51;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-primary-custom:hover {
  background: #0D3B66;
  border-color: #0D3B66;
  color: #FFFFFF;
}

.btn-outline-custom {
  background: transparent;
  color: #0D3B66;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 8px;
  border: 2px solid #0D3B66;
  transition: all 0.3s ease;
  display: inline-block;
  text-decoration: none;
}

.btn-outline-custom:hover {
  background: #0D3B66;
  color: #FFFFFF;
}

/* Hero Section */
.hero-bakersfield {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.48) 0%, rgba(10, 37, 64, 0.38) 100%), url('../images/bg/hero-bakersfield.png') center/cover no-repeat;
  padding: 120px 0 100px;
  color: #FFFFFF;
  position: relative;
}

.hero-bakersfield h1 {
  color: #FFFFFF;
  font-size: 52px;
  line-height: 1.2;
  font-weight: 800;
}

.hero-bakersfield h1 span {
  color: #F4A261;
}

.hero-bakersfield p {
  font-size: 18px;
  color: #E2E8F0;
  line-height: 1.6;
  max-width: 600px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  background: rgba(244, 162, 97, 0.18);
  border: 1px solid rgba(244, 162, 97, 0.4);
  color: #F4A261;
  padding: 6px 16px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 20px;
}

/* Feature & Service Cards */
.feature-card {
  background: #FFFFFF;
  border: 1px solid #EDF2F7;
  border-radius: 16px;
  padding: 35px 30px;
  box-shadow: 0 10px 30px rgba(13, 59, 102, 0.05);
  transition: all 0.3s ease;
  height: 100%;
}

.feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 40px rgba(13, 59, 102, 0.12);
  border-color: #F4A261;
}

.feature-icon-wrapper {
  width: 64px;
  height: 64px;
  border-radius: 14px;
  background: rgba(231, 111, 81, 0.1);
  color: #E76F51;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  margin-bottom: 22px;
  transition: all 0.3s ease;
}

.feature-card:hover .feature-icon-wrapper {
  background: #E76F51;
  color: #FFFFFF;
}

.feature-card h4 {
  font-size: 20px;
  margin-bottom: 12px;
  font-weight: 700;
}

.feature-card p {
  color: #64748B;
  font-size: 15px;
  line-height: 1.6;
}

/* Stats Counter Section */
.stats-section {
  background: #0D3B66;
  color: #FFFFFF;
  padding: 70px 0;
}

.stat-item h3 {
  color: #F4A261;
  font-size: 46px;
  font-weight: 800;
  margin-bottom: 5px;
}

.stat-item p {
  color: #CBD5E1;
  font-size: 15px;
  font-weight: 500;
}

/* California & Bakersfield Focus Banner */
.ca-compliance-banner {
  background: #F8FAFC;
  border-left: 5px solid #E76F51;
  padding: 25px 30px;
  border-radius: 0 12px 12px 0;
  margin: 30px 0;
}

/* Page Breadcrumbs Banners with Real Images */
.page-banner {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.48) 0%, rgba(10, 37, 64, 0.38) 100%), url('../images/bg/banner-about.png') center/cover no-repeat;
  padding: 85px 0 75px;
  color: #FFFFFF;
  text-align: center;
}

.page-banner-about {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.48) 0%, rgba(10, 37, 64, 0.38) 100%), url('../images/bg/banner-about.png') center/cover no-repeat;
}

.page-banner-services {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.48) 0%, rgba(10, 37, 64, 0.38) 100%), url('../images/bg/banner-services.png') center/cover no-repeat;
}

.page-banner-team {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.48) 0%, rgba(10, 37, 64, 0.38) 100%), url('../images/bg/banner-team.png') center/cover no-repeat;
}

.page-banner-contact {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.48) 0%, rgba(10, 37, 64, 0.38) 100%), url('../images/bg/banner-contact.png') center/cover no-repeat;
}

.page-banner h1 {
  color: #FFFFFF;
  font-size: 42px;
  font-weight: 800;
  margin-bottom: 10px;
}

.page-banner p {
  color: #CBD5E1;
  font-size: 16px;
  max-width: 650px;
  margin: 0 auto;
}

.page-banner .breadcrumb {
  justify-content: center;
  margin-top: 15px;
}

.page-banner .breadcrumb-item, .page-banner .breadcrumb-item a {
  color: #F4A261;
  font-weight: 500;
}

.page-banner .breadcrumb-item.active {
  color: #E2E8F0;
}

/* Team Card */
.team-card {
  background: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(13, 59, 102, 0.06);
  border: 1px solid #EDF2F7;
  transition: all 0.3s ease;
  height: 100%;
  padding: 34px 22px 28px;
  text-align: center;
}

.team-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(13, 59, 102, 0.12);
  border-color: rgba(231, 111, 81, 0.3);
}

.team-avatar-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #0D3B66 0%, #E76F51 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  font-size: 30px;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(13, 59, 102, 0.2);
  transition: transform 0.3s ease;
}

.team-card:hover .team-avatar-icon {
  transform: scale(1.08);
}

.team-content {
  padding: 0;
  text-align: center;
}

.team-content h4 {
  font-size: 19px;
  font-weight: 700;
  margin-bottom: 6px;
  color: #1E293B;
}

.team-content span {
  display: inline-block;
  background: rgba(231, 111, 81, 0.12);
  color: #E76F51;
  font-size: 12px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: 50px;
  margin-bottom: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.team-content p {
  color: #64748B;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

/* Quote & Contact Form */
.form-box {
  background: #FFFFFF;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 15px 45px rgba(13, 59, 102, 0.08);
  border: 1px solid #EDF2F7;
}

.form-box label {
  font-weight: 600;
  color: #0D3B66;
  font-size: 14px;
  margin-bottom: 8px;
}

.form-box .form-control, .form-box .form-select {
  border: 1.5px solid #CBD5E1;
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 15px;
  color: #1E293B;
  transition: all 0.3s ease;
}

.form-box .form-control:focus, .form-box .form-select:focus {
  border-color: #E76F51;
  box-shadow: 0 0 0 3px rgba(231, 111, 81, 0.15);
}

.amenity-checkbox {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: #475569;
  background: #F8FAFC;
  padding: 8px 12px;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.amenity-checkbox:hover {
  background: #EDF2F7;
  border-color: #CBD5E1;
}

.amenity-checkbox input[type="checkbox"] {
  accent-color: #E76F51;
  width: 16px;
  height: 16px;
}

/* Footer */
.footer-bakersfield {
  background: #091E33;
  color: #94A3B8;
  padding: 80px 0 30px;
}

.footer-bakersfield h4 {
  color: #FFFFFF;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 22px;
  position: relative;
  padding-bottom: 10px;
}

.footer-bakersfield h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: #E76F51;
}

.footer-bakersfield p {
  color: #94A3B8;
  font-size: 14px;
  line-height: 1.6;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 12px;
}

.footer-links li a {
  color: #94A3B8;
  text-decoration: none;
  font-size: 14px;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a:hover {
  color: #F4A261;
  transform: translateX(4px);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 30px;
  margin-top: 50px;
  font-size: 13px;
  color: #64748B;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .hero-bakersfield h1 {
    font-size: 38px;
  }
  .hero-bakersfield {
    padding: 80px 0 60px;
  }
}

@media (max-width: 767px) {
  .hero-bakersfield h1 {
    font-size: 30px;
  }
  .form-box {
    padding: 25px 20px;
  }
}
