/* Elder Guardianship Assessment Clinics - Main CSS */

:root {
  /* Primary Color Palette - Harmonious Pastels */
  --primary-sage: #9CB5A3;
  --primary-lavender: #B8A8CC;
  --primary-peach: #F2C2A8;
  --primary-mint: #A8D8D8;
  --primary-rose: #E8B4B8;
  
  /* Light Shades */
  --light-sage: #E1EBE4;
  --light-lavender: #E6DDF0;
  --light-peach: #F8E5D6;
  --light-mint: #E4F0F0;
  --light-rose: #F4DADE;
  
  /* Dark Shades */
  --dark-sage: #6B8A73;
  --dark-lavender: #8B7A9F;
  --dark-peach: #D19A7B;
  --dark-mint: #7BB8B8;
  --dark-rose: #C8878C;
  
  /* Neutrals */
  --white: #FFFFFF;
  --gray-100: #F8F9FA;
  --gray-200: #E9ECEF;
  --gray-300: #DEE2E6;
  --gray-600: #6C757D;
  --gray-800: #343A40;
  --gray-900: #212529;
  
  /* Typography */
  --font-family-base: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 1rem;
  --line-height-base: 1.6;
  
  /* Spacing */
  --section-padding: 5rem 0;
  --container-padding: 1.5rem;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
overflow-x: hidden;
  font-family: var(--font-family-base);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--gray-800);
  background-color: var(--white);
  scroll-behavior: smooth;
}

/* Respect reduced motion preference */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.75rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
  margin-bottom: 1rem;
  color: var(--gray-600);
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-lavender) 100%);
  padding: 1rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: relative;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white) !important;
}

.navbar-nav .nav-link {
  color: var(--white) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--light-peach) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--light-sage) 0%, var(--light-lavender) 50%, var(--light-mint) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1000 1000"><circle cx="300" cy="200" r="150" fill="%23A8D8D8" opacity="0.3"/><circle cx="700" cy="600" r="200" fill="%23B8A8CC" opacity="0.2"/><circle cx="100" cy="800" r="100" fill="%23F2C2A8" opacity="0.4"/></svg>');
  animation: float 20s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--gray-900);
  margin-bottom: 1.5rem;
}

.hero-subtitle {
  font-size: 1.25rem;
  color: var(--gray-600);
  margin-bottom: 2rem;
}

/* Sections */
section {
  padding: var(--section-padding);
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.section-subtitle {
  font-size: 1.25rem;
  text-align: center;
  color: var(--gray-600);
  margin-bottom: 3rem;
}

/* Cards */
.service-card, .feature-card, .price-card {
  background: var(--white);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  height: 100%;
  border: 2px solid transparent;
}

.service-card:hover, .feature-card:hover, .price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card:nth-child(6n+1) { border-color: var(--primary-sage); }
.service-card:nth-child(6n+2) { border-color: var(--primary-lavender); }
.service-card:nth-child(6n+3) { border-color: var(--primary-peach); }
.service-card:nth-child(6n+4) { border-color: var(--primary-mint); }
.service-card:nth-child(6n+5) { border-color: var(--primary-rose); }
.service-card:nth-child(6n+6) { border-color: var(--primary-sage); }

.card-icon {
  font-size: 3rem;
  margin-bottom: 1.5rem;
  color: var(--primary-sage);
}

.card-title {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-900);
}

.card-price {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-sage);
  margin-bottom: 1rem;
}

/* Team Section */
.team-member {
  text-align: center;
  padding: 1.5rem;
}

.team-member img {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.5rem;
  border: 4px solid var(--primary-sage);
}

.team-name {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--gray-900);
}

.team-role {
  color: var(--gray-600);
  font-style: italic;
}

/* Reviews/Testimonials */
.review-card {
  background: var(--light-sage);
  border-radius: 15px;
  padding: 2rem;
  margin: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-700);
  font-size: 1.1rem;
}

.review-author {
  font-weight: 600;
  color: var(--gray-900);
}

/* Contact Form */
.contact-form {
  background: var(--light-lavender);
  border-radius: 15px;
  padding: 3rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--gray-300);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 1.5rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-sage);
  box-shadow: 0 0 0 0.2rem rgba(156, 181, 163, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-lavender) 100%);
  border: none;
  border-radius: 10px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

/* FAQ Section */
.faq-item {
  background: var(--white);
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  overflow: hidden;
}

.faq-question {
  background: var(--light-mint);
  padding: 1.5rem;
  cursor: pointer;
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background: var(--primary-mint);
}

.faq-answer {
  padding: 1.5rem;
  border-top: 1px solid var(--gray-200);
  color: var(--gray-600);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.gallery-item {
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background: var(--white);
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px 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;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--gray-900) 0%, var(--gray-800) 100%);
  color: var(--white);
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

.footer-content {
  border-bottom: 1px solid var(--gray-600);
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--primary-sage);
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  color: var(--gray-300);
  text-decoration: none;
  margin-bottom: 0.5rem;
}

.footer-section a:hover {
  color: var(--primary-sage);
}

#site-copyright {
  text-align: center;
  color: var(--gray-400);
  font-size: 0.9rem;
}

/* Utility Classes */
.text-primary { color: var(--primary-sage) !important; }
.bg-primary { background-color: var(--primary-sage) !important; }
.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 3rem; }
.py-5 { padding: 3rem 0; }

/* Swiper Customizations */
.swiper {
  padding-bottom: 3rem;
}

.swiper-pagination-bullet {
  background-color: var(--primary-sage);
  opacity: 0.5;
}

.swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--primary-sage);
}

.swiper-button-next, .swiper-button-prev {
  color: var(--primary-sage);
}

/* Breadcrumb Styling */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  border-radius: 3px;
} 