/* Architectural Studio - Warm Ember Theme */
/* ============================================ */

:root {
  --primary-color: #8B4513;
  --secondary-color: #F4E4BC;
  --dark-accent: #5a2d0c;
  --light-accent: #f9f3e3;
  --text-dark: #2c1810;
  --text-light: #f5f5f5;
  --shadow-color: rgba(139, 69, 19, 0.2);
  --transition-speed: 0.3s;
}

/* 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: var(--light-accent);
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--text-dark) !important;
}

.text-white, .text-white * {
  color: #ffffff !important;
}

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

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

.text-success {
  color: #2d5a2d !important;
}

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%) !important;
  padding: 1rem 0;
  box-shadow: 0 4px 20px var(--shadow-color);
  transition: all var(--transition-speed) ease;
}

.navbar.sticky-top {
  box-shadow: 0 2px 15px var(--shadow-color);
}

.navbar-brand {
  font-size: 1.75rem;
  color: var(--secondary-color) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: transform var(--transition-speed) ease;
}

.navbar-brand:hover {
  transform: scale(1.05);
  color: #ffffff !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--secondary-color) !important;
  padding: 0.5rem 1.25rem;
  margin: 0 0.25rem;
  border-radius: 6px;
  transition: all var(--transition-speed) ease;
  font-weight: 500;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  background-color: rgba(244, 228, 188, 0.2) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
}

.navbar-toggler {
  border-color: var(--secondary-color) !important;
  padding: 0.5rem 0.75rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(244, 228, 188, 0.3) !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='%23F4E4BC' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Carousel */
.hero-carousel {
  margin-top: 76px;
  min-height: 600px;
}

.carousel {
  background: linear-gradient(135deg, var(--dark-accent) 0%, var(--primary-color) 100%);
}

.carousel-item {
  min-height: 600px;
  background-size: cover;
  background-position: center;
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(139, 69, 19, 0.7) 0%, rgba(90, 45, 12, 0.8) 100%);
  z-index: 1;
}

.carousel-item img {
  object-fit: cover;
  height: 600px;
  filter: brightness(0.7);
}

.carousel-caption {
  z-index: 2;
  bottom: 20% !important;
  padding: 2rem;
}

.carousel-caption .display-2,
.carousel-caption .display-3 {
  text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease;
}

.carousel-caption .lead {
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.2s ease;
  color: var(--secondary-color) !important;
}

.carousel-indicators button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--secondary-color) !important;
  opacity: 0.6;
  transition: all var(--transition-speed) ease;
}

.carousel-indicators button.active {
  opacity: 1;
  transform: scale(1.3);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 1.5rem;
  opacity: 0.8;
  transition: all var(--transition-speed) ease;
}

.carousel-control-prev:hover .carousel-control-prev-icon,
.carousel-control-next:hover .carousel-control-next-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* Cards */
.card {
  border: none !important;
  border-radius: 15px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px var(--shadow-color) !important;
}

.card-body {
  padding: 1.5rem;
}

.card-title {
  color: var(--primary-color) !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

.card-text {
  color: var(--text-dark) !important;
  line-height: 1.7;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  transition: transform var(--transition-speed) ease;
}

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

/* Buttons */
.btn {
  padding: 0.75rem 2rem;
  border-radius: 50px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  border: none;
  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.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 15px var(--shadow-color);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--dark-accent) 0%, var(--primary-color) 100%) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px var(--shadow-color);
  color: #ffffff !important;
}

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

.btn-secondary:hover {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
}

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

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

.btn-lg {
  padding: 1rem 2.5rem;
  font-size: 1.1rem;
}

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

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

.form-control,
.form-select,
.form-control-lg,
.form-select-lg {
  border: 2px solid #ddd;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
  color: var(--text-dark) !important;
}

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

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  border: 2px solid var(--primary-color);
  cursor: pointer;
}

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

.form-check-label {
  color: var(--text-dark) !important;
  cursor: pointer;
  margin-left: 0.5rem;
}

/* Icons */
.bi {
  color: var(--primary-color);
  transition: all var(--transition-speed) ease;
}

.bi:hover {
  transform: scale(1.1);
}

.bi-check-circle-fill,
.bi-check-circle,
.bi-check2-circle,
.bi-check2 {
  color: #2d5a2d !important;
}

.bi-award-fill,
.bi-star-fill,
.bi-bookmark-star {
  color: #d4a017 !important;
}

.bi-heart-fill,
.bi-heart-pulse {
  color: #c94b4b !important;
}

.bi-leaf-fill {
  color: #4a7c4e !important;
}

/* Sections */
section {
  padding: 4rem 0;
}

.py-5 {
  padding-top: 4rem !important;
  padding-bottom: 4rem !important;
}

.py-4 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

.py-3 {
  padding-top: 2rem !important;
  padding-bottom: 2rem !important;
}

.py-2 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

/* Container Overrides */
.container,
.container-fluid {
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

/* Shadow Utilities */
.shadow {
  box-shadow: 0 5px 20px var(--shadow-color) !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px var(--shadow-color) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px var(--shadow-color) !important;
}

/* Rounded Utilities */
.rounded {
  border-radius: 15px !important;
}

.rounded-3 {
  border-radius: 20px !important;
}

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

/* Background Utilities */
.bg-white {
  background-color: #ffffff !important;
}

.bg-warning {
  background-color: #f0ad4e !important;
}

.bg-success {
  background-color: #5cb85c !important;
}

.bg-opacity-25 {
  opacity: 0.25;
}

/* Image Utilities */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 15px;
}

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

/* Badge */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  font-size: 0.875rem;
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* Alert */
.alert {
  border-radius: 15px;
  border: none;
  padding: 1.25rem;
}

.alert-warning {
  background-color: #fff3cd !important;
  color: #856404 !important;
}

.alert-warning .bi-exclamation-triangle {
  color: #856404 !important;
}

/* Table */
.table-responsive {
  border-radius: 15px;
  overflow: hidden;
}

.table {
  margin-bottom: 0;
  color: var(--text-dark) !important;
}

.table-bordered {
  border: 2px solid #ddd;
}

.table thead {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%);
  color: #ffffff !important;
}

.table thead th {
  color: #ffffff !important;
  font-weight: 600;
  padding: 1rem;
  border: none;
}

.table tbody tr {
  transition: background-color var(--transition-speed) ease;
}

.table tbody tr:hover {
  background-color: var(--light-accent);
}

.table tbody td {
  padding: 1rem;
  color: var(--text-dark) !important;
}

/* Accordion */
.accordion {
  border-radius: 15px;
  overflow: hidden;
}

.accordion-item {
  border: none;
  margin-bottom: 0.5rem;
  border-radius: 10px !important;
  overflow: hidden;
}

.accordion-button {
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 1.25rem;
  border: none;
}

.accordion-button:not(.collapsed) {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%) !important;
  color: #ffffff !important;
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(139, 69, 19, 0.15) !important;
}

.accordion-button::after {
  filter: brightness(0.5);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(2);
}

.accordion-body {
  padding: 1.5rem;
  background-color: #ffffff;
  color: var(--text-dark) !important;
}

/* Social Media Links */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-linkedin {
  font-size: 1.5rem;
  transition: all var(--transition-speed) ease;
}

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

.text-decoration-none:hover .bi-facebook {
  color: #1877f2 !important;
}

.text-decoration-none:hover .bi-instagram {
  color: #e4405f !important;
}

.text-decoration-none:hover .bi-twitter {
  color: #1da1f2 !important;
}

.text-decoration-none:hover .bi-linkedin {
  color: #0077b5 !important;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--dark-accent) 0%, var(--primary-color) 100%);
  color: var(--secondary-color) !important;
  padding: 3rem 0 1rem;
  margin-top: 4rem;
}

footer h5,
footer h4,
footer h3,
footer h2 {
  color: #ffffff !important;
  margin-bottom: 1.5rem;
}

footer p,
footer li,
footer a,
footer .small {
  color: var(--secondary-color) !important;
}

footer a:hover {
  color: #ffffff !important;
  text-decoration: underline;
}

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

.border-top {
  border-top: 2px solid rgba(244, 228, 188, 0.2) !important;
}

/* Position Utilities */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.position-fixed {
  position: fixed;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

.top-0 { top: 0 !important; }
.top-50 { top: 50% !important; }
.bottom-0 { bottom: 0 !important; }
.start-0 { left: 0 !important; }
.start-50 { left: 50% !important; }
.end-0 { right: 0 !important; }

.translate-middle {
  transform: translate(-50%, -50%) !important;
}

.translate-middle-x {
  transform: translateX(-50%) !important;
}

/* 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 pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

/* Scroll Animations */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  transform: translateY(0);
}

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-speed) ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Text Utilities */
.text-center { text-align: center !important; }
.text-start { text-align: left !important; }
.text-end { text-align: right !important; }
.text-nowrap { white-space: nowrap !important; }

.text-decoration-line-through {
  text-decoration: line-through !important;
}

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

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

/* Spacing Utilities */
.m-0 { margin: 0 !important; }
.m-2 { margin: 0.5rem !important; }
.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !important; }
.m-5 { margin: 3rem !important; }

.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-lg-0 { margin-top: 0 !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; }
.mb-lg-0 { margin-bottom: 0 !important; }
.mb-md-0 { margin-bottom: 0 !important; }

.ms-2 { margin-left: 0.5rem !important; }
.ms-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }

.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 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; }

.mx-auto { margin-left: auto !important; margin-right: auto !important; }

.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 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; }

.ps-lg-5 { padding-left: 3rem !important; }
.pe-3 { padding-right: 1rem !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; }

/* Display Utilities */
.d-none { display: none !important; }
.d-block { display: block !important; }
.d-flex { display: flex !important; }

/* Flex Utilities */
.flex-column { flex-direction: column !important; }
.flex-fill { flex: 1 1 auto !important; }
.flex-grow-1 { flex-grow: 1 !important; }

.align-items-center { align-items: center !important; }
.align-items-start { align-items: flex-start !important; }
.align-items-end { align-items: flex-end !important; }
.align-items-stretch { align-items: stretch !important; }
.align-self-start { align-self: flex-start !important; }

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

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

/* Overflow */
.overflow-hidden { overflow: hidden !important; }

/* Width Utilities */
.w-100 { width: 100% !important; }
.w-50 { width: 50% !important; }

/* Height Utilities */
.h-100 { height: 100% !important; }

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%);
    padding: 1rem;
    border-radius: 10px;
    margin-top: 1rem;
  }
  
  .navbar-nav .nav-link {
    padding: 0.75rem 1rem;
    margin: 0.25rem 0;
  }
  
  .hero-carousel {
    margin-top: 70px;
  }
  
  .carousel-item,
  .carousel-item img {
    min-height: 400px;
    height: 400px;
  }
  
  .carousel-caption {
    bottom: 10% !important;
    padding: 1rem;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .display-5 {
    font-size: 1.25rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .btn {
    padding: 0.65rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .btn-lg {
    padding: 0.85rem 2rem;
  }
}

@media (max-width: 767.98px) {
  .container,
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .carousel-item,
  .carousel-item img {
    min-height: 350px;
    height: 350px;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .display-3 {
    font-size: 1.5rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1rem;
  }
  
  h1, .h1 {
    font-size: 2rem !important;
  }
  
  h2, .h2 {
    font-size: 1.75rem !important;
  }
  
  h3, .h3 {
    font-size: 1.5rem !important;
  }
  
  h4, .h4 {
    font-size: 1.25rem !important;
  }
  
  h5, .h5 {
    font-size: 1.1rem !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.25rem;
  }
  
  .carousel-item,
  .carousel-item img {
    min-height: 300px;
    height: 300px;
  }
  
  .carousel-caption {
    bottom: 5% !important;
    padding: 0.5rem;
  }
  
  .btn {
    padding: 0.6rem 1.25rem;
    font-size: 0.85rem;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .py-4 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* Large Desktop */
@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333% !important;
  }
  
  .offset-lg-6 {
    margin-left: 50% !important;
  }
  
  .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-9 { flex: 0 0 auto; width: 75%; }
  .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
}

/* Grid System */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

.g-0 {
  margin-right: 0;
  margin-left: 0;
}

.g-0 > * {
  padding-right: 0;
  padding-left: 0;
}

.g-2 {
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.g-2 > * {
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

.g-3 {
  margin-right: -1rem;
  margin-left: -1rem;
}

.g-3 > * {
  padding-right: 1rem;
  padding-left: 1rem;
}

.g-4 {
  margin-right: -1.5rem;
  margin-left: -1.5rem;
}

.g-4 > * {
  padding-right: 1.5rem;
  padding-left: 1.5rem;
  margin-bottom: 3rem;
}

.g-5 {
  margin-right: -3rem;
  margin-left: -3rem;
}

.g-5 > * {
  padding-right: 3rem;
  padding-left: 3rem;
}

.col-12 { flex: 0 0 auto; width: 100%; }
.col-6 { flex: 0 0 auto; width: 50%; }
.col-4 { flex: 0 0 auto; width: 33.333333%; }

@media (min-width: 768px) {
  .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%; }
}

@media (min-width: 576px) {
  .col-sm-6 { flex: 0 0 auto; width: 50%; }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 12px;
}

::-webkit-scrollbar-track {
  background: var(--light-accent);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-accent) 100%);
  border-radius: 6px;
}

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

/* Loading Animation */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(139, 69, 19, 0.3);
  border-radius: 50%;
  border-top-color: var(--primary-color);
  animation: spin 1s ease-in-out infinite;
}

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

/* Focus Visible */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid var(--primary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .carousel-control-prev,
  .carousel-control-next,
  .carousel-indicators,
  footer {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    text-decoration: underline;
  }
}