/* ===== HOUSING POLICY ADVOCACY OFFICE - MAIN CSS ===== */

:root {
  /* Primary Colors */
  --primary-color-1: #2C3E50; /* Deep Navy */
  --primary-color-2: #E74C3C; /* Vibrant Red */
  --primary-color-3: #27AE60; /* Forest Green */
  --primary-color-4: #F39C12; /* Warm Orange */
  --primary-color-5: #9B59B6; /* Royal Purple */
  
  /* Light Shades */
  --primary-light-1: #34495E;
  --primary-light-2: #EC7063;
  --primary-light-3: #52BE80;
  --primary-light-4: #F5B041;
  --primary-light-5: #AF7AC5;
  
  /* Dark Shades */
  --primary-dark-1: #1C2833;
  --primary-dark-2: #C0392B;
  --primary-dark-3: #1E8449;
  --primary-dark-4: #D68910;
  --primary-dark-5: #7D3C98;
  
  /* Typography */
  --font-primary: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  --font-secondary: Georgia, 'Times New Roman', serif;
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
    overflow-x: hidden;
  font-family: var(--font-primary);
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

/* Conservative Font Sizes */
h1 { font-size: 2rem; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }
p { font-size: 1rem; }

.navbar-brand {
  font-size: 1.25rem !important;
  font-weight: 600;
}

/* ===== HEADER STYLES ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color-1) 0%, var(--primary-dark-1) 100%);
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand, .navbar-nav .nav-link {
  color: #fff !important;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color-4) !important;
  transition: color 0.3s ease;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(rgba(44, 62, 80, 0.8), rgba(44, 62, 80, 0.8)), url('../GRA_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
}

.hero-content h1 {
  margin-bottom: 1rem;
  font-weight: 700;
}

.hero-subtitle {
  font-size: 1.125rem;
  margin-bottom: 1.5rem;
  opacity: 0.9;
}

/* ===== SECTION STYLES ===== */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--primary-color-1);
  margin-bottom: 0.5rem;
}

.section-subtitle {
  color: #666;
  font-size: 1.125rem;
}

/* ===== ABOUT SECTION ===== */
.about-section {
  background: #f8f9fa;
}

.feature-box {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.feature-box i {
  font-size: 2.5rem;
  color: var(--primary-color-2);
  margin-bottom: 1rem;
}

/* ===== SERVICES SECTION ===== */
.service-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  height: 100%;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.service-content {
  padding: 2rem;
}

.service-price {
  font-size: 2rem;
  color: var(--primary-color-3);
  font-weight: 700;
  margin: 1rem 0;
}

/* ===== TEAM SECTION ===== */
.team-section {
  background: #f8f9fa;
}

.team-member {
  text-align: center;
  margin-bottom: 2rem;
}

.team-member img {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 5px solid var(--primary-color-5);
}

/* ===== TESTIMONIALS ===== */
.testimonial-card {
  background: white;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  margin: 1rem;
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1rem;
  color: #555;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-color-1);
}

/* ===== FAQ SECTION ===== */
.faq-item {
  margin-bottom: 1rem;
}

.faq-question {
  background: var(--primary-color-1);
  color: white;
  padding: 1rem 1.5rem;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-dark-1);
}

.faq-answer {
  padding: 1rem 1.5rem;
  background: #f8f9fa;
  border-left: 3px solid var(--primary-color-4);
  margin-top: 0.5rem;
}

/* ===== CONTACT FORM ===== */
.contact-section {
  background: linear-gradient(135deg, var(--primary-light-1) 0%, var(--primary-color-1) 100%);
  color: white;
}

.contact-form {
  background: rgba(255,255,255,0.1);
  padding: 2rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.contact-form .form-control,
.contact-form .form-select {
  background: rgba(255,255,255,0.9);
  border: none;
  padding: 0.75rem 1rem;
  margin-bottom: 1rem;
  border-radius: 5px;
}

.contact-form .btn-submit {
  background: var(--primary-color-4);
  color: white;
  border: none;
  padding: 0.75rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.contact-form .btn-submit:hover {
  background: var(--primary-dark-4);
  transform: translateY(-2px);
}

/* ===== GALLERY ===== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  height: 250px;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* ===== FOOTER ===== */
footer {
  background: var(--primary-color-1);
  color: white;
  padding: 3rem 0 1rem;
}

footer a {
  color: var(--primary-light-4);
  text-decoration: none;
}

footer a:hover {
  color: var(--primary-color-4);
}

.footer-section h5 {
  margin-bottom: 1rem;
  color: var(--primary-color-4);
}

#site-copyright {
  display: block;
  text-align: center;
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
  color: rgba(255,255,255,0.7);
}

/* ===== BLOG GRID ===== */
#blog_grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.blog-card {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* ===== BREADCRUMB ===== */
.breadcrumb-section {
  background: #f8f9fa;
  padding: 1rem 0;
}

.breadcrumb img {
  height: 30px;
  width: auto;
}

/* ===== PROCESS SECTION ===== */
.process-step {
  text-align: center;
  position: relative;
  padding: 2rem;
}

.process-number {
  width: 60px;
  height: 60px;
  background: var(--primary-color-2);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* ===== TIMELINE ===== */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  margin-bottom: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 15px;
  height: 15px;
  background: var(--primary-color-3);
  border-radius: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: 7px;
  top: 15px;
  width: 1px;
  height: calc(100% + 1rem);
  background: #ddd;
}

.timeline-item:last-child::after {
  display: none;
}

/* ===== PRICE PLAN ===== */
.price-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  height: 100%;
}

.price-card:hover {
  transform: scale(1.05);
}

.price-amount {
  font-size: 2.5rem;
  color: var(--primary-color-2);
  font-weight: 700;
  margin: 1rem 0;
}

/* ===== ANIMATIONS ===== */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    animation: fadeIn 0.6s ease-in;
  }
  
  @keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
  }
}

/* ===== DECORATIVE ELEMENTS ===== */
.blob-shape {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  opacity: 0.3;
  pointer-events: none;
}

.blob-1 {
  width: 300px;
  height: 300px;
  background: var(--primary-color-3);
  top: -150px;
  right: -100px;
}

.blob-2 {
  width: 250px;
  height: 250px;
  background: var(--primary-color-5);
  bottom: -100px;
  left: -50px;
}

/* ===== CASE STUDIES ===== */
.case-study-card {
  background: linear-gradient(135deg, var(--primary-light-1), var(--primary-color-1));
  color: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.case-study-card:hover {
  transform: translateX(10px);
}

/* ===== CAREER SECTION ===== */
.career-card {
  background: white;
  border-left: 4px solid var(--primary-color-4);
  padding: 2rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.career-card:hover {
  box-shadow: 0 5px 20px rgba(0,0,0,0.15);
  transform: translateX(5px);
}

/* ===== SPACE PAGE ===== */
#space {
  min-height: calc(100vh - 200px);
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(45deg, var(--primary-color-1), var(--primary-color-5));
}

#space h1 {
  color: white;
  font-size: 3rem;
  text-align: center;
} 