/* Senior Worker Advocacy Clinic - Main CSS */

:root {
  /* Primary Color Palette - Harmonious Pastels */
  --primary-sage: #8FA68E;
  --primary-lavender: #B8A9C9;
  --primary-peach: #F4C2A1;
  --primary-cream: #F7F3E9;
  --primary-slate: #6B7280;
  
  /* Light/Dark Shades */
  --sage-light: #A8C4A7;
  --sage-dark: #6B8A6A;
  --lavender-light: #D4C7E3;
  --lavender-dark: #9B8AAF;
  --peach-light: #F8D7C0;
  --peach-dark: #E8A882;
  --cream-light: #FDFBF5;
  --cream-dark: #E8E0D0;
  --slate-light: #9CA3AF;
  --slate-dark: #4B5563;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-heading: 'Georgia', serif;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 20px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  line-height: 1.6;
  color: var(--slate-dark);
  background-color: var(--cream-light);
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: var(--container-padding);
}

/* Header Styles */
header {
  background: linear-gradient(135deg, var(--sage-light), var(--lavender-light));
  padding: 15px 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

#sitename {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: bold;
  color: var(--slate-dark);
  text-decoration: none;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
}

.nav-menu a {
  color: var(--slate-dark);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-menu a:hover {
  color: var(--sage-dark);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--peach-light) 50%, var(--lavender-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: 80px;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../AQU_images/hero-bg.webp') center/cover;
  opacity: 0.1;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.hero-text h1 {
  font-family: var(--font-heading);
  font-size: 3.5rem;
  color: var(--slate-dark);
  margin-bottom: 20px;
  line-height: 1.2;
}

.hero-text h2 {
  font-size: 1.5rem;
  color: var(--sage-dark);
  margin-bottom: 25px;
  font-weight: 300;
}

.hero-text p {
  font-size: 1.1rem;
  color: var(--slate-light);
  margin-bottom: 30px;
}

.hero-image {
  position: relative;
}

.hero-image img {
  width: 100%;
  height: auto;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

/* Decorative Shapes */
.shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.6;
}

.shape-1 {
  width: 100px;
  height: 100px;
  background: var(--peach-light);
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.shape-2 {
  width: 150px;
  height: 150px;
  background: var(--lavender-light);
  bottom: 20%;
  left: 5%;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section Styles */
section {
  padding: var(--section-padding);
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-header h2 {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--slate-dark);
  margin-bottom: 15px;
}

.section-header h3 {
  font-size: 1.3rem;
  color: var(--sage-dark);
  margin-bottom: 20px;
  font-weight: 300;
}

.section-header p {
  font-size: 1.1rem;
  color: var(--slate-light);
  max-width: 600px;
  margin: 0 auto;
}

/* About Section */
.about {
  background: var(--cream-light);
}

.about-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.about-feature {
  background: white;
  padding: 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.about-feature i {
  font-size: 2.5rem;
  color: var(--sage-dark);
  margin-bottom: 20px;
}

.about-feature h4 {
  font-size: 1.3rem;
  color: var(--slate-dark);
  margin-bottom: 15px;
}

.about-feature p {
  color: var(--slate-light);
}

/* Services Section */
.services {
  background: linear-gradient(135deg, var(--sage-light), var(--cream-light));
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-image {
  height: 200px;
  background: linear-gradient(45deg, var(--peach-light), var(--lavender-light));
  position: relative;
  overflow: hidden;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 30px;
}

.service-content h4 {
  font-size: 1.5rem;
  color: var(--slate-dark);
  margin-bottom: 15px;
}

.service-content p {
  color: var(--slate-light);
  margin-bottom: 20px;
}

.service-features {
  margin-bottom: 25px;
}

.service-features ul {
  list-style: none;
}

.service-features li {
  color: var(--sage-dark);
  margin-bottom: 8px;
  position: relative;
  padding-left: 20px;
}

.service-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage-dark);
  font-weight: bold;
}

.service-price {
  font-size: 2rem;
  font-weight: bold;
  color: var(--sage-dark);
  text-align: center;
  padding: 15px;
  background: var(--cream-light);
  border-radius: 10px;
}

/* Features Section */
.features {
  background: var(--cream-light);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.feature-item {
  background: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 3rem;
  color: var(--lavender-dark);
  margin-bottom: 25px;
}

.feature-item h4 {
  font-size: 1.4rem;
  color: var(--slate-dark);
  margin-bottom: 15px;
}

.feature-item p {
  color: var(--slate-light);
}

/* Price Plan Section */
.priceplan {
  background: linear-gradient(135deg, var(--lavender-light), var(--peach-light));
}

.priceplan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.priceplan-card {
  background: white;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.priceplan-card:hover {
  transform: translateY(-10px);
}

.priceplan-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--sage-dark), var(--lavender-dark));
}

.priceplan-card h4 {
  font-size: 1.6rem;
  color: var(--slate-dark);
  margin-bottom: 20px;
}

.priceplan-card p {
  color: var(--slate-light);
  margin-bottom: 30px;
}

.priceplan-features {
  margin-bottom: 30px;
}

.priceplan-features ul {
  list-style: none;
  text-align: left;
}

.priceplan-features li {
  color: var(--slate-light);
  margin-bottom: 10px;
  padding-left: 25px;
  position: relative;
}

.priceplan-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--sage-dark);
  font-weight: bold;
}

.priceplan-price {
  font-size: 2.5rem;
  font-weight: bold;
  color: var(--sage-dark);
  margin-bottom: 10px;
}

/* Team Section */
.team {
  background: var(--cream-light);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.team-member {
  background: white;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px;
  border: 4px solid var(--sage-light);
}

.team-member h4 {
  font-size: 1.3rem;
  color: var(--slate-dark);
  margin-bottom: 10px;
}

.team-member p {
  color: var(--sage-dark);
  font-weight: 500;
}

/* Reviews Section */
.reviews {
  background: linear-gradient(135deg, var(--peach-light), var(--cream-light));
}

.reviews-slider {
  margin-top: 50px;
}

.review-item {
  background: white;
  padding: 40px;
  border-radius: 20px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 15px;
}

.review-text {
  font-size: 1.2rem;
  color: var(--slate-light);
  font-style: italic;
  margin-bottom: 25px;
  line-height: 1.8;
}

.review-author {
  font-size: 1.1rem;
  color: var(--slate-dark);
  font-weight: 600;
}

/* Core Info Section */
.coreinfo {
  background: var(--cream-light);
}

.coreinfo-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.coreinfo-item {
  background: white;
  padding: 35px;
  border-radius: 15px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.coreinfo-item:hover {
  transform: translateY(-5px);
}

.coreinfo-item h4 {
  font-size: 1.4rem;
  color: var(--slate-dark);
  margin-bottom: 15px;
}

.coreinfo-item p {
  color: var(--slate-light);
}

/* Contact Form Section */
.contact {
  background: linear-gradient(135deg, var(--sage-light), var(--lavender-light));
}

.contact-form {
  max-width: 600px;
  margin: 50px auto 0;
  background: white;
  padding: 40px;
  border-radius: 20px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: var(--slate-dark);
  font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 15px;
  border: 2px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--sage-dark);
}

.form-group textarea {
  height: 120px;
  resize: vertical;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 30px;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
}

#site_submit_btn {
  background: linear-gradient(135deg, var(--sage-dark), var(--lavender-dark));
  color: white;
  padding: 15px 40px;
  border: none;
  border-radius: 10px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.3s ease;
  width: 100%;
}

#site_submit_btn:hover {
  transform: translateY(-2px);
}

/* Blog Section */
.blog {
  background: var(--cream-light);
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.blog-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 200px;
  background: linear-gradient(45deg, var(--peach-light), var(--lavender-light));
  position: relative;
}

.blog-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.blog-content {
  padding: 25px;
}

.blog-content h4 {
  font-size: 1.3rem;
  color: var(--slate-dark);
  margin-bottom: 15px;
}

.blog-content p {
  color: var(--slate-light);
  margin-bottom: 20px;
}

.blog-content a {
  color: var(--sage-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.3s ease;
}

.blog-content a:hover {
  color: var(--sage-light);
}

/* FAQ Section */
.faq {
  background: linear-gradient(135deg, var(--lavender-light), var(--cream-light));
}

.faq-accordion {
  max-width: 800px;
  margin: 50px auto 0;
}

.faq-item {
  background: white;
  margin-bottom: 15px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.08);
}

.faq-question {
  background: var(--cream-light);
  padding: 20px;
  cursor: pointer;
  font-weight: 600;
  color: var(--slate-dark);
  transition: background-color 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: var(--cream-dark);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 20px;
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: rotate(45deg);
}

.faq-answer {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--slate-light);
}

.faq-answer.active {
  padding: 20px;
  max-height: 200px;
}

/* Gallery Section */
.gallery {
  background: var(--cream-light);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 50px;
}

.gallery-item {
  aspect-ratio: 1;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--slate-dark), var(--sage-dark));
  color: white;
  padding: 60px 0 30px;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section h3 {
  margin-bottom: 20px;
  color: var(--cream-light);
}

.footer-section p,
.footer-section a {
  color: var(--cream-dark);
  text-decoration: none;
  margin-bottom: 10px;
  display: block;
}

.footer-section a:hover {
  color: var(--cream-light);
}

.footer-bottom {
  border-top: 1px solid var(--slate-light);
  padding-top: 30px;
  text-align: center;
}

#site-copyright {
  color: var(--cream-dark);
  font-size: 0.9rem;
}

/* Breadcrumb */
.breadcrumb {
  padding: 20px 0;
  background: var(--cream-light);
}

.breadcrumb img {
  height: 30px;
  opacity: 0.7;
}

/* Swiper Styles */
.swiper {
  width: 100%;
  padding: 20px 0;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: transparent;
  display: flex;
  justify-content: center;
  align-items: center;
}

.swiper-pagination-bullet {
  background: var(--sage-dark);
}

.swiper-pagination-bullet-active {
  background: var(--lavender-dark);
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-30 { margin-bottom: 30px; }
.mt-50 { margin-top: 50px; }

/* Animations */
@media (prefers-reduced-motion: no-preference) {
  .fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
  
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
} 