/* Architectural Studio - Midnight Amber Theme */
/* Primary Color: #2C3E50 */
/* Secondary Color: #E67E22 */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-overlay: rgba(44, 62, 80, 0.85);
  --light-overlay: rgba(230, 126, 34, 0.15);
  --transition-speed: 0.3s;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color: #333;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

/* Navigation */
.navbar {
  background-color: var(--primary-color) !important;
  transition: all var(--transition-speed) ease;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

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

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

.navbar-dark .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: all var(--transition-speed) ease;
  position: relative;
}

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

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

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

.navbar-toggler {
  border-color: 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, 0.9%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Buttons */
.btn {
  border-radius: 5px;
  font-weight: 600;
  padding: 0.75rem 2rem;
  transition: all var(--transition-speed) ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-width: 2px !important;
}

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

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

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

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

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

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

.btn-light:hover {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  border-color: var(--secondary-color) !important;
}

.btn-link {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
}

.btn-link:hover {
  color: var(--primary-color) !important;
}

/* Hero Section */
.position-relative.overflow-hidden {
  min-height: 100vh;
  background-color: var(--primary-color);
}

.position-relative.overflow-hidden .position-absolute {
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0.3;
  z-index: 1;
}

.position-relative.overflow-hidden::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--primary-color) 0%, rgba(44, 62, 80, 0.9) 100%);
  z-index: 2;
}

.position-relative.overflow-hidden .container {
  position: relative;
  z-index: 3;
}

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

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

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

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

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

.opacity-25 {
  opacity: 0.25 !important;
}

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

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

.bi-chevron-down {
  color: #ffffff !important;
}

/* Badge */
.badge {
  background-color: var(--secondary-color) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 5px;
}

/* Cards and Service Cards */
.card {
  border: none !important;
  border-radius: 10px;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background-color: #ffffff;
}

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

.card-body {
  padding: 2rem;
}

.card-title {
  color: var(--primary-color) !important;
  font-weight: 700;
}

.card-text {
  color: #666 !important;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
}

.service-card {
  background-color: #ffffff;
  border-radius: 10px;
  padding: 2.5rem;
  text-align: center;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  height: 100%;
}

.service-card:hover {
  border-color: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(230, 126, 34, 0.2);
}

.service-card .bi,
.service-card .fas,
.service-card .fa {
  color: var(--secondary-color) !important;
  font-size: 3rem !important;
  margin-bottom: 1rem;
}

.service-card .h4,
.service-card h4 {
  color: var(--primary-color) !important;
  margin-bottom: 1rem;
}

.service-card p {
  color: #666 !important;
}

/* Portfolio Items */
.portfolio-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
  height: 300px;
}

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

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent 0%, var(--dark-overlay) 100%);
  display: flex;
  align-items: flex-end;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
}

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

.portfolio-overlay * {
  color: #ffffff !important;
}

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

.filter-btn:hover,
.filter-btn.active {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
}

/* Timeline */
.timeline-item {
  position: relative;
  padding-left: 3rem;
  padding-bottom: 2rem;
  border-left: 2px solid var(--secondary-color);
}

.timeline-item:last-child {
  border-left-color: transparent;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -8px;
  top: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  border: 3px solid #ffffff;
}

/* Forms */
.form-control,
.form-select {
  border: 2px solid #e0e0e0 !important;
  border-radius: 5px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease !important;
  background-color: #ffffff !important;
  color: #333 !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-color: #ffffff !important;
  color: #333 !important;
}

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

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

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

.form-check-label {
  color: #333 !important;
}

/* Tables */
.table {
  background-color: #ffffff;
}

.table-hover tbody tr {
  transition: background-color var(--transition-speed) ease;
}

.table-hover tbody tr:hover {
  background-color: var(--light-overlay) !important;
}

.table thead th {
  background-color: var(--primary-color) !important;
  color: #ffffff !important;
  font-weight: 600;
  border: none !important;
}

.table td {
  color: #333 !important;
  vertical-align: middle;
}

.table-bordered {
  border: 1px solid #e0e0e0 !important;
}

.table-bordered td,
.table-bordered th {
  border: 1px solid #e0e0e0 !important;
}

/* Accordion */
.accordion-item {
  border: 1px solid #e0e0e0 !important;
  margin-bottom: 1rem;
  border-radius: 5px !important;
  overflow: hidden;
}

.accordion-button {
  background-color: #f8f9fa !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 1.25rem;
}

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

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

.accordion-button::after {
  filter: brightness(0) invert(0.5);
}

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

.accordion-body {
  padding: 1.5rem;
  background-color: #ffffff;
  color: #666 !important;
}

/* Alert */
.alert {
  border-radius: 5px;
  border: none;
  padding: 1rem 1.5rem;
}

/* Images */
.img-fluid {
  border-radius: 10px;
}

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

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

.shadow,
.shadow-lg {
  box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.shadow-sm {
  box-shadow: 0 2px 10px rgba(0,0,0,0.1) !important;
}

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

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

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

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

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

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

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

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

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

.bi-check-circle-fill,
.bi-star-fill,
.bi-shield-check,
.bi-hand-thumbs-up-fill,
.bi-award-fill {
  color: var(--secondary-color) !important;
}

/* Sticky Elements */
.position-sticky,
.sticky-top {
  position: sticky;
  top: 80px;
  z-index: 100;
}

.position-fixed {
  position: fixed !important;
  top: 0;
  z-index: 1000;
}

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

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

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

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

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

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

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

.m-3 {
  margin: 1rem !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;
}

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

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

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

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

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

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

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

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

/* Footer */
footer {
  background-color: var(--primary-color) !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

footer h6,
footer .h6 {
  color: #ffffff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

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

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

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

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

footer .bi,
footer .fas,
footer .fa {
  color: var(--secondary-color) !important;
}

/* Social Media Icons */
.bi-facebook,
.bi-instagram,
.bi-linkedin,
.bi-twitter,
.bi-pinterest {
  font-size: 1.5rem;
  transition: all var(--transition-speed) ease;
}

.bi-facebook:hover,
.bi-instagram:hover,
.bi-linkedin:hover,
.bi-twitter:hover,
.bi-pinterest:hover {
  transform: translateY(-3px);
  color: var(--secondary-color) !important;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 1rem;
    border-radius: 5px;
    margin-top: 1rem;
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .position-relative.overflow-hidden {
    min-height: 80vh;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2.25rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .service-card {
    margin-bottom: 1rem;
  }
  
  .portfolio-item {
    height: 250px;
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .fs-4 {
    font-size: 1rem !important;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .service-card {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

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

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

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

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

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

.hover-lift:hover {
  transform: translateY(-5px);
}

/* Toggle Button */
.toggle-btn {
  cursor: pointer;
  user-select: none;
}

/* Smooth Scroll */
html {
  scroll-behavior: smooth;
}

/* Focus Styles */
*:focus {
  outline: none;
}

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

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

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

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

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

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

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