/* Architecture Studio - Deep Slate & Copper Accent 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;
  --dark-gray: #7f8c8d;
  --transition-speed: 0.3s;
  --box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

/* ===== GLOBAL STYLES ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

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

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-weight: 700;
  letter-spacing: -0.5px;
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800 !important;
  letter-spacing: -1px;
}

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

img {
  max-width: 100%;
  height: auto;
}

/* ===== NAVBAR STYLES ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 100%) !important;
  padding: 1rem 0 !important;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  transition: all var(--transition-speed) ease;
  z-index: 1030;
}

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

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

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

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

.navbar-toggler-icon {
  filter: brightness(0) invert(1);
}

.navbar-nav .nav-item {
  margin: 0 0.5rem;
}

.navbar-nav .nav-link {
  color: var(--light-gray) !important;
  font-weight: 600 !important;
  padding: 0.5rem 1rem !important;
  position: relative;
  transition: all var(--transition-speed) ease;
}

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

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

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

/* ===== HERO SECTION ===== */
.vh-100 {
  min-height: 100vh;
}

.position-relative.vh-100 {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 100%);
}

.position-absolute.w-100.h-100 {
  z-index: 1;
}

.position-absolute.w-100.h-100::after {
  content: '';
  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: 1;
}

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

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

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

.display-1 {
  text-shadow: 2px 4px 8px rgba(0, 0, 0, 0.4);
  animation: fadeInUp 1s ease;
}

.fs-4 {
  text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.3);
  animation: fadeInUp 1.2s ease;
}

/* ===== BUTTON STYLES ===== */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 0 !important;
  transition: all var(--transition-speed) ease;
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
  width: 300px;
  height: 300px;
}

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

.btn-primary,
.btn.bg-dark {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  border: 2px solid var(--secondary-color) !important;
}

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

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

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

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

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

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

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

/* ===== SECTIONS ===== */
.py-5 {
  padding: 5rem 0 !important;
}

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

section {
  position: relative;
  overflow: hidden;
}

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

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

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

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

/* ===== TEXT STYLES ===== */
.text-uppercase {
  letter-spacing: 2px;
  font-weight: 700;
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  line-height: 1.8;
}

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

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

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

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

h2.text-uppercase,
h3.text-uppercase {
  color: var(--primary-color) !important;
  position: relative;
  display: inline-block;
  padding-bottom: 1rem;
}

h2.text-uppercase::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--secondary-color);
}

.text-center h2.text-uppercase::after {
  left: 50%;
  transform: translateX(-50%);
}

/* ===== IMAGES ===== */
.img-fluid {
  width: 100%;
  height: auto;
}

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

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

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

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

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

/* ===== PROJECT GRID ===== */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.project-item {
  position: relative;
  overflow: hidden;
  background: var(--white);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-speed) ease;
  cursor: pointer;
}

.project-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(230, 126, 34, 0.8) 100%);
  opacity: 0;
  transition: all var(--transition-speed) ease;
  z-index: 1;
}

.project-item:hover::before {
  opacity: 1;
}

.project-item:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3);
}

.project-item img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  transition: all var(--transition-speed) ease;
}

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

.project-item .p-3,
.project-item .p-4 {
  position: relative;
  z-index: 2;
}

/* ===== CARDS ===== */
.card {
  border: none !important;
  border-radius: 0 !important;
  overflow: hidden;
  transition: all var(--transition-speed) ease;
  background: var(--white) !important;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1) !important;
}

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

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

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

.card-body {
  padding: 2rem !important;
}

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

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

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

.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-check-input {
  border: 2px solid var(--light-slate) !important;
  cursor: pointer;
}

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

.form-check-label {
  color: var(--primary-color) !important;
  cursor: pointer;
}

/* ===== ACCORDION ===== */
.accordion-item {
  border: none !important;
  border-bottom: 1px solid rgba(44, 62, 80, 0.1) !important;
  background: transparent !important;
}

.accordion-header {
  background: transparent !important;
}

.accordion-button {
  background: transparent !important;
  color: var(--primary-color) !important;
  font-weight: 600 !important;
  padding: 1.5rem 1rem !important;
  border: none !important;
  box-shadow: none !important;
}

.accordion-button:not(.collapsed) {
  background: var(--light-gray) !important;
  color: var(--secondary-color) !important;
}

.accordion-button::after {
  filter: brightness(0) saturate(100%);
}

.accordion-button:not(.collapsed)::after {
  filter: brightness(0) saturate(100%) invert(52%) sepia(85%) saturate(1463%) hue-rotate(346deg) brightness(95%) contrast(86%);
}

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

.accordion-collapse {
  border: none !important;
}

/* ===== TABS ===== */
.nav-pills .nav-link {
  background: transparent !important;
  color: var(--primary-color) !important;
  border: 2px solid var(--primary-color) !important;
  padding: 0.75rem 1.5rem !important;
  margin: 0.5rem !important;
  font-weight: 600 !important;
  border-radius: 0 !important;
  transition: all var(--transition-speed) ease;
}

.nav-pills .nav-link:hover,
.nav-pills .nav-link.active {
  background: var(--secondary-color) !important;
  color: var(--white) !important;
  border-color: var(--secondary-color) !important;
}

.tab-content {
  padding: 2rem 0;
}

.tab-pane {
  animation: fadeIn 0.5s ease;
}

/* ===== LIST GROUP ===== */
.list-group-flush {
  border: none !important;
}

.list-group-item {
  background: transparent !important;
  border: none !important;
  border-bottom: 1px solid rgba(44, 62, 80, 0.1) !important;
  padding: 1rem 0 !important;
  color: var(--primary-color) !important;
}

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

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

/* ===== ALERTS ===== */
.alert {
  border: none !important;
  border-radius: 0 !important;
  border-left: 4px solid var(--secondary-color) !important;
  background: rgba(230, 126, 34, 0.1) !important;
  color: var(--primary-color) !important;
}

.alert-heading {
  color: var(--secondary-color) !important;
  font-weight: 700 !important;
}

/* ===== PROGRESS BARS ===== */
.progress {
  height: 10px !important;
  border-radius: 0 !important;
  background: var(--light-gray) !important;
  overflow: hidden;
}

.progress-bar {
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--copper-light) 100%) !important;
  transition: width 1s ease;
}

/* ===== BORDERS ===== */
.border-start {
  border-left: 1px solid rgba(44, 62, 80, 0.2) !important;
}

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

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

/* ===== ICONS (Bootstrap Icons) ===== */
.bi {
  display: inline-block;
  vertical-align: middle;
  font-size: inherit;
}

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-clock-fill,
.bi-calendar-check-fill,
.bi-telephone,
.bi-envelope,
.bi-geo-alt,
.bi-instagram,
.bi-linkedin,
.bi-facebook,
.bi-twitter,
.bi-arrow-right,
.bi-check-circle-fill,
.bi-globe2,
.bi-award-fill,
.bi-tree-fill,
.bi-house-heart-fill,
.bi-star-fill,
.bi-lightbulb-fill,
.bi-moisture,
.bi-cpu,
.bi-flower1,
.bi-building,
.bi-house-door,
.bi-tree,
.bi-map,
.bi-layout-three-columns,
.bi-award,
.bi-shop,
.bi-briefcase,
.bi-layers,
.bi-currency-dollar,
.bi-graph-up-arrow,
.bi-heart-pulse,
.bi-shield-check,
.bi-check2-circle,
.bi-lightbulb,
.bi-grid-3x3 {
  color: var(--secondary-color) !important;
}

.fs-1 {
  font-size: 3rem !important;
}

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

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

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

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

footer * {
  color: var(--white) !important;
}

footer a {
  color: var(--light-gray) !important;
  transition: all var(--transition-speed) ease;
}

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

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

footer hr {
  background: rgba(255, 255, 255, 0.25) !important;
  height: 2px;
  border: none;
}

/* ===== RATIO (VIDEO EMBEDS) ===== */
.ratio {
  position: relative;
  width: 100%;
}

.ratio-16x9 {
  padding-bottom: 56.25%;
}

.ratio iframe,
.ratio video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ===== UTILITIES ===== */
.opacity-25 {
  opacity: 0.25 !important;
}

.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

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

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

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

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

.small {
  font-size: 0.875rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes fadeInUp {
  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);
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.8);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

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

.animate-fade-in-up {
  animation: fadeInUp 1s ease;
}

.animate-slide-in-left {
  animation: slideInLeft 0.8s ease;
}

.animate-slide-in-right {
  animation: slideInRight 0.8s ease;
}

.animate-scale-in {
  animation: scaleIn 0.6s ease;
}

/* ===== HOVER EFFECTS ===== */
.hover-lift {
  transition: all var(--transition-speed) ease;
}

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

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 991px) {
  .navbar-collapse {
    background: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    margin-top: 1rem;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }

  .navbar-nav .nav-item {
    margin: 0.5rem 0;
  }

  .navbar-nav .nav-link::after {
    display: none;
  }

  .display-1 {
    font-size: 3rem !important;
  }

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

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

  .display-5 {
    font-size: 1.75rem !important;
  }

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

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .display-1 {
    font-size: 2.5rem !important;
  }

  .display-3 {
    font-size: 2rem !important;
  }

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

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

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

  h2.text-uppercase::after {
    width: 40px;
    height: 3px;
  }
}

@media (max-width: 575px) {
  .display-1 {
    font-size: 2rem !important;
  }

  .display-3 {
    font-size: 1.75rem !important;
  }

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

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

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

/* ===== PRINT STYLES ===== */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }

  body {
    background: white !important;
    color: black !important;
  }
}