/* Arctic Slate Architecture Studio - Custom Styles */

:root {
  --primary-color: #2C3E50;
  --secondary-color: #E8F4F8;
  --accent-color: #3498db;
  --dark-text: #1a252f;
  --light-text: #ffffff;
  --gray-text: #7f8c8d;
  --transition: all 0.3s ease;
}

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

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  line-height: 1.2;
  color: var(--primary-color);
}

.display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Navbar Styles */
.navbar {
  background-color: var(--primary-color) !important;
  box-shadow: 0 4px 20px rgba(44, 62, 80, 0.1);
  transition: var(--transition);
  z-index: 1000;
  backdrop-filter: blur(10px);
}

.navbar.scrolled {
  background-color: rgba(44, 62, 80, 0.98) !important;
  box-shadow: 0 8px 30px rgba(44, 62, 80, 0.2);
}

.navbar-brand {
  color: var(--light-text) !important;
  font-weight: 800;
  letter-spacing: 1px;
  transition: var(--transition);
  text-transform: uppercase;
}

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

.navbar-dark .navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.9) !important;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  transition: var(--transition);
  position: relative;
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.5px;
}

.navbar-dark .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link.active {
  color: var(--secondary-color) !important;
  background-color: rgba(232, 244, 248, 0.1) !important;
  border-radius: 6px;
}

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

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

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

.navbar-toggler:focus {
  box-shadow: 0 0 0 0.25rem rgba(232, 244, 248, 0.3);
}

/* Carousel/Hero Styles */
.carousel {
  height: 100vh;
  min-height: 600px;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100vh;
  min-height: 600px;
  background: linear-gradient(135deg, var(--primary-color) 0%, #34495e 100%);
  position: relative;
  overflow: hidden;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(44, 62, 80, 0.6);
  z-index: 1;
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.4;
}

.carousel-item .position-absolute {
  z-index: 2;
}

.carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}

.carousel-fade .carousel-item.active {
  opacity: 1;
}

.carousel .display-2,
.carousel .display-3 {
  color: var(--light-text) !important;
  text-shadow: 2px 4px 20px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1s ease-out;
}

.carousel .lead {
  color: var(--secondary-color) !important;
  text-shadow: 1px 2px 10px rgba(0, 0, 0, 0.5);
  font-weight: 400;
  animation: fadeInUp 1.2s ease-out;
  max-width: 800px;
  margin: 0 auto;
}

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

/* Button Styles */
.btn {
  font-weight: 600;
  padding: 0.75rem 2rem;
  border-radius: 8px;
  transition: var(--transition);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border: 2px solid transparent;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: 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-primary {
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  color: var(--light-text) !important;
}

.btn-primary:hover {
  background-color: #1a252f !important;
  border-color: #1a252f !important;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(44, 62, 80, 0.3);
}

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

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

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

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

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

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

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

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

/* Badge Styles */
.badge {
  background-color: var(--primary-color) !important;
  color: var(--light-text) !important;
  padding: 0.5rem 1rem;
  border-radius: 6px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Card Styles */
.card {
  border: none !important;
  border-radius: 12px;
  transition: var(--transition);
  overflow: hidden;
  background-color: var(--light-text);
}

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

.card-body {
  padding: 2rem;
}

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

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

.shadow {
  box-shadow: 0 10px 30px rgba(44, 62, 80, 0.1) !important;
}

.shadow-sm {
  box-shadow: 0 5px 15px rgba(44, 62, 80, 0.08) !important;
}

.shadow-lg {
  box-shadow: 0 20px 50px rgba(44, 62, 80, 0.15) !important;
}

/* Portfolio Styles */
.filter-btn {
  margin: 0.25rem;
  padding: 0.5rem 1.5rem;
  background-color: transparent !important;
  border: 2px solid var(--primary-color) !important;
  color: var(--primary-color) !important;
  font-weight: 600;
  transition: var(--transition);
}

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

.portfolio-item {
  transition: var(--transition);
  opacity: 1;
  transform: scale(1);
}

.portfolio-item.hide {
  opacity: 0;
  transform: scale(0.8);
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(44, 62, 80, 0.9) 0%, rgba(52, 73, 94, 0.9) 100%);
  opacity: 0;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: var(--light-text) !important;
  padding: 2rem;
  text-align: center;
}

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

.portfolio-overlay h3,
.portfolio-overlay h4,
.portfolio-overlay h5 {
  color: var(--light-text) !important;
  margin-bottom: 1rem;
}

.portfolio-overlay p {
  color: var(--secondary-color) !important;
}

/* Form Styles */
.form-control,
.form-select {
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  padding: 0.75rem 1rem;
  transition: var(--transition);
  background-color: var(--light-text);
  color: var(--dark-text);
}

.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(--light-text);
}

.form-label {
  font-weight: 600;
  color: var(--primary-color);
  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(--dark-text);
}

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

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

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

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

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

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

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

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

/* Bootstrap Icons - Custom Sizes */
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt-fill,
.bi-clock,
.bi-map,
.bi-geo-alt,
.bi-telephone,
.bi-envelope,
.bi-instagram,
.bi-linkedin,
.bi-facebook {
  font-size: 1.5rem;
  color: var(--primary-color);
}

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

/* Progress Bar */
.progress-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background-color: rgba(232, 244, 248, 0.3);
  z-index: 9999;
}

.progress-bar {
  height: 4px;
  background: linear-gradient(90deg, var(--primary-color) 0%, var(--accent-color) 100%);
  width: 0%;
  transition: width 0.1s ease;
}

.progress {
  height: 8px;
  border-radius: 10px;
  background-color: rgba(44, 62, 80, 0.1);
}

.progress .progress-bar {
  background-color: var(--primary-color) !important;
  border-radius: 10px;
}

/* Blockquote */
.blockquote {
  border-left: 4px solid var(--primary-color);
  padding-left: 2rem;
  font-size: 1.25rem;
  color: var(--dark-text);
}

.blockquote-footer {
  color: var(--gray-text);
  margin-top: 1rem;
}

/* List Styles */
.list-unstyled li {
  padding: 0.5rem 0;
  transition: var(--transition);
}

.list-unstyled li:hover {
  padding-left: 10px;
}

.list-unstyled a {
  color: var(--dark-text);
  transition: var(--transition);
}

.list-unstyled a:hover {
  color: var(--primary-color);
  text-decoration: none;
}

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

footer h3,
footer h4,
footer h5,
footer h6 {
  color: var(--light-text) !important;
}

footer a {
  color: rgba(255, 255, 255, 0.8) !important;
  text-decoration: none;
  transition: var(--transition);
}

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

footer .border-top {
  border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Utility Classes */
.text-decoration-none {
  text-decoration: none !important;
}

.rounded-3 {
  border-radius: 12px !important;
}

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

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

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

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

/* Spacing Utilities */
.py-5 {
  padding-top: 3rem !important;
  padding-bottom: 3rem !important;
}

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

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

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

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

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

/* 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);
  }
}

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

.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

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

/* Responsive Images */
.img-fluid {
  transition: var(--transition);
}

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

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

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

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

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

/* Display Utilities */
.d-none {
  display: none !important;
}

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

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

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

/* Mobile Responsive Styles */
@media (max-width: 991.98px) {
  .navbar-collapse {
    background-color: rgba(44, 62, 80, 0.98);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
  }
  
  .navbar-nav {
    gap: 0.5rem !important;
  }
  
  .carousel-item {
    height: 70vh;
    min-height: 500px;
  }
  
  .display-1 {
    font-size: 2.5rem !important;
  }
  
  .display-2 {
    font-size: 2rem !important;
  }
  
  .display-3 {
    font-size: 1.75rem !important;
  }
  
  .display-4 {
    font-size: 1.5rem !important;
  }
  
  .py-5 {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
  
  .btn-lg {
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
  }
  
  .card-body {
    padding: 1.5rem;
  }
  
  .sticky-top,
  .position-sticky {
    position: relative !important;
    top: 0 !important;
  }
}

@media (max-width: 767.98px) {
  .container-fluid {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .carousel-item {
    height: 60vh;
    min-height: 400px;
  }
  
  .display-1 {
    font-size: 2rem !important;
  }
  
  .display-2 {
    font-size: 1.75rem !important;
  }
  
  .lead {
    font-size: 1rem !important;
  }
  
  .btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
  
  .card-img-top {
    height: 200px;
  }
  
  footer {
    text-align: center !important;
  }
  
  .text-md-start,
  .text-md-end {
    text-align: center !important;
  }
}

@media (max-width: 575.98px) {
  .navbar-brand {
    font-size: 1.25rem !important;
  }
  
  .carousel-item {
    height: 50vh;
    min-height: 350px;
  }
  
  .display-1,
  .display-2 {
    font-size: 1.5rem !important;
  }
  
  .fs-1 {
    font-size: 1.75rem !important;
  }
  
  .fs-2 {
    font-size: 1.5rem !important;
  }
  
  .fs-3 {
    font-size: 1.25rem !important;
  }
  
  .px-4 {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
  
  .py-5 {
    padding-top: 1.5rem !important;
    padding-bottom: 1.5rem !important;
  }
}

/* Large Desktop */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
  
  .d-xl-block {
    display: block !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  .carousel,
  footer {
    display: none !important;
  }
  
  body {
    font-size: 12pt;
    color: #000;
  }
}