:root {
  /* 5 Primary Colors + Shades */
  --primary-burgundy: #8B2635;
  --primary-burgundy-light: #A13346;
  --primary-burgundy-dark: #6B1D2A;
  
  --primary-cream: #F5F1E8;
  --primary-cream-light: #FAF8F2;
  --primary-cream-dark: #E8E2D5;
  
  --primary-sage: #7D8471;
  --primary-sage-light: #98A086;
  --primary-sage-dark: #656B57;
  
  --primary-charcoal: #3C3C3C;
  --primary-charcoal-light: #525252;
  --primary-charcoal-dark: #2A2A2A;
  
  --primary-gold: #D4AF37;
  --primary-gold-light: #E0C55B;
  --primary-gold-dark: #B8941F;
  
  /* Conservative Typography */
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-lg: 18px;
  --font-size-xl: 20px;
  --font-size-h6: 16px;
  --font-size-h5: 18px;
  --font-size-h4: 20px;
  --font-size-h3: 24px;
  --font-size-h2: 28px;
  --font-size-h1: 32px;
  --navbar-brand-size: 22px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  overflow-x: hidden;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-charcoal);
  background-color: var(--primary-cream);
}

/* 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;
    scroll-behavior: auto !important;
  }
}

/* Typography */
h1 { font-size: var(--font-size-h1); font-weight: 600; color: var(--primary-charcoal-dark); }
h2 { font-size: var(--font-size-h2); font-weight: 600; color: var(--primary-charcoal-dark); }
h3 { font-size: var(--font-size-h3); font-weight: 500; color: var(--primary-charcoal); }
h4 { font-size: var(--font-size-h4); font-weight: 500; color: var(--primary-charcoal); }
h5 { font-size: var(--font-size-h5); font-weight: 500; color: var(--primary-charcoal); }
h6 { font-size: var(--font-size-h6); font-weight: 500; color: var(--primary-charcoal); }

p { font-size: var(--font-size-base); margin-bottom: 1rem; }

/* Header */
.navbar {
  background: linear-gradient(135deg, var(--primary-cream), var(--primary-cream-light));
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
  padding: 1rem 0;
}

.navbar-brand {
  font-size: var(--navbar-brand-size) !important;
  font-weight: 700;
  color: var(--primary-burgundy) !important;
  text-decoration: none;
}

.nav-link {
  font-size: 10px !important;
  color: var(--primary-charcoal) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-burgundy) !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-burgundy-dark) 0%, var(--primary-burgundy) 50%, var(--primary-gold-dark) 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-image: url('../SAL_images/smr_gallery-building.webp');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: white;
}

.hero-section .decorative-blob {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, var(--primary-gold), var(--primary-sage));
  opacity: 0.1;
  z-index: 1;
}

.blob-1 { width: 300px; height: 300px; top: 20%; right: 10%; }
.blob-2 { width: 200px; height: 200px; bottom: 20%; left: 15%; }

/* Sections */
.section {
  padding: 80px 0;
}

.section-alt {
  background: linear-gradient(135deg, var(--primary-cream-light), var(--primary-cream));
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-sage);
  font-size: var(--font-size-lg);
  margin-bottom: 0.5rem;
}

/* Services */
.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;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.service-card img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  margin-bottom: 1.5rem;
}

.service-price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--primary-burgundy);
  margin: 1rem 0;
}

/* Features Grid */
.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;
}

.feature-icon {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

/* Price Plans */
.price-plans {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.price-plan {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  position: relative;
}

.price-plan.featured {
  border: 3px solid var(--primary-gold);
  transform: scale(1.05);
}

.plan-price {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-burgundy);
  margin: 1rem 0;
}

/* Team */
.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 10px 30px rgba(0,0,0,0.1);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1.5rem;
  border: 4px solid var(--primary-gold);
}

/* Reviews */
.reviews-slider {
  margin-top: 3rem;
  position: relative;
}

.reviews-slider .swiper-container {
  position: relative;
  overflow: hidden;
}

.review-item {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  margin: 0 1rem;
}

.review-text {
  font-style: italic;
  font-size: var(--font-size-lg);
  margin-bottom: 1.5rem;
  color: var(--primary-charcoal);
}

.review-author {
  font-weight: 600;
  color: var(--primary-burgundy);
}

/* Swiper Navigation Buttons */
.reviews-slider .swiper-button-next,
.reviews-slider .swiper-button-prev {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  background-color: var(--primary-burgundy);
  border-radius: 50%;
  z-index: 10;
}

.reviews-slider .swiper-button-next:after,
.reviews-slider .swiper-button-prev:after {
  font-size: 18px;
  font-weight: 900;
  color: white;
}

.reviews-slider .swiper-button-next {
  right: 10px;
}

.reviews-slider .swiper-button-prev {
  left: 10px;
}

.reviews-slider .swiper-button-next:hover,
.reviews-slider .swiper-button-prev:hover {
  background-color: var(--primary-burgundy-dark);
}

/* Swiper Pagination */
.reviews-slider .swiper-pagination {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.reviews-slider .swiper-pagination-bullet {
  background-color: var(--primary-burgundy);
  opacity: 0.5;
  width: 12px;
  height: 12px;
}

.reviews-slider .swiper-pagination-bullet-active {
  opacity: 1;
  background-color: var(--primary-burgundy);
}

/* Gallery */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  border-radius: 10px;
  overflow: hidden;
  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.05);
}

/* FAQ */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-card {
  background: white;
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid var(--primary-burgundy);
}

.faq-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 40px rgba(0,0,0,0.15);
}

.faq-question {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.faq-question .faq-icon {
  font-size: 1.5rem;
  color: var(--primary-burgundy);
  margin-right: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}

.faq-question h4 {
  margin: 0;
  font-size: var(--font-size-h4);
  font-weight: 600;
  color: var(--primary-charcoal-dark);
  line-height: 1.3;
}

.faq-answer {
  color: var(--primary-charcoal);
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
}

/* Contact Form */
.contact-section {
  background: linear-gradient(135deg, var(--primary-sage-light), var(--primary-sage));
  color: white;
}

.contact-form {
  background: white;
  border-radius: 15px;
  padding: 2.5rem;
  box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--primary-cream-dark);
  border-radius: 10px;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-gold);
  box-shadow: 0 0 0 0.2rem rgba(212, 175, 55, 0.25);
}

.btn-primary {
  background: linear-gradient(135deg, var(--primary-burgundy), var(--primary-burgundy-light));
  border: none;
  border-radius: 25px;
  padding: 0.75rem 2rem;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-burgundy-dark), var(--primary-burgundy));
  transform: translateY(-2px);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, var(--primary-charcoal-dark), var(--primary-charcoal));
  color: white;
  padding: 3rem 0 1rem;
}

.footer a {
  color: var(--primary-cream);
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer a:hover {
  color: var(--primary-gold);
}

/* Breadcrumbs */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
}

/* Blog */
.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 10px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
}

.blog-post:hover {
  transform: translateY(-5px);
}

.blog-post img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-content {
  padding: 1.5rem;
}

/* Space Page */
#space {
  min-height: 60vh;
  background: linear-gradient(135deg, var(--primary-cream), var(--primary-cream-light));
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-section {
    text-align: center;
  }
  
  .services-grid,
  .features-grid,
  .price-plans,
  .team-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 60px 0;
  }
  
  .navbar-brand {
    font-size: 18px !important;
  }
  
  h1 { font-size: 28px; }
  h2 { font-size: 24px; }
  h3 { font-size: 20px; }
} 