:root {
  /* Rustic Homeware Color Palette - 5 Primary Colors */
  --primary-warm-brown: #8B4513;
  --primary-cream: #F5F5DC;
  --primary-sage-green: #87A96B;
  --primary-terracotta: #CD853F;
  --primary-charcoal: #36454F;
  
  /* Light/Dark Shades */
  --light-brown: #D2B48C;
  --dark-brown: #654321;
  --light-cream: #FFFEF7;
  --dark-cream: #E6E6D4;
  --light-sage: #A4C2A5;
  --dark-sage: #6B8E3B;
  --light-terracotta: #DEB887;
  --dark-terracotta: #B8860B;
  --light-charcoal: #708090;
  --dark-charcoal: #2F4F4F;
  
  /* Conservative Font Sizes */
  --font-size-base: 16px;
  --navbar-brand-size: 1.4rem;
}

* {
  box-sizing: border-box;
}

body {
  font-family: 'Georgia', 'Times New Roman', serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-charcoal);
  background-color: var(--light-cream);
  margin: 0;
  padding: 0;
  overflow-x: hidden; /* Prevent horizontal overflow */
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Georgia', serif;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--primary-warm-brown);
}

h1 { font-size: 2.2rem; }
h2 { font-size: 1.8rem; }
h3 { font-size: 1.5rem; }

.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: bold;
  color: var(--primary-warm-brown) !important;
}

.navbar {
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--light-cream) 100%);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  color: var(--primary-charcoal) !important;
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-warm-brown) !important;
}

.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-terracotta) 0%, var(--light-terracotta) 50%, var(--primary-cream) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('../images/hero-bg.webp') center/cover no-repeat;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.about-section {
  background: linear-gradient(45deg, var(--light-cream) 0%, var(--primary-cream) 100%);
  padding: 5rem 0;
}

.about-feature {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.about-feature:hover {
  transform: translateY(-5px);
}

.services-section {
  background: linear-gradient(135deg, var(--primary-sage-green) 0%, var(--light-sage) 100%);
  padding: 5rem 0;
  color: white;
}

.service-item {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: 0 8px 25px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  color: var(--primary-charcoal);
}

.service-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.2);
}

.service-price {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--primary-terracotta);
}

.btn-primary {
  background: linear-gradient(45deg, var(--primary-terracotta), var(--dark-terracotta));
  border: none;
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(45deg, var(--dark-terracotta), var(--primary-terracotta));
  transform: translateY(-2px);
}

.footer {
  background: linear-gradient(135deg, var(--primary-charcoal) 0%, var(--dark-charcoal) 100%);
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--light-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-terracotta);
}

.contact-section {
  background: linear-gradient(45deg, var(--primary-terracotta) 0%, var(--light-terracotta) 100%);
  padding: 5rem 0;
  color: white;
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 3rem;
  color: var(--primary-charcoal);
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.form-control {
  border-radius: 8px;
  border: 2px solid var(--light-cream);
  padding: 0.75rem;
  margin-bottom: 1rem;
}

.form-control:focus {
  border-color: var(--primary-terracotta);
  box-shadow: 0 0 0 0.2rem rgba(205, 133, 63, 0.25);
}

.section-padding {
  padding: 5rem 0;
}

.team-section {
  background: linear-gradient(45deg, var(--light-sage) 0%, var(--primary-sage-green) 100%);
  padding: 5rem 0;
  color: white;
}

.team-member {
  text-align: center;
  background: white;
  border-radius: 15px;
  padding: 2rem;
  margin-bottom: 2rem;
  color: var(--primary-charcoal);
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  display: block;
}

.blog-section {
  background: linear-gradient(45deg, var(--light-cream) 0%, var(--primary-cream) 100%);
  padding: 5rem 0;
}

.blog-item {
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(--primary-charcoal, 0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2rem;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-item img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

/* Reviews Section - Swiper fixes */
.reviews-section {
  background: linear-gradient(135deg, var(--primary-warm-brown) 0%, var(--light-brown) 100%);
  padding: 5rem 0;
  color: white;
  overflow: hidden; /* Prevent overflow */
}

.swiper-container {
  width: 100%;
  height: auto;
  overflow: hidden; /* Prevent overflow */
  padding-bottom: 2rem;
}

.swiper-wrapper {
  align-items: stretch;
}

.swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

.review-item {
  background: rgba(255,255,255,0.1);
  border-radius: 15px;
  padding: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.2);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.review-item p {
  flex-grow: 1;
  margin-bottom: 1rem;
}

.review-item h5 {
  color: var(--primary-cream);
  font-weight: 600;
  margin-bottom: 0;
}

.swiper-pagination {
  position: relative;
  margin-top: 2rem;
}

.swiper-pagination-bullet {
  background: rgba(255,255,255,0.5);
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background: white;
}

.swiper-button-next,
.swiper-button-prev {
  color: white;
  background: rgba(255,255,255,0.1);
  border-radius: 50%;
  width: 44px;
  height: 44px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 18px;
}

.faq-section {
  background: linear-gradient(135deg, var(--light-charcoal) 0%, var(--primary-charcoal) 100%);
  padding: 5rem 0;
  color: white;
}

.faq-item {
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
  transition: background-color 0.3s ease;
}

.faq-item:hover {
  background: rgba(255,255,255,0.15);
}

.faq-question {
  padding: 1.5rem;
  cursor: pointer;
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  color: white;
  font-size: 1rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
}

.faq-question:hover {
  background: rgba(255,255,255,0.05);
}

.faq-question::after {
  content: '+';
  position: absolute;
  right: 1.5rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-question.active::after {
  content: '−';
  transform: translateY(-50%) rotate(180deg);
}

.faq-answer {
  padding: 0 1.5rem;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
  background: rgba(255,255,255,0.05);
}

.faq-answer.show {
  padding: 1.5rem;
  max-height: 500px;
}

#space {
  min-height: 70vh;
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--light-sage) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  color: var(--primary-charcoal);
}
