/* Architectural Studio Theme - Deep Slate & Amber */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E67E22;
  --dark-slate: #1a252f;
  --light-slate: #34495e;
  --amber-light: #f39c12;
  --amber-dark: #d35400;
  --text-light: #ecf0f1;
  --text-dark: #2c3e50;
  --transition-speed: 0.3s;
}

* {
  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-2, .display-3, .display-4, .display-5 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

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

/* Navbar Styles */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 100%) !important;
  transition: all var(--transition-speed) ease;
  z-index: 1000;
}

.navbar.sticky-top {
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

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

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

.navbar-dark .navbar-nav .nav-link {
  color: var(--text-light) !important;
  font-weight: 500;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 1px;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-speed) ease;
}

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

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

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

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

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

/* Hero Slideshow */
.hero-slideshow {
  position: relative;
  height: 100vh;
  overflow: hidden;
}

.slideshow-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
  background-size: cover;
  background-position: center;
}

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

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

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.85) 0%, rgba(26, 37, 47, 0.75) 100%);
  z-index: 2;
}

.hero-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 3;
  text-align: center;
  width: 90%;
  max-width: 1200px;
}

.hero-content .display-2 {
  color: var(--text-light) !important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  margin-bottom: 1.5rem;
  animation: fadeInUp 1s ease;
}

.hero-content .lead {
  color: var(--text-light) !important;
  font-size: 1.5rem;
  margin-bottom: 2.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.2s ease;
}

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

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

.btn-sm {
  padding: 0.5rem 1.5rem;
  font-size: 0.875rem;
}

.btn-primary {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  border: 2px solid var(--secondary-color) !important;
}

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

.btn-outline-primary {
  background: transparent !important;
  color: var(--text-light) !important;
  border: 2px solid var(--text-light) !important;
}

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

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

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

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

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

.card-img-top {
  border-radius: 0;
  transition: transform 0.5s ease;
  height: 250px;
  object-fit: cover;
}

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

.card-body {
  padding: 2rem;
}

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

.card-text {
  color: var(--text-dark);
  line-height: 1.8;
}

/* Certification Card */
.certification-card {
  background: linear-gradient(135deg, var(--primary-color), var(--light-slate)) !important;
  color: var(--text-light) !important;
  padding: 2rem;
  border-radius: 0;
}

.certification-card .bi {
  color: var(--secondary-color) !important;
  font-size: 3rem;
}

.certification-card .h5 {
  color: var(--text-light) !important;
  font-weight: 700;
}

.certification-card .cert-details {
  color: rgba(236, 240, 241, 0.9) !important;
}

/* Portfolio Styles */
.masonry-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 2rem 0;
}

.masonry-item {
  break-inside: avoid;
  margin-bottom: 1.5rem;
}

.masonry-tall {
  grid-row: span 2;
}

.masonry-wide {
  grid-column: span 2;
}

.portfolio-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
  border-radius: 0;
}

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

.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.9));
  opacity: 0;
  transition: opacity var(--transition-speed) ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

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

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

.portfolio-content {
  color: #ffffff !important;
  text-align: center;
  padding: 2rem;
  transform: translateY(20px);
  transition: transform var(--transition-speed) ease;
}

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

.portfolio-content .h4 {
  color: #ffffff !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.portfolio-content p {
  color: rgba(255, 255, 255, 0.9) !important;
}

.badge {
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  padding: 0.5rem 1rem;
  font-weight: 600;
  border-radius: 0;
  font-size: 0.85rem;
}

/* Filter Buttons */
.filter-btn {
  margin: 0.25rem;
  transition: all var(--transition-speed) ease;
}

/* Forms */
.form-control,
.form-select {
  border: 2px solid #dee2e6;
  border-radius: 0;
  padding: 0.75rem 1rem;
  transition: all var(--transition-speed) ease;
  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.2rem rgba(230, 126, 34, 0.25) !important;
  outline: none;
}

.form-label {
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

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

.form-check-label {
  color: var(--text-dark);
}

.text-danger {
  color: #dc3545 !important;
}

/* Process Steps */
.process-step {
  display: flex;
  margin-bottom: 2rem;
  align-items: start;
}

.process-step .rounded-circle {
  width: 80px;
  height: 80px;
  background: var(--secondary-color) !important;
  color: #ffffff !important;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: 700;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.process-step .h5 {
  color: var(--primary-color) !important;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.process-step p {
  color: var(--text-dark);
  line-height: 1.8;
}

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

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

.bg-light {
  background-color: #f8f9fa !important;
}

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

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

.bi-chat-dots,
.bi-building,
.bi-arrow-repeat,
.bi-lightbulb,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-car-front-fill,
.bi-train-front-fill,
.bi-bicycle-fill,
.bi-award-fill,
.bi-house-check-fill,
.bi-building-fill-check,
.bi-tree-fill,
.bi-check-circle-fill,
.bi-linkedin,
.bi-instagram,
.bi-facebook {
  font-size: 2.5rem;
  color: var(--secondary-color);
  margin-bottom: 1rem;
}

/* Social Links */
.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 45px;
  height: 45px;
  background: var(--primary-color);
  color: #ffffff !important;
  margin: 0 0.5rem;
  transition: all var(--transition-speed) ease;
  text-decoration: none;
}

.social-links a:hover {
  background: var(--secondary-color);
  transform: translateY(-5px);
  box-shadow: 0 5px 15px rgba(230, 126, 34, 0.4);
}

.social-links .bi {
  font-size: 1.25rem;
  margin: 0;
  color: #ffffff !important;
}

/* Carousel */
.carousel-indicators button {
  background-color: var(--secondary-color) !important;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin: 0 5px;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: var(--primary-color);
  border-radius: 50%;
  padding: 2rem;
}

.carousel-item {
  transition: transform 0.6s ease;
}

.carousel-inner {
  padding: 2rem 0;
}

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

footer h5,
footer h6,
footer .h5,
footer .h6 {
  color: var(--text-light) !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

footer a {
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

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

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

footer .bi {
  color: var(--secondary-color);
  font-size: 1.25rem;
  margin-right: 0.5rem;
}

/* Breadcrumb */
.breadcrumb {
  background: transparent;
  padding: 1rem 0;
  margin: 0;
}

.breadcrumb-item {
  color: var(--text-dark);
}

.breadcrumb-item.active {
  color: var(--secondary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
  color: var(--text-dark);
  content: '/';
}

.breadcrumb-item a {
  color: var(--primary-color);
  text-decoration: none;
  transition: color var(--transition-speed) ease;
}

.breadcrumb-item a:hover {
  color: var(--secondary-color);
}

/* Privacy Content */
.privacy-content {
  line-height: 1.8;
}

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

.privacy-content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
}

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

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

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

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

.shadow {
  box-shadow: 0 0.5rem 1rem rgba(44, 62, 80, 0.15) !important;
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(44, 62, 80, 0.075) !important;
}

.shadow-lg {
  box-shadow: 0 1rem 3rem rgba(44, 62, 80, 0.3) !important;
}

.rounded {
  border-radius: 0 !important;
}

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

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

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

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

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

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

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0;
  }
  
  .navbar-nav {
    gap: 0 !important;
  }
  
  .nav-item {
    margin: 0.5rem 0;
  }
  
  .hero-content .display-2 {
    font-size: 2.5rem;
  }
  
  .hero-content .lead {
    font-size: 1.1rem;
  }
  
  .masonry-grid {
    grid-template-columns: 1fr;
  }
  
  .masonry-wide,
  .masonry-tall {
    grid-column: span 1;
    grid-row: span 1;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .process-step {
    flex-direction: column;
    text-align: center;
  }
  
  .process-step .rounded-circle {
    margin-right: 0;
    margin-bottom: 1rem;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem;
  }
  
  .display-3 {
    font-size: 1.75rem;
  }
  
  .display-4 {
    font-size: 1.5rem;
  }
  
  .display-5 {
    font-size: 1.25rem;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .hero-content {
    width: 95%;
  }
  
  .bi-chat-dots,
  .bi-building,
  .bi-arrow-repeat,
  .bi-lightbulb,
  .bi-geo-alt,
  .bi-telephone,
  .bi-envelope {
    font-size: 2rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .hero-content .display-2 {
    font-size: 1.75rem;
  }
  
  .hero-content .lead {
    font-size: 1rem;
  }
  
  .btn {
    width: 100%;
    margin-bottom: 1rem;
  }
  
  .gap-3 {
    gap: 0.5rem !important;
  }
  
  .px-5 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer,
  .carousel-control-prev,
  .carousel-control-next {
    display: none !important;
  }
  
  body {
    background: white;
    color: black;
  }
  
  .card {
    page-break-inside: avoid;
  }
}

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

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

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

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

::-webkit-scrollbar-track {
  background: var(--primary-color);
}

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

::-webkit-scrollbar-thumb:hover {
  background: var(--amber-dark);
}

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

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