/* Industrial Steel & Copper Architecture Studio Theme */
/* Primary Color: #2C3E50 (Steel Blue) */
/* Secondary Color: #E67E22 (Copper Orange) */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --copper-light: #F39C12;
  --steel-dark: #1A252F;
  --steel-light: #34495E;
  --text-light: #ECF0F1;
  --text-dark: #2C3E50;
  --transition-base: all 0.3s ease;
}

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

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

/* Typography Enhancements */
.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  letter-spacing: -1px;
  color: var(--primary-color) !important;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--steel-light) !important;
}

/* Navbar Styling */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--steel-dark) 100%) !important;
  backdrop-filter: blur(10px);
  transition: var(--transition-base);
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.3);
  border-bottom: 2px solid var(--secondary-color);
}

.navbar.navbar-dark {
  background: linear-gradient(135deg, var(--steel-dark) 0%, #000000 100%) !important;
}

.navbar-brand {
  color: #FFFFFF !important;
  font-size: 1.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  position: relative;
  padding-left: 15px;
}

.navbar-brand::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 30px;
  background: var(--secondary-color);
  border-radius: 2px;
}

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

.navbar-toggler {
  border: 2px solid var(--secondary-color) !important;
  padding: 8px 12px;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem 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;
}

.nav-link {
  color: #FFFFFF !important;
  font-weight: 600 !important;
  padding: 10px 18px !important;
  border-radius: 6px;
  transition: var(--transition-base);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

.nav-link:hover, .nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(230, 126, 34, 0.1) !important;
  transform: translateY(-2px);
}

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

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--steel-dark) 0%, var(--primary-color) 50%, var(--steel-light) 100%);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF !important;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath d="M0 0h60v60H0z" fill="none"/%3E%3Cpath d="M30 0l30 30-30 30L0 30z" fill="%23E67E22" opacity="0.03"/%3E%3C/svg%3E');
  opacity: 0.5;
}

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

.hero-section .display-1 {
  color: #FFFFFF !important;
  text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1s ease-out;
}

.hero-section .lead {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1.2s ease-out;
}

.hero-section .object-fit-cover {
  opacity: 0.15;
  filter: grayscale(50%);
  mix-blend-mode: overlay;
}

/* Buttons */
.btn {
  border-radius: 8px;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: var(--transition-base);
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

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

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

.btn-lg {
  padding: 15px 40px !important;
  font-size: 1.1rem;
}

.btn-primary {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: #FFFFFF !important;
  box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.btn-primary:hover {
  background: var(--copper-light) !important;
  border-color: var(--copper-light) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(230, 126, 34, 0.4);
}

.btn-outline-dark {
  border-color: var(--primary-color) !important;
  color: var(--primary-color) !important;
  border-width: 2px !important;
}

.btn-outline-dark:hover {
  background: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
  box-shadow: 0 6px 25px rgba(44, 62, 80, 0.3);
}

.btn-outline-light {
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  border-width: 2px !important;
}

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

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

.btn-light:hover {
  background: var(--text-light) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
}

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

.btn-dark:hover {
  background: var(--steel-dark) !important;
  border-color: var(--steel-dark) !important;
  transform: translateY(-3px);
}

.btn-success {
  background: #27AE60 !important;
  border-color: #27AE60 !important;
  color: #FFFFFF !important;
}

.btn-danger {
  background: #E74C3C !important;
  border-color: #E74C3C !important;
  color: #FFFFFF !important;
}

/* Cards */
.card {
  border-radius: 12px;
  border: none;
  transition: var(--transition-base);
  overflow: hidden;
  background: #FFFFFF;
}

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

.card-body {
  padding: 2rem;
}

.card.border-0 {
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.portfolio-card {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  height: 400px;
}

.portfolio-card img {
  transition: transform 0.6s ease;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.portfolio-overlay {
  background: linear-gradient(to top, var(--primary-color) 0%, transparent 100%);
  opacity: 0;
  transition: var(--transition-base);
  padding: 2rem;
  color: #FFFFFF !important;
}

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

.portfolio-overlay h3,
.portfolio-overlay p,
.portfolio-overlay .badge {
  color: #FFFFFF !important;
  transform: translateY(20px);
  transition: var(--transition-base);
}

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

/* Portfolio Item */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
}

.portfolio-item img {
  transition: transform 0.5s ease;
}

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

/* Badges */
.badge {
  padding: 8px 16px;
  font-weight: 600;
  border-radius: 6px;
  background: var(--secondary-color) !important;
  color: #FFFFFF !important;
  font-size: 0.85rem;
  letter-spacing: 0.5px;
}

/* Shadows */
.shadow-lg {
  box-shadow: 0 15px 40px rgba(44, 62, 80, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 3px 10px rgba(44, 62, 80, 0.1) !important;
}

.shadow {
  box-shadow: 0 8px 25px rgba(44, 62, 80, 0.12) !important;
}

/* Images */
.img-fluid {
  border-radius: 12px;
  transition: var(--transition-base);
}

.img-fluid:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

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

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

/* Sections */
section {
  padding: 80px 0;
}

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

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

.bg-light {
  background: linear-gradient(135deg, #F8F9FA 0%, #ECF0F1 100%) !important;
}

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

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(230, 126, 34, 0.15) !important;
  background: #FFFFFF !important;
  color: var(--text-dark) !important;
}

.form-control-lg,
.form-select-lg {
  padding: 15px 20px;
  font-size: 1.1rem;
}

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

.form-check-input {
  width: 1.5em;
  height: 1.5em;
  border: 2px solid #E0E0E0;
  cursor: pointer;
}

.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.25rem rgba(230, 126, 34, 0.15) !important;
}

.form-check-label {
  color: var(--text-dark) !important;
  cursor: pointer;
  font-weight: 500;
}

.invalid-feedback {
  color: #E74C3C !important;
  font-weight: 600;
  font-size: 0.9rem;
}

.needs-validation .form-control:invalid {
  border-color: #E74C3C !important;
}

.needs-validation .form-control:valid {
  border-color: #27AE60 !important;
}

/* Alerts */
.alert {
  border-radius: 8px;
  border: none;
  padding: 1.25rem;
  font-weight: 500;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

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

.bg-success {
  background: #27AE60 !important;
  color: #FFFFFF !important;
}

/* Icons */
.bi {
  vertical-align: middle;
  transition: var(--transition-base);
}

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-send,
.bi-fire,
.bi-clock-history,
.bi-people,
.bi-award,
.bi-hammer,
.bi-shield-check,
.bi-calendar3,
.bi-tools,
.bi-building,
.bi-check-circle-fill,
.bi-wind,
.bi-bricks,
.bi-lightning-charge,
.bi-droplet,
.bi-star-fill {
  color: var(--secondary-color) !important;
}

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

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

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

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-bounce {
  animation: bounce 2s infinite;
}

/* Text Colors */
.text-white {
  color: #FFFFFF !important;
}

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

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

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

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

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

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

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

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

.list-unstyled li {
  padding: 8px 0;
  transition: var(--transition-base);
}

.list-unstyled li:hover {
  transform: translateX(5px);
}

/* Borders */
.border {
  border: 2px solid #E0E0E0 !important;
}

.border-top {
  border-top: 2px solid #E0E0E0 !important;
}

/* Navigation Pills */
.nav-pills .nav-link {
  color: var(--primary-color) !important;
  background: transparent;
  border-radius: 8px;
  padding: 12px 24px;
  font-weight: 600;
}

.nav-pills .nav-link.active {
  background: var(--secondary-color) !important;
  color: #FFFFFF !important;
}

.nav-pills .nav-link:hover {
  background: rgba(230, 126, 34, 0.1) !important;
  color: var(--secondary-color) !important;
}

/* Tab Content */
.tab-content {
  padding: 2rem;
  background: #FFFFFF;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.tab-pane {
  animation: fadeIn 0.5s ease;
}

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

.position-absolute {
  position: absolute;
}

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

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

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

/* Flex Utilities */
.align-items-center {
  align-items: center !important;
}

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

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

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

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

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

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

.flex-grow-1 {
  flex-grow: 1 !important;
}

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

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

/* Spacing Utilities */
.p-3 {
  padding: 1rem !important;
}

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

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

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

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

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

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

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

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

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

.ms-3 {
  margin-left: 1rem !important;
}

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

.ms-auto {
  margin-left: auto !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-4 {
  padding-top: 1.5rem !important;
  padding-bottom: 1.5rem !important;
}

.pb-3 {
  padding-bottom: 1rem !important;
}

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

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

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

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

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

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

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

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

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

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

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

/* Font Sizes */
.fs-1 {
  font-size: 2.5rem !important;
}

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

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

/* Font Weights */
.fw-bold {
  font-weight: 700 !important;
}

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

/* Small Text */
small, .small {
  font-size: 0.875rem;
  color: #7F8C8D !important;
}

/* Headings */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  color: var(--primary-color) !important;
  font-weight: 700;
  line-height: 1.3;
}

.h3 {
  font-size: 1.75rem;
}

.h4 {
  font-size: 1.5rem;
}

.h5 {
  font-size: 1.25rem;
}

/* Responsive Design - Mobile First */
@media (max-width: 575.98px) {
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .display-5 {
    font-size: 1.5rem !important;
  }
  
  .display-6 {
    font-size: 1.25rem !important;
  }
  
  .hero-section {
    min-height: 80vh;
    padding: 60px 0;
  }
  
  section {
    padding: 40px 0;
  }
  
  .navbar-brand {
    font-size: 1.3rem;
  }
  
  .btn-lg {
    padding: 12px 30px !important;
    font-size: 1rem;
  }
  
  .portfolio-card {
    height: 300px;
  }
  
  .card-body {
    padding: 1.25rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  .display-1 {
    font-size: 3rem !important;
  }
  
  .hero-section {
    min-height: 85vh;
  }
}

@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;
  }
  
  .flex-sm-row {
    flex-direction: row !important;
  }
}

@media (min-width: 992px) {
  .text-lg-end {
    text-align: right !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Hover Effects for Interactive Elements */
.card:hover,
.portfolio-item:hover,
.portfolio-card:hover {
  box-shadow: 0 20px 50px rgba(230, 126, 34, 0.2) !important;
}

/* Scroll Behavior */
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(--primary-color);
}

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

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

/* Loading Animation */
@keyframes pulse {
  0%, 100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}

.animate-pulse {
  animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Focus States */
*:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

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

/* Disabled States */
.btn:disabled,
.btn.disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Additional Utility Classes */
.mx-auto {
  margin-left: auto !important;
  margin-right: auto !important;
}

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

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

/* Footer Styling */
footer {
  background: linear-gradient(135deg, var(--steel-dark) 0%, var(--primary-color) 100%);
  color: #FFFFFF !important;
  padding: 60px 0 30px;
}

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

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

footer .border-top {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

/* Fade Animations */
.fade {
  transition: opacity 0.15s linear;
}

.fade:not(.show) {
  opacity: 0;
}

.show {
  opacity: 1 !important;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
  
  body {
    background: white;
    color: black;
  }
}