/* Houseplant Babysitting - Main CSS */
@import url('https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css');
@import url('https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css');
@import url('https://cdnjs.cloudflare.com/ajax/libs/lightbox2/2.11.4/css/lightbox.min.css');

/* Color Palette Variables */
:root {
  --primary-green: #42714c;
  --primary-light-green: #86b872;
  --primary-sage: #b0cca1;
  --primary-cream: #eeeeee;
  --primary-terracotta: #d36036;
  
  /* Light/Dark Shades */
  --light-green: #f1f1f1;
  --dark-green: #2b4633;
  --light-sage: #dbdbdb;
  --dark-sage: #80877b;
  --light-cream: #fafaf7;
  --dark-cream: #f8f5ec;
  --light-terracotta: #f7d5b6;
  --dark-terracotta: #bc7f38;
  
  /* Gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-green), var(--primary-light-green));
  --gradient-secondary: linear-gradient(135deg, var(--primary-sage), var(--primary-cream));
  --gradient-accent: linear-gradient(135deg, var(--primary-terracotta), var(--light-terracotta));
}

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: 21.00px;
  line-height: 1.6;
  color: var(--dark-green);
  background-color: var(--light-cream);
}

.container {
  max-width: 100%;
  overflow-x: hidden;
}

/* 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;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Typography */
h1 {
  font-size: 2.30rem;
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 1.08rem;
}

h2 {
  font-size: 1.87rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.98rem;
}

h3 {
  font-size: 1.45rem;
  font-weight: 600;
  color: var(--dark-green);
  margin-bottom: 0.83rem;
}

h4 {
  font-size: 1.32rem;
  font-weight: 500;
  color: var(--dark-green);
  margin-bottom: 0.55rem;
}

p {
  font-size: 21.00px;
  margin-bottom: 1.08rem;
  color: var(--dark-sage);
}

/* Header Styles */
.navbar {
  background: var(--gradient-primary);
  padding: 1rem 0;
  box-shadow: 0 3px 14px rgba(68, 129, 80, 0.10);
}

.navbar-brand {
  font-size: 1.31rem;
  font-weight: 700;
  color: white !important;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
  color: white !important;
  font-weight: 500;
  transition: color 0.3s ease;
  margin: 0 0.5rem;
}

.navbar-nav .nav-link:hover {
  color: var(--light-cream) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: var(--gradient-secondary);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('../images/hero-background.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--gradient-accent);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 0;
}

.hero-decorative.blob-1 {
  top: 10%;
  right: 10%;
  transform: rotate(45deg);
}

.hero-decorative.blob-2 {
  bottom: 15%;
  left: 5%;
  width: 150px;
  height: 150px;
  border-radius: 30%;
}

/* Section Spacing */
.section {
  padding: 4rem 0;
}

.section-title {
  text-align: center;
  margin-bottom: 3.16rem;
}

/* About Section */
.about-section {
  background: var(--light-cream);
}

.feature-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(79, 133, 88, 0.10);
  margin-bottom: 2.15rem;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-icon {
  font-size: 2.57rem;
  color: var(--primary-green);
  margin-bottom: 1.08rem;
}

/* Services Section */
.services-section {
  background: var(--gradient-secondary);
}

.service-card {
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 25px rgba(66, 115, 84, 0.15);
  transition: transform 0.3s ease;
  margin-bottom: 2.15rem;
}

.service-card:hover {
  transform: translateY(-8px);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 1.5rem;
}

.service-price {
  font-size: 1.63rem;
  font-weight: 700;
  color: var(--primary-terracotta);
  margin-top: 1.06rem;
}

/* Reviews Section */
.reviews-section {
  background: var(--light-green);
  overflow: hidden;
}

.reviews-swiper {
  overflow: visible;
  padding: 2rem 0 3rem 0;
}

.reviews-swiper .swiper-wrapper {
  padding-bottom: 2rem;
}

.reviews-swiper .swiper-slide {
  height: auto;
  width: 100%;
  max-width: 100%;
}

.review-card {
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(66, 115, 84, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin: 0 10px;
  transition: transform 0.3s ease;
}

.review-card:hover {
  transform: translateY(-5px);
}

.review-text {
  font-style: italic;
  color: var(--dark-sage);
  margin-bottom: 1.5rem;
  flex-grow: 1;
  line-height: 1.6;
}

.review-author {
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0;
  text-align: right;
}

.reviews-swiper .swiper-pagination {
  position: relative;
  margin-top: 2rem;
}

.reviews-swiper .swiper-pagination-bullet {
  background: var(--primary-green);
  opacity: 0.3;
  width: 12px;
  height: 12px;
}

.reviews-swiper .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--primary-green);
}

/* Features Section */
.features-section {
  background: var(--light-cream);
}

.feature-grid-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 16px;
  box-shadow: 0 5px 20px rgba(79, 133, 88, 0.10);
  margin-bottom: 2.15rem;
  transition: transform 0.3s ease;
  height: 100%;
}

.feature-grid-item:hover {
  transform: translateY(-5px);
}

.feature-grid-item .fa {
  font-size: 2.5rem;
  color: var(--primary-green);
  margin-bottom: 1rem;
}

/* Team Section */
.team-section {
  background: var(--gradient-secondary);
}

.team-member {
  text-align: center;
  background: white;
  padding: 2rem;
  border-radius: 16px;
  box-shadow: 0 8px 25px rgba(66, 115, 84, 0.12);
  transition: transform 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1rem;
  border: 4px solid var(--primary-sage);
}

/* FAQ Section */
.faq-section {
  background: var(--light-cream);
}

.faq-item {
  background: white;
  border-radius: 12px;
  margin-bottom: 1rem;
  box-shadow: 0 3px 15px rgba(79, 133, 88, 0.08);
  overflow: hidden;
}

.faq-question {
  padding: 1.5rem;
  font-weight: 600;
  color: var(--primary-green);
  cursor: pointer;
  border-bottom: 1px solid var(--light-sage);
  position: relative;
  transition: background-color 0.3s ease;
}

.faq-question:hover {
  background-color: var(--light-sage);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  color: var(--dark-sage);
}

.faq-answer.active {
  padding: 1.5rem;
  max-height: 200px;
}

/* Footer */
.footer {
  background: var(--dark-green);
  color: white;
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--light-green);
  margin-bottom: 1.08rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-light-green);
}

.footer-bottom {
  border-top: 1px solid var(--primary-sage);
  padding-top: 1.17rem;
  margin-top: 2.08rem;
  text-align: center;
}

/* Contact Section */
.contact-section {
  background: var(--gradient-primary);
  color: white;
}

.contact-section h2,
.contact-section h3 {
  color: white;
}

.contact-form {
  background: white;
  padding: 2rem;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.form-control {
  border-radius: 10px;
  border: 2px solid var(--light-sage);
  padding: 0.8rem;
  margin-bottom: 1.08rem;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(60, 112, 81, 0.25);
}

.btn-primary {
  background: var(--gradient-primary);
  border: none;
  padding: 0.8rem 2rem;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: var(--gradient-primary);
}
