/* Slow Living Blog Template - Main CSS */

/* Color Palette Variables */
:root {
  /* Primary Colors */
  --sage-green: #8FA68E;
  --warm-beige: #F5F1E8;
  --soft-terracotta: #E4A788;
  --muted-lavender: #C8A8D8;
  --charcoal-gray: #3A3A3A;
  
  /* Light Shades */
  --sage-light: #B8C9B7;
  --beige-light: #FEFCF8;
  --terracotta-light: #F2D4C4;
  --lavender-light: #E5D4ED;
  --gray-light: #F8F8F8;
  
  /* Dark Shades */
  --sage-dark: #6B8569;
  --beige-dark: #E8E1D2;
  --terracotta-dark: #D4956C;
  --lavender-dark: #B695C6;
  --gray-dark: #2A2A2A;
  
  /* Conservative Font Sizes */
  --font-size-xs: 0.75rem;
  --font-size-sm: 0.875rem;
  --font-size-base: 1rem;
  --font-size-lg: 1.125rem;
  --font-size-xl: 1.25rem;
  --font-size-h6: 1rem;
  --font-size-h5: 1.125rem;
  --font-size-h4: 1.25rem;
  --font-size-h3: 1.5rem;
  --font-size-h2: 1.75rem;
  --font-size-h1: 2rem;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--sage-green), var(--muted-lavender));
  --gradient-warm: linear-gradient(135deg, var(--warm-beige), var(--soft-terracotta));
  --gradient-subtle: linear-gradient(135deg, var(--beige-light), var(--sage-light));
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden !important;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--charcoal-gray);
  background-color: var(--warm-beige);
}

/* Accessibility - Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Typography */
h1 { font-size: var(--font-size-h1); font-weight: 600; margin-bottom: 1rem; }
h2 { font-size: var(--font-size-h2); font-weight: 600; margin-bottom: 0.875rem; }
h3 { font-size: var(--font-size-h3); font-weight: 500; margin-bottom: 0.75rem; }
h4 { font-size: var(--font-size-h4); font-weight: 500; margin-bottom: 0.625rem; }
h5 { font-size: var(--font-size-h5); font-weight: 500; margin-bottom: 0.5rem; }
h6 { font-size: var(--font-size-h6); font-weight: 500; margin-bottom: 0.5rem; }

p { margin-bottom: 1rem; }

/* Header & Navigation */
.navbar {
  background: rgba(245, 241, 232, 0.95);
  backdrop-filter: blur(10px);
  padding: 0.75rem 0;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: var(--font-size-lg) !important;
  font-weight: 600;
  color: var(--charcoal-gray) !important;
  text-decoration: none;
}

.navbar-nav .nav-link {
  font-size: var(--font-size-base);
  color: var(--charcoal-gray) !important;
  padding: 0.5rem 1rem !important;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--sage-green) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-decorative-shape {
  position: absolute;
  width: 300px;
  height: 300px;
  background: var(--gradient-primary);
  border-radius: 50%;
  opacity: 0.1;
  animation: float 6s ease-in-out infinite;
}

.hero-decorative-shape:nth-child(1) { top: 10%; right: 10%; }
.hero-decorative-shape:nth-child(2) { bottom: 20%; left: 15%; transform: scale(0.7); }

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.hero-content h1 {
  color: var(--charcoal-gray);
  margin-bottom: 1.5rem;
}

.hero-content p {
  color: var(--gray-dark);
  font-size: var(--font-size-lg);
  margin-bottom: 2rem;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
  box-shadow: 0 15px 35px rgba(0,0,0,0.1);
}

/* Section Styling */
.section-padding {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-title h2 {
  color: var(--charcoal-gray);
  margin-bottom: 1rem;
}

.section-title p {
  color: var(--gray-dark);
  font-size: var(--font-size-lg);
}

/* About Section */
.about-feature {
  text-align: center;
  padding: 2rem 1rem;
  border-radius: 10px;
  background: white;
  margin-bottom: 2rem;
  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-green);
  margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.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;
  border-radius: 10px;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 600;
  color: var(--soft-terracotta);
  margin-top: 1rem;
}

/* Features Section */
.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 1rem;
}

.feature-item i {
  font-size: 3rem;
  color: var(--muted-lavender);
  margin-bottom: 1rem;
}

/* Price Plan Section */
.price-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-card {
  background: white;
  border-radius: 15px;
  padding: 2.5rem 2rem;
  text-align: center;
  position: relative;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  border: 2px solid transparent;
  transition: all 0.3s ease;
}

.price-card.featured {
  border-color: var(--sage-green);
  transform: scale(1.05);
}

.price-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.price-amount {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--soft-terracotta);
  margin: 1rem 0;
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.08);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-member img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--sage-light);
}

/* Reviews Section */
.reviews-slider {
  margin-top: 3rem;
}

.review-item {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  text-align: center;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  margin: 0 1rem;
}

.review-text {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--gray-dark);
}

.review-author {
  font-weight: 600;
  color: var(--charcoal-gray);
}

/* Blog Section */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.blog-post {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 250px;
  object-fit: cover;
}

.blog-content {
  padding: 2rem;
}

.blog-title {
  font-size: var(--font-size-h4);
  margin-bottom: 1rem;
  color: var(--charcoal-gray);
}

.blog-excerpt {
  color: var(--gray-dark);
  margin-bottom: 1.5rem;
}

.blog-link {
  color: var(--sage-green);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.blog-link:hover {
  color: var(--sage-dark);
}

/* FAQ Section */
.faq-accordion {
  margin-top: 3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 10px rgba(0,0,0,0.08);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  font-weight: 500;
  color: var(--charcoal-gray);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-answer {
  padding: 0 1.5rem 1.5rem;
  color: var(--gray-dark);
  display: none;
}

.faq-answer.active {
  display: block;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  border-radius: 10px;
  transition: transform 0.3s ease;
  cursor: pointer;
}

.gallery-item img:hover {
  transform: scale(1.05);
}

/* Contact Section */
.contact-form {
  max-width: 600px;
  margin: 3rem auto 0;
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--charcoal-gray);
}

.form-control {
  width: 100%;
  padding: 0.75rem;
  border: 2px solid var(--beige-dark);
  border-radius: 8px;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--sage-green);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.875rem 2rem;
  border-radius: 8px;
  color: white;
  font-weight: 500;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--charcoal-gray);
  color: white;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h5 {
  color: var(--sage-light);
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  color: #ccc;
  text-decoration: none;
  line-height: 1.8;
}

.footer-section a:hover {
  color: var(--sage-light);
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 1rem;
  text-align: center;
}

.footer-bottom small {
  color: #999;
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-4 { margin-bottom: 2rem; }
.mt-4 { margin-top: 2rem; }
.py-5 { padding-top: 3rem; padding-bottom: 3rem; }

/* Breadcrumbs */
.breadcrumbs {
  padding: 1rem 0;
  background: var(--beige-light);
}

.breadcrumbs img {
  max-height: 30px;
  width: auto;
}

/* Space Page */
#space {
  min-height: 80vh;
  background: var(--gradient-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 15px;
  margin: 2rem 0;
}
