/* Nordic Stone Architecture Studio - Custom Styles */

/* ===== CSS Variables ===== */
:root {
  --primary-color: #2E3440;
  --secondary-color: #88C0D0;
  --light-gray: #ECEFF4;
  --medium-gray: #D8DEE9;
  --dark-gray: #4C566A;
  --white: #FFFFFF;
  --accent-light: #A3BE8C;
  --accent-warm: #EBCB8B;
  --transition-base: all 0.3s ease;
  --shadow-sm: 0 2px 8px rgba(46, 52, 64, 0.1);
  --shadow-md: 0 4px 16px rgba(46, 52, 64, 0.15);
  --shadow-lg: 0 8px 32px rgba(46, 52, 64, 0.2);
}

/* ===== Global Resets & Base 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.7;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .display-1, .display-2, .display-3, .display-4, .display-5, .display-6 {
  font-weight: 700 !important;
  letter-spacing: -0.02em;
  color: var(--primary-color) !important;
}

/* ===== Navigation Bar ===== */
.navbar {
  background: linear-gradient(135deg, var(--primary-color) 0%, #3B4252 100%) !important;
  padding: 1rem 0 !important;
  box-shadow: var(--shadow-md);
  transition: var(--transition-base);
  z-index: 1050 !important;
}

.navbar.scrolled {
  padding: 0.5rem 0 !important;
  box-shadow: var(--shadow-lg);
}

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

.navbar-brand {
  color: var(--white) !important;
  font-size: 1.75rem !important;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: var(--transition-base);
}

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

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

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

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

.nav-link {
  color: var(--medium-gray) !important;
  font-weight: 500 !important;
  padding: 0.5rem 1.25rem !important;
  position: relative;
  transition: var(--transition-base);
  text-transform: uppercase;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

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

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

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

/* ===== Hero Section ===== */
.vh-100 {
  min-height: 100vh !important;
}

.carousel {
  height: 100% !important;
}

.carousel-inner {
  height: 100% !important;
}

.carousel-item {
  height: 100% !important;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--dark-gray) 100%);
  position: relative;
}

.carousel-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(46, 52, 64, 0.6);
  z-index: 1;
}

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

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

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

.position-absolute.start-50 {
  z-index: 10 !important;
}

.text-white {
  color: var(--white) !important;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.5);
}

.display-2 {
  font-size: clamp(2.5rem, 5vw, 4rem) !important;
  animation: fadeInUp 1s ease-out;
}

.lead {
  color: var(--light-gray) !important;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.5);
  animation: fadeInUp 1.2s ease-out;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Buttons ===== */
.btn {
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px !important;
  transition: var(--transition-base) !important;
  position: relative;
  overflow: hidden;
  border-width: 2px !important;
}

.btn::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  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: 1rem !important;
}

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

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

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

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

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

.btn-outline-dark:hover {
  color: var(--white) !important;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md) !important;
}

.btn-outline-dark.active,
.filter-btn.active {
  color: var(--white) !important;
  background-color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
}

/* ===== Cards ===== */
.card {
  border: none !important;
  border-radius: 8px !important;
  transition: var(--transition-base) !important;
  background-color: var(--white) !important;
  overflow: hidden;
}

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

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

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

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

/* Portfolio Cards */
.portfolio-card {
  position: relative;
  overflow: hidden;
  border-radius: 8px !important;
  cursor: pointer;
  height: 100%;
}

.portfolio-card img {
  transition: transform 0.6s ease !important;
}

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

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(46, 52, 64, 0.95) 0%, rgba(46, 52, 64, 0.4) 50%, rgba(46, 52, 64, 0) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2rem;
  color: var(--white) !important;
}

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

.portfolio-item {
  transition: var(--transition-base);
}

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

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

.container {
  max-width: 1200px !important;
}

.container-fluid {
  padding-left: 2rem !important;
  padding-right: 2rem !important;
}

/* ===== Images ===== */
.img-fluid {
  max-width: 100%;
  height: auto;
  display: block;
}

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

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

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

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

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

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

/* ===== Forms ===== */
.form-control,
.form-select {
  border: 2px solid var(--medium-gray) !important;
  border-radius: 4px !important;
  padding: 0.75rem 1rem !important;
  transition: var(--transition-base) !important;
  background-color: var(--white) !important;
  color: var(--primary-color) !important;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--secondary-color) !important;
  box-shadow: 0 0 0 0.25rem rgba(136, 192, 208, 0.25) !important;
  outline: none !important;
}

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

.form-check-input {
  border: 2px solid var(--medium-gray) !important;
  cursor: pointer;
}

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

.form-check-input:focus {
  box-shadow: 0 0 0 0.25rem rgba(136, 192, 208, 0.25) !important;
}

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

.invalid-feedback {
  color: #D8737F !important;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}

.form-control.is-invalid,
.form-select.is-invalid {
  border-color: #D8737F !important;
}

/* ===== Badges ===== */
.badge {
  padding: 0.5rem 1rem !important;
  font-weight: 600 !important;
  border-radius: 4px !important;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.75rem !important;
}

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

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

/* ===== Text Colors ===== */
.text-dark {
  color: var(--primary-color) !important;
}

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

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

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

.p-3 { padding: 1rem !important; }
.p-4 { padding: 1.5rem !important; }
.p-5 { padding: 3rem !important; }
.pb-4 { padding-bottom: 1.5rem !important; }
.ps-0 { padding-left: 0 !important; }
.ps-4 { padding-left: 1.5rem !important; }
.ps-lg-5 { padding-left: 3rem !important; }
.pe-lg-5 { padding-right: 3rem !important; }
.pt-3 { padding-top: 1rem !important; }
.pt-5 { padding-top: 3rem !important; }
.px-4 { padding-left: 1.5rem !important; padding-right: 1.5rem !important; }
.px-5 { padding-left: 3rem !important; padding-right: 3rem !important; }

/* ===== Gap Utilities ===== */
.gap-3 {
  gap: 1rem !important;
}

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

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

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

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

.list-unstyled a {
  color: var(--dark-gray) !important;
  text-decoration: none !important;
  transition: var(--transition-base);
}

.list-unstyled a:hover {
  color: var(--secondary-color) !important;
  padding-left: 0.5rem;
}

/* ===== Links ===== */
a {
  color: var(--secondary-color) !important;
  text-decoration: none !important;
  transition: var(--transition-base);
}

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

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

/* ===== Icons ===== */
.bi {
  vertical-align: middle;
  line-height: 1;
}

.bi-geo-alt-fill,
.bi-telephone-fill,
.bi-envelope-fill,
.bi-geo-alt,
.bi-telephone,
.bi-envelope {
  color: var(--secondary-color) !important;
  font-size: 1.25rem;
}

.bi-linkedin,
.bi-instagram,
.bi-facebook {
  color: var(--primary-color) !important;
  font-size: 1.5rem;
  transition: var(--transition-base);
}

.bi-linkedin:hover,
.bi-instagram:hover,
.bi-facebook:hover {
  color: var(--secondary-color) !important;
  transform: translateY(-3px);
}

/* ===== Tables ===== */
.table-responsive {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white) !important;
}

.table th,
.table td {
  padding: 1rem !important;
  border-bottom: 1px solid var(--medium-gray) !important;
  color: var(--primary-color) !important;
}

.table th {
  font-weight: 700 !important;
  background-color: var(--light-gray) !important;
}

/* ===== Alerts ===== */
.alert {
  padding: 1rem 1.5rem !important;
  border-radius: 4px !important;
  border: none !important;
  background-color: rgba(136, 192, 208, 0.15) !important;
  color: var(--primary-color) !important;
  border-left: 4px solid var(--secondary-color) !important;
}

/* ===== Privacy Content ===== */
.privacy-content {
  color: var(--primary-color) !important;
  line-height: 1.8;
}

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

.privacy-content p {
  margin-bottom: 1rem;
}

/* ===== Ratio (Video Embeds) ===== */
.ratio {
  position: relative;
  width: 100%;
}

.ratio::before {
  display: block;
  padding-top: var(--bs-aspect-ratio);
  content: "";
}

.ratio > * {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.ratio-21x9 {
  --bs-aspect-ratio: calc(9 / 21 * 100%);
}

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

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

.d-block {
  display: block !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;
}

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

.justify-content-end {
  justify-content: flex-end !important;
}

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

/* ===== Position Utilities ===== */
.position-relative {
  position: relative !important;
}

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

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

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

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

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

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

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

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

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

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

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

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

/* ===== Overflow ===== */
.overflow-hidden {
  overflow: hidden !important;
}

/* ===== Text Alignment ===== */
.text-center {
  text-align: center !important;
}

.text-lg-start {
  text-align: start !important;
}

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

.text-md-start {
  text-align: start !important;
}

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

/* ===== Typography ===== */
.h1, .h2, .h3, .h4, .h5, .h6 {
  margin-bottom: 0.5rem;
  font-weight: 700 !important;
  line-height: 1.2;
  color: var(--primary-color) !important;
}

.h3 { font-size: 1.75rem !important; }
.h4 { font-size: 1.5rem !important; }
.h5 { font-size: 1.25rem !important; }
.h6 { font-size: 1rem !important; }

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

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

.small {
  font-size: 0.875rem !important;
}

/* ===== Grid System ===== */
.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.75rem;
  margin-left: -0.75rem;
}

[class*="col-"] {
  padding-right: 0.75rem;
  padding-left: 0.75rem;
}

.col-12 {
  flex: 0 0 auto;
  width: 100%;
}

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

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

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

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

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

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

/* ===== Scroll Animations ===== */
.animate-on-scroll {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

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

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

footer h5,
footer h6 {
  color: var(--white) !important;
  margin-bottom: 1rem !important;
}

footer a {
  color: var(--medium-gray) !important;
}

footer a:hover {
  color: var(--secondary-color) !important;
}

footer .nav {
  display: flex;
  flex-direction: column;
}

/* ===== Responsive Design ===== */

/* Mobile First - Base styles above are for mobile */

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) {
  .container {
    max-width: 540px;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
  
  .col-md-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .text-md-start {
    text-align: start !important;
  }
  
  .text-md-end {
    text-align: end !important;
  }
  
  .mb-md-0 {
    margin-bottom: 0 !important;
  }
  
  .navbar-expand-lg .navbar-nav {
    flex-direction: row;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
  }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
  
  .col-lg-2 {
    flex: 0 0 auto;
    width: 16.666667%;
  }
  
  .col-lg-3 {
    flex: 0 0 auto;
    width: 25%;
  }
  
  .col-lg-4 {
    flex: 0 0 auto;
    width: 33.333333%;
  }
  
  .col-lg-5 {
    flex: 0 0 auto;
    width: 41.666667%;
  }
  
  .col-lg-6 {
    flex: 0 0 auto;
    width: 50%;
  }
  
  .col-lg-7 {
    flex: 0 0 auto;
    width: 58.333333%;
  }
  
  .col-lg-8 {
    flex: 0 0 auto;
    width: 66.666667%;
  }
  
  .col-lg-9 {
    flex: 0 0 auto;
    width: 75%;
  }
  
  .col-lg-10 {
    flex: 0 0 auto;
    width: 83.333333%;
  }
  
  .col-lg-12 {
    flex: 0 0 auto;
    width: 100%;
  }
  
  .offset-lg-2 {
    margin-left: 16.666667%;
  }
  
  .order-lg-1 {
    order: 1 !important;
  }
  
  .order-lg-2 {
    order: 2 !important;
  }
  
  .text-lg-start {
    text-align: start !important;
  }
  
  .text-lg-end {
    text-align: end !important;
  }
  
  .mb-lg-0 {
    margin-bottom: 0 !important;
  }
  
  .mt-lg-0 {
    margin-top: 0 !important;
  }
  
  .ps-lg-5 {
    padding-left: 3rem !important;
  }
  
  .pe-lg-5 {
    padding-right: 3rem !important;
  }
  
  .flex-lg-row-reverse {
    flex-direction: row-reverse !important;
  }
  
  .navbar-expand-lg .navbar-toggler {
    display: none;
  }
  
  .navbar-expand-lg .navbar-collapse {
    display: flex !important;
    flex-basis: auto;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

/* XXL devices (larger desktops, 1400px and up) */
@media (min-width: 1400px) {
  .container {
    max-width: 1320px;
  }
}

/* Mobile Menu Animation */
@media (max-width: 991px) {
  .navbar-collapse {
    background-color: var(--primary-color);
    padding: 1rem;
    margin-top: 1rem;
    border-radius: 8px;
    box-shadow: var(--shadow-lg);
  }
  
  .navbar-nav {
    gap: 0.5rem;
  }
  
  .nav-link {
    padding: 0.75rem 1rem !important;
    border-radius: 4px;
  }
  
  .nav-link:hover {
    background-color: rgba(136, 192, 208, 0.1);
  }
  
  .order-1 {
    order: 1 !important;
  }
  
  .order-2 {
    order: 2 !important;
  }
}

/* Print Styles */
@media print {
  .navbar,
  .btn,
  footer {
    display: none !important;
  }
  
  body {
    background-color: white !important;
  }
  
  .container {
    max-width: 100% !important;
  }
}

/* Accessibility Improvements */
.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 for Keyboard Navigation */
*:focus-visible {
  outline: 3px solid var(--secondary-color) !important;
  outline-offset: 2px !important;
}

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

/* Loading State */
.loading {
  pointer-events: none;
  opacity: 0.6;
}

/* Preloader */
.preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  transition: opacity 0.5s ease-out;
}

.preloader.fade-out {
  opacity: 0;
  pointer-events: none;
}

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

::-webkit-scrollbar-track {
  background: var(--light-gray);
}

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

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

/* Selection Color */
::selection {
  background-color: var(--secondary-color);
  color: var(--white);
}

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