/* Midnight Copper Architecture Studio - Complete CSS */

/* ============================================
   CUSTOM PROPERTIES & BASE STYLES
   ============================================ */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --accent-copper: #D35400;
  --light-copper: #F39C12;
  --dark-midnight: #1A252F;
  --text-light: #ECF0F1;
  --text-dark: #34495E;
  --shadow-sm: 0 2px 4px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.15);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.2);
  --shadow-xl: 0 16px 48px rgba(0,0,0,0.25);
  --transition-base: all 0.3s ease;
  --transition-slow: all 0.5s ease;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

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

/* ============================================
   NAVIGATION STYLES
   ============================================ */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-midnight) 100%) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  padding: 1rem 0 !important;
}

.navbar-dark {
  background-color: rgba(44, 62, 80, 0.95) !important;
}

.navbar.fixed-top {
  z-index: 1030;
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  background: rgba(26, 37, 47, 0.98) !important;
}

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

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

.navbar-brand .fw-bold {
  background: linear-gradient(90deg, #FFFFFF 0%, var(--secondary-color) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.3) !important;
  outline: none !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;
}

.navbar-nav {
  gap: 0.5rem;
}

.nav-item {
  position: relative;
}

.nav-link {
  color: #FFFFFF !important;
  font-weight: 500 !important;
  padding: 0.75rem 1.25rem !important;
  position: relative;
  transition: var(--transition-base);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

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

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

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

.nav-link.active {
  color: var(--secondary-color) !important;
  font-weight: 600 !important;
}

/* ============================================
   HERO SECTION STYLES
   ============================================ */
.position-relative.vh-100 {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--dark-midnight) 0%, var(--primary-color) 100%);
}

.position-relative.vh-100::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(26, 37, 47, 0.85) 0%, rgba(44, 62, 80, 0.75) 100%);
  z-index: 1;
}

.position-relative .object-fit-cover {
  object-fit: cover;
  filter: brightness(0.7) contrast(1.1);
  z-index: 0;
}

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

.display-1 {
  font-size: clamp(2.5rem, 8vw, 5.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.1 !important;
  text-shadow: 2px 4px 12px rgba(0,0,0,0.4);
  animation: fadeInUp 1s ease-out;
}

.display-1.text-white {
  color: #FFFFFF !important;
  background: linear-gradient(135deg, #FFFFFF 0%, var(--text-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.fs-3 {
  font-size: clamp(1.1rem, 2.5vw, 1.5rem) !important;
  color: var(--text-light) !important;
  font-weight: 400 !important;
  animation: fadeInUp 1s ease-out 0.3s both;
  text-shadow: 1px 2px 8px rgba(0,0,0,0.3);
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
  border-radius: 6px;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-base);
  border: 2px solid transparent;
  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: 1rem !important;
}

.btn-primary {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%) !important;
  border-color: var(--secondary-color) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--accent-copper) 0%, var(--secondary-color) 100%) !important;
  border-color: var(--accent-copper) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(230, 126, 34, 0.5);
}

.btn-outline-light {
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  background-color: transparent !important;
}

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

.bg-transparent {
  background-color: transparent !important;
}

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

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

/* ============================================
   SECTION STYLES
   ============================================ */
section {
  padding: 5rem 0;
  position: relative;
}

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

.bg-light {
  background-color: #F8F9FA !important;
}

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

.bg-transparent {
  background: transparent !important;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display-3 {
  font-size: clamp(2rem, 5vw, 3.5rem) !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  color: var(--primary-color) !important;
}

.display-4 {
  font-size: clamp(1.75rem, 4vw, 3rem) !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  color: var(--primary-color) !important;
}

.display-5 {
  font-size: clamp(1.5rem, 3.5vw, 2.5rem) !important;
  font-weight: 700 !important;
  line-height: 1.3 !important;
  color: var(--primary-color) !important;
}

.h2, h2 {
  font-size: clamp(1.5rem, 3vw, 2.5rem) !important;
  font-weight: 700 !important;
  color: var(--primary-color) !important;
  margin-bottom: 1rem !important;
}

.h3, h3 {
  font-size: clamp(1.3rem, 2.5vw, 2rem) !important;
  font-weight: 600 !important;
  color: var(--primary-color) !important;
}

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

.h5, h5 {
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
}

.h6, h6 {
  font-size: 1rem !important;
  font-weight: 600 !important;
  color: var(--text-dark) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.lead {
  font-size: clamp(1rem, 1.5vw, 1.25rem) !important;
  font-weight: 400 !important;
  color: var(--text-dark) !important;
  line-height: 1.8 !important;
}

.text-uppercase {
  text-transform: uppercase !important;
  letter-spacing: 1.5px;
}

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

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

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

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

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

.small {
  font-size: 0.875rem !important;
}

/* ============================================
   CARD STYLES
   ============================================ */
.card {
  border-radius: 12px;
  transition: var(--transition-base);
  overflow: hidden;
  height: 100%;
}

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

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

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

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

.card-body {
  padding: 2rem;
}

/* ============================================
   IMAGE STYLES
   ============================================ */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

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

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

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

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

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

.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  transition: var(--transition-base);
  background: var(--primary-color);
  aspect-ratio: 4/3;
}

.portfolio-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-slow);
}

.portfolio-item:hover img {
  transform: scale(1.1);
  opacity: 0.3;
}

.portfolio-item::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(230, 126, 34, 0.9) 0%, rgba(44, 62, 80, 0.9) 100%);
  opacity: 0;
  transition: var(--transition-base);
}

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

.portfolio-item .h5 {
  position: absolute;
  bottom: 2rem;
  left: 2rem;
  color: #FFFFFF !important;
  z-index: 10;
  opacity: 0;
  transform: translateY(20px);
  transition: var(--transition-base);
}

.portfolio-item:hover .h5 {
  opacity: 1;
  transform: translateY(0);
}

/* ============================================
   FILTER BUTTONS
   ============================================ */
.filter-btn {
  padding: 0.75rem 1.5rem;
  margin: 0.5rem;
  border: 2px solid var(--primary-color);
  background: transparent;
  color: var(--primary-color) !important;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition-base);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%);
  border-color: var(--secondary-color);
  color: #FFFFFF !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(230, 126, 34, 0.3);
}

/* ============================================
   BADGE STYLES
   ============================================ */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 50px;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

.badge.bg-light {
  background-color: #F8F9FA !important;
  color: var(--text-dark) !important;
}

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

/* ============================================
   FORM STYLES
   ============================================ */
.needs-validation {
  background: #FFFFFF;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: var(--shadow-md);
}

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

.form-control,
.form-select {
  border: 2px solid #DEE2E6;
  border-radius: 8px;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: var(--transition-base);
  background-color: #FFFFFF !important;
  color: var(--text-dark) !important;
}

.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;
  outline: none;
}

.form-control::placeholder {
  color: #ADB5BD;
}

.invalid-feedback {
  display: none;
  color: #DC3545 !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid ~ .invalid-feedback {
  display: block;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid #DEE2E6;
  border-radius: 4px;
  transition: var(--transition-base);
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25) !important;
  border-color: var(--secondary-color) !important;
}

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

/* ============================================
   BOOTSTRAP ICONS
   ============================================ */
.bi {
  display: inline-block;
  vertical-align: middle;
  line-height: 1;
}

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-clock,
.bi-info-circle,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-instagram,
.bi-linkedin,
.bi-facebook,
.bi-arrow-right,
.bi-calendar-check,
.bi-tools,
.bi-arrow-right-circle-fill,
.bi-chat-square-text,
.bi-hourglass-split,
.bi-gear-fill,
.bi-lightbulb,
.bi-clock-history,
.bi-building,
.bi-brightness-high-fill,
.bi-shield-check,
.bi-check-circle-fill,
.bi-droplet-fill,
.bi-award-fill,
.bi-house-heart-fill,
.bi-tree-fill,
.bi-tree,
.bi-recycle,
.bi-lungs {
  color: var(--secondary-color);
  transition: var(--transition-base);
}

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

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

/* ============================================
   RATIO / ASPECT RATIO
   ============================================ */
.ratio {
  position: relative;
  width: 100%;
}

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

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

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

/* ============================================
   UTILITIES
   ============================================ */
.position-relative {
  position: relative !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

.vh-100 {
  height: 100vh !important;
}

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

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

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

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

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

.flex-column {
  flex-direction: column !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;
}

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

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

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

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

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

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

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

.mt-0 { margin-top: 0 !important; }
.mt-1 { margin-top: 0.25rem !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; }

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

.me-0 { margin-right: 0 !important; }
.me-1 { margin-right: 0.25rem !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.me-4 { margin-right: 1.5rem !important; }

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

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

.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }

.px-0 { padding-left: 0 !important; padding-right: 0 !important; }
.px-3 { padding-left: 1rem !important; padding-right: 1rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

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

.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }

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

.pe-lg-5 { padding-right: 3rem !important; }
.ps-lg-4 { padding-left: 1.5rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }

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

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

.nav {
  display: flex;
  flex-wrap: wrap;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

/* ============================================
   LINK STYLES
   ============================================ */
a {
  text-decoration: none;
  transition: var(--transition-base);
}

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

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

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

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

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

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

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

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

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes scaleUp {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 1s ease-out;
}

.animate-slide-in-left {
  animation: slideInLeft 1s ease-out;
}

.animate-slide-in-right {
  animation: slideInRight 1s ease-out;
}

.animate-scale-up {
  animation: scaleUp 0.8s ease-out;
}

/* ============================================
   RESPONSIVE DESIGN - TABLETS
   ============================================ */
@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;
  }
  
  .col-md-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-md-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-md-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
}

/* ============================================
   RESPONSIVE DESIGN - DESKTOP
   ============================================ */
@media (min-width: 992px) {
  .text-lg-end {
    text-align: right !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
  
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }
  
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .offset-lg-1 {
    margin-left: 8.333333%;
  }
  
  .offset-lg-2 {
    margin-left: 16.666667%;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
  
  .ps-lg-4 {
    padding-left: 1.5rem !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .p-lg-5 {
    padding: 3rem !important;
  }
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE
   ============================================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(26, 37, 47, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-nav {
    gap: 0;
  }
  
  .nav-link {
    padding: 1rem !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link::before {
    display: none;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.95rem !important;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
}

@media (max-width: 767px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .py-5 {
    padding-top: 2.5rem !important;
    padding-bottom: 2.5rem !important;
  }
  
  .fs-3 {
    font-size: 1.1rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .needs-validation {
    padding: 1.5rem;
  }
  
  .col-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-12 {
    flex: 0 0 auto;
    width: 100%;
  }
}

/* ============================================
   GRID SYSTEM
   ============================================ */
.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.container-fluid {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

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

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

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

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

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

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

[class*='col-'] {
  padding-right: 15px;
  padding-left: 15px;
}

/* ============================================
   SPECIAL EFFECTS
   ============================================ */
.hover-lift {
  transition: var(--transition-base);
}

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

.text-gradient {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--accent-copper) 100%);
  color: #FFFFFF !important;
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-base);
  z-index: 1000;
  box-shadow: var(--shadow-lg);
}

.scroll-to-top.show {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
}

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

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

/* Parallax Effect */
.parallax {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

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

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

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

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

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

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