/* Architectural Studio - Slate & Copper Theme */
/* Root Variables */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-slate: #1a252f;
  --light-slate: #34495e;
  --copper-light: #f39c12;
  --copper-dark: #d35400;
  --white: #ffffff;
  --light-gray: #ecf0f1;
  --text-dark: #2c3e50;
  --text-light: #7f8c8d;
  --transition: all 0.3s ease;
}

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

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

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

.text-white.display-1,
.text-white.display-2,
.text-white.display-3,
.text-white.display-4,
.text-white.display-5,
.text-white.display-6 {
  color: var(--white) !important;
}

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

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  background: var(--primary-color);
}

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

.slideshow-container {
  z-index: 1;
}

.slide {
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background: var(--primary-color);
}

.slide.active {
  opacity: 1;
  z-index: 2;
}

.slide img {
  filter: brightness(0.6);
}

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

.hero-overlay {
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(44, 62, 80, 0.4) 100%);
  z-index: 3;
  pointer-events: none;
}

/* Navbar */
.navbar {
  z-index: 1000;
  transition: var(--transition);
  background: transparent !important;
}

.navbar.scrolled {
  background: rgba(44, 62, 80, 0.95) !important;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
  padding-top: 0.5rem !important;
  padding-bottom: 0.5rem !important;
}

.navbar-brand {
  font-size: 1.5rem !important;
  color: var(--white) !important;
  font-weight: 700 !important;
  letter-spacing: 1px;
  transition: var(--transition);
}

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

.navbar-nav {
  gap: 1rem;
}

.nav-link {
  color: var(--white) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

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

.nav-link:hover::after {
  width: 80%;
}

.navbar-toggler {
  border: 2px solid var(--white) !important;
  padding: 0.5rem !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(255, 255, 255, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Hero Content */
.hero-content {
  z-index: 4;
  pointer-events: auto;
  animation: fadeInUp 1s ease-out;
}

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

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

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.1);
  transition: var(--transition);
  z-index: -1;
}

.btn:hover::before {
  left: 100%;
}

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

.btn-primary:hover {
  background: var(--copper-dark) !important;
  border-color: var(--copper-dark) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(230, 126, 34, 0.4) !important;
}

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

.btn-outline-light:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

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

.btn-light:hover {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

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

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

.btn-sm {
  padding: 0.4rem 1rem !important;
  font-size: 0.85rem !important;
}

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

/* Sections */
section {
  position: relative;
}

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

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

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

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

.bg-dark {
  background: var(--primary-color) !important;
  color: var(--white) !important;
}

.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4, .bg-dark h5, .bg-dark h6 {
  color: var(--white) !important;
}

/* Service Cards */
.service-card {
  background: var(--white);
  padding: 2.5rem;
  transition: var(--transition);
  border: 2px solid transparent;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: var(--transition);
  transform-origin: left;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1) !important;
  border-color: var(--secondary-color);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-card .bi {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 1.5rem;
  transition: var(--transition);
}

.service-card:hover .bi {
  transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
  color: var(--primary-color) !important;
  font-weight: 700;
  margin-bottom: 1rem;
}

.service-card p {
  color: var(--text-light);
  margin-bottom: 0;
}

/* Cards */
.card {
  border: none !important;
  transition: var(--transition);
  overflow: hidden;
  border-radius: 0 !important;
}

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

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

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--text-light);
}

/* Portfolio */
.filter-buttons {
  margin-bottom: 3rem;
}

.filter-btn {
  background: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  padding: 0.75rem 2rem !important;
  margin: 0.5rem;
  font-weight: 600 !important;
  transition: var(--transition) !important;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--secondary-color) !important;
  border-color: var(--secondary-color) !important;
  color: var(--white) !important;
  transform: translateY(-2px);
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}

.portfolio-item {
  opacity: 1;
  transition: var(--transition);
  animation: fadeIn 0.5s ease-out;
}

.portfolio-item.hidden {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  background: var(--primary-color);
  cursor: pointer;
}

.portfolio-image {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: var(--transition);
}

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

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

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

.portfolio-content {
  text-align: center;
  padding: 2rem;
  transform: translateY(20px);
  transition: var(--transition);
}

.portfolio-card:hover .portfolio-content {
  transform: translateY(0);
}

.portfolio-content h3 {
  color: var(--white) !important;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1rem;
}

/* Badge */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Forms */
.form-label {
  font-weight: 600;
  color: var(--primary-color) !important;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

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

.form-control::placeholder {
  color: var(--text-light);
  opacity: 0.7;
}

.form-check-input {
  border: 2px solid #ddd !important;
  border-radius: 0 !important;
  width: 1.25rem;
  height: 1.25rem;
}

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

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

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

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-clock-fill,
.bi-briefcase-fill,
.bi-people-fill,
.bi-car-front-fill,
.bi-train-front-fill,
.bi-bicycle-fill,
.bi-house-door,
.bi-building,
.bi-clock-history,
.bi-leaf,
.bi-rulers,
.bi-file-earmark-text,
.bi-geo-alt,
.bi-telephone,
.bi-envelope {
  color: var(--secondary-color);
}

/* Text Utilities */
.text-white {
  color: var(--white) !important;
}

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

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

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

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

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

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

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

/* Footer */
footer {
  background: var(--dark-slate);
  color: rgba(255, 255, 255, 0.8);
}

footer h4,
footer h5 {
  color: var(--white) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

footer a {
  color: rgba(255, 255, 255, 0.7) !important;
  text-decoration: none !important;
  transition: var(--transition);
  display: inline-block;
}

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

/* Modal */
.modal-content {
  border-radius: 0 !important;
  border: none !important;
}

.modal-header {
  border-bottom: 2px solid rgba(255, 255, 255, 0.1) !important;
  padding: 2rem;
}

.modal-body {
  padding: 2rem;
}

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

.btn-close {
  opacity: 1 !important;
}

.btn-close-white {
  filter: brightness(0) invert(1);
}

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

.position-sticky {
  position: sticky;
  top: 0;
}

/* Shadow Utilities */
.shadow-sm {
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08) !important;
}

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

/* Toggle Details */
.toggle-details {
  cursor: pointer;
  user-select: none;
}

.hide-text {
  display: none;
}

.toggle-details.active .show-text {
  display: none;
}

.toggle-details.active .hide-text {
  display: inline;
}

/* Privacy Content */
.privacy-content {
  max-width: 900px;
  margin: 0 auto;
}

.privacy-content h2 {
  color: var(--primary-color) !important;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 700;
}

.privacy-content h3 {
  color: var(--secondary-color) !important;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.privacy-content p {
  color: var(--text-light);
  margin-bottom: 1rem;
  line-height: 1.8;
}

/* Animations */
@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-on-scroll {
  opacity: 0;
  transition: var(--transition);
}

.animate-on-scroll.animated {
  opacity: 1;
}

/* Responsive Design */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 2rem;
    margin-top: 1rem;
    border-top: 2px solid var(--secondary-color);
  }
  
  .navbar-nav {
    gap: 0;
  }
  
  .nav-link {
    padding: 1rem 0 !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  .nav-link::after {
    display: none;
  }
  
  .hero-content {
    padding: 2rem !important;
    margin: 0 !important;
  }
  
  .display-2 {
    font-size: 2.5rem !important;
  }
  
  .display-3 {
    font-size: 2rem !important;
  }
  
  .display-4 {
    font-size: 1.75rem !important;
  }
  
  .py-5 {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }
  
  .py-6 {
    padding-top: 4rem !important;
    padding-bottom: 4rem !important;
  }
  
  .portfolio-grid {
    grid-template-columns: 1fr;
  }
  
  .service-card {
    margin-bottom: 2rem;
  }
  
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
}

@media (max-width: 767px) {
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .btn-lg {
    padding: 0.875rem 2rem !important;
    font-size: 0.95rem !important;
  }
  
  .filter-btn {
    padding: 0.5rem 1rem !important;
    font-size: 0.85rem !important;
  }
  
  .portfolio-image {
    height: 300px;
  }
  
  .card-img-top {
    height: 200px;
  }
}

@media (max-width: 575px) {
  .hero-content {
    padding: 1rem !important;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .fs-5 {
    font-size: 1rem !important;
  }
  
  .service-card {
    padding: 1.5rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .portfolio-image {
    height: 250px;
  }
}

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

/* Accessibility */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Focus Styles */
a:focus,
button:focus,
.btn:focus,
.form-control:focus,
.form-select:focus,
.form-check-input:focus {
  outline: 3px solid var(--secondary-color);
  outline-offset: 2px;
}

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

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

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

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

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

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

/* Loading Animation */
.loading {
  position: relative;
  pointer-events: none;
}

.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 40px;
  margin: -20px 0 0 -20px;
  border: 4px solid rgba(230, 126, 34, 0.3);
  border-top-color: var(--secondary-color);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* Image Hover Effects */
.img-fluid {
  transition: var(--transition);
}

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

/* Border Utilities */
.border-secondary {
  border-color: var(--secondary-color) !important;
}

/* Rounded Utilities */
.rounded {
  border-radius: 0 !important;
}

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

/* Flex Utilities */
.flex-shrink-0 {
  flex-shrink: 0;
}

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

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

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

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

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

/* Hover Effects for Interactive Elements */
.interactive-hover {
  transition: var(--transition);
}

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