/* Industrial Forge Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-bg: #1a252f;
  --light-bg: #f8f9fa;
  --text-dark: #2C3E50;
  --text-light: #ffffff;
  --accent-gold: #d4a574;
  --shadow-sm: 0 2px 8px rgba(44, 62, 80, 0.1);
  --shadow-md: 0 4px 16px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 8px 32px rgba(44, 62, 80, 0.2);
  --transition-smooth: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

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

body {
  font-family: 'Inter', 'Segoe UI', Roboto, sans-serif;
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
  background-color: var(--light-bg);
}

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

.lead {
  font-size: 1.25rem;
  font-weight: 300;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 600;
  color: var(--primary-color);
}

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%) !important;
  padding: 1rem 0;
  box-shadow: var(--shadow-md);
  transition: var(--transition-smooth);
  z-index: 1050;
}

.navbar.fixed-top {
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.5rem !important;
  font-weight: 700 !important;
  color: var(--text-light) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: var(--transition-fast);
  position: relative;
}

.navbar-brand::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 3px;
  background: var(--secondary-color);
  transition: var(--transition-smooth);
}

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

.navbar-brand:hover::after {
  width: 100%;
}

.navbar-dark .navbar-toggler {
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !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: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.25rem !important;
  border-radius: 8px;
  transition: var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.nav-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(230, 126, 34, 0.2);
  transition: var(--transition-smooth);
  z-index: -1;
}

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

.nav-link:hover::before {
  left: 0;
}

.nav-link.active {
  color: var(--secondary-color) !important;
  background: rgba(230, 126, 34, 0.2) !important;
  font-weight: 600 !important;
}

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

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
  z-index: -1;
}

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

.btn-lg {
  padding: 1rem 2.5rem !important;
  font-size: 1.1rem !important;
}

.btn-sm {
  padding: 0.5rem 1.25rem !important;
  font-size: 0.875rem !important;
}

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

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

.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.8) !important;
  color: var(--text-light) !important;
  background: transparent !important;
}

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

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

.btn-outline-secondary:hover {
  background-color: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(230, 126, 34, 0.4) !important;
}

/* Hero Section */
.position-relative.overflow-hidden {
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-bg) 100%);
  position: relative;
}

.position-relative.overflow-hidden::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,%3Csvg width="60" height="60" viewBox="0 0 60 60" xmlns="http://www.w3.org/2000/svg"%3E%3Cg fill="none" fill-rule="evenodd"%3E%3Cg fill="%23E67E22" fill-opacity="0.05"%3E%3Cpath d="M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z"/%3E%3C/g%3E%3C/g%3E%3C/svg%3E');
  opacity: 0.3;
  animation: backgroundScroll 30s linear infinite;
}

@keyframes backgroundScroll {
  0% { transform: translate(0, 0); }
  100% { transform: translate(60px, 60px); }
}

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

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

/* Image Styles */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: var(--transition-smooth);
}

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

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

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

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

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

img:hover {
  transform: scale(1.05);
}

/* Card Styles */
.card {
  border: none !important;
  border-radius: 12px !important;
  transition: var(--transition-smooth);
  background: white;
  overflow: hidden;
}

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

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

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

/* Portfolio Card */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 350px;
  background: var(--primary-color);
}

.portfolio-card img {
  transition: var(--transition-smooth);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.95), rgba(230, 126, 34, 0.85));
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-smooth);
  padding: 2rem;
}

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

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

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

/* Masonry Grid */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
}

/* Badge Styles */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 6px !important;
  font-size: 0.85rem !important;
  background-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
}

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

/* Section Backgrounds */
.bg-light {
  background-color: var(--light-bg) !important;
}

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

/* Utility Classes */
.opacity-10 {
  opacity: 0.1 !important;
}

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

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

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

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

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

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

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

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

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

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

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

/* Spacing */
.p-0 { padding: 0 !important; }
.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.py-0 { padding-top: 0 !important; padding-bottom: 0 !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; }
.py-5 { padding-top: 3rem !important; padding-bottom: 3rem !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; }
.pt-4 { padding-top: 1.5rem !important; }
.pt-5 { padding-top: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-3 { padding-left: 1rem !important; }
.ps-5 { padding-left: 3rem !important; }
.pe-5 { padding-right: 3rem !important; }

.m-3 { margin: 1rem !important; }
.m-4 { margin: 1.5rem !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; }
.mt-auto { margin-top: auto !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-2 { margin-left: 0.5rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }
.me-2 { margin-right: 0.5rem !important; }
.me-3 { margin-right: 1rem !important; }
.mx-auto { margin-left: auto !important; margin-right: auto !important; }
.my-4 { margin-top: 1.5rem !important; margin-bottom: 1.5rem !important; }

/* Form Styles */
.form-control, .form-select {
  padding: 0.875rem 1.25rem !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 8px !important;
  transition: var(--transition-fast);
  background: white !important;
  color: var(--text-dark) !important;
  font-size: 1rem !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 !important;
}

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

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

.form-select-sm {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
}

.form-check {
  padding-left: 1.75rem !important;
}

.form-check-input {
  width: 1.25rem !important;
  height: 1.25rem !important;
  border: 2px solid #dee2e6 !important;
  border-radius: 4px !important;
  cursor: pointer;
  transition: var(--transition-fast);
}

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

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

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

/* Filter Buttons */
.filter-btn {
  padding: 0.5rem 1.5rem !important;
  margin: 0.25rem !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  background: transparent !important;
  transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--text-light) !important;
}

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

.bi-geo-alt-fill::before { content: "📍"; }
.bi-telephone-fill::before { content: "📞"; }
.bi-envelope-fill::before { content: "✉️"; }
.bi-arrow-right::before { content: "→"; }
.bi-search::before { content: "🔍"; }
.bi-pencil-square::before { content: "✏️"; }
.bi-tools::before { content: "🔧"; }
.bi-check-circle-fill::before { content: "✓"; }

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

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

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

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

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

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

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

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

.flex-lg-row-reverse {
  flex-direction: row-reverse !important;
}

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

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

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

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

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

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

/* Grid */
.g-0 { gap: 0 !important; }
.g-3 { gap: 1rem !important; }
.g-4 { gap: 1.5rem !important; }
.g-5 { gap: 3rem !important; }

/* Border */
.border-0 {
  border: none !important;
}

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

.border-start {
  border-left: 1px solid #dee2e6 !important;
}

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

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

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

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

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

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

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

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

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

.fst-italic {
  font-style: italic !important;
}

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

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

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

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

/* Privacy Content */
.privacy-content {
  line-height: 1.8;
  color: var(--text-dark);
}

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

.privacy-content p {
  margin-bottom: 1rem;
}

.privacy-content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.privacy-content li {
  margin-bottom: 0.5rem;
}

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

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

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

/* Hover Effects */
a {
  color: var(--secondary-color) !important;
  text-decoration: none;
  transition: var(--transition-fast);
}

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

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

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

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1rem;
    box-shadow: var(--shadow-lg);
  }

  .nav-link {
    padding: 0.75rem 1rem !important;
    margin: 0.25rem 0 !important;
  }

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

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

  .flex-lg-row-reverse {
    flex-direction: column !important;
  }

  .position-relative.overflow-hidden {
    min-height: 70vh;
  }

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

  .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-10 {
    width: 100% !important;
  }

  .offset-lg-1, .offset-lg-2 {
    margin-left: 0 !important;
  }

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

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

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

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

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

  .order-lg-1 {
    order: 1 !important;
  }

  .order-lg-2 {
    order: 2 !important;
  }

  .position-sticky {
    position: relative !important;
    top: 0;
  }

  .masonry-grid {
    grid-template-columns: 1fr;
  }

  .portfolio-card {
    height: 250px;
  }
}

@media (max-width: 767.98px) {
  .col-md-4, .col-md-6 {
    width: 100% !important;
  }

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

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

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

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

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

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

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

@media (min-width: 992px) {
  .d-lg-block {
    display: block !important;
  }

  .col-lg-2 {
    width: 16.666667% !important;
  }

  .col-lg-3 {
    width: 25% !important;
  }

  .col-lg-4 {
    width: 33.333333% !important;
  }

  .col-lg-5 {
    width: 41.666667% !important;
  }

  .col-lg-6 {
    width: 50% !important;
  }

  .col-lg-7 {
    width: 58.333333% !important;
  }

  .col-lg-8 {
    width: 66.666667% !important;
  }

  .col-lg-10 {
    width: 83.333333% !important;
  }

  .offset-lg-1 {
    margin-left: 8.333333% !important;
  }

  .offset-lg-2 {
    margin-left: 16.666667% !important;
  }

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

  .mt-lg-0 {
    margin-top: 0 !important;
  }
}

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

.loading {
  animation: pulse 1.5s ease-in-out infinite;
}

/* Focus Styles for Accessibility */
*:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px;
}

button:focus, a:focus {
  outline: 2px solid var(--secondary-color) !important;
  outline-offset: 2px;
}

/* Print Styles */
@media print {
  .navbar, .btn, .form-control, .form-select {
    display: none !important;
  }

  body {
    background: white;
    color: black;
  }

  .shadow, .shadow-sm, .shadow-lg {
    box-shadow: none !important;
  }
}