/* Senior Center Pension Roadshows - Main CSS */

/* Color Palette - 5 Primary Colors + Light/Dark Shades */
:root {
  /* Primary Colors */
  --primary-navy: #1e3a5f;
  --primary-teal: #2c7a7b;
  --primary-gold: #d69e2e;
  --primary-sage: #68d391;
  --primary-burgundy: #9c2d2d;
  
  /* Light Shades */
  --light-navy: #4a6fa5;
  --light-teal: #4fd1c7;
  --light-gold: #f6e05e;
  --light-sage: #c6f6d5;
  --light-burgundy: #feb2b2;
  
  /* Dark Shades */
  --dark-navy: #1a202c;
  --dark-teal: #234e52;
  --dark-gold: #b7791f;
  --dark-sage: #38a169;
  --dark-burgundy: #742a2a;
  
  /* Neutral Colors */
  --white: #ffffff;
  --light-gray: #f7fafc;
  --gray: #edf2f7;
  --dark-gray: #4a5568;
  --black: #1a202c;
  
  /* Conservative Font Sizes */
  --fs-small: 0.875rem;
  --fs-base: 1rem;
  --fs-lg: 1.125rem;
  --fs-xl: 1.25rem;
  --fs-2xl: 1.5rem;
  --fs-3xl: 1.875rem;
  --fs-4xl: 2.25rem;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-navy) 0%, var(--primary-teal) 100%);
  --gradient-secondary: linear-gradient(135deg, var(--primary-gold) 0%, var(--primary-sage) 100%);
  --gradient-accent: linear-gradient(135deg, var(--primary-burgundy) 0%, var(--primary-navy) 100%);
}

/* Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--fs-base);
  line-height: 1.6;
  color: var(--dark-gray);
  background-color: var(--white);
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Conservative Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-navy);
}

h1 { font-size: var(--fs-3xl); }
h2 { font-size: var(--fs-2xl); }
h3 { font-size: var(--fs-xl); }
h4 { font-size: var(--fs-lg); }
h5, h6 { font-size: var(--fs-base); }

p {
  margin-bottom: 1rem;
  font-size: var(--fs-base);
}

/* Header & Navigation */
.navbar {
  background: var(--gradient-primary);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
    font-size: 12px !important;
  font-size: var(--fs-xl) !important;
  font-weight: 700;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
    font-size: 10px !important;
  color: var(--white) !important;
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-gold) !important;
  transform: translateY(-2px);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: var(--gradient-primary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../CRA_images/hero-bg.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.2;
  z-index: 1;
}

.hero .container {
  position: relative;
  z-index: 2;
}

.hero-content {
  color: var(--white);
}

.hero-title {
  font-size: var(--fs-4xl);
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
  font-size: var(--fs-xl);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.hero-desc {
  font-size: var(--fs-lg);
  margin-bottom: 2rem;
  opacity: 0.8;
}

/* Decorative Shapes */
.hero::after {
  content: '';
  position: absolute;
  bottom: -50px;
  left: -50px;
  width: 200px;
  height: 200px;
  background: var(--primary-gold);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

/* Services Section */
.services {
  padding: 5rem 0;
  background: var(--light-gray);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
  text-align: center;
  border: 2px solid transparent;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
  border-color: var(--primary-teal);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: var(--fs-2xl);
  font-weight: 700;
  color: var(--primary-gold);
  margin: 1rem 0;
}

/* About Section */
.about {
  padding: 5rem 0;
  background: var(--white);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: var(--gradient-secondary);
  border-radius: 15px;
  color: var(--white);
  transition: all 0.3s ease;
}

.feature-item:hover {
  transform: scale(1.05);
}

.feature-item i {
  font-size: var(--fs-3xl);
  margin-bottom: 1rem;
  color: var(--white);
}

/* Team Section */
.team {
  padding: 5rem 0;
  background: var(--gray);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--primary-teal);
}

/* Reviews/Testimonials */
.reviews {
  padding: 5rem 0;
  background: var(--gradient-accent);
  color: var(--white);
}

.testimonial-slider .swiper-slide {
  text-align: center;
  padding: 2rem;
}

.testimonial-text {
  font-size: var(--fs-lg);
  font-style: italic;
  margin-bottom: 2rem;
  line-height: 1.8;
}

.testimonial-author {
  font-weight: 600;
  font-size: var(--fs-lg);
}

/* FAQ Section */
.faq {
  padding: 5rem 0;
  background: var(--white);
}

.faq-item {
  background: var(--light-gray);
  border-radius: 10px;
  margin-bottom: 1rem;
  overflow: hidden;
  border: 1px solid var(--gray);
}

.faq-question {
  padding: 1.5rem;
  background: var(--gradient-primary);
  color: var(--white);
  cursor: pointer;
  font-weight: 600;
  font-size: var(--fs-lg);
  border: none;
  width: 100%;
  text-align: left;
  transition: all 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-navy);
}

.faq-answer {
  padding: 1.5rem;
  background: var(--white);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Contact Form */
.contact {
  padding: 5rem 0;
  background: var(--light-gray);
}

.contact-form {
  background: var(--white);
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.contact-form .form-control {
  border: 2px solid var(--gray);
  border-radius: 10px;
  padding: 1rem;
  font-size: var(--fs-base);
  transition: all 0.3s ease;
}

.contact-form .form-control:focus {
  border-color: var(--primary-teal);
  box-shadow: 0 0 0 0.2rem rgba(44, 122, 123, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 1rem 2rem;
  font-size: var(--fs-lg);
  font-weight: 600;
  border-radius: 10px;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Footer */
.footer {
  background: var(--dark-navy);
  color: var(--white);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-gold);
  margin-bottom: 1.5rem;
}

.footer a {
  color: var(--white);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--light-gold);
}

.footer-bottom {
  border-top: 1px solid var(--primary-navy);
  margin-top: 2rem;
  padding-top: 2rem;
  text-align: center;
}

/* Gallery */
.gallery {
  padding: 5rem 0;
  background: var(--white);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Blog Section */
.blog {
  padding: 5rem 0;
  background: var(--gray);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: all 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 2rem;
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--light-gray);
}

.breadcrumb-image {
  width: 30px;
  height: 30px;
  opacity: 0.7;
}

/* Utilities */
.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-teal);
  font-size: var(--fs-lg);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.section-desc {
  color: var(--dark-gray);
  font-size: var(--fs-base);
  max-width: 600px;
  margin: 0 auto;
}

.text-gradient {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Space page specific */
#space {
  min-height: 70vh;
  background: var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
} 