/* Crimson Dusk Architecture Studio Theme */
/* Primary Color: #D32F2F | Secondary Color: #212121 */

:root {
  --primary-color: #D32F2F;
  --secondary-color: #212121;
  --primary-dark: #B71C1C;
  --primary-light: #EF5350;
  --dark-overlay: rgba(33, 33, 33, 0.85);
  --light-overlay: rgba(211, 47, 47, 0.05);
  --transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: #212121 !important;
  background-color: #FFFFFF;
  line-height: 1.7;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5 {
  font-weight: 700;
  color: #212121 !important;
  letter-spacing: -0.02em;
}

.display-1 { font-size: clamp(2.5rem, 8vw, 6rem); line-height: 1.1; }
.display-3 { font-size: clamp(2rem, 5vw, 4rem); line-height: 1.2; }
.display-4 { font-size: clamp(1.75rem, 4vw, 3rem); }
.display-5 { font-size: clamp(1.5rem, 3vw, 2.5rem); }

.lead {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: #424242 !important;
  font-weight: 400;
}

.h3, h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
.h4, h4 { font-size: clamp(1.1rem, 2vw, 1.5rem); }
.h5, h5 { font-size: clamp(1rem, 1.75vw, 1.25rem); }
.h6, h6 { font-size: clamp(0.9rem, 1.5vw, 1.1rem); }

/* Navigation */
.navbar {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
  padding: 1rem 0;
  transition: var(--transition);
  z-index: 1030;
}

.navbar.scrolled {
  padding: 0.5rem 0;
  box-shadow: 0 6px 40px rgba(0, 0, 0, 0.4);
}

.navbar-brand {
  font-size: 1.75rem;
  color: #FFFFFF !important;
  font-weight: 700;
  letter-spacing: -0.03em;
  transition: var(--transition);
  text-transform: uppercase;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.navbar-dark .navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--primary-color);
  transition: var(--transition);
  transform: translateX(-50%);
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: #FFFFFF !important;
  background: rgba(211, 47, 47, 0.15);
  border-radius: 8px;
}

.navbar-dark .navbar-nav .nav-link:hover::after,
.navbar-dark .navbar-nav .nav-link.active::after {
  width: 60%;
}

.navbar-toggler {
  border: 2px solid rgba(255, 255, 255, 0.3) !important;
  padding: 0.5rem 0.75rem;
  transition: var(--transition);
}

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

/* Buttons */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  border-radius: 8px;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
  font-size: 0.95rem;
}

.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;
  z-index: -1;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(211, 47, 47, 0.3);
  padding: 0.875rem 2rem;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--primary-dark) 0%, #8B0000 100%) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.4);
}

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

.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(211, 47, 47, 0.3);
}

.btn-light {
  background: #FFFFFF !important;
  color: var(--secondary-color) !important;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn-light:hover {
  background: #F5F5F5 !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

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

.btn .bi {
  transition: var(--transition);
  margin-left: 0.5rem;
}

.btn:hover .bi {
  transform: translateX(5px);
}

/* Hero Section */
.position-relative.overflow-hidden {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1a1a1a 0%, var(--secondary-color) 100%);
  position: relative;
}

.position-relative.overflow-hidden::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(211, 47, 47, 0.15) 0%, rgba(33, 33, 33, 0.8) 100%);
  z-index: 1;
}

.position-relative.overflow-hidden .container {
  position: relative;
  z-index: 2;
}

.position-absolute.w-100.h-100.object-fit-cover {
  object-fit: cover;
  opacity: 0.3;
  filter: brightness(0.6) contrast(1.2);
  animation: kenBurns 30s infinite alternate;
}

@keyframes kenBurns {
  0% { transform: scale(1) translateX(0); }
  100% { transform: scale(1.1) translateX(-5%); }
}

.position-relative.overflow-hidden .display-1 {
  color: #FFFFFF !important;
  text-shadow: 3px 3px 20px rgba(0, 0, 0, 0.7);
  animation: fadeInUp 1s ease-out;
  margin-bottom: 1.5rem;
}

.position-relative.overflow-hidden .h3 {
  color: var(--primary-light) !important;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.6);
  animation: fadeInUp 1.2s ease-out;
  margin-bottom: 2rem;
  font-weight: 400;
}

.position-relative.overflow-hidden .lead {
  color: rgba(255, 255, 255, 0.95) !important;
  text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.4s ease-out;
  max-width: 600px;
  line-height: 1.8;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bi-chevron-down {
  font-size: 2.5rem;
  color: #FFFFFF !important;
  animation: bounce 2s infinite;
  cursor: pointer;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-8px); }
}

/* Cards & Sections */
.py-5 {
  padding-top: 5rem !important;
  padding-bottom: 5rem !important;
}

.p-4 {
  background: #FFFFFF;
  border-radius: 12px;
  transition: var(--transition);
  border: 2px solid transparent;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
  cursor: pointer;
  height: 100%;
}

.p-4:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(211, 47, 47, 0.15);
  border-color: var(--primary-color);
}

.p-4 .bi {
  font-size: 3rem;
  color: var(--primary-color) !important;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: var(--transition);
}

.p-4:hover .bi {
  transform: scale(1.15) rotate(5deg);
}

.p-4 h4, .p-4 h5 {
  color: var(--secondary-color) !important;
  margin-bottom: 1rem;
  font-weight: 700;
}

.p-4 p {
  color: #616161 !important;
  line-height: 1.7;
  margin-bottom: 0;
}

/* Background Colors */
.bg-light {
  background-color: #FAFAFA !important;
}

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

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

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

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

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

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

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

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

/* Timeline */
.timeline-container {
  position: relative;
  padding-left: 2rem;
}

.timeline-container::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--primary-color) 0%, var(--primary-light) 100%);
}

.timeline-item {
  position: relative;
  margin-bottom: 3rem;
  padding-left: 2rem;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -2.5rem;
  top: 0;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--primary-color);
  border: 4px solid #FFFFFF;
  box-shadow: 0 0 0 4px rgba(211, 47, 47, 0.2);
  z-index: 1;
}

.milestone-card {
  background: #FFFFFF;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
}

.milestone-card:hover {
  transform: translateX(10px);
  box-shadow: 0 8px 30px rgba(211, 47, 47, 0.2);
}

/* Forms */
.form-control,
.form-select {
  border: 2px solid #E0E0E0;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  transition: var(--transition);
  font-size: 1rem;
  background: #FAFAFA;
}

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

.form-floating > label {
  color: #757575 !important;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label {
  color: var(--primary-color) !important;
}

/* Gallery */
.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: center;
  margin-bottom: 3rem;
}

.filter-btn {
  padding: 0.75rem 2rem;
  background: #FFFFFF;
  color: var(--secondary-color) !important;
  border: 2px solid #E0E0E0;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(211, 47, 47, 0.3);
}

.gallery-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  aspect-ratio: 4/3;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  transition: var(--transition);
}

.gallery-item:hover {
  transform: scale(1.03);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.2);
}

.gallery-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.gallery-item:hover .gallery-image {
  transform: scale(1.1);
  filter: brightness(0.7);
}

.gallery-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 0%, rgba(211, 47, 47, 0.9) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: #FFFFFF;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Testimonials */
.testimonial-card {
  background: #FFFFFF;
  border-radius: 12px;
  padding: 2.5rem;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  border-top: 4px solid var(--primary-color);
  height: 100%;
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 50px rgba(211, 47, 47, 0.15);
}

.testimonial-card .bi-quote {
  font-size: 4rem;
  color: var(--primary-color) !important;
  opacity: 0.3;
  line-height: 1;
}

/* Before/After Section */
.before-after-section {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.before-after-section img {
  width: 100%;
  height: auto;
  display: block;
}

/* Accordion */
.accordion-item {
  border: none !important;
  margin-bottom: 1rem;
  border-radius: 12px !important;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.accordion-button {
  background: #FFFFFF !important;
  color: var(--secondary-color) !important;
  font-weight: 600;
  font-size: 1.1rem;
  padding: 1.5rem;
  border: none !important;
  box-shadow: none !important;
}

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

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

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) invert(1);
}

.accordion-body {
  padding: 2rem;
  color: #616161 !important;
  background: #FAFAFA;
  line-height: 1.8;
}

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 6px;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}

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

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin: 0;
}

.breadcrumb-item {
  color: #757575 !important;
}

.breadcrumb-item.active {
  color: var(--primary-color) !important;
}

.breadcrumb-item + .breadcrumb-item::before {
  color: #BDBDBD !important;
}

/* Modal */
.modal-content {
  border-radius: 12px;
  border: none;
  overflow: hidden;
}

.modal-header {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  color: #FFFFFF;
  padding: 1.5rem 2rem;
  border: none;
}

.modal-title {
  color: #FFFFFF !important;
}

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

.modal-body {
  padding: 2rem;
}

/* Shadows */
.shadow {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1) !important;
}

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

.shadow-lg {
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15) !important;
}

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

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

/* Icons */
.bi {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

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

.opacity-75:hover {
  opacity: 1 !important;
}

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

a:hover {
  color: var(--primary-dark) !important;
  text-decoration: none;
}

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

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

/* Footer */
footer {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #1a1a1a 100%);
  color: rgba(255, 255, 255, 0.8) !important;
  padding: 4rem 0 0;
}

footer h5,
footer h6 {
  color: #FFFFFF !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

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

footer .list-unstyled a {
  color: rgba(255, 255, 255, 0.7) !important;
  transition: var(--transition);
  display: inline-block;
}

footer .list-unstyled a:hover {
  color: var(--primary-light) !important;
  transform: translateX(5px);
}

footer .bi {
  color: rgba(255, 255, 255, 0.6) !important;
}

footer .bi:hover {
  color: var(--primary-light) !important;
}

.border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
}

/* Utility Classes */
.position-fixed {
  position: fixed !important;
}

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

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

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

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

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

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

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

/* Spacing */
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }
.py-2 { padding-top: 0.5rem !important; padding-bottom: 0.5rem !important; }
.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !important; }
.p-0 { padding: 0 !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-4 { padding-left: 1.5rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.mt-2 { margin-top: 0.5rem !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; }
.my-3 { margin-top: 1rem !important; margin-bottom: 1rem !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }
.me-1 { margin-right: 0.25rem !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; }

/* Display */
.d-flex { display: flex !important; }
.d-inline-flex { display: inline-flex !important; }
.flex-wrap { flex-wrap: wrap !important; }
.align-items-center { align-items: center !important; }
.justify-content-center { justify-content: center !important; }
.justify-content-end { justify-content: flex-end !important; }
.justify-content-between { justify-content: space-between !important; }
.text-center { text-align: center !important; }

/* Gaps */
.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; }

/* Font Sizes */
.fs-1 { font-size: calc(1.375rem + 1.5vw) !important; }
.fs-2 { font-size: calc(1.325rem + 0.9vw) !important; }
.fs-4 { font-size: calc(1.275rem + 0.3vw) !important; }
.fs-5 { font-size: 1.25rem !important; }
.small { font-size: 0.875rem !important; }

/* Font Weights */
.fw-bold { font-weight: 700 !important; }
.fw-semibold { font-weight: 600 !important; }
.fst-italic { font-style: italic !important; }

/* Image Utilities */
.object-fit-cover {
  object-fit: cover !important;
}

.img-fluid {
  max-width: 100%;
  height: auto;
}

.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio-21x9 {
  --bs-aspect-ratio: 42.857143%;
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(33, 33, 33, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .navbar-dark .navbar-nav .nav-link {
    padding: 1rem !important;
    border-radius: 8px;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem;
    font-size: 0.95rem;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .gallery-masonry {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
  }
  
  .ps-lg-5 {
    padding-left: 1.5rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 1.5rem !important;
  }
}

@media (max-width: 767.98px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
  }
  
  .gallery-masonry {
    grid-template-columns: 1fr;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
}

@media (min-width: 992px) {
  .col-lg-2 { width: 16.666667%; }
  .col-lg-3 { width: 25%; }
  .col-lg-4 { width: 33.333333%; }
  .col-lg-5 { width: 41.666667%; }
  .col-lg-6 { width: 50%; }
  .col-lg-7 { width: 58.333333%; }
  .col-lg-8 { width: 66.666667%; }
  .col-lg-10 { width: 83.333333%; }
  
  .text-lg-end {
    text-align: right !important;
  }
}

@media (min-width: 768px) {
  .col-md-3 { width: 25%; }
  .col-md-4 { width: 33.333333%; }
  .col-md-5 { width: 41.666667%; }
  .col-md-6 { width: 50%; }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
}

/* Scroll Reveal */
.scroll-reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.scroll-reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading State */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px;
  height: 30px;
  border: 3px solid rgba(211, 47, 47, 0.3);
  border-top-color: var(--primary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  transform: translate(-50%, -50%);
}

@keyframes spin {
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

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

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

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

::-webkit-scrollbar-track {
  background: #F5F5F5;
}

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

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

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