/* Arctic Slate Architecture Studio - Custom CSS */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #ECF0F1;
  --accent-color: #3498DB;
  --dark-slate: #1A252F;
  --light-slate: #455A64;
  --arctic-white: #FFFFFF;
  --text-dark: #2C3E50;
  --text-light: #7F8C8D;
  --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);
  background-color: var(--secondary-color);
  line-height: 1.6;
  overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--primary-color) !important;
  letter-spacing: -0.5px;
}

.display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 800 !important;
  color: var(--primary-color) !important;
}

.lead {
  font-size: 1.25rem;
  color: var(--text-light) !important;
  font-weight: 400;
}

/* Navbar Styles */
.navbar {
  background-color: var(--primary-color) !important;
  padding: 1rem 0;
  box-shadow: 0 2px 15px rgba(44, 62, 80, 0.1);
  transition: all var(--transition-speed) ease;
}

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

.navbar.scrolled {
  background-color: var(--dark-slate) !important;
  padding: 0.5rem 0;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

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

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

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(236, 240, 241, 0.25) !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%28236, 240, 241, 1%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

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

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

.nav-link:hover {
  color: var(--arctic-white) !important;
  transform: translateY(-2px);
}

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

.nav-link.active {
  color: var(--arctic-white) !important;
  font-weight: 700 !important;
}

/* Hero Section */
.position-relative {
  position: relative;
}

.overflow-hidden {
  overflow: hidden;
}

.position-absolute {
  position: absolute;
}

.hero-section {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-slate) 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ECF0F1" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,160C384,160,480,128,576,112C672,96,768,96,864,112C960,128,1056,160,1152,160C1248,160,1344,128,1392,112L1440,96L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat center bottom;
  background-size: cover;
  animation: wave 15s linear infinite;
}

@keyframes wave {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

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

.hero-section .display-2 {
  color: var(--arctic-white) !important;
  font-size: 4rem;
  margin-bottom: 1.5rem !important;
  animation: fadeInDown 1s ease-out;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section .lead {
  color: var(--secondary-color) !important;
  font-size: 1.5rem;
  margin-bottom: 2.5rem !important;
  animation: fadeInUp 1s ease-out 0.3s both;
}

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

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

/* Buttons */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  border-radius: 50px;
  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;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  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;
  font-size: 1.1rem !important;
}

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

.btn-primary:hover {
  background-color: var(--dark-slate) !important;
  border-color: var(--dark-slate) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(44, 62, 80, 0.3) !important;
  color: var(--arctic-white) !important;
}

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

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

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

.btn-secondary:hover {
  background-color: var(--arctic-white) !important;
  border-color: var(--arctic-white) !important;
  color: var(--primary-color) !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(236, 240, 241, 0.4) !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;
}

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

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

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

/* Images */
.img-fluid {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  transition: transform var(--transition-speed) ease;
}

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

.shadow {
  box-shadow: 0 10px 40px rgba(44, 62, 80, 0.1) !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.175) !important;
}

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

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

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

.card-body {
  padding: 2rem;
}

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

/* Project Cards */
.project-card {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  cursor: pointer;
  height: 350px;
  background-color: var(--primary-color);
}

.project-card img {
  transition: transform 0.5s ease;
}

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

.project-overlay {
  position: absolute;
  bottom: -100%;
  left: 0;
  right: 0;
  background: linear-gradient(to top, var(--primary-color) 0%, transparent 100%);
  padding: 2rem;
  transition: bottom 0.5s ease;
  color: var(--arctic-white) !important;
}

.project-card:hover .project-overlay {
  bottom: 0;
}

.project-overlay h4,
.project-overlay p {
  color: var(--arctic-white) !important;
}

/* Badges */
.badge {
  padding: 0.5rem 1rem;
  font-weight: 500;
  border-radius: 20px;
  background-color: var(--secondary-color) !important;
  color: var(--primary-color) !important;
}

/* Icons */
.bi {
  display: inline-block;
  width: 1em;
  height: 1em;
  vertical-align: -0.125em;
}

.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-clock,
.bi-reply-fill,
.bi-linkedin,
.bi-instagram,
.bi-facebook,
.bi-telephone,
.bi-envelope,
.bi-geo-alt,
.bi-house-door,
.bi-building,
.bi-recycle,
.bi-thermometer-snow,
.bi-palette,
.bi-clipboard-data,
.bi-sun,
.bi-water,
.bi-check-circle-fill,
.bi-award-fill,
.bi-house-check-fill,
.bi-globe-americas {
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

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

.fs-5 {
  font-size: 1.25rem !important;
}

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

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

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

/* Form Styles */
.form-control,
.form-select {
  border: 2px solid var(--secondary-color) !important;
  border-radius: 8px !important;
  padding: 0.75rem 1rem !important;
  transition: all var(--transition-speed) ease;
  background-color: var(--arctic-white) !important;
  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(44, 62, 80, 0.15) !important;
  background-color: var(--arctic-white) !important;
}

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

.fw-normal {
  font-weight: 400 !important;
}

/* Progress Bars */
.progress {
  height: 1.5rem;
  border-radius: 10px;
  background-color: var(--secondary-color) !important;
  overflow: hidden;
}

.progress-bar {
  background-color: var(--primary-color) !important;
  transition: width 1.5s ease;
  font-weight: 600;
}

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

.list-unstyled li {
  padding: 0.5rem 0;
  color: var(--text-dark);
}

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

a:hover {
  color: var(--light-slate) !important;
}

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

/* Footer */
footer {
  background-color: var(--primary-color) !important;
  color: var(--secondary-color) !important;
  padding: 3rem 0 1rem;
}

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

footer p,
footer li,
footer a {
  color: var(--secondary-color) !important;
}

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

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

footer .bi:hover {
  color: var(--arctic-white) !important;
}

/* Spacing Utilities */
.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-0 {
  margin-bottom: 0 !important;
}

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

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

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

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

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

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

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

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

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

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

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

.px-0 {
  padding-left: 0 !important;
  padding-right: 0 !important;
}

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

.p-0 {
  padding: 0 !important;
}

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

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

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

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

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

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

.me-1 {
  margin-right: 0.25rem !important;
}

.me-2 {
  margin-right: 0.5rem !important;
}

.me-3 {
  margin-right: 1rem !important;
}

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

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

.border-3 {
  border-width: 3px !important;
  border-color: var(--primary-color) !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

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

/* Position Utilities */
.position-sticky {
  position: sticky !important;
  top: 80px;
}

.top-50 {
  top: 50% !important;
}

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

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

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

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

/* Width/Height */
.w-100 {
  width: 100% !important;
}

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

/* Text Utilities */
.text-uppercase {
  text-transform: uppercase !important;
}

.small {
  font-size: 0.875rem;
}

/* 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: opacity 0.6s ease, transform 0.6s ease;
}

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

/* Responsive Design */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
  }
  
  .hero-section .display-2 {
    font-size: 2.5rem;
  }
  
  .hero-section .lead {
    font-size: 1.1rem;
  }
  
  .btn-lg {
    padding: 0.75rem 2rem !important;
    font-size: 1rem !important;
  }
  
  section {
    padding: 3rem 0;
  }
  
  .ps-lg-5 {
    padding-left: 1rem !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 2rem !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: column !important;
  }
  
  .text-lg-end {
    text-align: center !important;
  }
  
  .mt-lg-0 {
    margin-top: 1rem !important;
  }
  
  .order-lg-1 {
    order: 1;
  }
  
  .order-lg-2 {
    order: 2;
  }
}

@media (max-width: 767.98px) {
  .display-2 {
    font-size: 2rem !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;
  }
  
  .text-md-end {
    text-align: center !important;
  }
  
  .text-md-start {
    text-align: center !important;
  }
  
  .mb-md-0 {
    margin-bottom: 1rem !important;
  }
  
  .flex-md-row {
    flex-direction: column !important;
  }
  
  .p-md-5 {
    padding: 2rem !important;
  }
  
  .project-card {
    height: 250px;
  }
}

@media (max-width: 575.98px) {
  .px-5 {
    padding-left: 1.5rem !important;
    padding-right: 1.5rem !important;
  }
  
  .col-6 {
    flex: 0 0 auto;
    width: 100%;
  }
}

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

/* Loading Animation */
.loading {
  opacity: 0;
  animation: fadeIn 0.5s ease forwards;
}

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

/* Hover Effects */
.hover-lift {
  transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}

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

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

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

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

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

/* 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-width: 0;
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none;
  }
}