/* Rustic Fire Architecture Studio - Custom Styles */

:root {
  --primary-color: #8B4513;
  --secondary-color: #DAA520;
  --dark-primary: #5c2d0a;
  --light-primary: #a0522d;
  --accent-fire: #ff6b35;
  --warm-beige: #f5e6d3;
  --charcoal: #2b2522;
  --text-dark: #3a2a1a;
  --text-light: #f8f5f0;
}

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* Navigation Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-primary) 100%) !important;
  box-shadow: 0 4px 20px rgba(139, 69, 19, 0.3);
  transition: all 0.4s ease;
  padding: 1rem 0;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 6px 30px rgba(139, 69, 19, 0.5);
}

.navbar-brand {
  color: var(--secondary-color) !important;
  font-size: 1.8rem !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  font-weight: 800 !important;
  letter-spacing: 1px;
}

.navbar-brand:hover {
  color: var(--accent-fire) !important;
  transform: scale(1.05);
}

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-light) !important;
  margin: 0 0.5rem;
  font-weight: 500;
  transition: all 0.3s ease;
  position: relative;
  padding: 0.5rem 1rem !important;
}

.navbar-dark .navbar-nav .nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
}

.navbar-dark .navbar-nav .nav-link:hover::before,
.navbar-dark .navbar-nav .nav-link.active::before {
  width: 80%;
}

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

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

/* Hero Section */
.position-relative {
  background: linear-gradient(rgba(139, 69, 19, 0.7), rgba(92, 45, 10, 0.8)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%238B4513" width="1200" height="600"/><path fill="%23DAA520" opacity="0.1" d="M0 300L50 280L100 320L150 290L200 310L250 285L300 305L350 295L400 315L450 290L500 310L550 295L600 315L650 290L700 310L750 295L800 315L850 290L900 310L950 295L1000 315L1050 290L1100 310L1150 295L1200 315V600H0Z"/></svg>');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  min-height: 100vh;
}

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

.display-3, .display-4, .display-5, .display-6 {
  font-weight: 800;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.5);
  color: var(--text-light) !important;
}

.lead {
  font-size: 1.3rem;
  font-weight: 400;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  color: var(--text-light) !important;
}

/* Buttons */
.btn {
  border-radius: 8px;
  padding: 0.75rem 1.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  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-primary {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-fire)) !important;
  border-color: var(--secondary-color) !important;
  color: var(--charcoal) !important;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-fire), var(--secondary-color)) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(218, 165, 32, 0.6);
  color: var(--text-light) !important;
}

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

.btn-outline-primary:hover {
  background: var(--secondary-color) !important;
  color: var(--charcoal) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(218, 165, 32, 0.4);
}

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

.btn-outline-secondary:hover {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(139, 69, 19, 0.4);
}

.btn-outline-light {
  border-color: var(--text-light) !important;
  color: var(--text-light) !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.3);
}

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

.btn-sm {
  padding: 0.4rem 1rem;
  font-size: 0.85rem;
}

.btn-light {
  background: var(--warm-beige) !important;
  color: var(--primary-color) !important;
  border-color: var(--warm-beige) !important;
}

.btn-light:hover {
  background: var(--text-light) !important;
  color: var(--dark-primary) !important;
  transform: translateY(-3px);
}

/* Cards */
.card {
  border: none;
  border-radius: 15px;
  transition: all 0.4s ease;
  background: #ffffff;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(139, 69, 19, 0.3) !important;
}

.card-body {
  padding: 2rem;
}

.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 {
  transition: all 0.5s ease;
  height: 250px;
  object-fit: cover;
}

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

.shadow {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15) !important;
}

.shadow-lg {
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
}

/* Forms */
.form-control,
.form-select {
  border: 2px solid #e0d5c7;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: all 0.3s ease;
  background: #ffffff;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(218, 165, 32, 0.2) !important;
  background: #ffffff;
  color: var(--text-dark) !important;
}

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

.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;
}

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

.bi-house-door,
.bi-water,
.bi-cup-hot,
.bi-briefcase,
.bi-mountains,
.bi-bell,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-fire {
  color: var(--primary-color) !important;
}

.text-white .bi {
  color: var(--secondary-color) !important;
}

.card:hover .bi {
  color: var(--secondary-color) !important;
  transform: scale(1.2) rotate(10deg);
}

.fs-1 {
  font-size: 3rem !important;
}

.fs-2 {
  font-size: 2.5rem !important;
}

.fs-3 {
  font-size: 2rem !important;
}

.fs-4 {
  font-size: 1.5rem !important;
}

.fs-5 {
  font-size: 1.25rem !important;
}

/* Images */
.img-fluid {
  border-radius: 15px;
  transition: all 0.4s ease;
  box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.img-fluid:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(139, 69, 19, 0.35);
}

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

.rounded-circle {
  border-radius: 50% !important;
  border: 4px solid var(--secondary-color);
}

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

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

/* Background Colors */
.bg-primary {
  background: linear-gradient(135deg, var(--primary-color), var(--dark-primary)) !important;
}

.bg-secondary {
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-fire)) !important;
}

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

.bg-light {
  background: var(--warm-beige) !important;
}

.bg-dark {
  background: var(--charcoal) !important;
}

/* Text Colors */
.text-primary {
  color: var(--primary-color) !important;
}

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

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

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

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

.text-muted {
  color: #8a7968 !important;
}

/* Sections */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !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;
}

.py-0 {
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

.pt-5 {
  padding-top: 5rem !important;
}

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

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

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

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 20px;
  background: var(--secondary-color) !important;
  color: var(--charcoal) !important;
}

/* Alerts */
.alert {
  border-radius: 10px;
  border: none;
  padding: 1.2rem;
  animation: slideInDown 0.5s ease;
}

.alert-success {
  background: linear-gradient(135deg, #28a745, #20c997) !important;
  color: #ffffff !important;
}

/* Calendar Widget */
.calendar-widget {
  background: #ffffff;
  border-radius: 15px;
  padding: 1.5rem;
  box-shadow: 0 5px 20px rgba(139, 69, 19, 0.15);
}

.calendar-widget .col {
  padding: 0.5rem;
  text-align: center;
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.3s ease;
  color: var(--text-dark) !important;
}

.calendar-widget .col:hover {
  background: var(--warm-beige);
  transform: scale(1.05);
}

/* Borders */
.border-bottom {
  border-bottom: 1px solid rgba(139, 69, 19, 0.2) !important;
}

.border-top {
  border-top: 1px solid rgba(139, 69, 19, 0.2) !important;
}

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

.border-secondary {
  border-color: var(--primary-color) !important;
}

.border-white {
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.border-opacity-25 {
  border-color: rgba(255, 255, 255, 0.25) !important;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  transition: all 0.3s ease;
}

.list-unstyled li:hover {
  padding-left: 10px;
  color: var(--secondary-color) !important;
}

/* Links */
a {
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color) !important;
}

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

.text-white a,
.bg-dark a {
  color: var(--text-light) !important;
}

.text-white a:hover,
.bg-dark a:hover {
  color: var(--secondary-color) !important;
}

/* Sticky Elements */
.fixed-top {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

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

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

.position-absolute {
  position: absolute;
}

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

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

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

.start-0 {
  left: 0 !important;
}

.end-0 {
  right: 0 !important;
}

.top-50 {
  top: 50% !important;
}

.start-50 {
  left: 50% !important;
}

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

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

/* Spacing */
.m-3 {
  margin: 2rem !important;
}

.mb-3 {
  margin-bottom: 2rem !important;
}

.mb-4 {
  margin-bottom: 2.5rem !important;
}

.mb-5 {
  margin-bottom: 4rem !important;
}

.mt-2 {
  margin-top: 1rem !important;
}

.mt-3 {
  margin-top: 2rem !important;
}

.mt-4 {
  margin-top: 2.5rem !important;
}

.mt-5 {
  margin-top: 4rem !important;
}

.my-4 {
  margin-top: 2.5rem !important;
  margin-bottom: 2.5rem !important;
}

.my-5 {
  margin-top: 4rem !important;
  margin-bottom: 4rem !important;
}

.ms-auto {
  margin-left: auto !important;
}

.me-2 {
  margin-right: 1rem !important;
}

.me-3 {
  margin-right: 2rem !important;
}

.me-4 {
  margin-right: 2.5rem !important;
}

.ms-3 {
  margin-left: 2rem !important;
}

.ms-4 {
  margin-left: 2.5rem !important;
}

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

.mb-0 {
  margin-bottom: 0 !important;
}

.mb-1 {
  margin-bottom: 0.5rem !important;
}

.mb-2 {
  margin-bottom: 1rem !important;
}

.mb-lg-0 {
  margin-bottom: 0 !important;
}

.mb-md-0 {
  margin-bottom: 0 !important;
}

.mt-lg-0 {
  margin-top: 0 !important;
}

/* Padding */
.p-0 {
  padding: 0 !important;
}

.p-2 {
  padding: 1rem !important;
}

.p-3 {
  padding: 2rem !important;
}

.p-4 {
  padding: 2.5rem !important;
}

.p-5 {
  padding: 4rem !important;
}

.px-3 {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

.px-4 {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

.px-5 {
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}

.px-lg-4 {
  padding-left: 2.5rem !important;
  padding-right: 2.5rem !important;
}

.px-lg-5 {
  padding-left: 4rem !important;
  padding-right: 4rem !important;
}

.ps-4 {
  padding-left: 2.5rem !important;
}

.ps-md-5 {
  padding-left: 4rem !important;
}

.ps-lg-4 {
  padding-left: 2.5rem !important;
}

.ps-lg-5 {
  padding-left: 4rem !important;
}

.pe-lg-4 {
  padding-right: 2.5rem !important;
}

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

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

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

/* Flex */
.flex-column {
  flex-direction: column !important;
}

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

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

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

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

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

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

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

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

.gap-4 {
  gap: 2.5rem !important;
}

/* Grid */
.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.g-1 {
  --bs-gutter-x: 0.5rem;
  --bs-gutter-y: 0.5rem;
}

.g-3 {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

.g-4 {
  --bs-gutter-x: 2.5rem;
  --bs-gutter-y: 2.5rem;
}

.g-5 {
  --bs-gutter-x: 4rem;
  --bs-gutter-y: 4rem;
}

/* Sizing */
.w-100 {
  width: 100% !important;
}

.h-100 {
  height: 100% !important;
}

.h4 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--primary-color) !important;
}

.h5 {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-color) !important;
}

.h6 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--primary-color) !important;
}

/* Text Utilities */
.text-center {
  text-align: center !important;
}

.text-uppercase {
  text-transform: uppercase !important;
}

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

.text-lg-end {
  text-align: right !important;
}

.text-md-start {
  text-align: left !important;
}

.text-md-end {
  text-align: right !important;
}

.small {
  font-size: 0.875rem;
}

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

/* Opacity */
.opacity-75 {
  opacity: 0.75 !important;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

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

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

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

/* Hover Effects */
.hover-lift {
  transition: all 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
}

/* Responsive Typography */
@media (max-width: 768px) {
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .display-6 {
    font-size: 1.5rem !important;
  }
  
  .lead {
    font-size: 1.1rem !important;
  }
  
  .fs-1 {
    font-size: 2rem !important;
  }
  
  .fs-2 {
    font-size: 1.75rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
}

/* Responsive Utilities */
@media (min-width: 992px) {
  .flex-lg-row {
    flex-direction: row !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.66666667%;
  }
  
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.33333333%;
  }
  
  .offset-lg-1 {
    margin-left: 8.33333333%;
  }
}

@media (min-width: 768px) {
  .col-md-2 {
    flex: 0 0 auto;
    width: 16.66666667%;
  }
  
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  
  .col-md-5 {
    flex: 0 0 auto;
    width: 41.66666667%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-md-7 {
    flex: 0 0 auto;
    width: 58.33333333%;
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
  
  .col-sm-4 {
    flex: 0 0 auto;
    width: 33.33333333%;
  }
  
  .col-sm-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

.col-5 {
  flex: 0 0 auto;
  width: 41.66666667%;
}

.col-6 {
  flex: 0 0 auto;
  width: 50%;
}

.col-7 {
  flex: 0 0 auto;
  width: 58.33333333%;
}

/* Footer */
footer {
  background: linear-gradient(135deg, var(--charcoal), var(--dark-primary)) !important;
  color: var(--text-light) !important;
}

footer a {
  color: var(--text-light) !important;
  transition: all 0.3s ease;
}

footer a:hover {
  color: var(--secondary-color) !important;
  padding-left: 5px;
}

footer .bi {
  color: var(--secondary-color) !important;
}

footer .bi:hover {
  color: var(--accent-fire) !important;
  transform: scale(1.3) rotate(15deg);
}

/* Scroll to Top Button */
#scrollToTop {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, var(--secondary-color), var(--accent-fire)) !important;
  color: var(--charcoal) !important;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(218, 165, 32, 0.4);
  transition: all 0.3s ease;
  z-index: 1000;
}

#scrollToTop:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 25px rgba(218, 165, 32, 0.6);
}

/* Loading Animation */
.loader {
  width: 50px;
  height: 50px;
  border: 5px solid var(--warm-beige);
  border-top: 5px solid var(--secondary-color);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

::-webkit-scrollbar-track {
  background: var(--warm-beige);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, var(--primary-color), var(--dark-primary));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, var(--dark-primary), var(--primary-color));
}

/* Selection */
::selection {
  background: var(--secondary-color);
  color: var(--charcoal);
}

::-moz-selection {
  background: var(--secondary-color);
  color: var(--charcoal);
}

/* Focus Visible */
:focus-visible {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  #scrollToTop {
    display: none !important;
  }
}

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

/* Mobile Optimizations */
@media (max-width: 576px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .navbar-brand {
    font-size: 1.4rem !important;
  }
}