:root {
  /* Primary Color Palette - Pastel high-contrast colors for tiny-home theme */
  --primary-sage: #8FBC8F;
  --primary-cream: #F5F5DC;
  --primary-terracotta: #E29578;
  --primary-dusty-blue: #A4C3D2;
  --primary-warm-gray: #B8A99A;
  
  /* Light and dark shades */
  --sage-light: #B8D8B8;
  --sage-dark: #5A8A5A;
  --cream-light: #FEFEFE;
  --cream-dark: #E6E6CD;
  --terracotta-light: #F0B59E;
  --terracotta-dark: #D17752;
  --dusty-blue-light: #C9DCE6;
  --dusty-blue-dark: #7FA8B7;
  --warm-gray-light: #D2C5B8;
  --warm-gray-dark: #9D8E7E;
  
  /* Typography */
  --font-size-base: 0.9rem;
  --line-height-base: 1.6;
  --headings-font-weight: 500;
}

/* Bootstrap 5 Integration - NO OVERRIDES */
@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.4.0/css/all.min.css');
/* Sal.js animations disabled */
/* @import url('https://cdn.jsdelivr.net/npm/sal.js@0.8.5/dist/sal.css'); */
@import url('https://cdn.jsdelivr.net/npm/lightbox2@2.11.4/dist/css/lightbox.min.css');

/* Global Styles */
body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  color: var(--warm-gray-dark);
  background-color: var(--cream-light);
}

/* Conservative Typography */
.navbar-brand {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--sage-dark);
}

h1 {
  font-size: 2rem;
  font-weight: var(--headings-font-weight);
  color: var(--sage-dark);
}

h2 {
  font-size: 1.6rem;
  font-weight: var(--headings-font-weight);
  color: var(--terracotta-dark);
}

h3 {
  font-size: 1.3rem;
  font-weight: var(--headings-font-weight);
  color: var(--dusty-blue-dark);
}

h4, h5, h6 {
  font-size: 1.1rem;
  font-weight: var(--headings-font-weight);
  color: var(--warm-gray-dark);
}

p {
  font-size: var(--font-size-base);
  margin-bottom: 1rem;
}

/* Header Styles */
.navbar {
  background-color: var(--cream-light);
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-nav .nav-link {
  color: var(--warm-gray-dark);
  font-weight: 500;
  margin: 0 0.5rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--sage-dark);
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--cream-light) 0%, var(--sage-light) 100%);
  display: flex;
  align-items: center;
}

.hero-decorative {
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: var(--terracotta-light);
  border-radius: 50%;
  opacity: 0.3;
  z-index: 1;
}

.hero-decorative:nth-child(1) {
  top: 10%;
  right: 10%;
}

.hero-decorative:nth-child(2) {
  bottom: 20%;
  left: 5%;
  background-color: var(--dusty-blue-light);
}

/* Service Cards */
.service-card {
  background-color: var(--cream-light);
  border: 1px solid var(--sage-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

.service-price {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--terracotta-dark);
}

/* Feature Cards */
.feature-card {
  background-color: var(--dusty-blue-light);
  color: var(--warm-gray-dark);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1.5rem;
}

/* Price Plan Cards */
.price-card {
  background-color: var(--cream-light);
  border: 2px solid var(--sage-light);
  border-radius: 12px;
  padding: 2.5rem 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
}

.price-card.featured {
  border-color: var(--terracotta);
  transform: scale(1.05);
}

.price-value {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--terracotta-dark);
}

/* Team Cards */
.team-card {
  background-color: var(--cream-light);
  border-radius: 12px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 2rem;
}

.team-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 3px solid var(--sage-light);
}

/* Review Cards */
.review-card {
  background-color: var(--warm-gray-light);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 2rem;
  position: relative;
}

.review-card::before {
  content: '"';
  font-size: 4rem;
  color: var(--terracotta-light);
  position: absolute;
  top: -10px;
  left: 20px;
}

/* Gallery */
.gallery-item {
  margin-bottom: 1.5rem;
  border-radius: 8px;
  overflow: hidden;
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.05);
}

/* Contact Form */
.contact-form {
  background-color: var(--cream-light);
  border-radius: 12px;
  padding: 3rem;
  box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--sage-light);
  border-radius: 8px;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
}

.form-control:focus {
  border-color: var(--sage-dark);
  box-shadow: 0 0 0 0.2rem rgba(143, 188, 143, 0.25);
}

.btn-primary {
  background-color: var(--terracotta);
  border-color: var(--terracotta);
  border-radius: 8px;
  padding: 0.75rem 2rem;
  font-weight: 600;
}

.btn-primary:hover {
  background-color: var(--terracotta-dark);
  border-color: var(--terracotta-dark);
}

/* Footer */
.footer {
  background-color: var(--warm-gray-dark);
  color: var(--cream-light);
  padding: 3rem 0 1rem;
}

.footer h5 {
  color: var(--sage-light);
  margin-bottom: 1rem;
}

.footer a {
  color: var(--cream-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--sage-light);
}

/* FAQ Cards */
.faq-card {
  background-color: var(--cream-light);
  border: 1px solid var(--sage-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1rem;
}

.faq-question {
  font-weight: 600;
  color: var(--sage-dark);
  margin-bottom: 0.5rem;
}

.faq-answer {
  color: var(--warm-gray-dark);
  margin-bottom: 0;
}

/* Blog Cards */
.blog-card {
  background-color: var(--cream-light);
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 2rem;
  transition: transform 0.3s ease;
}

.blog-card:hover {
  transform: translateY(-3px);
}

.blog-image {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Utility Classes */
.section-padding {
  padding: 5rem 0;
}

.text-muted-custom {
  color: var(--warm-gray) !important;
}

/* Accessibility - Prefers Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Case Study Cards */
.case-study-card {
  background-color: var(--dusty-blue-light);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
}

/* Process Steps */
.process-step {
  background-color: var(--cream-light);
  border-left: 4px solid var(--terracotta);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  border-radius: 0 8px 8px 0;
}

/* Timeline Items */
.timeline-item {
  background-color: var(--sage-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background-color: var(--terracotta);
  border-radius: 50%;
}

/* Career Cards */
.career-card {
  background-color: var(--cream-light);
  border: 1px solid var(--warm-gray-light);
  border-radius: 8px;
  padding: 2rem;
  margin-bottom: 1.5rem;
}

/* Core Info Cards */
.coreinfo-card {
  background-color: var(--dusty-blue-light);
  border-radius: 8px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  text-align: center;
}

/* Contact Info Cards */
.contact-info-card {
  background-color: var(--sage-light);
  border-radius: 8px;
  padding: 1.5rem;
  text-align: center;
  margin-bottom: 1rem;
}

.contact-info-card i {
  font-size: 2rem;
  color: var(--terracotta-dark);
  margin-bottom: 1rem;
}

.hero-section h1 {
    padding-top: 125px;
}


/* Team Social Links - Colorful Style */
.team-social-links {
    margin-top: 22px;
    padding: 16px 0;
}

.social-icons-grid {
    display: flex;
    gap: 14px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 48px;
    height: 48px;
    border-radius: 15px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 19px;
    transition: all 0.4s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255,255,255,0.3);
    border-radius: 50%;
    transition: all 0.4s ease;
    transform: translate(-50%, -50%);
}

.social-link:hover::before {
    width: 100px;
    height: 100px;
}

.social-link:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(45deg, #1877f2, #42a5f5, #64b5f6);
}

.linkedin-link {
    background: linear-gradient(45deg, #0a66c2, #2196f3, #42a5f5);
}

.instagram-link {
    background: linear-gradient(45deg, #e4405f, #f77737, #fcaf45, #ffdc80);
}

.x-link {
    background: linear-gradient(45deg, #000000, #424242, #666666);
    position: relative;
}

.x-link::after {
    content: '✕';
    font-weight: 900;
    font-size: 20px;
    z-index: 2;
    position: relative;
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 42px;
        height: 42px;
        font-size: 16px;
    }
}
