:root {
  /* Primary Color Palette - 5 colors with light/dark shades */
  --primary-burgundy: #9d5857;
  --primary-burgundy-light: #be8277;
  --primary-burgundy-dark: #773c37;
  
  --primary-gold: #d6ab2b;
  --primary-gold-light: #f5bc47;
  --primary-gold-dark: #be8914;
  
  --primary-sage: #aec28e;
  --primary-sage-light: #9ead92;
  --primary-sage-dark: #7d8573;
  
  --primary-cream: #fffff9;
  --primary-cream-light: #f7f6eb;
  --primary-cream-dark: #e1e1ce;
  
  --primary-charcoal: #3a4c55;
  --primary-charcoal-light: #3a4858;
  --primary-charcoal-dark: #33464c;
  
  /* Typography */
  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.125rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 700;
  
  /* Spacing */
  --section-padding: 4rem 0;
  --section-margin: 2rem 0;
}

/* Base Typography */
body {
  font-family: 'Georgia', serif;
  font-size: var(--font-size-base);
  color: var(--primary-charcoal);
  line-height: 1.6;
  background-color: var(--primary-cream);
}

/* Conservative font sizes */
.navbar-brand {
  font-size: 1.31rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-burgundy);
}

h1 {
  font-size: 2rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

h2 {
  font-size: 1.84rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-charcoal);
  margin-bottom: 1.00rem;
}

h3 {
  font-size: 1.60rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-burgundy);
  margin-bottom: 0.75rem;
}

h4 {
  font-size: 1.33rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-charcoal);
  margin-bottom: 0.67rem;
}

h5 {
  font-size: 1.25rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-burgundy);
  margin-bottom: 0.56rem;
}

h6 {
  font-size: 1rem;
  font-weight: var(--font-weight-medium);
  color: var(--primary-charcoal);
  margin-bottom: 0.57rem;
}

p {
  font-size: var(--font-size-base);
  color: var(--primary-charcoal);
  margin-bottom: 1rem;
}

/* Section Styles */
.section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3rem;
}

.section-subtitle {
  color: var(--primary-sage);
  font-size: var(--font-size-large);
  margin-bottom: 1rem;
}

.section-desc {
  color: var(--primary-charcoal-light);
  font-size: var(--font-size-base);
  max-width: 600px;
  margin: 0 auto;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--primary-cream-light) 100%);
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, var(--primary-gold-light) 0%, transparent 70%);
  opacity: 0.1;
  border-radius: 50%;
}

.hero-content {
  position: relative;
  z-index: 2;
    padding-top: 100px;
}

.hero-title {
  font-size: 3rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

.hero-subtitle {
  font-size: 1.61rem;
  color: var(--primary-sage);
  margin-bottom: 1.68rem;
}

.hero-desc {
  font-size: var(--font-size-large);
  color: var(--primary-charcoal);
  margin-bottom: 2rem;
}

/* Button Styles */
.btn-primary {
  background-color: var(--primary-burgundy);
  border-color: var(--primary-burgundy);
  color: white;
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: var(--primary-burgundy-dark);
  border-color: var(--primary-burgundy-dark);
  transform: translateY(-2px);
}

.btn-outline-primary {
  color: var(--primary-burgundy);
  border-color: var(--primary-burgundy);
  padding: 0.75rem 2rem;
  font-weight: var(--font-weight-medium);
  border-radius: 0.5rem;
  transition: all 0.3s ease;
}

.btn-outline-primary:hover {
  background-color: var(--primary-burgundy);
  border-color: var(--primary-burgundy);
  color: white;
}

/* Card Styles */
.card {
  border: none;
  border-radius: 1rem;
  box-shadow: 0 7px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
  background-color: white;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.card-header {
  background-color: var(--primary-cream);
  border-bottom: 1px solid var(--primary-cream-dark);
  border-radius: 1rem 1rem 0 0;
  padding: 1.5rem;
}

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary-burgundy);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.card-text {
  color: var(--primary-charcoal);
  margin-bottom: 1rem;
}

/* Services Section */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.service-card {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 15px rgba(0, 0, 0, 0.15);
}

.service-icon {
  font-size: 3rem;
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.service-name {
  font-size: 1.64rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
}

.service-desc {
  color: var(--primary-charcoal);
  margin-bottom: 1.85rem;
}

.service-price {
  font-size: 1.30rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-gold);
}

/* Team Section */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.team-member {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 1rem;
  box-shadow: 0 13px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.team-member:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.team-photo {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
  border: 8px solid var(--primary-cream);
}

.team-name {
  font-size: 1.36rem;
  font-weight: var(--font-weight-bold);
  color: var(--primary-burgundy);
  margin-bottom: 0.86rem;
}

.team-role {
  color: var(--primary-sage);
  font-size: var(--font-size-base);
}

/* Reviews Section */
.reviews-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.review-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
  position: relative;
}

.review-text {
  color: var(--primary-charcoal);
  font-style: italic;
  margin-bottom: 1.77rem;
  font-size: var(--font-size-base);
}

.review-author {
  font-weight: var(--font-weight-bold);
  color: var(--primary-burgundy);
  font-size: var(--font-size-base);
}

.review-card::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 3rem;
  color: var(--primary-gold);
  opacity: 0.3;
}

/* FAQ Section */
.faq-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.faq-card {
  background: white;
  border-radius: 1rem;
  padding: 2rem;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.faq-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
}

.faq-question {
  font-weight: var(--font-weight-bold);
  color: var(--primary-burgundy);
  margin-bottom: 1rem;
  font-size: var(--font-size-large);
}

.faq-answer {
  color: var(--primary-charcoal);
  line-height: 1.6;
}

/* Contact Form */
.contact-form {
  background: white;
  border-radius: 1rem;
  padding: 3rem;
  box-shadow: 0 7px 6px rgba(0, 0, 0, 0.1);
  margin-top: 3rem;
}

.form-control {
  border: 2px solid var(--primary-cream-dark);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  font-size: var(--font-size-base);
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-burgundy);
  box-shadow: 0 0 0 0.2rem rgba(154, 87, 84, 0.25);
}

.form-label {
  font-weight: var(--font-weight-medium);
  color: var(--primary-charcoal);
  margin-bottom: 0.95rem;
}

/* Form validation styles */
.just-validate-error-label {
  color: #d02e3e;
  font-size: 0.90rem;
  margin-top: 0.40rem;
  display: block;
}

.just-validate-error-field {
  border-color: #ce3a33;
  box-shadow: 0 0 0 0.2rem rgba(233, 74, 93, 0.25);
}

.just-validate-success-field {
  border-color: #33b53c;
  box-shadow: 0 0 0 0.2rem rgba(50, 187, 104, 0.25);
}

/* Custom Nanobar styling */
.nanobar {
  z-index: 9999;
}

.nanobar .bar {
  background: var(--primary-burgundy);
  height: 3px;
  border-radius: 0 0 2px 2px;
}

/* Footer */
.footer {
  background-color: var(--primary-charcoal);
  color: white;
  padding: 4rem 0 2rem;
  margin-top: 4rem;
}

.footer h5 {
  color: var(--primary-gold);
  margin-bottom: 1rem;
}

.footer p, .footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
}

.footer a:hover {
  color: var(--primary-gold);
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.52rem;
  }
  
  .hero-subtitle {
    font-size: 1.37rem;
  }
  
  .services-grid,
  .team-grid,
  .reviews-grid,
  .faq-grid {
    grid-template-columns: 1fr;
  }
  
  .section {
    padding: 2rem 0;
  }
  
  .contact-form {
    padding: 2rem;
  }
}

/* Accessibility - Respect prefers-reduced-motion */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1rem;
  margin-top: 3rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  box-shadow: 0 6px 6px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.gallery-item:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: all 0.3s ease;
}

.gallery-item:hover img {
  transform: scale(1.1);
}

/* Breadcrumb */
.breadcrumb {
  background-color: transparent;
  padding: 1rem 0;
  margin-bottom: 2rem;
}

.breadcrumb-item {
  display: flex;
  align-items: center;
}

.breadcrumb-item img {
  width: 20px;
  height: 20px;
  object-fit: cover;
}

/* Process/Timeline Steps */
.process-steps {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 3rem;
  position: relative;
}

.process-steps::before {
  content: '';
  position: absolute;
  top: 30px;
  left: 0;
  right: 0;
  height: 2px;
  background-color: var(--primary-cream-dark);
  z-index: 1;
}

.process-step {
  flex: 1;
  text-align: center;
  position: relative;
  z-index: 2;
  background: white;
  padding: 1rem;
  border-radius: 1rem;
  margin: 0 0.5rem;
  box-shadow: 0 9px 6px rgba(0, 0, 0, 0.1);
}

.process-number {
  width: 60px;
  height: 60px;
  background-color: var(--primary-burgundy);
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: var(--font-weight-bold);
  font-size: 1.62rem;
  margin: 0 auto 1rem;
}

.process-title {
  font-weight: var(--font-weight-bold);
  color: var(--primary-burgundy);
  margin-bottom: 0.67rem;
}

.process-desc {
  color: var(--primary-charcoal);
  font-size: var(--font-size-small);
}

@media (max-width: 768px) {
  .process-steps {
    flex-direction: column;
    gap: 2rem;
  }
  
  .process-steps::before {
    display: none;
  }
  
  .process-step {
    margin: 0;
  }
}

/* Smooth scrolling for the entire page */
html {
  scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--primary-burgundy);
  outline-offset: 2px;
}

/* Skip to content link for screen readers */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 8px 16px;
  background: var(--primary-burgundy);
  color: white;
  text-decoration: none;
  border-radius: 0 0 4px 4px;
}

.skip-link:focus {
  left: 6px;
  top: 6px;
}

/* Timeline Section */
.timeline-container {
  position: relative;
  padding: 2rem 0;
}

.timeline-item {
  margin-bottom: 3rem;
  position: relative;
}

.timeline-content {
  background: white;
  padding: 2rem;
  border-radius: 1rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.timeline-content h5 {
  color: var(--primary-burgundy);
  font-weight: var(--font-weight-bold);
  margin-bottom: 1rem;
}

.timeline-content p {
  color: var(--primary-charcoal);
  margin-bottom: 0;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  width: 20px;
  height: 20px;
  background-color: var(--primary-gold);
  border-radius: 50%;
  transform: translateX(-50%);
  z-index: 2;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background-color: var(--primary-cream-dark);
  transform: translateX(-50%);
  z-index: 1;
}

@media (max-width: 768px) {
  .timeline-container::before {
    left: 30px;
  }
  
  .timeline-item::before {
    left: 30px;
  }
  
  .timeline-content {
    margin-left: 60px;
    margin-right: 0;
  }
} 


/* Team Social Links - Rounded Style */
.team-social-links {
    margin-top: 20px;
    padding: 15px 0;
}

.social-icons-grid {
    display: flex;
    gap: 15px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 18px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.6s;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
    color: white;
}

.facebook-link {
    background: linear-gradient(135deg, #1877f2, #42a5f5);
}

.facebook-link:hover {
    background: linear-gradient(135deg, #0d6efd, #1877f2);
}

.linkedin-link {
    background: linear-gradient(135deg, #0a66c2, #2196f3);
}

.linkedin-link:hover {
    background: linear-gradient(135deg, #084a8a, #0a66c2);
}

.x-link {
    background: linear-gradient(135deg, #000000, #333333);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 20px;
}

.x-link:hover {
    background: linear-gradient(135deg, #1a1a1a, #000000);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 10px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}
