/* Architecture Studio - Forest & Sand Theme CSS */

/* ============================================
   ROOT VARIABLES & RESETS
   ============================================ */
:root {
  --primary-color: #2C5F41;
  --secondary-color: #F4E4BC;
  --primary-dark: #1a3a28;
  --primary-light: #3d7a58;
  --secondary-dark: #e8d5a0;
  --text-dark: #1a1a1a;
  --text-light: #f8f9fa;
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 2px 8px rgba(44, 95, 65, 0.1);
  --shadow-md: 0 4px 16px rgba(44, 95, 65, 0.15);
  --shadow-lg: 0 8px 32px rgba(44, 95, 65, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

/* ============================================
   TYPOGRAPHY
   ============================================ */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  line-height: 1.2 !important;
  color: var(--primary-color) !important;
}

.display-1 { font-size: clamp(3rem, 8vw, 6rem) !important; }
.display-2 { font-size: clamp(2.5rem, 6vw, 4.5rem) !important; }
.display-3 { font-size: clamp(2.2rem, 5vw, 4rem) !important; }
.display-4 { font-size: clamp(2rem, 4vw, 3.5rem) !important; }
.display-5 { font-size: clamp(1.8rem, 3.5vw, 3rem) !important; }
.display-6 { font-size: clamp(1.5rem, 3vw, 2.5rem) !important; }

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

.fs-3 { font-size: 1.75rem !important; }
.fs-4 { font-size: 1.35rem !important; }
.fs-5 { font-size: 1.15rem !important; }

h1, h2, .h2 {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
}

/* ============================================
   NAVIGATION
   ============================================ */
.navbar {
  transition: var(--transition-smooth);
  padding: 1rem 0 !important;
  background: rgba(255, 255, 255, 0.98) !important;
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm);
}

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

.navbar-light .navbar-brand {
  color: var(--primary-color) !important;
  font-size: 1.75rem !important;
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  transition: var(--transition-smooth);
}

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

.navbar-dark {
  background: var(--primary-color) !important;
  box-shadow: var(--shadow-md);
}

.navbar-dark .navbar-brand,
.navbar-dark .nav-link {
  color: var(--text-light) !important;
}

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

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

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

.nav-item {
  position: relative;
}

.nav-link {
  color: var(--primary-color) !important;
  font-weight: 500 !important;
  font-size: 1rem !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: var(--transition-smooth);
  text-decoration: none !important;
}

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

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

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

.navbar-dark .nav-link::before {
  background: var(--secondary-color);
}

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

.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: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--text-light) !important;
}

.btn-primary:hover,
.btn-primary:focus {
  background: var(--primary-dark) !important;
  border-color: var(--primary-dark) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

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

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

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

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

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

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

.btn-lg {
  padding: 0.875rem 2rem !important;
  font-size: 1.1rem !important;
}

.btn:active {
  transform: translateY(0) !important;
}

/* ============================================
   HERO SECTION
   ============================================ */
.position-relative {
  position: relative;
}

.position-absolute {
  position: absolute;
}

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

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

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

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

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

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

.text-center { text-align: center !important; }
.text-md-start { text-align: left !important; }
.text-md-end { text-align: right !important; }
.text-lg-end { text-align: right !important; }

/* ============================================
   IMAGES & MEDIA
   ============================================ */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

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

/* ============================================
   PORTFOLIO & GALLERY
   ============================================ */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 95, 65, 0.95), rgba(44, 95, 65, 0.85));
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
  color: var(--text-light) !important;
}

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

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

.portfolio-overlay h3,
.portfolio-overlay p {
  color: var(--text-light) !important;
  transform: translateY(20px);
  transition: var(--transition-smooth);
  transition-delay: 0.1s;
}

.portfolio-item:hover .portfolio-overlay h3,
.portfolio-item:hover .portfolio-overlay p {
  transform: translateY(0);
}

.filter-btn {
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.5rem 1.5rem !important;
  margin: 0.25rem !important;
  border-radius: 30px !important;
  font-weight: 600 !important;
  transition: var(--transition-smooth);
  cursor: pointer;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}

/* ============================================
   CARDS
   ============================================ */
.card {
  border: none !important;
  border-radius: 8px !important;
  overflow: hidden;
  transition: var(--transition-smooth);
  background: #ffffff;
  height: 100%;
}

.card.border-0 {
  box-shadow: var(--shadow-sm);
}

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

.card-img-top {
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: var(--transition-smooth);
}

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

.card-body {
  padding: 1.5rem !important;
}

.card-title {
  color: var(--primary-color) !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  margin-bottom: 0.75rem !important;
}

.card-text {
  color: var(--text-dark) !important;
  line-height: 1.7;
}

.card-footer {
  background: transparent !important;
  border-top: 1px solid rgba(44, 95, 65, 0.1) !important;
  padding: 1rem 1.5rem !important;
}

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

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

/* ============================================
   FORMS
   ============================================ */
.form-label {
  font-weight: 600 !important;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem !important;
  font-size: 0.95rem !important;
}

.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 4px !important;
  padding: 0.75rem 1rem !important;
  font-size: 1rem !important;
  transition: var(--transition-smooth);
  background: #ffffff !important;
  color: var(--text-dark) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(44, 95, 65, 0.15) !important;
  outline: none !important;
}

.form-control::placeholder {
  color: #999 !important;
}

.form-check-input {
  width: 1.25rem;
  height: 1.25rem;
  border: 2px solid var(--primary-color) !important;
  cursor: pointer;
  transition: var(--transition-smooth);
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(44, 95, 65, 0.15) !important;
}

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

/* ============================================
   ACCORDION
   ============================================ */
.accordion {
  --bs-accordion-border-color: rgba(44, 95, 65, 0.15);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(44, 95, 65, 0.15);
}

.accordion-item {
  border: 1px solid rgba(44, 95, 65, 0.15) !important;
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
  background: #ffffff;
}

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

.accordion-button {
  background: var(--secondary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 1.25rem 1.5rem !important;
  font-size: 1.1rem !important;
  transition: var(--transition-smooth);
  border: none !important;
}

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

.accordion-button:focus {
  box-shadow: 0 0 0 0.25rem rgba(44, 95, 65, 0.15) !important;
  border: none !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(27%) sepia(18%) saturate(1677%) hue-rotate(106deg) brightness(95%) contrast(88%);
}

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

.accordion-collapse {
  transition: var(--transition-smooth);
}

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

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

.bi-geo-alt-fill,
.bi-geo-alt,
.bi-telephone-fill,
.bi-telephone,
.bi-envelope-fill,
.bi-envelope,
.bi-building,
.bi-rulers,
.bi-leaf,
.bi-check-circle,
.bi-check-circle-fill,
.bi-star-fill,
.bi-arrow-right-circle-fill,
.bi-circle,
.bi-award-fill,
.bi-tree-fill,
.bi-patch-check-fill,
.bi-exclamation-triangle,
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-twitter {
  color: var(--primary-color) !important;
  transition: var(--transition-smooth);
}

.text-white .bi,
.text-white .bi-geo-alt-fill,
.text-white .bi-telephone-fill,
.text-white .bi-envelope-fill {
  color: var(--text-light) !important;
}

.text-success {
  color: #28a745 !important;
}

.text-warning {
  color: #ffc107 !important;
}

.text-danger {
  color: #dc3545 !important;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container,
.container-fluid {
  width: 100%;
  padding-right: var(--bs-gutter-x, 0.75rem);
  padding-left: var(--bs-gutter-x, 0.75rem);
  margin-right: auto;
  margin-left: auto;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
  margin-left: calc(var(--bs-gutter-x, 1.5rem) * -0.5);
}

.g-0 { --bs-gutter-x: 0; --bs-gutter-y: 0; }
.g-2 { --bs-gutter-x: 0.5rem; --bs-gutter-y: 0.5rem; }
.g-3 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
.g-4 { --bs-gutter-x: 1.5rem; --bs-gutter-y: 1.5rem; }
.g-5 { --bs-gutter-x: 3rem; --bs-gutter-y: 3rem; }

.col,
.col-4,
.col-6,
.col-12,
.col-sm-3,
.col-sm-6,
.col-md-3,
.col-md-4,
.col-md-5,
.col-md-6,
.col-md-7,
.col-md-8,
.col-lg-2,
.col-lg-3,
.col-lg-4,
.col-lg-5,
.col-lg-6,
.col-lg-7,
.col-lg-8,
.col-lg-10 {
  flex: 0 0 auto;
  padding-right: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
  padding-left: calc(var(--bs-gutter-x, 1.5rem) * 0.5);
}

.col-12 { width: 100%; }
.col-6 { width: 50%; }
.col-4 { width: 33.333333%; }

.d-flex { display: flex !important; }
.flex-column { flex-direction: column !important; }
.flex-wrap { flex-wrap: wrap !important; }
.flex-grow-1 { flex-grow: 1 !important; }
.flex-shrink-0 { flex-shrink: 0 !important; }

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

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

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

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

.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.ms-auto { margin-left: auto !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }

.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !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; }
.mb-lg-0 { margin-bottom: 0 !important; }
.mb-md-0 { margin-bottom: 0 !important; }

.mt-1 { margin-top: 0.25rem !important; }
.mt-3 { margin-top: 1rem !important; }
.mt-4 { margin-top: 1.5rem !important; }
.mt-5 { margin-top: 3rem !important; }
.mt-lg-0 { margin-top: 0 !important; }

.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !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-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

.py-3 { padding-top: 1rem !important; padding-bottom: 1rem !important; }
.py-4 { padding-top: 1.5rem !important; padding-bottom: 1.5rem !important; }
.py-5 { padding-top: 3rem !important; padding-bottom: 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; }

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

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

.border-0 { border: 0 !important; }
.border-top { border-top: 1px solid #dee2e6 !important; }
.border-secondary { border-color: var(--secondary-color) !important; }

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

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

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

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

/* ============================================
   RESPONSIVE COLUMN LAYOUTS
   ============================================ */
@media (min-width: 576px) {
  .col-sm-3 { width: 25%; }
  .col-sm-6 { width: 50%; }
}

@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%; }
  .col-md-7 { width: 58.333333%; }
  .col-md-8 { width: 66.666667%; }
  
  .flex-md-row { flex-direction: row !important; }
  .text-md-start { text-align: left !important; }
  .text-md-end { text-align: right !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%; }
  
  .offset-lg-1 { margin-left: 8.333333%; }
  .offset-lg-2 { margin-left: 16.666667%; }
  
  .order-lg-1 { order: 1 !important; }
  .order-lg-2 { order: 2 !important; }
  
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .ps-lg-5 { padding-left: 3rem !important; }
  .text-lg-end { text-align: right !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 scaleIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

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

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

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

.animate-scale-in {
  animation: scaleIn 0.6s ease-out forwards;
}

/* Stagger animations */
.animate-delay-1 { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2 { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3 { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4 { animation-delay: 0.4s; opacity: 0; }

/* ============================================
   CUSTOM SECTIONS
   ============================================ */
section {
  padding: 5rem 0;
  position: relative;
}

section.py-5 {
  padding: 3rem 0 !important;
}

/* Background variations */
.bg-primary-light {
  background: linear-gradient(135deg, rgba(44, 95, 65, 0.05), rgba(244, 228, 188, 0.1)) !important;
}

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

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

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

.hover-scale {
  transition: var(--transition-smooth);
}

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

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

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

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

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

/* ============================================
   LOADING & TRANSITIONS
   ============================================ */
.fade-in {
  animation: fadeIn 0.5s ease-in;
}

.slide-in-bottom {
  animation: slideInBottom 0.5s ease-out;
}

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

/* ============================================
   FOOTER STYLES
   ============================================ */
footer {
  background: var(--primary-color) !important;
  color: var(--text-light) !important;
  padding: 3rem 0 1rem;
}

footer * {
  color: var(--text-light) !important;
}

footer a:hover {
  color: var(--secondary-color) !important;
  text-decoration: underline;
}

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

/* ============================================
   MOBILE OPTIMIZATION
   ============================================ */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(255, 255, 255, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 4px;
  }
  
  .nav-link:hover {
    background: var(--secondary-color);
  }
  
  section {
    padding: 3rem 0;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem !important;
    font-size: 1rem !important;
  }
}

@media (max-width: 767px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  .position-sticky {
    position: relative !important;
    top: auto;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
*:focus {
  outline: 2px solid var(--primary-color);
  outline-offset: 2px;
}

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

/* ============================================
   PRINT STYLES
   ============================================ */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  a {
    color: black !important;
    text-decoration: underline;
  }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
.cursor-pointer {
  cursor: pointer;
}

.user-select-none {
  user-select: none;
}

.pointer-events-none {
  pointer-events: none;
}

.opacity-0 { opacity: 0; }
.opacity-50 { opacity: 0.5; }
.opacity-100 { opacity: 1; }

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

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

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

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

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

/* ============================================
   SELECTION STYLING
   ============================================ */
::selection {
  background: var(--primary-color);
  color: var(--text-light);
}

::-moz-selection {
  background: var(--primary-color);
  color: var(--text-light);
}