/* Architectural Studio - Slate & Copper Theme */
/* CSS Variables & Base Styles */
:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --primary-dark: #1a252f;
  --secondary-dark: #d35400;
  --light-gray: #ecf0f1;
  --dark-gray: #34495e;
  --white: #ffffff;
  --transition-speed: 0.3s;
  --shadow-sm: 0 2px 4px rgba(44, 62, 80, 0.1);
  --shadow-md: 0 4px 8px rgba(44, 62, 80, 0.15);
  --shadow-lg: 0 8px 16px rgba(44, 62, 80, 0.2);
}

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

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

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

.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;
  color: var(--dark-gray);
}

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
  padding: 1.5rem 0;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--shadow-md);
  z-index: 1000;
}

.navbar.position-absolute {
  background: rgba(44, 62, 80, 0.95) !important;
  backdrop-filter: blur(10px);
}

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

.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;
  transition: all var(--transition-speed) ease;
  position: relative;
  border-radius: 4px;
}

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

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

.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.5) !important;
  padding: 0.5rem;
}

.navbar-toggler:focus {
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.3) !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.95%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

/* Buttons */
.btn {
  font-weight: 600;
  padding: 0.75rem 1.75rem;
  border-radius: 4px;
  transition: all var(--transition-speed) ease;
  border: 2px solid transparent;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-size: 0.875rem;
}

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

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
}

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

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

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

.btn-outline-dark:hover {
  color: var(--white) !important;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

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

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

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

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

.btn:active,
.btn:focus {
  transform: translateY(-1px);
  box-shadow: var(--shadow-sm);
}

/* Hero Section */
.position-relative.h-100 {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 50%, var(--dark-gray) 100%);
  position: relative;
  overflow: hidden;
}

.position-relative.h-100::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="%23ffffff" 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.4;
  animation: patternMove 60s linear infinite;
}

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

.position-relative.h-100 .container {
  position: relative;
  z-index: 2;
}

/* Scroll Down Indicator */
.position-absolute.bottom-0.start-50 {
  animation: bounce 2s infinite;
  z-index: 3;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-10px);
  }
  60% {
    transform: translateX(-50%) translateY(-5px);
  }
}

.bi-chevron-down {
  font-size: 2rem;
  color: var(--white) !important;
  opacity: 0.8;
  transition: all var(--transition-speed) ease;
}

.bi-chevron-down:hover {
  opacity: 1;
  color: var(--secondary-color) !important;
}

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  transition: all var(--transition-speed) ease;
}

.img-fluid.rounded {
  border-radius: 8px;
}

.img-fluid.shadow-lg {
  box-shadow: var(--shadow-lg);
}

.img-fluid:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 24px rgba(44, 62, 80, 0.25);
}

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

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

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

/* Cards */
.card {
  border: none;
  border-radius: 8px;
  transition: all var(--transition-speed) ease;
  overflow: hidden;
  background-color: var(--white);
}

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

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

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

.card-body {
  padding: 2rem;
}

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

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

/* Service/Feature Cards */
.col-md-6.col-lg-4 .card,
.col-lg-4 .card {
  height: 100%;
  background-color: var(--light-gray);
  transition: all var(--transition-speed) ease;
}

.col-md-6.col-lg-4 .card:hover,
.col-lg-4 .card:hover {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-gray) 100%);
  color: var(--white) !important;
}

.col-md-6.col-lg-4 .card:hover *,
.col-lg-4 .card:hover * {
  color: var(--white) !important;
}

.col-md-6.col-lg-4 .card:hover .bi,
.col-lg-4 .card:hover .bi {
  color: var(--secondary-color) !important;
}

/* Icons */
.bi {
  transition: all var(--transition-speed) ease;
}

.bi-house-door,
.bi-building,
.bi-tree,
.bi-grid-3x3,
.bi-map,
.bi-clock-history,
.bi-award-fill,
.bi-people-fill,
.bi-buildings-fill,
.bi-house-door-fill,
.bi-leaf-fill,
.bi-grid-3x3-gap-fill,
.bi-map-fill,
.bi-bank,
.bi-heart-fill,
.bi-trophy-fill,
.bi-star-fill,
.bi-patch-check-fill,
.bi-shield-check,
.bi-rulers,
.bi-lightning-charge-fill,
.bi-tree-fill,
.bi-sun,
.bi-droplet,
.bi-lightning-charge,
.bi-wind,
.bi-arrow-repeat,
.bi-award {
  color: var(--secondary-color) !important;
  font-size: 2.5rem;
}

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

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

.bi-check-circle-fill,
.bi-check2 {
  color: var(--secondary-color) !important;
}

.bi-arrow-right,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-twitter,
.bi-envelope,
.bi-telephone,
.bi-geo-alt,
.bi-clock {
  color: var(--secondary-color) !important;
}

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

/* Badges */
.badge {
  background-color: var(--secondary-color) !important;
  color: var(--white) !important;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  font-size: 0.875rem;
  letter-spacing: 0.5px;
}

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

.form-control,
.form-select {
  border: 2px solid var(--light-gray);
  border-radius: 4px;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  background-color: var(--white);
  color: var(--primary-color) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 3px rgba(230, 126, 34, 0.1) !important;
  outline: none;
}

.form-control::placeholder {
  color: rgba(44, 62, 80, 0.5) !important;
}

/* Sections */
section {
  padding: 5rem 0;
  position: relative;
}

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

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

/* Background Variants */
.bg-light {
  background-color: var(--light-gray) !important;
}

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

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

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

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

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

.text-muted {
  color: var(--dark-gray) !important;
  opacity: 0.7;
}

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

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

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

/* Rounded Elements */
.rounded {
  border-radius: 8px !important;
}

.rounded-circle {
  border-radius: 50% !important;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--light-gray);
  transition: all var(--transition-speed) ease;
}

.rounded-circle:hover {
  background-color: var(--secondary-color);
  transform: scale(1.1) rotate(360deg);
}

.rounded-circle:hover .bi {
  color: var(--white) !important;
}

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

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

/* Accordion */
.accordion {
  border: none;
}

.accordion-item {
  border: 2px solid var(--light-gray);
  margin-bottom: 1rem;
  border-radius: 8px !important;
  overflow: hidden;
  background-color: var(--white);
}

.accordion-header {
  margin-bottom: 0;
}

.accordion-button {
  background-color: var(--light-gray) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  padding: 1.25rem 1.5rem;
  border: none;
  transition: all var(--transition-speed) ease;
}

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

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

.accordion-button::after {
  background-color: var(--secondary-color);
  border-radius: 50%;
  padding: 0.5rem;
}

.accordion-body {
  padding: 1.5rem;
  color: var(--dark-gray) !important;
  background-color: var(--white);
}

.accordion-collapse {
  border: none;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  transition: all var(--transition-speed) ease;
}

.list-unstyled li:hover {
  padding-left: 0.5rem;
  color: var(--secondary-color) !important;
}

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

.list-unstyled a:hover {
  color: var(--secondary-color) !important;
  text-decoration: underline;
}

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

a:hover {
  color: var(--secondary-dark) !important;
  text-decoration: underline;
}

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

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

/* Button Groups */
.btn-group {
  box-shadow: var(--shadow-sm);
  border-radius: 4px;
  overflow: hidden;
}

.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-radius: 4px 0 0 4px;
}

.btn-group .btn:last-child {
  border-radius: 0 4px 4px 0;
}

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

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

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

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

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

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

.flex-fill {
  flex: 1 1 auto !important;
}

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

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

/* Spacing Utilities */
.m-3 {
  margin: 1rem !important;
}

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

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

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

.mt-4 {
  margin-top: 1.5rem !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;
}

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

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

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

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

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

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

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

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

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

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

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

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

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !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;
}

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

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

.pe-lg-4 {
  padding-right: 1.5rem !important;
}

.ps-lg-5 {
  padding-left: 3rem !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);
  }
}

.animate-on-scroll {
  opacity: 0;
  transition: all 0.6s ease;
}

.animate-on-scroll.animated {
  opacity: 1;
  animation: fadeIn 0.8s ease forwards;
}

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

footer h3,
footer h4,
footer .h3,
footer .h4 {
  color: var(--white) !important;
}

footer p,
footer li,
footer a {
  color: rgba(255, 255, 255, 0.8) !important;
}

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

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

footer hr {
  border-color: rgba(255, 255, 255, 0.2) !important;
  margin: 2rem 0;
}

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1.5rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .display-3 {
    font-size: 2.5rem !important;
  }
  
  .display-4 {
    font-size: 2rem !important;
  }
  
  .display-5 {
    font-size: 1.75rem !important;
  }
  
  .display-6 {
    font-size: 1.5rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .sticky-top {
    top: 60px;
  }
  
  .position-sticky {
    position: relative;
    top: 0;
  }
}

@media (max-width: 767.98px) {
  .btn {
    width: 100%;
    margin-bottom: 0.5rem;
  }
  
  .btn-group {
    flex-direction: column;
  }
  
  .btn-group .btn {
    border-radius: 4px !important;
    margin-bottom: 0.5rem;
  }
  
  .rounded-circle {
    width: 60px;
    height: 60px;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .accordion-button {
    padding: 1rem;
    font-size: 0.9rem;
  }
  
  .accordion-body {
    padding: 1rem;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    padding: 1rem 0;
  }
  
  .navbar-brand {
    font-size: 1.25rem !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;
  }
  
  .lead {
    font-size: 1.1rem;
  }
  
  .px-4,
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
  
  section {
    padding: 2rem 0;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer,
  .position-absolute.bottom-0 {
    display: none !important;
  }
  
  body {
    color: #000;
    background: #fff;
  }
  
  a {
    color: #000 !important;
    text-decoration: underline;
  }
}