/* Falcon Home Investors - Main Stylesheet */

:root {
  --navy: #1a365d;
  --navy-dark: #142848;
  --orange: #e86c4e;
  --orange-hover: #d55a3c;
  --white: #ffffff;
  --gray-light: #f7f7f7;
  --gray: #666666;
  --gray-dark: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--gray-dark);
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */
.top-bar {
  background: var(--navy-dark);
  color: var(--white);
  padding: 8px 0;
  font-size: 14px;
}

.top-bar .container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.top-bar a {
  color: var(--white);
}

header {
  background: var(--white);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 40px;
}

.logo-text {
  font-size: 24px;
  font-weight: 700;
  color: var(--navy);
}

.logo-text span {
  display: block;
  font-size: 12px;
  font-weight: 400;
  color: var(--gray);
}

nav ul {
  display: flex;
  gap: 30px;
  align-items: center;
}

nav a {
  color: var(--gray-dark);
  font-weight: 500;
  transition: color 0.3s;
}

nav a:hover {
  color: var(--orange);
}

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 5px;
  font-weight: 600;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-size: 16px;
}

.btn-primary {
  background: var(--navy);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--navy-dark);
}

.btn-orange {
  background: var(--orange);
  color: var(--white);
}

.btn-orange:hover {
  background: var(--orange-hover);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--navy);
  color: var(--navy);
}

.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

/* Mobile Menu */
.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  color: var(--navy);
}

/* Hero Section */
.hero {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange) 50%, var(--white) 50%);
  min-height: 600px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero-text {
  color: var(--white);
}

.hero-text .subtitle {
  font-size: 18px;
  margin-bottom: 10px;
  opacity: 0.9;
}

.hero-text h1 {
  font-size: 48px;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 30px;
  opacity: 0.9;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

/* Trust Signals */
.trust-signals {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid #eee;
}

.trust-grid {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
}

.trust-item {
  text-align: center;
}

.trust-item .number {
  font-size: 36px;
  font-weight: 700;
  color: var(--navy);
}

.trust-item .label {
  color: var(--gray);
  font-size: 14px;
}

/* Section Styles */
section {
  padding: 80px 0;
}

.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header h2 {
  font-size: 36px;
  color: var(--navy);
  margin-bottom: 15px;
}

.section-header p {
  color: var(--gray);
  font-size: 18px;
  max-width: 600px;
  margin: 0 auto;
}

/* How It Works */
.how-it-works {
  background: var(--gray-light);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.step {
  text-align: center;
  padding: 40px 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.step-icon {
  width: 80px;
  height: 80px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  margin: 0 auto 20px;
}

.step h3 {
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 10px;
}

.step p {
  color: var(--gray-dark);
}

/* Ensure text contrast */
.hero-text {
  color: var(--white);
}

.hero-text h1,
.hero-text p,
.hero-text .subtitle {
  color: var(--white);
}

.section-header h2 {
  color: var(--navy);
}

.section-header p {
  color: var(--gray-dark);
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.testimonial {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.testimonial-text {
  font-style: italic;
  color: var(--gray-dark);
  margin-bottom: 20px;
  font-size: 16px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-author img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  color: var(--navy);
  font-size: 16px;
}

.author-info p {
  color: var(--gray);
  font-size: 14px;
}

.stars {
  color: #ffc107;
  margin-bottom: 10px;
}

/* Service Areas */
.areas-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.area-card {
  text-align: center;
  padding: 30px;
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s;
}

.area-card:hover {
  transform: translateY(-5px);
}

.area-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.area-card h3 {
  color: var(--navy);
  font-size: 20px;
}

/* Lead Form */
.lead-form-section {
  background: var(--navy);
  color: var(--white);
}

.lead-form-section .section-header h2,
.lead-form-section .section-header p {
  color: var(--white);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: var(--white);
  padding: 40px;
  border-radius: 10px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 500;
  color: var(--gray-dark);
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--orange);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

/* 10DLC Compliant Consent */
.consent-section {
  background: #f9f9f9;
  padding: 20px;
  border-radius: 5px;
  margin: 20px 0;
  border: 1px solid #eee;
}

.consent-section .business-name {
  font-weight: 700;
  color: var(--navy);
  font-size: 16px;
  margin-bottom: 15px;
}

.consent-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 15px;
}

.consent-checkbox input[type="checkbox"] {
  width: 20px;
  height: 20px;
  margin-top: 3px;
  flex-shrink: 0;
}

.consent-checkbox label {
  font-size: 14px;
  color: var(--gray-dark);
  line-height: 1.5;
}

.consent-disclosures {
  font-size: 12px;
  color: var(--gray);
  line-height: 1.6;
}

.consent-disclosures p {
  margin-bottom: 8px;
}

.consent-disclosures a {
  color: var(--navy);
  text-decoration: underline;
}

/* Footer */
footer {
  background: var(--navy-dark);
  color: var(--white);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-about p {
  opacity: 0.8;
  margin: 20px 0;
}

.footer-section h4 {
  font-size: 18px;
  margin-bottom: 20px;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  opacity: 0.8;
  transition: opacity 0.3s;
}

.footer-section a:hover {
  opacity: 1;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.footer-bottom p {
  opacity: 0.7;
  font-size: 14px;
}

.legal-links {
  display: flex;
  gap: 20px;
}

.legal-links a {
  opacity: 0.7;
  font-size: 14px;
}

.legal-links a:hover {
  opacity: 1;
}

/* Page Header */
.page-header {
  background: var(--navy);
  color: var(--white);
  padding: 60px 0;
  text-align: center;
}

.page-header h1 {
  font-size: 42px;
  margin-bottom: 10px;
  color: var(--white);
}

.page-header p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 18px;
}

/* Content Pages */
.content-section {
  padding: 60px 0;
}

.content-section h2 {
  color: var(--navy);
  font-size: 28px;
  margin-bottom: 20px;
}

.content-section h3 {
  color: var(--navy);
  font-size: 22px;
  margin: 30px 0 15px;
}

.content-section p {
  margin-bottom: 15px;
  color: var(--gray-dark);
}

.content-section ul {
  margin: 15px 0 15px 20px;
  list-style: disc;
}

.content-section li {
  margin-bottom: 8px;
  color: var(--gray-dark);
}

/* FAQ */
.faq-item {
  background: var(--white);
  margin-bottom: 15px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  overflow: hidden;
}

.faq-question {
  padding: 20px 25px;
  font-weight: 600;
  color: var(--navy);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--gray-light);
}

.faq-question::after {
  content: '+';
  font-size: 24px;
  color: var(--orange);
}

.faq-item.active .faq-question::after {
  content: '−';
}

.faq-answer {
  padding: 0 25px;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s;
}

.faq-item.active .faq-answer {
  padding: 0 25px 20px;
  max-height: 500px;
}

/* About Page */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 40px;
}

.value-card {
  text-align: center;
  padding: 30px;
}

.value-card .icon {
  font-size: 40px;
  margin-bottom: 15px;
}

.value-card h3 {
  color: var(--navy);
  margin-bottom: 10px;
}

/* CTA Section */
.cta-section {
  background: var(--orange);
  color: var(--white);
  text-align: center;
  padding: 60px 0;
}

.cta-section h2 {
  font-size: 36px;
  margin-bottom: 15px;
}

.cta-section p {
  font-size: 18px;
  margin-bottom: 25px;
  opacity: 0.9;
}

.cta-section .btn {
  background: var(--white);
  color: var(--orange);
}

.cta-section .btn:hover {
  background: var(--navy);
  color: var(--white);
}

/* Responsive */
@media (max-width: 992px) {
  .hero-content {
    grid-template-columns: 1fr;
    text-align: center;
  }
  
  .hero {
    background: var(--orange);
  }
  
  .hero-buttons {
    justify-content: center;
  }
  
  .hero-image {
    display: none;
  }
  
  .steps-grid,
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
  
  .areas-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  
  .about-grid {
    grid-template-columns: 1fr;
  }
  
  .values-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  nav ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  }
  
  nav ul.active {
    display: flex;
  }
  
  .mobile-menu-btn {
    display: block;
    font-size: 28px;
    padding: 5px 10px;
  }
  
  .nav-container {
    position: relative;
  }
  
  .hero-text h1 {
    font-size: 28px;
    line-height: 1.3;
  }
  
  .hero-text p {
    font-size: 16px;
  }
  
  .hero-text .subtitle {
    font-size: 14px;
  }
  
  .hero-buttons {
    flex-direction: column;
    gap: 10px;
  }
  
  .hero-buttons .btn {
    width: 100%;
    text-align: center;
  }
  
  .trust-grid {
    gap: 20px;
    flex-direction: column;
  }
  
  .trust-item .number {
    font-size: 28px;
  }
  
  .section-header h2 {
    font-size: 26px;
  }
  
  .section-header p {
    font-size: 16px;
  }
  
  .step {
    padding: 25px 20px;
  }
  
  .step-icon {
    width: 60px;
    height: 60px;
    font-size: 24px;
  }
  
  .step h3 {
    font-size: 18px;
  }
  
  .testimonial {
    padding: 20px;
  }
  
  .form-row {
    grid-template-columns: 1fr;
  }
  
  .areas-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .area-card {
    padding: 20px;
  }
  
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
  
  section {
    padding: 40px 0;
  }
  
  .page-header {
    padding: 40px 0;
  }
  
  .page-header h1 {
    font-size: 32px;
  }
  
  .cta-section h2 {
    font-size: 26px;
  }
  
  .container {
    padding: 0 15px;
  }
  
  .logo-text {
    font-size: 20px;
  }
  
  /* Fix for families section on mobile */
  section > .container > div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 30px !important;
  }
}

/* Ensure images are responsive */
img {
  max-width: 100%;
  height: auto;
}

/* Logo in header */
.logo img {
  height: 60px;
  max-height: 60px;
}

@media (max-width: 768px) {
  .logo img {
    height: 50px;
    max-height: 50px;
  }
}

/* Sticky CTA Button on Mobile */
.sticky-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--orange);
  padding: 15px 20px;
  z-index: 999;
  box-shadow: 0 -4px 20px rgba(0,0,0,0.15);
}

.sticky-cta a {
  display: block;
  background: white;
  color: var(--orange);
  text-align: center;
  padding: 14px 20px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 16px;
}

@media (max-width: 768px) {
  .sticky-cta {
    display: block;
  }
  
  body {
    padding-bottom: 80px;
  }
}
