/* Warm Ember Architecture Studio - Custom Styles */

/* ==================== ROOT VARIABLES ==================== */
:root {
  --primary-color: #8B4513;
  --secondary-color: #F4E4BC;
  --primary-dark: #6B3410;
  --primary-light: #A0522D;
  --accent-warm: #D2691E;
  --text-dark: #2C1810;
  --text-light: #F5F5F5;
  --shadow-sm: 0 2px 8px rgba(139, 69, 19, 0.1);
  --shadow-md: 0 4px 16px rgba(139, 69, 19, 0.15);
  --shadow-lg: 0 8px 32px rgba(139, 69, 19, 0.2);
  --transition-base: all 0.3s ease;
  --transition-smooth: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ==================== GLOBAL STYLES ==================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-color: #FAFAFA;
}

html {
  scroll-behavior: smooth;
}

/* ==================== TYPOGRAPHY ==================== */
.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  color: var(--text-dark) !important;
  letter-spacing: -0.02em;
}

.lead {
  font-size: 1.25rem;
  font-weight: 300;
  color: var(--text-dark);
}

h1, h2, h3, h4, h5, h6, .h4, .h5, .h6 {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.fw-bold {
  font-weight: 700 !important;
}

.fw-semibold {
  font-weight: 600 !important;
}

.text-white {
  color: #FFFFFF !important;
}

.text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

.text-dark {
  color: var(--text-dark) !important;
}

.text-muted {
  color: #6C757D !important;
}

/* ==================== NAVBAR ==================== */
.navbar {
  padding: 1rem 0;
  transition: var(--transition-smooth);
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  box-shadow: var(--shadow-md);
}

.navbar-dark {
  background-color: var(--primary-color) !important;
}

.navbar.sticky-top {
  backdrop-filter: blur(10px);
  background: linear-gradient(135deg, rgba(107, 52, 16, 0.95) 0%, rgba(139, 69, 19, 0.95) 100%) !important;
}

.navbar-brand {
  font-size: 1.5rem;
  color: #FFFFFF !important;
  font-weight: 700 !important;
  transition: var(--transition-base);
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.navbar-brand:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border-color: rgba(255, 255, 255, 0.3) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(244, 228, 188, 0.25) !important;
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition-base);
  position: relative;
  border-radius: 0.375rem;
}

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF !important;
  background-color: rgba(255, 255, 255, 0.1) !important;
  transform: translateY(-1px);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 1rem;
  right: 1rem;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 2px;
}

/* ==================== BUTTONS ==================== */
.btn {
  font-weight: 600 !important;
  border-radius: 0.5rem !important;
  transition: var(--transition-base) !important;
  border: none !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

.btn-lg {
  padding: 0.875rem 2rem !important;
  font-size: 1.125rem !important;
}

.btn-sm {
  padding: 0.375rem 1rem !important;
  font-size: 0.875rem !important;
}

.btn-primary,
.btn:not(.btn-outline-secondary):not(.btn-outline-light):not(.btn-light) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-warm) 100%) !important;
  color: #FFFFFF !important;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover,
.btn:not(.btn-outline-secondary):not(.btn-outline-light):not(.btn-light):hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  transform: translateY(-2px) !important;
  box-shadow: var(--shadow-md) !important;
  color: #FFFFFF !important;
}

.btn-outline-secondary {
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
}

.btn-outline-secondary:hover {
  background: var(--primary-color) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-color) !important;
}

.btn-outline-light {
  border: 2px solid #FFFFFF !important;
  color: #FFFFFF !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: #FFFFFF !important;
  color: var(--primary-color) !important;
  border-color: #FFFFFF !important;
}

.btn-light {
  background-color: #FFFFFF !important;
  color: var(--primary-color) !important;
  border: 2px solid #FFFFFF !important;
}

.btn-light:hover {
  background-color: var(--secondary-color) !important;
  color: var(--primary-dark) !important;
  border-color: var(--secondary-color) !important;
}

.btn:active {
  transform: translateY(0) !important;
}

/* ==================== CARDS ==================== */
.card {
  border-radius: 1rem !important;
  transition: var(--transition-smooth) !important;
  border: none !important;
  background: #FFFFFF;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px) !important;
}

.card.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.card.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.card.shadow {
  box-shadow: var(--shadow-md) !important;
}

.card-body {
  padding: 2rem;
}

.card-img-top {
  transition: var(--transition-smooth);
}

.card:hover .card-img-top {
  transform: scale(1.05);
}

/* ==================== FORMS ==================== */
.form-control,
.form-select {
  border: 2px solid #E0E0E0 !important;
  border-radius: 0.5rem !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition-base) !important;
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.15) !important;
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
}

.form-control-lg,
.form-select-lg {
  padding: 1rem 1.25rem !important;
  font-size: 1.125rem !important;
}

.form-label {
  color: var(--text-dark) !important;
  font-weight: 600 !important;
  margin-bottom: 0.5rem;
}

.form-check-input {
  border: 2px solid var(--primary-color) !important;
  background-color: #FFFFFF !important;
}

.form-check-input:checked {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

.form-check-label {
  color: var(--text-dark) !important;
}

.invalid-feedback {
  color: #DC3545 !important;
  font-weight: 500;
}

.was-validated .form-control:invalid,
.was-validated .form-select:invalid {
  border-color: #DC3545 !important;
}

.was-validated .form-control:valid,
.was-validated .form-select:valid {
  border-color: #198754 !important;
}

/* ==================== HERO SECTION ==================== */
.position-relative.overflow-hidden {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--accent-warm) 100%);
  min-height: 100vh;
}

.position-absolute.top-0.start-0.w-100.h-100 {
  z-index: 0;
  opacity: 0.15;
}

.object-fit-cover {
  object-fit: cover !important;
  width: 100%;
  height: 100%;
}

.position-relative.overflow-hidden .row {
  position: relative;
  z-index: 1;
}

.position-relative.overflow-hidden .text-white {
  color: #FFFFFF !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);
}

.position-relative.overflow-hidden .display-2 {
  color: #FFFFFF !important;
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  animation: fadeInUp 1s ease-out;
}

.position-relative.overflow-hidden .lead,
.position-relative.overflow-hidden .fs-4,
.position-relative.overflow-hidden .fs-5 {
  color: rgba(255, 255, 255, 0.95) !important;
  animation: fadeInUp 1s ease-out 0.2s both;
}

/* ==================== BADGES ==================== */
.badge {
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  letter-spacing: 0.5px;
}

.badge.rounded-pill {
  border-radius: 50rem !important;
}

.bg-primary,
.badge:not(.bg-light):not(.bg-white) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-warm) 100%) !important;
  color: #FFFFFF !important;
}

/* ==================== ICONS ==================== */
.bi {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.bi-building,
.bi-stars,
.bi-geo-alt-fill,
.bi-door-open,
.bi-cup-hot,
.bi-flower2,
.bi-calendar-event,
.bi-briefcase,
.bi-person-check,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin,
.bi-check-circle-fill,
.bi-wifi,
.bi-droplet,
.bi-leaf,
.bi-clock-fill,
.bi-arrow-right,
.bi-car-front-fill,
.bi-train-front-fill,
.bi-headset,
.bi-box-arrow-up-right,
.bi-tv,
.bi-shield-check,
.bi-brightness-high,
.bi-snow2,
.bi-flower1,
.bi-telephone,
.bi-newspaper,
.bi-ear,
.bi-geo-alt,
.bi-envelope,
.bi-sunrise,
.bi-sun,
.bi-moon-stars,
.bi-cup-straw,
.bi-wine,
.bi-glass-cheers,
.bi-printer,
.bi-pc-display,
.bi-people,
.bi-star-fill,
.bi-ticket-perforated,
.bi-map,
.bi-car-front,
.bi-shop,
.bi-chat-dots,
.bi-diagram-3,
.bi-projector,
.bi-person-workspace,
.bi-clock-history,
.bi-snow,
.bi-universal-access,
.bi-p-circle,
.bi-heart-fill {
  color: var(--primary-color);
  transition: var(--transition-base);
}

.text-white .bi,
.card-body .bi.text-white {
  color: #FFFFFF !important;
}

.display-4.bi,
.fs-1.bi,
.display-6.bi,
.fs-2.bi {
  font-size: inherit !important;
}

.card:hover .bi,
.d-flex:hover .bi {
  transform: scale(1.1) rotate(5deg);
}

/* ==================== UTILITY CLASSES ==================== */
.min-vh-100 {
  min-height: 100vh !important;
}

.min-vh-50 {
  min-height: 50vh !important;
}

.position-sticky {
  position: sticky !important;
  top: 80px;
}

.position-relative {
  position: relative !important;
}

.position-absolute {
  position: absolute !important;
}

.overflow-hidden {
  overflow: hidden !important;
}

.rounded-3 {
  border-radius: 0.75rem !important;
}

.rounded-4 {
  border-radius: 1rem !important;
}

.rounded-circle {
  border-radius: 50% !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

.shadow {
  box-shadow: var(--shadow-md) !important;
}

.shadow-sm {
  box-shadow: var(--shadow-sm) !important;
}

.shadow-lg {
  box-shadow: var(--shadow-lg) !important;
}

.opacity-75 {
  opacity: 0.75 !important;
}

.opacity-25 {
  opacity: 0.25 !important;
}

/* ==================== BACKGROUNDS ==================== */
.bg-light {
  background-color: #F8F9FA !important;
}

.bg-white {
  background-color: #FFFFFF !important;
}

.bg-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-warm) 100%) !important;
}

/* ==================== BORDERS ==================== */
.border {
  border: 1px solid #DEE2E6 !important;
}

.border-0 {
  border: 0 !important;
}

.border-top {
  border-top: 1px solid #DEE2E6 !important;
}

.border-white {
  border-color: #FFFFFF !important;
}

/* ==================== SPACING ==================== */
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-3 { padding-bottom: 1rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.mt-1 { margin-top: 0.25rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mb-0 { margin-bottom: 0 !important; }
.mb-1 { margin-bottom: 0.25rem !important; }
.mb-2 { margin-bottom: 0.5rem !important; }
.mb-3 { margin-bottom: 1rem !important; }
.mb-4 { margin-bottom: 1.5rem !important; }
.mb-5 { margin-bottom: 3rem !important; }
.ms-1 { margin-left: 0.25rem !important; }
.ms-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-auto { margin-left: auto !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.gap-3 {
  gap: 1rem !important;
}

.g-0 {
  --bs-gutter-x: 0 !important;
  --bs-gutter-y: 0 !important;
}

.g-3 {
  --bs-gutter-x: 1rem !important;
  --bs-gutter-y: 1rem !important;
}

.g-4 {
  --bs-gutter-x: 1.5rem !important;
  --bs-gutter-y: 1.5rem !important;
}

.g-5 {
  --bs-gutter-x: 3rem !important;
  --bs-gutter-y: 3rem !important;
}

/* ==================== FLEXBOX ==================== */
.d-flex {
  display: flex !important;
}

.d-block {
  display: block !important;
}

.flex-column {
  flex-direction: column !important;
}

.flex-column-reverse {
  flex-direction: column-reverse !important;
}

.flex-row-reverse {
  flex-direction: row-reverse !important;
}

.flex-wrap {
  flex-wrap: wrap !important;
}

.align-items-center {
  align-items: center !important;
}

.align-items-start {
  align-items: flex-start !important;
}

.justify-content-center {
  justify-content: center !important;
}

/* ==================== TEXT UTILITIES ==================== */
.text-center {
  text-align: center !important;
}

.text-decoration-none {
  text-decoration: none !important;
}

.text-decoration-none:hover {
  text-decoration: underline !important;
}

.small {
  font-size: 0.875rem;
}

.fs-1 { font-size: 2.5rem !important; }
.fs-2 { font-size: 2rem !important; }
.fs-4 { font-size: 1.5rem !important; }
.fs-5 { font-size: 1.25rem !important; }

/* ==================== LISTS ==================== */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

.list-unstyled li {
  margin-bottom: 0.5rem;
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out;
}

.animate-slide-left {
  animation: slideInLeft 0.8s ease-out;
}

.animate-slide-right {
  animation: slideInRight 0.8s ease-out;
}

.animate-scale {
  animation: scaleIn 0.6s ease-out;
}

/* ==================== HOVER EFFECTS ==================== */
.hover-lift {
  transition: var(--transition-smooth);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hover-scale {
  transition: var(--transition-smooth);
}

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

a {
  color: var(--primary-color);
  text-decoration: none;
  transition: var(--transition-base);
}

a:hover {
  color: var(--primary-dark);
}

/* ==================== CONTAINER ==================== */
.container,
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

/* ==================== RESPONSIVE DESIGN ==================== */

/* Mobile First - Base styles above are for mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .flex-sm-row {
    flex-direction: row !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-md-3 { flex: 0 0 auto; width: 25%; }
  .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-md-6 { flex: 0 0 auto; width: 50%; }
  
  .order-md-2 { order: 2 !important; }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-md-0 {
    margin-top: 0 !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-lg-3 { flex: 0 0 auto; width: 25%; }
  .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-lg-6 { flex: 0 0 auto; width: 50%; }
  .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
  
  .order-lg-1 { order: 1 !important; }
  .order-lg-2 { order: 2 !important; }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .pe-lg-4 {
    padding-right: 1.5rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .flex-lg-row {
    flex-direction: row !important;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .col-xl-1 { flex: 0 0 auto; width: 8.333333%; }
  .col-xl-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-xl-6 { flex: 0 0 auto; width: 50%; }
  
  .offset-xl-1 {
    margin-left: 8.333333%;
  }
}

/* Mobile specific adjustments */
@media (max-width: 767px) {
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .display-6 {
    font-size: 1.25rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

/* Print styles */
@media print {
  .navbar,
  .btn,
  .form-control,
  .form-select {
    display: none !important;
  }
}

/* ==================== CUSTOM SCROLLBAR ==================== */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: var(--secondary-color);
}

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--primary-dark);
}

/* ==================== SELECTION ==================== */
::selection {
  background: var(--primary-color);
  color: #FFFFFF;
}

::-moz-selection {
  background: var(--primary-color);
  color: #FFFFFF;
}

/* ==================== FOCUS STYLES ==================== */
:focus-visible {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

/* ==================== LOADING ANIMATION ==================== */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 20px;
  margin: -10px 0 0 -10px;
  border: 3px solid var(--secondary-color);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* ==================== ACCESSIBILITY ==================== */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
  .btn,
  .card,
  .form-control,
  .form-select {
    border: 2px solid currentColor;
  }
}

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

/* ==================== ADDITIONAL COMPONENT STYLES ==================== */

/* Feature boxes */
.feature-box {
  padding: 2rem;
  border-radius: 1rem;
  background: #FFFFFF;
  transition: var(--transition-smooth);
}

.feature-box:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
}

/* Service cards */
.service-card {
  height: 100%;
  transition: var(--transition-smooth);
}

.service-card:hover {
  border-color: var(--primary-color) !important;
}

/* Testimonial cards */
.testimonial-card {
  border-left: 4px solid var(--primary-color);
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 0.5rem;
}

/* Stats counter */
.stat-number {
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 3rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-color);
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -6px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 3px solid #FFFFFF;
}

/* Price tag */
.price-tag {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary-color);
}

.price-tag small {
  font-size: 1rem;
  color: var(--text-dark);
  font-weight: 400;
}

/* Image overlay */
.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(139, 69, 19, 0.8) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-smooth);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
}

.image-overlay:hover {
  opacity: 1;
}

/* Social media icons */
.social-icon {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--primary-color);
  color: #FFFFFF !important;
  transition: var(--transition-base);
}

.social-icon:hover {
  background: var(--primary-dark);
  transform: translateY(-3px) rotate(5deg);
}

/* Progress bar */
.progress-bar-custom {
  height: 8px;
  background: var(--secondary-color);
  border-radius: 4px;
  overflow: hidden;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-warm) 100%);
  transition: width 1s ease;
}

/* Divider */
.divider {
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--primary-color) 50%, transparent 100%);
  margin: 3rem 0;
}

/* Quote block */
.quote-block {
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  font-style: italic;
  color: var(--text-dark);
  font-size: 1.25rem;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: var(--primary-color);
  color: #FFFFFF !important;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-smooth);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.back-to-top:hover {
  background: var(--primary-dark);
  transform: translateY(-5px);
}