/* Urban Steel & Copper Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-steel: #1a252f;
  --light-steel: #4a5f7f;
  --copper-light: #f39c12;
  --copper-dark: #d35400;
  --text-light: #ecf0f1;
  --transition-speed: 0.3s;
}

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

html {
  scroll-behavior: smooth;
}

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

/* Typography */
.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

.lead {
  font-weight: 300;
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-steel) 100%) !important;
  padding: 1rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  z-index: 1050;
}

.navbar-dark .navbar-brand {
  color: #ffffff !important;
  font-size: 1.5rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition-speed);
}

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

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  margin: 0 0.25rem;
  transition: all var(--transition-speed);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

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

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

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

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

/* Hero Slideshow */
.hero-slideshow {
  margin-top: 76px;
  height: 90vh;
  min-height: 600px;
}

.carousel-item {
  height: 90vh;
  min-height: 600px;
  background: var(--primary-color);
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(230, 126, 34, 0.3) 100%);
  z-index: 1;
}

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

.carousel-item .position-absolute {
  z-index: 2;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.text-white {
  color: #ffffff !important;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

/* Buttons */
.btn {
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all var(--transition-speed);
  border: none;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: 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 {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  border: 2px solid var(--secondary-color) !important;
  padding: 1rem 2.5rem;
}

.btn-lg:hover {
  background: var(--copper-dark) !important;
  border-color: var(--copper-dark) !important;
  color: #ffffff !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(230, 126, 34, 0.3);
}

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

.btn-primary:hover {
  background: var(--dark-steel) !important;
  border-color: var(--dark-steel) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(44, 62, 80, 0.3);
}

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

/* Cards & Portfolio Items */
.card {
  border: none !important;
  transition: all var(--transition-speed);
  overflow: hidden;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(44, 62, 80, 0.2);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(44, 62, 80, 0.95) 0%, rgba(44, 62, 80, 0.3) 50%, transparent 100%);
  opacity: 0;
  transition: all var(--transition-speed);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  color: #ffffff !important;
}

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

.portfolio-overlay h4,
.portfolio-overlay p {
  color: #ffffff !important;
  margin: 0;
  transform: translateY(20px);
  transition: all 0.4s ease 0.1s;
}

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

.portfolio-item {
  margin-bottom: 2rem;
}

/* Badge */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  border-radius: 50px;
}

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

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

/* Filter Buttons */
.filter-btn {
  background: #ffffff !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.5rem 1.5rem;
  margin: 0.25rem;
  cursor: pointer;
  transition: all var(--transition-speed);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.875rem;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.3);
}

/* Accordion */
.accordion-item {
  border: 1px solid rgba(44, 62, 80, 0.1) !important;
  margin-bottom: 1rem;
  border-radius: 0.5rem !important;
  overflow: hidden;
}

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

.accordion-button:not(.collapsed) {
  background: var(--primary-color) !important;
  color: #ffffff !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%) invert(29%) sepia(14%) saturate(1108%) hue-rotate(169deg) brightness(94%) contrast(91%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(7500%) hue-rotate(324deg) brightness(104%) contrast(104%);
}

.accordion-body {
  padding: 1.5rem;
  background: #f8f9fa;
  color: var(--primary-color) !important;
}

/* Progress Bars */
.progress {
  height: 2rem;
  border-radius: 50px;
  background: rgba(44, 62, 80, 0.1) !important;
  overflow: visible;
}

.progress-bar {
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--secondary-color) 100%) !important;
  border-radius: 50px;
  position: relative;
  overflow: visible;
  transition: width 1.5s ease-in-out;
  box-shadow: 0 3px 10px rgba(230, 126, 34, 0.3);
}

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

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

.timeline-container .rounded-circle {
  width: 15px;
  height: 15px;
  background: var(--secondary-color);
  position: absolute;
  left: -6px;
  box-shadow: 0 0 0 4px #ffffff, 0 0 0 6px var(--secondary-color);
}

/* Forms */
.form-control,
.form-select {
  border: 2px solid rgba(44, 62, 80, 0.2) !important;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  transition: all var(--transition-speed);
  background: #ffffff !important;
  color: var(--primary-color) !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;
  background: #ffffff !important;
  color: var(--primary-color) !important;
}

.form-label {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
}

.form-check-input {
  border: 2px solid rgba(44, 62, 80, 0.3) !important;
  cursor: pointer;
}

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

.form-check-label {
  color: var(--primary-color) !important;
  cursor: pointer;
}

/* Icons */
.bi {
  display: inline-block;
  vertical-align: middle;
}

.bi-quote::before,
.bi-telephone::before,
.bi-envelope::before,
.bi-linkedin::before,
.bi-instagram::before,
.bi-facebook::before,
.bi-geo-alt-fill::before,
.bi-telephone-fill::before,
.bi-envelope-fill::before,
.bi-send::before,
.bi-calendar-check::before,
.bi-chat-dots::before,
.bi-geo-alt::before,
.bi-info-circle::before,
.bi-clipboard-data::before,
.bi-shield-check::before,
.bi-cookie::before,
.bi-camera::before,
.bi-pencil-square::before,
.bi-people::before,
.bi-hourglass-split::before,
.bi-globe::before,
.bi-arrow-repeat::before {
  font-size: 1.2em;
}

/* Shadows */
.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15) !important;
}

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

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

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

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

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

/* Borders */
.border-top {
  border-top: 1px solid rgba(44, 62, 80, 0.1) !important;
}

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

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

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

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

/* Rounded */
.rounded {
  border-radius: 0.375rem !important;
}

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

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

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

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

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

.opacity-90 {
  opacity: 0.9 !important;
}

/* Spacing Utilities */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Gap */
.gap-2 {
  gap: 1rem !important;
}

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

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

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

.g-0 {
  --bs-gutter-x: 0;
  --bs-gutter-y: 0;
}

.g-3 {
  --bs-gutter-x: 1.5rem;
  --bs-gutter-y: 1.5rem;
}

.g-4 {
  --bs-gutter-x: 2rem;
  --bs-gutter-y: 2rem;
}

.g-5 {
  --bs-gutter-x: 3rem;
  --bs-gutter-y: 3rem;
}

/* List Styles */
.list-unstyled {
  padding-left: 0;
  list-style: none;
}

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

.list-unstyled a {
  color: var(--primary-color) !important;
  text-decoration: none;
  transition: all var(--transition-speed);
}

.list-unstyled a:hover {
  color: var(--secondary-color) !important;
  padding-left: 5px;
}

/* Ratio */
.ratio {
  position: relative;
  width: 100%;
}

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

.ratio-16x9 {
  --bs-aspect-ratio: 56.25%;
}

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

/* Image Styles */
.img-fluid {
  max-width: 100%;
  height: auto;
}

/* Position Utilities */
.position-relative {
  position: relative !important;
}

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

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

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

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

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

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

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

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

/* Flex Utilities */
.d-flex {
  display: flex !important;
}

.d-block {
  display: block !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-end {
  justify-content: flex-end !important;
}

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

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

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

.flex-shrink-0 {
  flex-shrink: 0 !important;
}

/* Text Utilities */
.text-center {
  text-align: center !important;
}

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

.fw-semibold {
  font-weight: 600 !important;
}

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

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

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

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

/* Width Utilities */
.w-100 {
  width: 100% !important;
}

/* Height Utilities */
.h-100 {
  height: 100% !important;
}

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

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

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@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-slide-left {
  animation: slideInLeft 0.8s ease-out forwards;
}

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

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

/* Hover Effects */
.hover-lift {
  transition: all var(--transition-speed);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* Footer Styles */
footer {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-steel) 100%);
  color: var(--text-light) !important;
  padding: 3rem 0 1rem;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: all var(--transition-speed);
}

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

footer .bi {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
  transition: all var(--transition-speed);
}

footer .bi:hover {
  transform: scale(1.2) translateY(-3px);
  color: var(--copper-light) !important;
}

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(26, 37, 47, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 0.375rem;
  }
  
  .nav-link:hover {
    background: rgba(230, 126, 34, 0.1);
  }
  
  .hero-slideshow {
    height: 70vh;
    min-height: 500px;
  }
  
  .carousel-item {
    height: 70vh;
    min-height: 500px;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem;
  }
  
  .position-sticky {
    position: relative !important;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .hero-slideshow {
    height: 60vh;
    min-height: 400px;
  }
  
  .carousel-item {
    height: 60vh;
    min-height: 400px;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .flex-column {
    flex-direction: column !important;
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
  
  .text-md-start {
    text-align: left !important;
  }
  
  .text-md-end {
    text-align: right !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .p-md-5 {
    padding: 2rem !important;
  }
}

@media (max-width: 575.98px) {
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .display-3 {
    font-size: 1.5rem !important;
  }
  
  .btn-lg {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .filter-btn {
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
  }
  
  .accordion-button {
    font-size: 1rem;
    padding: 1rem;
  }
  
  .timeline-container {
    padding-left: 2rem;
  }
}

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

/* High Contrast Mode */
@media (prefers-contrast: high) {
  .btn {
    border-width: 3px !important;
  }
  
  .card {
    border: 2px solid var(--primary-color) !important;
  }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Scrollbar Styling */
::-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(--copper-dark);
}

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

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