/* Architectural Studio - Slate & Copper Theme CSS */

/* ===================================
   ROOT VARIABLES & RESETS
   =================================== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --primary-dark: #1a252f;
  --secondary-dark: #d35400;
  --light-gray: #ecf0f1;
  --dark-gray: #34495e;
  --white: #ffffff;
  --black: #000000;
  --transition-speed: 0.3s;
  --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  --box-shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

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

/* ===================================
   TYPOGRAPHY
   =================================== */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
  color: var(--primary-color) !important;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800;
  line-height: 1.2;
}

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

.text-muted {
  color: var(--dark-gray) !important;
  opacity: 0.8;
}

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

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

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

/* ===================================
   NAVIGATION
   =================================== */
.navbar {
  padding: 1.5rem 0;
  transition: all var(--transition-speed) ease;
  background: transparent;
}

.navbar.scrolled {
  background: rgba(44, 62, 80, 0.95) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--box-shadow);
  padding: 1rem 0;
}

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

.navbar-brand {
  font-size: 1.75rem;
  font-weight: 700 !important;
  color: var(--white) !important;
  letter-spacing: 1px;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
}

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

.navbar-toggler {
  border: 2px solid var(--white) !important;
  padding: 0.5rem 0.75rem;
  transition: all var(--transition-speed) ease;
}

.navbar-toggler:hover {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !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%28255, 255, 255, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-nav {
  align-items: center;
}

.nav-item {
  margin: 0 0.5rem;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nav-link::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 2px;
  background-color: var(--secondary-color);
  transition: width var(--transition-speed) ease;
}

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

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

/* ===================================
   BUTTONS
   =================================== */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 0.75rem 2rem;
  border-radius: 0;
  transition: all var(--transition-speed) ease;
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

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

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

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

.btn-primary:hover {
  background-color: var(--secondary-dark) !important;
  border-color: var(--secondary-dark) !important;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-lg);
}

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

.btn-outline-light:hover {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  border-color: var(--white) !important;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-lg);
}

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

.btn-outline-secondary:hover {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow-lg);
}

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

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

.btn-close-white {
  filter: brightness(0) invert(1);
}

/* ===================================
   HERO SECTION
   =================================== */
.vh-100 {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

.overflow-hidden {
  overflow: hidden;
}

.top-0 {
  top: 0;
}

.start-0 {
  left: 0;
}

.bottom-0 {
  bottom: 0;
}

.end-0 {
  right: 0;
}

.h-100 {
  height: 100%;
}

.w-100 {
  width: 100%;
}

.min-vh-100 {
  min-height: 100vh;
}

.object-fit-cover {
  object-fit: cover;
  object-position: center;
}

.z-1 {
  z-index: 1;
}

.z-2 {
  z-index: 2;
}

.z-3 {
  z-index: 3;
}

/* Hero Overlay */
.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(44, 62, 80, 0.6) 50%, rgba(230, 126, 34, 0.3) 100%);
  z-index: 1;
}

/* ===================================
   CARDS
   =================================== */
.card {
  border: none;
  border-radius: 0;
  transition: all var(--transition-speed) ease;
  background-color: var(--white);
  overflow: hidden;
}

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

.card-img-top {
  border-radius: 0;
  transition: all 0.5s ease;
  height: 250px;
  object-fit: cover;
}

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

.card-body {
  padding: 2rem;
}

.card-body .h4,
.card-body .h5,
.card-body .h6 {
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
  font-weight: 700;
}

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

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075) !important;
}

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

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

/* Portfolio Cards */
.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  height: 100%;
}

.portfolio-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(230, 126, 34, 0.9) 100%);
  opacity: 0;
  transition: all 0.5s ease;
  z-index: 1;
}

.portfolio-card:hover::after {
  opacity: 1;
}

.portfolio-item {
  transition: all var(--transition-speed) ease;
}

/* ===================================
   FORMS
   =================================== */
.contact-form {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 0;
  box-shadow: var(--box-shadow);
}

.form-label {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.form-control,
.form-select {
  border: 2px solid var(--light-gray);
  border-radius: 0;
  padding: 0.75rem 1rem;
  font-size: 1rem;
  color: var(--primary-color) !important;
  background-color: var(--white) !important;
  transition: all var(--transition-speed) ease;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25) !important;
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}

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

.form-control::placeholder {
  color: var(--dark-gray) !important;
  opacity: 0.6;
}

/* ===================================
   SECTIONS
   =================================== */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

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

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

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

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

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

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

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

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

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

.mt-auto {
  margin-top: auto !important;
}

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

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

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

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

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

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

.bg-light {
  background-color: var(--light-gray) !important;
}

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

.bg-white {
  background-color: var(--white) !important;
}

.bg-danger {
  background-color: var(--secondary-color) !important;
}

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

/* ===================================
   ACCORDION
   =================================== */
.accordion {
  --bs-accordion-border-color: var(--light-gray);
  --bs-accordion-btn-focus-border-color: var(--secondary-color);
  --bs-accordion-active-bg: var(--light-gray);
  --bs-accordion-active-color: var(--primary-color);
}

.accordion-item {
  border: none;
  margin-bottom: 1rem;
  border-radius: 0 !important;
  box-shadow: var(--box-shadow-sm);
  overflow: hidden;
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  border-radius: 0 !important;
  border: none;
  box-shadow: none !important;
  transition: all var(--transition-speed) ease;
}

.accordion-button:not(.collapsed) {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  box-shadow: none !important;
}

.accordion-button::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%232C3E50'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transition: transform var(--transition-speed) ease;
}

.accordion-button:not(.collapsed)::after {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
  transform: rotate(-180deg);
}

.accordion-button.collapsed:hover {
  background-color: var(--light-gray) !important;
}

.accordion-collapse {
  border: none;
}

.accordion-body {
  padding: 1.5rem;
  background-color: var(--white);
  color: var(--dark-gray) !important;
  line-height: 1.8;
}

/* ===================================
   MODAL
   =================================== */
.modal {
  z-index: 1060;
}

.modal-content {
  border-radius: 0;
  border: none;
  background-color: var(--white);
}

.modal-header {
  background-color: var(--primary-color);
  color: var(--white) !important;
  border-bottom: none;
  padding: 2rem;
}

.modal-header .h5,
.modal-header .h4 {
  color: var(--white) !important;
}

.modal-body {
  padding: 2rem;
  color: var(--primary-color) !important;
}

.modal-footer {
  border-top: 1px solid var(--light-gray);
  padding: 1.5rem 2rem;
}

.modal-dialog-centered {
  display: flex;
  align-items: center;
  min-height: calc(100% - 3.5rem);
}

.modal-xl {
  max-width: 1140px;
}

.btn-close {
  opacity: 1;
}

/* ===================================
   BADGES
   =================================== */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.75rem;
}

.badge.bg-primary {
  background-color: var(--primary-color) !important;
  color: var(--white) !important;
}

.badge.bg-secondary {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
}

/* ===================================
   PROGRESS BARS
   =================================== */
.progress {
  height: 2rem;
  border-radius: 0;
  background-color: var(--light-gray);
  overflow: visible;
}

.progress-bar {
  background-color: var(--secondary-color) !important;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white) !important;
  position: relative;
  transition: width 1.5s ease;
}

/* ===================================
   BORDERS
   =================================== */
.border-top {
  border-top: 1px solid var(--light-gray) !important;
}

.border-start {
  border-left: 4px solid var(--secondary-color) !important;
}

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

.border-3 {
  border-width: 3px !important;
}

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

/* ===================================
   UTILITIES
   =================================== */
.opacity-25 {
  opacity: 0.25 !important;
}

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

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

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

.fst-italic {
  font-style: italic !important;
}

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

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

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

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

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

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

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

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

.justify-content-end {
  justify-content: flex-end !important;
}

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

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

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

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

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

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

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

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

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

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

.p-0 {
  padding: 0 !important;
}

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

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

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

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

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

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

.ps-3 {
  padding-left: 1.5rem !important;
}

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

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

/* ===================================
   BOOTSTRAP ICONS
   =================================== */
.bi {
  display: inline-block;
  vertical-align: middle;
  fill: currentColor;
}

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-instagram,
.bi-linkedin,
.bi-facebook,
.bi-twitter,
.bi-pinterest,
.bi-clock-fill,
.bi-chat-dots-fill,
.bi-check-circle-fill,
.bi-arrow-right-circle-fill,
.bi-check2,
.bi-star-fill,
.bi-tree-fill,
.bi-award-fill,
.bi-building-check,
.bi-patch-check-fill,
.bi-globe-americas,
.bi-lightning-charge-fill,
.bi-droplet-fill,
.bi-tree,
.bi-shield-fill-check {
  font-size: 1.5rem;
  color: var(--secondary-color);
  transition: all var(--transition-speed) ease;
}

/* Social Links */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background-color: var(--primary-color);
  color: var(--white) !important;
  margin: 0 0.25rem;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
}

.social-links a:hover {
  background-color: var(--secondary-color) !important;
  transform: translateY(-5px);
  box-shadow: var(--box-shadow);
}

.social-links a .bi {
  color: var(--white) !important;
  font-size: 1.25rem;
}

/* ===================================
   CAROUSEL
   =================================== */
.carousel {
  position: relative;
}

.carousel-inner {
  border-radius: 0;
  overflow: hidden;
}

.carousel-item {
  transition: transform 0.6s ease-in-out;
  height: 500px;
}

.carousel-item img {
  height: 100%;
  object-fit: cover;
}

.carousel-indicators {
  bottom: 20px;
}

.carousel-indicators [data-bs-target] {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--white);
  opacity: 0.5;
  border: 2px solid var(--white);
  transition: all var(--transition-speed) ease;
}

.carousel-indicators .active {
  background-color: var(--secondary-color);
  opacity: 1;
  border-color: var(--secondary-color);
}

.carousel-control-prev,
.carousel-control-next {
  width: 60px;
  height: 60px;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(44, 62, 80, 0.8);
  border-radius: 0;
  opacity: 0;
  transition: all var(--transition-speed) ease;
}

.carousel:hover .carousel-control-prev,
.carousel:hover .carousel-control-next {
  opacity: 1;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background-color: var(--secondary-color);
}

.carousel-control-prev {
  left: 20px;
}

.carousel-control-next {
  right: 20px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 30px;
  height: 30px;
}

/* ===================================
   FILTER BUTTONS
   =================================== */
.filter-btn {
  background-color: transparent;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.75rem 2rem;
  margin: 0.5rem;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--box-shadow);
}

/* ===================================
   MAP CONTAINER
   =================================== */
.map-container {
  height: 100%;
  min-height: 500px;
  background-color: var(--light-gray);
  position: relative;
  overflow: hidden;
}

.map-container iframe {
  width: 100%;
  height: 100%;
  border: none;
  filter: grayscale(100%);
  transition: filter var(--transition-speed) ease;
}

.map-container:hover iframe {
  filter: grayscale(0%);
}

/* ===================================
   IMAGE UTILITIES
   =================================== */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ===================================
   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);
  }
}

.fade-in-up {
  animation: fadeInUp 0.8s ease forwards;
}

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

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

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

/* Stagger animation delays */
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }
.animate-delay-5 { animation-delay: 0.5s; }

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

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }
  
  .sticky-lg-top {
    position: sticky;
    top: 0;
    z-index: 1020;
  }
  
  .text-lg-end {
    text-align: right !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .px-lg-5 {
    padding-left: 3rem !important;
    padding-right: 3rem !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

/* Small devices (landscape phones, less than 768px) */
@media (max-width: 767.98px) {
  .display-1 { font-size: 3rem; }
  .display-2 { font-size: 2.5rem; }
  .display-3 { font-size: 2rem; }
  .display-4 { font-size: 1.75rem; }
  .display-5 { font-size: 1.5rem; }
  .display-6 { font-size: 1.25rem; }
  
  .navbar-nav {
    padding: 1rem 0;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .btn {
    width: 100%;
    margin: 0.5rem 0;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .carousel-item {
    height: 300px;
  }
  
  .map-container {
    min-height: 300px;
  }
  
  .order-1 {
    order: 1 !important;
  }
  
  .order-2 {
    order: 2 !important;
  }
}

/* Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
  .col-6 {
    width: 100% !important;
  }
  
  .gap-3 {
    gap: 1rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }
  
  .modal-dialog {
    margin: 0.5rem;
  }
  
  .accordion-button {
    padding: 1rem;
    font-size: 1rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
}

/* ===================================
   HOVER EFFECTS
   =================================== */
.hover-lift {
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

/* Link hover effects */
a {
  color: var(--secondary-color);
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

a:hover {
  color: var(--secondary-dark);
  text-decoration: none;
}

/* Footer links */
footer a {
  color: var(--white) !important;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
  display: inline-block;
}

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

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

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

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

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

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

::-webkit-scrollbar-thumb {
  background: var(--primary-color);
  transition: background var(--transition-speed) ease;
}

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

/* ===================================
   SELECTION
   =================================== */
::selection {
  background: var(--secondary-color);
  color: var(--white);
}

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

/* ===================================
   PRINT STYLES
   =================================== */
@media print {
  .navbar,
  .btn,
  .social-links,
  .carousel-control-prev,
  .carousel-control-next,
  .filter-btn {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  .card {
    box-shadow: none;
    border: 1px solid #ddd;
  }
}