/* Small Town Spotlight Blog - Main CSS */
/* Bootstrap 5 CSS (CDN will be linked in HTML) */

:root {
  /* Primary Color Palette */
  --primary-color: #3e6d44;
  --secondary-color: #843f0f;
  --accent-color: #d8cb48;
  --warm-color: #d8670b;
  --neutral-color: #324f5e;
  
  /* Light/Dark Shades */
  --primary-light: #4e936c;
  --primary-dark: #1d3f1f;
  --secondary-light: #a1620f;
  --secondary-dark: #764309;
  --accent-light: #ddb948;
  --accent-dark: #b3a514;
  --warm-light: #fd9000;
  --warm-dark: #d35600;
  --neutral-light: #5d6472;
  --neutral-dark: #2b424f;
  
  /* Background gradients */
  --gradient-primary: linear-gradient(135deg, var(--primary-color), var(--primary-light));
  --gradient-secondary: linear-gradient(135deg, var(--secondary-color), var(--warm-color));
  --gradient-accent: linear-gradient(135deg, var(--accent-color), var(--accent-light));
  
  /* Typography */
  --font-size-base: 16px;
  --font-size-small: 14px;
  --font-size-large: 18px;
  --line-height-base: 1.6;
}

/* Respect reduced motion preferences */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Base styles */
body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--neutral-dark);
}

/* Header & Navigation */
.navbar {
  background: var(--gradient-primary) !important;
  box-shadow: 0 8px 11px rgba(0,0,0,0.1);
}

.navbar-brand {
  font-size: 1.33rem !important;
  font-weight: 600;
  color: white !important;
}

.navbar-nav .nav-link {
  font-size: 10px !important;
  color: rgba(255,255,255,0.9) !important;
  font-weight: 500;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--accent-light) !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: url('../VIR_images/hero-bg.webp') center/cover;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: 2.52rem;
  font-weight: 700;
  color: white;
  margin-bottom: 1.05rem;
}

.hero-subtitle {
  font-size: 1.31rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.66rem;
}

.hero-desc {
  font-size: var(--font-size-large);
  color: rgba(255,255,255,0.8);
  margin-bottom: 2.20rem;
}

/* Decorative shapes */
.hero-shapes {
  position: absolute;
  width: 200px;
  height: 200px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.1;
  z-index: 1;
}

.hero-shapes:nth-child(1) {
  top: 10%;
  right: 10%;
  animation: float 6s ease-in-out infinite;
}

.hero-shapes:nth-child(2) {
  bottom: 20%;
  left: 5%;
  width: 150px;
  height: 150px;
  animation: float 8s ease-in-out infinite reverse;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

/* Section styling */
.section {
  padding: 80px 0;
}

.section-title {
  font-size: 2.04rem;
  font-weight: 600;
  color: var(--primary-color);
  margin-bottom: 1.05rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.22rem;
  color: var(--secondary-color);
  margin-bottom: 1.66rem;
  text-align: center;
}

.section-desc {
  color: var(--neutral-color);
  margin-bottom: 3.05rem;
  text-align: center;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

/* About Section */
.about-section {
  background: linear-gradient(135deg, #f8f9fa, #e4e4e4);
}

.feature-card {
  background: white;
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 10px 15px rgba(0,0,0,0.1);
  text-align: center;
  margin-bottom: 31.00px;
  transition: transform 0.3s ease;
}

.feature-card:hover {
  transform: translateY(-5px);
}

.feature-card i {
  font-size: 3.08rem;
  color: var(--accent-color);
  margin-bottom: 1.05rem;
}

.feature-card h4 {
  color: var(--primary-color);
  margin-bottom: 1.05rem;
}

/* Services Section */
.services-section {
  background: white;
}

.service-card {
  background: var(--gradient-primary);
  color: white;
  padding: 40px 30px;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 31.00px;
  transition: transform 0.3s ease;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.1;
  transition: transform 0.3s ease;
}

.service-card:hover {
  transform: translateY(-10px);
}

.service-card:hover::before {
  transform: scale(1.5);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.66rem;
}

.service-price {
  font-size: 2.04rem;
  font-weight: 700;
  color: var(--accent-light);
  margin-bottom: 1.05rem;
}

/* Blog Section */
.blog-section {
  background: linear-gradient(135deg, #eab51a, #ffa129);
  padding: 80px 0;
}

.blog-card {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 31.00px;
}

.blog-card:hover {
  transform: translateY(-10px);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-body {
  overflow-x: hidden;
  padding: 25px;
}

.blog-card h5 {
  color: var(--primary-color);
  margin-bottom: 1.05rem;
  font-weight: 600;
}

.blog-card p {
  color: var(--neutral-color);
  margin-bottom: 1.05rem;
}

.blog-link {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 500;
}

.blog-link:hover {
  color: var(--secondary-dark);
}

/* Team Section */
.team-section {
  background: white;
}

.team-card {
  text-align: center;
  margin-bottom: 31.00px;
}

.team-card img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 1.66rem;
  border: 5px solid var(--accent-color);
}

.team-card h5 {
  color: var(--primary-color);
  margin-bottom: 0.64rem;
}

.team-card p {
  color: var(--secondary-color);
  font-style: italic;
}

/* Reviews/Testimonials */
.reviews-section {
  background: var(--gradient-secondary);
  color: white;
}

.testimonial-card {
  background: rgba(255,255,255,0.1);
  padding: 30px;
  border-radius: 15px;
  margin-bottom: 31.00px;
  backdrop-filter: blur(10px);
}

.testimonial-text {
  font-style: italic;
  margin-bottom: 1.66rem;
  font-size: var(--font-size-large);
}

.testimonial-author {
  font-weight: 600;
  color: var(--accent-light);
}

/* FAQ Section */
.faq-section {
  background: linear-gradient(135deg, #ecf0f1, #a7b4bd);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 17.00px;
  box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.faq-question {
  background: var(--primary-color);
  color: white;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  font-weight: 600;
  cursor: pointer;
  margin: 0;
}

.faq-answer {
  padding: 20px;
  color: var(--neutral-color);
  border-radius: 0 0 10px 10px;
}

/* Contact Section */
.contact-section {
  background: var(--gradient-primary);
  color: white;
}

.contact-form {
  background: rgba(255,255,255,0.1);
  padding: 40px;
  border-radius: 15px;
  backdrop-filter: blur(10px);
}

.form-control {
  background: rgba(255,255,255,0.9);
  border: none;
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 21.00px;
}

.form-control:focus {
  background: white;
  border-color: var(--accent-color);
  box-shadow: 0 0 0 0.2rem rgba(207, 173, 69, 0.25);
}

.btn-submit {
  background: var(--accent-color);
  border: none;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  color: var(--primary-dark);
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background: var(--accent-light);
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: var(--primary-dark);
  color: white;
  padding: 50px 0 20px;
}

.footer h5 {
  color: var(--accent-light);
  margin-bottom: 1.66rem;
}

.footer a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--accent-light);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24.00px;
  margin-top: 32.00px;
  text-align: center;
}

/* Gallery Section */
.gallery-section {
  background: white;
  padding: 80px 0;
}

.gallery-item {
  margin-bottom: 21.00px;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Breadcrumb */
.breadcrumb-section {
  background: var(--gradient-primary);
  padding: 20px 0;
}

.breadcrumb-img {
  width: 30px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
}

/* Space page */
#space {
  min-height: 80vh;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-dark);
  font-size: 2.04rem;
  font-weight: 600;
}

/* Utility classes */
.text-primary { color: var(--primary-color) !important; }
.text-secondary { color: var(--secondary-color) !important; }
.text-accent { color: var(--accent-color) !important; }
.bg-primary { background: var(--primary-color) !important; }
.bg-gradient-primary { background: var(--gradient-primary) !important; }
.bg-gradient-secondary { background: var(--gradient-secondary) !important; } 