:root {
  /* Color Palette - 5 primary colors with light/dark shades */
  --primary-rust: #8e3e0c;
  --primary-rust-light: #e37833;
  --primary-rust-dark: #604826;
  
  --primary-sage: #87a676;
  --primary-sage-light: #c8e0b1;
  --primary-sage-dark: #719553;
  
  --primary-cream: #f8f3d8;
  --primary-cream-light: #FFFEF7;
  --primary-cream-dark: #cdd0b1;
  
  --primary-stone: #726b66;
  --primary-stone-light: #afafaf;
  --primary-stone-dark: #453e39;
  
  --primary-terracotta: #dda33c;
  --primary-terracotta-light: #c79169;
  --primary-terracotta-dark: #9e5239;
  
  /* Typography */
  --font-primary: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  --font-size-base: 16px;
  --font-size-h1: 2.2rem;
  --font-size-h2: 1.8rem;
  --font-size-h3: 1.4rem;
  --font-size-h4: 1.2rem;
  --font-size-small: 0.9rem;
  
  /* Spacing */
  --section-padding: 80px 0;
  --container-padding: 0 17px;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: 1.6;
  color: var(--primary-stone-dark);
  background-color: var(--primary-cream-light);
}

/* 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;
  }
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  margin-bottom: 1.07rem;
  color: var(--primary-rust-dark);
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p {
  margin-bottom: 1.07rem;
  color: var(--primary-stone-dark);
}

/* Header */
header {
  background: linear-gradient(135deg, var(--primary-cream) 0%, var(--primary-cream-dark) 100%);
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.38rem !important;
  font-weight: 700;
  color: var(--primary-rust) !important;
}

.navbar-nav .nav-link {
  color: var(--primary-stone-dark) !important;
  font-weight: 500;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-rust) !important;
}

/* Hero Section */
#hero {
  height: 100vh;
  background: linear-gradient(rgba(139, 67, 6, 0.30), rgba(135, 44, 12, 0.30)), url('../ROT_images/hero-cottage.webp');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  color: white;
  position: relative;
}

#hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, var(--primary-rust) 0%, transparent 50%, var(--primary-sage) 100%);
  opacity: 0.6;
}

#hero .container {
  position: relative;
  z-index: 2;
}

/* Sections */
section {
  padding: var(--section-padding);
}

.section-title {
  text-align: center;
  margin-bottom: 3.22rem;
}

.section-subtitle {
  color: var(--primary-sage);
  font-size: var(--font-size-small);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 0.75rem;
}

/* About Section */
#about {
  background: var(--primary-cream);
}

.feature-item {
  text-align: center;
  padding: 2rem;
  background: white;
  border-radius: 14px;
  box-shadow: 0 8px 17px rgba(0,0,0,0.1);
  margin-bottom: 2.11rem;
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-5px);
}

.feature-item i {
  font-size: 3.14rem;
  color: var(--primary-rust);
  margin-bottom: 1.07rem;
}

/* Services Section */
#services {
  background: linear-gradient(135deg, var(--primary-sage-light) 0%, var(--primary-cream) 100%);
}

.service-card {
  background: white;
  border-radius: 19px;
  overflow: hidden;
  box-shadow: 0 12px 30px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2.11rem;
}

.service-card:hover {
  transform: translateY(-11px);
}

.service-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.service-content {
  padding: 2rem;
}

.service-price {
  font-size: 2.11rem;
  font-weight: 700;
  color: var(--primary-rust);
  margin-top: 1.16rem;
}

/* Features Section */
#fff39ftures {
  background: var(--primary-cream-dark);
}

/* Price Plan Section */
#priceplan {
  background: linear-gradient(135deg, var(--primary-terracotta-light) 0%, var(--primary-cream) 100%);
}

.price-card {
  background: white;
  border-radius: 15px;
  padding: 3rem 2rem;
  text-align: center;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
  transition: transform 0.3s ease;
  margin-bottom: 2.11rem;
}

.price-card:hover {
  transform: scale(1.05);
}

.price-amount {
  font-size: 3.14rem;
  font-weight: 700;
  color: var(--primary-rust);
  margin: 1rem 0;
}

/* Team Section */
#team {
  background: var(--primary-cream);
}

.team-member {
  text-align: center;
  margin-bottom: 2.11rem;
}

.team-photo {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  margin: 0 auto 1rem;
  border: 5px solid var(--primary-sage);
}

/* Reviews Section */
#reviews {
  background: linear-gradient(135deg, var(--primary-stone-light) 0%, var(--primary-cream) 100%);
}

.review-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  margin: 1rem;
  box-shadow: 0 13px 25px rgba(0,0,0,0.1);
}

/* Case Studies Section */
#casestudy {
  background: var(--primary-cream-dark);
}

.case-item {
  background: white;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 14px 30px rgba(0,0,0,0.1);
  margin-bottom: 2.11rem;
}

.case-content {
  padding: 2rem;
}

/* Process Section */
#process {
  background: linear-gradient(135deg, var(--primary-sage) 0%, var(--primary-cream) 100%);
}

.process-step {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 2.11rem;
  box-shadow: 0 11px 25px rgba(0,0,0,0.1);
}

.process-number {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-rust);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  font-weight: 700;
  margin: 0 auto 1rem;
}

/* Timeline Section */
#timeline {
  background: var(--primary-cream);
}

.timeline-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2.11rem;
  box-shadow: 0 11px 25px rgba(0,0,0,0.1);
  border-left: 5px solid var(--primary-rust);
}

/* Career Section */
#career {
  background: linear-gradient(135deg, var(--primary-terracotta) 0%, var(--primary-cream) 100%);
}

.career-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  margin-bottom: 2.11rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Core Info Section */
#coreinfo {
  background: var(--primary-cream-dark);
}

.info-item {
  background: white;
  padding: 2rem;
  border-radius: 15px;
  text-align: center;
  margin-bottom: 2.11rem;
  box-shadow: 0 10px 25px rgba(0,0,0,0.1);
}

/* Blog Section */
#blog {
  background: linear-gradient(135deg, var(--primary-sage-light) 0%, var(--primary-cream) 100%);
}

.blog-item {
  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: 2.11rem;
}

.blog-item:hover {
  transform: translateY(-5px);
}

.blog-image {
  height: 200px;
  background-size: cover;
  background-position: center;
}

.blog-content {
  padding: 2rem;
}

.blog-link {
  color: var(--primary-rust);
  text-decoration: none;
  font-weight: 600;
}

.blog-link:hover {
  color: var(--primary-rust-dark);
}

/* FAQ Section */
#faq {
  background: var(--primary-cream);
}

.faq-item {
  background: white;
  border-radius: 10px;
  margin-bottom: 1.07rem;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.faq-question {
  padding: 1.5rem;
  background: var(--primary-sage-light);
  cursor: pointer;
  font-weight: 600;
  margin: 0;
}

.faq-answer {
  padding: 1.5rem;
  display: none;
}

/* Gallery Section */
#gallery {
  background: var(--primary-cream-dark);
}

.gallery-item {
  margin-bottom: 2.11rem;
}

.gallery-image {
  width: 100%;
  height: 250px;
  background-size: cover;
  background-position: center;
  border-radius: 10px;
  transition: transform 0.3s ease;
}

.gallery-image:hover {
  transform: scale(1.05);
}

/* Contact Section */
#contact {
  background: linear-gradient(135deg, var(--primary-rust-light) 0%, var(--primary-cream) 100%);
}

.contact-form {
  background: white;
  padding: 3rem;
  border-radius: 15px;
  box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}

.form-control {
  border: 2px solid var(--primary-cream-dark);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 1.07rem;
  transition: border-color 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-rust);
  box-shadow: 0 0 0 0.2rem rgba(162, 72, 28, 0.25);
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-rust) 0%, var(--primary-rust-dark) 100%);
  border: none;
  color: white;
  padding: 12px 30px;
  border-radius: 25px;
  font-weight: 600;
  transition: transform 0.3s ease;
}

.btn-submit:hover {
  transform: translateY(-2px);
  background: linear-gradient(135deg, var(--primary-rust-dark) 0%, var(--primary-rust) 100%);
}

/* Footer */
footer {
  background-color: #719553;
  color: var(--primary-cream-light);
  padding: 3rem 0 1rem;
}

footer h5 {
  color: var(--primary-cream);
  margin-bottom: 1.07rem;
}

footer a {
  color: var(--primary-cream-light);
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-terracotta-light);
}

.footer-section {
  margin-bottom: 2.11rem;
}

#site-copyright {
  text-align: center;
  padding-top: 2.22rem;
  border-top: 1px solid var(--primary-stone);
  margin-top: 2.12rem;
  color: var(--primary-cream-dark);
}

/* Space Page */
#space {
  height: 80vh;
  background: var(--primary-cream);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.11rem;
  color: var(--primary-stone);
}

/* Breadcrumbs */
.breadcrumb-container {
  padding: 1rem 0;
  background: var(--primary-cream-dark);
}

.breadcrumb-image {
  width: 40px;
  height: 40px;
  background: url('../ROT_images/breadcrumb-icon.webp');
  background-size: cover;
}

/* Utilities */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.75rem; }
.mb-2 { margin-bottom: 1.07rem; }
.mb-3 { margin-bottom: 1.64rem; }
.mb-4 { margin-bottom: 2.11rem; }
.mb-5 { margin-bottom: 3.22rem; } 


/* Team Social Links - Elegant Style */
.team-social-links {
    margin-top: 24px;
    padding: 18px 0;
}

.social-icons-grid {
    display: flex;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

.social-link {
    display: inline-flex;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 17px;
    transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.social-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    color: white;
}

.facebook-link {
    background: rgba(24, 119, 242, 0.9);
}

.facebook-link:hover {
    background: rgba(24, 119, 242, 1);
    box-shadow: 0 8px 30px rgba(24, 119, 242, 0.4);
}

.linkedin-link {
    background: rgba(10, 102, 194, 0.9);
}

.linkedin-link:hover {
    background: rgba(10, 102, 194, 1);
    box-shadow: 0 8px 30px rgba(10, 102, 194, 0.4);
}

.x-link {
    background: rgba(0, 0, 0, 0.9);
    position: relative;
}

.x-link::after {
    content: '𝕏';
    font-weight: bold;
    font-size: 19px;
    z-index: 2;
    position: relative;
}

.x-link:hover {
    background: rgba(0, 0, 0, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.x-link i {
    display: none;
}

@media (max-width: 768px) {
    .social-icons-grid {
        gap: 12px;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 15px;
    }
}
