/* Architecture Studio - Tech Blue & Amber Theme */

:root {
  --primary-color: #1976D2;
  --secondary-color: #FF6F00;
  --primary-dark: #115293;
  --secondary-dark: #C43E00;
  --primary-light: #4791DB;
  --secondary-light: #FF8F33;
  --text-dark: #212529;
  --text-light: #F8F9FA;
  --transition-speed: 0.3s;
  --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
  --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
  --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
}

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

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

html {
  scroll-behavior: smooth;
}

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

.navbar.scrolled {
  padding: 0.5rem 0;
  background: rgba(25, 118, 210, 0.98) !important;
  backdrop-filter: blur(10px);
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700 !important;
  color: #FFFFFF !important;
  transition: all var(--transition-speed) ease;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

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

.navbar-brand .bi {
  color: var(--secondary-color) !important;
  animation: rotate 3s linear infinite;
}

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

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

.nav-link:hover,
.nav-link.active {
  color: #FFFFFF !important;
  background: rgba(255, 255, 255, 0.1);
}

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

.btn-warning {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  border: none !important;
  color: #FFFFFF !important;
  font-weight: 600 !important;
  transition: all var(--transition-speed) ease;
  box-shadow: var(--shadow-sm);
}

.btn-warning:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%) !important;
  color: #FFFFFF !important;
}

.text-dark {
  color: #FFFFFF !important;
}

/* Hero Section */
.hero-section {
  min-height: 100vh;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 50%, var(--primary-light) 100%);
  position: relative;
  display: flex;
  align-items: center;
  padding-top: 80px;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><rect width="100" height="100" fill="none"/><path d="M0 0L50 50L0 100L-50 50Z" fill="rgba(255,255,255,0.03)" transform="translate(25,0)"/></svg>');
  opacity: 0.3;
  animation: moveBackground 20s linear infinite;
}

.hero-section .text-white {
  color: #FFFFFF !important;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.hero-section .display-2 {
  font-weight: 800;
  line-height: 1.2;
  animation: fadeInUp 1s ease;
}

.hero-section .lead {
  font-weight: 300;
  color: rgba(255, 255, 255, 0.95) !important;
  animation: fadeInUp 1.2s ease;
}

.hero-section .btn-lg {
  font-weight: 600;
  border-radius: 50px;
  transition: all var(--transition-speed) ease;
  animation: fadeInUp 1.4s ease;
}

.hero-section .btn-warning.btn-lg {
  background: linear-gradient(135deg, var(--secondary-color) 0%, var(--secondary-dark) 100%) !important;
  color: #FFFFFF !important;
  border: none !important;
  box-shadow: 0 4px 15px rgba(255, 111, 0, 0.4);
}

.hero-section .btn-warning.btn-lg:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(255, 111, 0, 0.6);
}

.hero-section .btn-outline-light {
  border: 2px solid rgba(255, 255, 255, 0.9) !important;
  color: #FFFFFF !important;
  background: transparent !important;
  font-weight: 600;
}

.hero-section .btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.2) !important;
  border-color: #FFFFFF !important;
  color: #FFFFFF !important;
  transform: translateY(-3px);
}

.animate-bounce {
  animation: bounce 2s infinite;
  color: rgba(255, 255, 255, 0.9) !important;
  transition: all var(--transition-speed) ease;
}

.animate-bounce:hover {
  color: var(--secondary-color) !important;
}

/* Buttons */
.btn {
  border-radius: 0.375rem;
  font-weight: 500;
  padding: 0.5rem 1.5rem;
  transition: all var(--transition-speed) ease;
  border: none;
}

.btn-warning {
  background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark)) !important;
  color: #FFFFFF !important;
}

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

.btn-outline-primary:hover {
  background: var(--primary-color) !important;
  color: #FFFFFF !important;
  border-color: var(--primary-color) !important;
}

.btn-light {
  background: #FFFFFF !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  border: none !important;
}

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

.btn-outline-light {
  border: 2px solid #FFFFFF !important;
  color: #FFFFFF !important;
  background: transparent !important;
}

.btn-outline-light:hover {
  background: #FFFFFF !important;
  color: var(--primary-color) !important;
}

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

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

.card-body {
  padding: 2rem;
}

.card .bi {
  font-size: 3rem;
  color: var(--primary-color);
  margin-bottom: 1rem;
  transition: all var(--transition-speed) ease;
}

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

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

.card-text {
  color: #6C757D;
  line-height: 1.8;
}

/* Service Cards */
.service-card {
  position: relative;
  border-radius: 0.75rem;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.service-image-wrapper {
  position: relative;
  height: 300px;
  overflow: hidden;
}

.service-image-wrapper img {
  transition: transform 0.5s ease;
}

.service-card:hover .service-image-wrapper img {
  transform: scale(1.1);
}

.service-overlay {
  background: linear-gradient(to top, rgba(25, 118, 210, 0.95) 0%, transparent 100%);
  opacity: 0;
  transition: all var(--transition-speed) ease;
}

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

.service-content {
  position: absolute;
  bottom: -100%;
  left: 0;
  width: 100%;
  padding: 2rem;
  color: #FFFFFF;
  transition: all var(--transition-speed) ease;
}

.service-card:hover .service-content {
  bottom: 0;
}

.service-content .bi {
  color: var(--secondary-color) !important;
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.service-details {
  background: #FFFFFF;
  border-top: 3px solid var(--primary-color);
}

/* Images */
.img-fluid {
  border-radius: 0.75rem;
  transition: all var(--transition-speed) ease;
}

.img-fluid:hover {
  transform: scale(1.02);
  box-shadow: var(--shadow-lg);
}

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

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

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

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

.bg-dark {
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 100%) !important;
  color: #FFFFFF !important;
}

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

/* Typography */
.display-2,
.display-3,
.display-4,
.display-5,
.display-6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--text-dark);
}

.text-white .display-2,
.text-white .display-3,
.text-white .display-4,
.text-white .display-5,
.text-white .display-6,
.bg-dark .display-2,
.bg-dark .display-3,
.bg-dark .display-4,
.bg-dark .display-5,
.bg-dark .display-6 {
  color: #FFFFFF !important;
}

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

.h4,
.h5,
.h6,
h4,
h5,
h6 {
  font-weight: 600;
  color: var(--text-dark);
}

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

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

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

/* Text Colors */
.text-white {
  color: #FFFFFF !important;
}

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

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

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-weight: 600;
  background: var(--primary-color) !important;
  color: #FFFFFF !important;
}

/* Borders */
.border-start {
  border-left: 3px solid var(--primary-color) !important;
}

.border-bottom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.2) !important;
}

.border-light {
  border-color: rgba(255, 255, 255, 0.2) !important;
}

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

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

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

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

/* Forms */
.form-control,
.form-select {
  border: 2px solid #E9ECEF;
  border-radius: 0.375rem;
  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(--primary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(25, 118, 210, 0.25) !important;
  background: #FFFFFF !important;
  color: var(--text-dark) !important;
}

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

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

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

/* Alerts */
.alert {
  border-radius: 0.5rem;
  border: none;
  padding: 1rem 1.5rem;
}

.alert .bi {
  margin-right: 0.5rem;
}

/* Tables */
.table {
  color: var(--text-dark);
}

.table-bordered {
  border: 1px solid #DEE2E6;
}

.table thead {
  background: var(--primary-color);
  color: #FFFFFF;
}

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

.bi-gear-fill,
.bi-cpu-fill,
.bi-wrench-adjustable-circle-fill,
.bi-speedometer2,
.bi-disc-fill,
.bi-gear-wide-connected {
  color: var(--primary-color);
}

.bg-dark .bi,
.text-white .bi {
  color: var(--secondary-color) !important;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
}

.list-unstyled a {
  color: #6C757D;
  text-decoration: none;
  transition: all var(--transition-speed) ease;
}

.list-unstyled a:hover {
  color: var(--primary-color);
  padding-left: 5px;
}

.bg-dark .list-unstyled a {
  color: rgba(255, 255, 255, 0.8);
}

.bg-dark .list-unstyled a:hover {
  color: #FFFFFF;
}

/* Social Icons */
.bi-facebook,
.bi-instagram,
.bi-twitter,
.bi-youtube,
.bi-google {
  font-size: 1.5rem;
  color: #FFFFFF;
  transition: all var(--transition-speed) ease;
  margin: 0 0.5rem;
}

.bi-facebook:hover,
.bi-instagram:hover,
.bi-twitter:hover,
.bi-youtube:hover,
.bi-google:hover {
  color: var(--secondary-color);
  transform: translateY(-3px);
}

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

footer .h6 {
  color: #FFFFFF !important;
  font-weight: 700;
  margin-bottom: 1.5rem;
}

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

footer a:hover {
  color: #FFFFFF;
}

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

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

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

@keyframes moveBackground {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 100px 100px;
  }
}

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

/* Responsive Utilities */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background: rgba(17, 82, 147, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 0.5rem;
  }

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

  .hero-section {
    min-height: auto;
    padding: 100px 0 50px;
  }

  .hero-section .display-2 {
    font-size: 2.5rem;
  }

  section {
    padding: 3rem 0;
  }

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

  .card {
    margin-bottom: 1.5rem;
  }
}

@media (max-width: 767.98px) {
  .hero-section .display-2 {
    font-size: 2rem;
  }

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

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

  .btn-lg {
    padding: 0.75rem 2rem !important;
  }

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

@media (max-width: 575.98px) {
  .hero-section .display-2 {
    font-size: 1.75rem;
  }

  .lead {
    font-size: 1rem;
  }

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

  .btn-lg {
    width: 100%;
    margin-bottom: 0.5rem;
  }
}

/* Additional Utility Classes */
.position-relative {
  position: relative !important;
}

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

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

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

.fixed-top {
  position: fixed !important;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1030;
}

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

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

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

.rounded {
  border-radius: 0.375rem !important;
}

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

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

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

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

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

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

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

.start-50 {
  left: 50% !important;
}

.translate-middle-x {
  transform: translateX(-50%) !important;
}

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

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

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

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

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

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

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

.align-items-start {
  align-items: flex-start !important;
}

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

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

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

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

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

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

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

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

@media (min-width: 768px) {
  .text-md-start {
    text-align: start !important;
  }
  
  .text-md-end {
    text-align: end !important;
  }
}

@media (min-width: 992px) {
  .text-lg-end {
    text-align: end !important;
  }
}

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

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

/* Spacing Utilities */
.m-0 { margin: 0 !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; }
.mb-0 { margin-bottom: 0 !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-3 { margin-left: 1rem !important; }
.ms-4 { margin-left: 1.5rem !important; }
.ms-auto { margin-left: auto !important; }
.me-1 { margin-right: 0.25rem !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; }
.my-5 { margin-top: 3rem !important; margin-bottom: 3rem !important; }

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

@media (min-width: 768px) {
  .mt-md-0 { margin-top: 0 !important; }
  .p-md-5 { padding: 3rem !important; }
}

@media (min-width: 992px) {
  .mb-lg-0 { margin-bottom: 0 !important; }
  .mt-lg-0 { margin-top: 0 !important; }
  .ms-lg-2 { margin-left: 0.5rem !important; }
}

/* Scroll Animation */
.scroll-animate {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.6s ease;
}

.scroll-animate.active {
  opacity: 1;
  transform: translateY(0);
}

/* Loading Spinner */
.spinner {
  border: 3px solid rgba(25, 118, 210, 0.3);
  border-top: 3px solid var(--primary-color);
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

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

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

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

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

/* Selection */
::selection {
  background: var(--primary-color);
  color: #FFFFFF;
}

::-moz-selection {
  background: var(--primary-color);
  color: #FFFFFF;
}