/* Midnight Copper Architecture Studio - Custom CSS */

/* ===== ROOT VARIABLES ===== */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-bg: #1a252f;
  --copper-light: #f39c12;
  --copper-dark: #d35400;
  --light-text: #ecf0f1;
  --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.container,
.container-fluid {
  padding-left: 15px;
  padding-right: 15px;
}

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

.display-1 {
  font-size: 4.5rem !important;
  line-height: 1.1 !important;
}

.display-3 {
  font-size: 3.5rem !important;
}

.display-4 {
  font-size: 2.8rem !important;
}

.display-5 {
  font-size: 2.2rem !important;
}

.lead {
  font-size: 1.35rem !important;
  font-weight: 300 !important;
  color: rgba(236, 240, 241, 0.9) !important;
  line-height: 1.7 !important;
}

.text-muted {
  color: rgba(236, 240, 241, 0.6) !important;
}

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

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

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

/* ===== NAVIGATION ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%) !important;
  padding: 1.2rem 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(10px);
  position: sticky;
  top: 0;
  z-index: 1050;
  transition: var(--transition-smooth);
}

.navbar.scrolled {
  padding: 0.8rem 0 !important;
  background: rgba(44, 62, 80, 0.98) !important;
}

.navbar-brand {
  font-size: 1.8rem !important;
  color: var(--secondary-color) !important;
  font-weight: 800 !important;
  letter-spacing: 1px;
  transition: var(--transition-smooth);
  text-transform: uppercase;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: var(--light-text) !important;
  font-weight: 500 !important;
  padding: 0.6rem 1.2rem !important;
  margin: 0 0.3rem;
  position: relative;
  transition: var(--transition-smooth);
  font-size: 1.05rem;
}

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

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

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

.navbar-toggler {
  border: 2px solid var(--secondary-color) !important;
  padding: 0.5rem 0.8rem !important;
  transition: var(--transition-smooth);
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25) !important;
}

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

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

.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-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

.btn-sm {
  padding: 0.5rem 1.2rem !important;
  font-size: 0.9rem !important;
}

.btn-primary,
.btn-submit {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--copper-dark) 100%) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.4) !important;
}

.btn-primary:hover,
.btn-submit:hover {
  background: linear-gradient(135deg, var(--copper-light) 0%, var(--secondary-color) 100%) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.6) !important;
  color: #ffffff !important;
}

.btn-light {
  background-color: #ffffff !important;
  color: var(--primary-color) !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2) !important;
}

.btn-light:hover {
  background-color: var(--light-text) !important;
  color: var(--secondary-color) !important;
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

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

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

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

.btn-outline-secondary:hover,
.btn-outline-secondary.active {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-2px) !important;
}

.btn-group .btn {
  margin: 0 5px;
}

/* ===== HERO SECTION ===== */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 50%, #16202a 100%);
  position: relative !important;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}

.hero-section::before {
  content: '';
  position: absolute !important;
  top: 0;
  left: 0;
  width: 100% !important;
  height: 100% !important;
  background-image: 
    radial-gradient(circle at 20% 30%, rgba(230, 126, 34, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 70%, rgba(230, 126, 34, 0.06) 0%, transparent 50%);
  z-index: 1;
}

.hero-section::after {
  content: '';
  position: absolute;
  bottom: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(230, 126, 34, 0.15) 0%, transparent 70%);
  border-radius: 50%;
  animation: float 8s ease-in-out infinite;
  z-index: 1;
}

.hero-contact {
  min-height: 60vh;
  background: linear-gradient(135deg, #1a252f 0%, var(--primary-color) 100%);
  position: relative !important;
  overflow: hidden !important;
  display: flex;
  align-items: center;
  padding: 100px 0 60px;
}

.hero-section .container,
.hero-contact .container {
  position: relative;
  z-index: 2;
}

.hero-section .display-1 {
  animation: fadeInUp 1s ease-out;
  text-shadow: 2px 2px 20px rgba(0, 0, 0, 0.5);
}

.hero-section .lead {
  animation: fadeInUp 1.2s ease-out;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.hero-section .btn {
  animation: fadeInUp 1.4s ease-out;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

section {
  position: relative;
}

/* ===== CARDS ===== */
.card {
  background: rgba(44, 62, 80, 0.6) !important;
  border: 1px solid rgba(230, 126, 34, 0.2) !important;
  border-radius: 15px !important;
  transition: var(--transition-smooth) !important;
  overflow: hidden;
  backdrop-filter: blur(10px);
}

.card:hover {
  transform: translateY(-10px) !important;
  box-shadow: 0 20px 40px rgba(230, 126, 34, 0.3) !important;
  border-color: var(--secondary-color) !important;
}

.card-body {
  padding: 2rem !important;
  color: var(--light-text) !important;
}

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

.card-text {
  color: rgba(236, 240, 241, 0.85) !important;
  line-height: 1.7;
}

.card-img-top {
  border-radius: 0 !important;
  transition: var(--transition-smooth);
}

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

.h4 {
  font-size: 1.5rem !important;
  font-weight: 600 !important;
}

/* ===== PORTFOLIO & MASONRY ===== */
.portfolio-masonry {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.portfolio-item {
  animation: fadeIn 0.6s ease-out;
  transition: var(--transition-smooth);
}

.portfolio-item.hide {
  display: none;
}

.portfolio-img {
  height: 280px;
  object-fit: cover !important;
  width: 100%;
}

.asymmetric-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  align-items: start;
}

/* ===== BADGES ===== */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  border-radius: 20px !important;
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  display: inline-block;
  margin: 0.3rem;
}

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

/* ===== FORMS ===== */
.form-section,
.contact-wrapper {
  background: rgba(44, 62, 80, 0.5);
  padding: 3rem;
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(230, 126, 34, 0.2);
}

.form-label {
  color: var(--light-text) !important;
  font-weight: 600 !important;
  margin-bottom: 0.7rem !important;
  font-size: 1.05rem;
}

.form-control,
.form-select {
  background: rgba(26, 37, 47, 0.8) !important;
  border: 2px solid rgba(230, 126, 34, 0.3) !important;
  color: var(--light-text) !important;
  padding: 0.9rem 1.2rem !important;
  border-radius: 8px !important;
  font-size: 1rem !important;
  transition: var(--transition-smooth) !important;
}

.form-control:focus,
.form-select:focus {
  background: rgba(26, 37, 47, 0.95) !important;
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25) !important;
  color: var(--light-text) !important;
}

.form-control::placeholder {
  color: rgba(236, 240, 241, 0.5) !important;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* ===== INFO SECTIONS ===== */
.info-section {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.4) 0%, rgba(26, 37, 47, 0.6) 100%);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(230, 126, 34, 0.2);
}

.info-item,
.contact-card {
  background: rgba(26, 37, 47, 0.6);
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid rgba(230, 126, 34, 0.15);
  transition: var(--transition-smooth);
  margin-bottom: 1.5rem;
}

.info-item:hover,
.contact-card:hover {
  background: rgba(26, 37, 47, 0.8);
  border-color: var(--secondary-color);
  transform: translateX(10px);
}

.contact-icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--secondary-color), var(--copper-dark));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 1rem;
}

/* ===== ICONS (Bootstrap Icons) ===== */
.bi {
  display: inline-block;
  vertical-align: middle;
}

.bi-star-fill,
.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-pinterest,
.bi-house-door,
.bi-building,
.bi-leaf,
.bi-grid-3x3,
.bi-clipboard-check,
.bi-badge-3d,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-sun,
.bi-check-circle-fill,
.bi-stack,
.bi-droplet,
.bi-lightning-charge,
.bi-award,
.bi-house-heart,
.bi-tree,
.bi-stars,
.bi-lightbulb-fill {
  color: var(--secondary-color) !important;
}

.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 {
  max-width: 100% !important;
  height: auto !important;
  border-radius: 8px;
}

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

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

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

.object-fit-cover {
  object-fit: cover !important;
}

.shadow {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3) !important;
}

.shadow-sm {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2) !important;
}

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

/* ===== MAP ===== */
.map-container {
  height: 400px;
  border-radius: 15px;
  overflow: hidden;
  border: 2px solid rgba(230, 126, 34, 0.3);
  position: relative;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.8) 0%, rgba(26, 37, 47, 0.9) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--light-text);
  font-size: 1.2rem;
}

/* ===== TIMELINE ===== */
.timeline-line {
  position: relative;
  padding-left: 3rem;
}

.timeline-line::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(to bottom, var(--secondary-color), var(--copper-dark));
}

/* ===== OFFSET & POSITIONING ===== */
.offset-element {
  margin-left: 8.333333%;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

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

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

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

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

.pe-md-5 {
  padding-right: 3rem !important;
}

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

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

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

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

.bg-light {
  background-color: rgba(236, 240, 241, 0.1) !important;
}

/* ===== LIST STYLES ===== */
.list-unstyled {
  padding-left: 0 !important;
  list-style: none !important;
}

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

/* ===== PROGRESS BARS ===== */
.progress {
  height: 12px !important;
  background-color: rgba(26, 37, 47, 0.8) !important;
  border-radius: 10px !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color), var(--copper-light)) !important;
  transition: width 1.5s ease !important;
}

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

.modal.fade .modal-dialog {
  transition: transform 0.4s ease-out;
}

.modal-content {
  background: var(--primary-color) !important;
  border: 2px solid var(--secondary-color) !important;
  border-radius: 15px !important;
  color: var(--light-text) !important;
}

.modal-header {
  border-bottom: 1px solid rgba(230, 126, 34, 0.3) !important;
  padding: 1.5rem !important;
}

.modal-title {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
}

.modal-body {
  padding: 2rem !important;
}

.btn-close {
  background-color: var(--secondary-color) !important;
  opacity: 1 !important;
  border-radius: 50%;
  width: 35px;
  height: 35px;
}

.btn-close:hover {
  transform: rotate(90deg);
  opacity: 0.8 !important;
}

.modal-xl {
  max-width: 1200px !important;
}

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

/* ===== PRIVACY CONTENT ===== */
.privacy-content {
  background: rgba(44, 62, 80, 0.4);
  padding: 3rem;
  border-radius: 15px;
  border: 1px solid rgba(230, 126, 34, 0.2);
  max-width: 1200px;
  margin: 0 auto;
}

.privacy-content h2,
.privacy-content h3 {
  color: var(--secondary-color) !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.privacy-content p,
.privacy-content li {
  color: rgba(236, 240, 241, 0.9) !important;
  line-height: 1.8;
}

/* ===== SMALL TEXT ===== */
.small {
  font-size: 0.9rem !important;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

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

@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-30px) rotate(5deg);
  }
}

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

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

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

/* ===== FILTER BUTTONS ===== */
.filter-btn {
  transition: var(--transition-smooth);
}

.filter-btn:not(.active) {
  color: var(--light-text) !important;
  border-color: rgba(236, 240, 241, 0.3) !important;
}

/* ===== FOOTER ===== */
footer {
  background: linear-gradient(135deg, var(--dark-bg) 0%, #0f1419 100%);
  border-top: 3px solid var(--secondary-color);
  padding: 4rem 0 2rem;
  margin-top: 5rem;
}

footer a {
  color: rgba(236, 240, 241, 0.8) !important;
  text-decoration: none !important;
  transition: var(--transition-smooth);
}

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

footer .bi {
  transition: var(--transition-smooth);
}

footer a:hover .bi {
  transform: scale(1.2);
}

/* ===== RESPONSIVE GRID ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}

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

.g-4 {
  gap: 2rem !important;
}

.g-5 {
  gap: 3rem !important;
}

.col,
.col-6,
.col-12,
.col-md-3,
.col-md-4,
.col-md-6,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-9,
.col-lg-10,
.col-lg-12 {
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
  width: 100%;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991.98px) {
  .display-1 {
    font-size: 3rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.8rem !important;
  }
  
  .lead {
    font-size: 1.15rem !important;
  }
  
  .hero-section,
  .hero-contact {
    min-height: 70vh;
    padding: 80px 0 60px;
  }
  
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1.5rem;
    border-radius: 10px;
    margin-top: 1rem;
    border: 1px solid rgba(230, 126, 34, 0.3);
  }
  
  .navbar-nav .nav-link {
    padding: 0.8rem 1rem !important;
  }
  
  .portfolio-masonry {
    grid-template-columns: 1fr;
  }
  
  .asymmetric-grid {
    grid-template-columns: 1fr;
  }
  
  .form-section,
  .info-section,
  .contact-wrapper {
    padding: 2rem;
  }
  
  .order-lg-2 {
    order: 1;
  }
  
  .order-lg-1 {
    order: 2;
  }
  
  .text-lg-start,
  .text-lg-end {
    text-align: center !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 1rem !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
  
  .px-lg-5,
  .ps-lg-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .offset-lg-2 {
    margin-left: 0;
  }
  
  .col-lg-2,
  .col-lg-3,
  .col-lg-4,
  .col-lg-5,
  .col-lg-6,
  .col-lg-7,
  .col-lg-8,
  .col-lg-9,
  .col-lg-10,
  .col-lg-12 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
}

@media (max-width: 767.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.8rem 1.8rem !important;
    font-size: 1rem !important;
  }
  
  .hero-section,
  .hero-contact {
    min-height: 60vh;
    padding: 60px 0 40px;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .map-container {
    height: 300px;
  }
  
  .portfolio-masonry {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .card-body {
    padding: 1.5rem !important;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
  
  .pe-md-5,
  .ps-md-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .col-md-3,
  .col-md-4,
  .col-md-6 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .modal-body {
    padding: 1.5rem !important;
  }
  
  .privacy-content {
    padding: 2rem 1.5rem;
  }
  
  .btn-group {
    flex-direction: column;
    width: 100%;
  }
  
  .btn-group .btn {
    margin: 5px 0;
    width: 100%;
  }
}

@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .fs-1 {
    font-size: 2rem !important;
  }
  
  .fs-2 {
    font-size: 1.75rem !important;
  }
  
  .fs-3 {
    font-size: 1.5rem !important;
  }
  
  .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .form-section,
  .info-section,
  .contact-wrapper {
    padding: 1.5rem;
  }
  
  .px-4,
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .col-6 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .gap-3 {
    gap: 1rem !important;
  }
}

/* ===== DESKTOP SPECIFIC ===== */
@media (min-width: 992px) {
  .col-lg-2 {
    flex: 0 0 16.666667%;
    max-width: 16.666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 41.666667%;
    max-width: 41.666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 58.333333%;
    max-width: 58.333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 66.666667%;
    max-width: 66.666667%;
  }
  
  .col-lg-9 {
    flex: 0 0 75%;
    max-width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 83.333333%;
    max-width: 83.333333%;
  }
  
  .col-lg-12 {
    flex: 0 0 100%;
    max-width: 100%;
  }
  
  .offset-lg-2 {
    margin-left: 16.666667%;
  }
}

@media (min-width: 768px) {
  .col-md-3 {
    flex: 0 0 25%;
    max-width: 25%;
  }
  
  .col-md-4 {
    flex: 0 0 33.333333%;
    max-width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

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

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

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
  
  .card {
    border: 1px solid #ddd !important;
    page-break-inside: avoid;
  }
}

/* ===== ACCESSIBILITY ===== */
:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 3px;
}

.btn:focus,
.form-control:focus,
.form-select:focus {
  outline: none !important;
}

/* ===== SMOOTH SCROLLING ===== */
html {
  scroll-behavior: smooth;
}

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

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

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

::-webkit-scrollbar-track {
  background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(to bottom, var(--secondary-color), var(--copper-dark));
  border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--copper-light);
}