/* Unity Housing Alliance - HTML Pages Stylesheet */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700;800&family=Open+Sans:wght@400;600;700&display=swap');

/* CSS Variables - Brand Colors */
:root {
  --navy: #1E235E;
  --navy-dark: #141842;
  --gold: #D4AF37;
  --gold-dark: #b8941f;
  --black: #000000;
  --white: #FFFFFF;
  --light-gray: #F5F5F5;
  --medium-gray: #E0E0E0;
  --text-dark: #333333;
  --text-light: #666666;
}

/* Global Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

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

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
  max-width: 1200px;
  margin: 0 auto;
  padding: 1rem 20px;
}

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

.logo {
  height: 60px;
  width: auto;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.2rem;
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

nav {
  display: flex;
  align-items: center;
  gap: 2rem;
}

nav a {
  font-family: 'Open Sans', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy);
  transition: color 0.3s ease;
  position: relative;
}

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

nav a.active {
  color: var(--gold);
}

/* Buttons */
.btn {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  padding: 12px 30px;
  border-radius: 5px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  text-align: center;
  font-size: 1rem;
}

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

.btn-primary:hover {
  background: var(--gold-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(212, 175, 55, 0.3);
}

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

.btn-secondary:hover {
  background: var(--navy-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(30, 35, 94, 0.3);
}

.btn-large {
  padding: 15px 40px;
  font-size: 1.1rem;
}

/* Veteran Badge - Certificate Seal Style */
.veteran-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 50%, #D4AF37 100%);
  border-radius: 50%;
  width: 130px;
  height: 130px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  color: var(--navy);
  font-size: 0.75rem;
  line-height: 1.25;
  padding: 20px;
  box-shadow:
    0 4px 15px rgba(0,0,0,0.3),
    inset 0 2px 5px rgba(255,255,255,0.5),
    inset 0 -2px 5px rgba(0,0,0,0.2);
  z-index: 100;
  border: 3px solid var(--navy);
  position: relative;
}

.veteran-badge::before {
  content: '';
  position: absolute;
  top: 5px;
  left: 5px;
  right: 5px;
  bottom: 5px;
  border-radius: 50%;
  border: 2px solid var(--navy);
  opacity: 0.3;
}

.veteran-badge::after {
  content: '';
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  height: 30px;
  background: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
  border: 2px solid var(--navy);
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Hero Section */
.hero {
  position: relative;
  background: linear-gradient(rgba(30, 35, 94, 0.7), rgba(30, 35, 94, 0.7)),
              url('https://images.unsplash.com/photo-1560518883-ce09059eeffa?w=1600') center/cover;
  color: var(--white);
  padding: 120px 20px 80px;
  text-align: center;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: 3.5rem;
  font-weight: 800;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

.hero p {
  font-size: 1.3rem;
  margin-bottom: 2rem;
  line-height: 1.8;
  font-weight: 400;
}

/* Stats Bar */
.stats-bar {
  background: var(--gold);
  padding: 40px 20px;
  margin-top: -1px;
}

.stats-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.stat-item {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  color: var(--navy);
}

.stat-icon {
  font-size: 3rem;
  color: var(--navy);
}

.stat-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 2.5rem;
  margin-bottom: 0.25rem;
  color: var(--navy);
}

.stat-content p {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0;
  color: var(--navy);
}

.stat-content small {
  font-size: 0.9rem;
  font-weight: 400;
  color: var(--navy-dark);
}

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

.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title h2 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 2.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.section-title p {
  font-size: 1.2rem;
  color: var(--text-light);
  max-width: 800px;
  margin: 0 auto;
}

/* Mission Section */
.mission-section {
  background: var(--navy);
  color: var(--white);
  text-align: center;
}

.mission-section h2 {
  color: var(--gold);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

.mission-section p {
  font-size: 1.1rem;
  line-height: 1.8;
  max-width: 900px;
  margin: 0 auto 1.5rem;
}

/* Features Grid - Why Choose Section */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.feature-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid transparent;
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.12);
  border-color: var(--gold);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: 50%;
  font-size: 2.5rem;
  color: var(--navy);
}

.feature-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.3rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.feature-card p {
  font-size: 1rem;
  color: var(--text-light);
  line-height: 1.6;
}

/* Housing Options Cards */
.housing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.housing-card {
  background: var(--white);
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 2px solid var(--medium-gray);
}

.housing-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 40px rgba(0,0,0,0.15);
  border-color: var(--gold);
}

.housing-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.housing-content {
  padding: 30px;
}

.housing-content h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 1rem;
}

.housing-content p {
  font-size: 1rem;
  color: var(--text-light);
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.housing-features {
  list-style: none;
  margin-bottom: 1.5rem;
}

.housing-features li {
  padding: 8px 0;
  font-size: 0.95rem;
  color: var(--text-dark);
  display: flex;
  align-items: center;
  gap: 10px;
}

.housing-features li:before {
  content: '\2713';
  color: var(--gold);
  font-weight: bold;
  font-size: 1.2rem;
}

.housing-price {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.8rem;
  color: var(--navy);
  margin: 1.5rem 0;
}

.housing-price small {
  font-size: 1.2rem;
  font-weight: 600;
}

.availability {
  display: inline-block;
  padding: 8px 16px;
  background: var(--light-gray);
  border-radius: 5px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-dark);
}

.availability.available {
  background: #d4edda;
  color: #155724;
}

.availability.limited {
  background: #fff3cd;
  color: #856404;
}

.availability.waitlist {
  background: #f8d7da;
  color: #721c24;
}

/* Values Section - Six Core Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.value-card {
  background: var(--white);
  padding: 40px 30px;
  border-radius: 10px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
  border: 3px solid var(--gold);
  transition: transform 0.3s ease;
}

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

.value-icon {
  width: 100px;
  height: 100px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  color: var(--gold);
}

.value-card h3 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--navy);
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.value-card p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.6;
}

/* Commitment Section */
.commitment-section {
  background: var(--navy);
  color: var(--white);
  padding: 80px 20px;
}

.commitment-section h2 {
  color: var(--gold);
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.commitment-list {
  max-width: 800px;
  margin: 0 auto;
  list-style: none;
}

.commitment-list li {
  font-size: 1.2rem;
  padding: 15px 0;
  padding-left: 40px;
  position: relative;
  line-height: 1.6;
}

.commitment-list li:before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-size: 2rem;
  font-weight: bold;
}

/* CTA Section */
.cta-section {
  background: var(--gold);
  padding: 60px 20px;
  text-align: center;
}

.cta-section h2 {
  color: var(--navy);
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-transform: uppercase;
}

/* Contact Form */
.contact-form-section {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.form-container {
  background: var(--white);
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 15px;
  border: 2px solid var(--medium-gray);
  border-radius: 5px;
  font-family: 'Open Sans', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

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

.form-group textarea {
  min-height: 120px;
  resize: vertical;
}

.form-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.benefit-box {
  background: var(--white);
  padding: 25px;
  border-radius: 10px;
  border: 2px solid var(--gold);
  text-align: center;
}

.benefit-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  border-radius: 50%;
  font-size: 2rem;
  color: var(--navy);
}

.benefit-box p {
  font-size: 1rem;
  color: var(--text-dark);
  line-height: 1.5;
  font-weight: 600;
}

.contact-info-box {
  background: var(--light-gray);
  padding: 40px;
  border-radius: 10px;
  margin-top: 40px;
}

.contact-info-box h3 {
  color: var(--navy);
  margin-bottom: 20px;
}

.contact-detail {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.contact-detail i {
  color: var(--gold);
  font-size: 1.5rem;
  width: 30px;
}

/* Challenge/Solution Sections */
.challenge-section {
  background: var(--white);
  padding: 60px 20px;
}

.challenge-box {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.challenge-box h3 {
  color: var(--navy);
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.barriers-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  padding: 30px;
  background: var(--light-gray);
  border: 3px solid var(--navy);
  border-radius: 10px;
}

.barriers-list ul {
  list-style: none;
  text-align: left;
}

.barriers-list li {
  padding: 8px 0;
  padding-left: 25px;
  position: relative;
  font-size: 1rem;
}

.barriers-list li:before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.5rem;
}

.solution-section {
  background: var(--light-gray);
  padding: 60px 20px;
}

.solution-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  align-items: center;
}

.solution-image {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.solution-text h3 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 20px;
}

.solution-text ul {
  list-style: none;
}

.solution-text li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
  font-size: 1.1rem;
}

.solution-text li:before {
  content: '\2022';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: bold;
  font-size: 1.5rem;
}

/* Collaborative Approach */
.approach-section {
  padding: 60px 20px;
}

.approach-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.approach-card {
  background: var(--gold);
  padding: 30px 20px;
  border-radius: 10px;
  text-align: center;
  border: 3px solid var(--navy);
}

.approach-card h4 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
  font-weight: 700;
}

.approach-card p {
  color: var(--navy);
  font-size: 0.95rem;
  font-weight: 600;
}

/* Impact Icons Section */
.impact-section {
  background: var(--white);
  padding: 60px 20px;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

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

.impact-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  color: var(--navy);
}

.impact-item h4 {
  color: var(--gold);
  font-size: 0.95rem;
  margin-bottom: 8px;
  text-transform: uppercase;
  font-weight: 700;
}

.impact-item p {
  font-size: 0.85rem;
  color: var(--text-dark);
  line-height: 1.4;
}

/* Testimonial Section */
.testimonial-section {
  background: var(--navy);
  padding: 60px 20px;
  text-align: center;
  color: var(--white);
}

.testimonial-section h3 {
  color: var(--gold);
  font-size: 2rem;
  margin-bottom: 30px;
  text-transform: uppercase;
}

.testimonial-quote {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.3rem;
  font-style: italic;
  line-height: 1.8;
  position: relative;
  padding: 20px 0;
}

.testimonial-quote:before {
  content: '\201C';
  font-size: 5rem;
  color: var(--gold);
  position: absolute;
  top: -20px;
  left: -40px;
}

.testimonial-author {
  margin-top: 20px;
  font-size: 1.1rem;
  color: var(--gold);
  font-weight: 600;
}

/* Key Points Section */
.key-points-section {
  padding: 60px 20px;
  background: var(--light-gray);
}

.key-points-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.key-point {
  background: var(--white);
  padding: 30px;
  border-radius: 10px;
  border: 2px solid var(--gold);
}

.key-point-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 10px;
  font-family: 'Montserrat', sans-serif;
}

.key-point h4 {
  color: var(--navy);
  font-size: 1.1rem;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.key-point p {
  color: var(--text-dark);
  font-size: 0.95rem;
}

.key-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.highlight-box {
  background: var(--navy);
  color: var(--white);
  padding: 30px;
  border-radius: 10px;
  text-align: center;
}

.highlight-box h4 {
  color: var(--gold);
  font-size: 1.2rem;
  margin-bottom: 15px;
  text-transform: uppercase;
}

.highlight-box p {
  font-size: 1rem;
  line-height: 1.6;
}

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

.footer-content {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto 40px;
}

.footer-logo-section {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  height: 80px;
  width: auto;
}

.footer-address p {
  margin-bottom: 10px;
  line-height: 1.6;
}

.footer-links h4 {
  color: var(--gold);
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.footer-links ul {
  list-style: none;
}

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

.footer-links a {
  color: var(--white);
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.social-links {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.social-links a {
  width: 40px;
  height: 40px;
  background: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.social-links a:hover {
  transform: translateY(-3px);
}

.footer-bottom {
  text-align: center;
  padding-top: 30px;
  border-top: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

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

.page-header h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.page-header p {
  font-size: 1.2rem;
  max-width: 800px;
  margin: 0 auto;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .features-grid,
  .housing-grid,
  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .stats-container {
    grid-template-columns: repeat(2, 1fr);
  }

  .impact-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .approach-grid,
  .key-points-grid,
  .key-highlights {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.5rem; }

  nav {
    flex-direction: column;
    gap: 1rem;
  }

  .hero {
    padding: 80px 20px 60px;
    min-height: 400px;
  }

  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.1rem;
  }

  .stats-container,
  .features-grid,
  .housing-grid,
  .values-grid,
  .approach-grid,
  .impact-grid,
  .key-points-grid,
  .key-highlights {
    grid-template-columns: 1fr;
  }

  .contact-form-section,
  .solution-content,
  .form-benefits,
  .footer-content {
    grid-template-columns: 1fr;
  }

  .barriers-list {
    grid-template-columns: 1fr;
  }

  .veteran-badge {
    width: 90px;
    height: 90px;
    font-size: 0.7rem;
    top: 15px;
    left: 15px;
  }

  section {
    padding: 60px 20px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.8rem;
  }

  .btn {
    padding: 10px 20px;
    font-size: 0.9rem;
  }

  .stat-content h3 {
    font-size: 2rem;
  }
}
