/* Ensure inverted color scheme for dark sections */
section.bg-dark.text-accent,
section.bg-dark.text-accent * {
  color: var(--color-accent) !important;
}
/* Floating call button styles */
.floating-call-btn {
  position: fixed;
  left: 32px;
  bottom: 32px;
  z-index: 2100;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #c1b1a4;
  border-radius: 50%;
  box-shadow: 0 4px 24px #29291f33;
  transition: box-shadow 0.2s, background 0.2s;
  cursor: pointer;
  opacity: 0.96;
  border: none;
  outline: none;
}
.floating-call-btn:hover {
  background: #b09e8b;
  box-shadow: 0 8px 32px #29291f44;
  opacity: 1;
}
.floating-call-btn svg {
  display: block;
}
/* Gallery popup image counter */
.gallery-image-popup-counter {
  position: absolute;
  left: 50%;
  bottom: 32px;
  transform: translateX(-50%);
  background: rgba(41,41,31,0.7);
  color: #f3ede4;
  font-size: 1.05rem;
  padding: 0.25em 0.9em;
  border-radius: 0.6em;
  z-index: 12;
  opacity: 0.92;
  pointer-events: none;
  box-shadow: 0 2px 8px #29291f33;
  letter-spacing: 0.04em;
}
/* Gallery popup navigation buttons */
/* Minimal gallery popup nav buttons */
.gallery-image-popup-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(41,41,31,0.55);
  border: none;
  color: #f3ede4;
  font-size: 1.7rem;
  z-index: 11;
  cursor: pointer;
  padding: 0.15rem 0.6rem;
  border-radius: 0.4rem;
  opacity: 0.8;
  transition: background 0.2s, opacity 0.2s;
  box-shadow: 0 2px 8px #29291f33;
}
.gallery-image-popup-nav:hover {
  background: rgba(41,41,31,0.85);
  opacity: 1;
}
.gallery-image-popup-prev {
  left: 12px;
}
.gallery-image-popup-next {
  right: 12px;
}
/* Gallery Image Popup Modal styles */
.gallery-image-popup {
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(41,41,31,0.92);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s;
}
.gallery-image-popup.show {
  opacity: 1 !important;
  pointer-events: auto !important;
}
.gallery-image-popup-close {
  position: absolute;
  top: 32px;
  right: 48px;
  background: none;
  border: none;
  font-size: 2.5rem;
  color: #f3ede4;
  z-index: 10;
  cursor: pointer;
  line-height: 1;
}
.gallery-image-popup-img {
  max-width: 90vw;
  max-height: 90vh;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 2rem #0008;
  object-fit: contain;
  background: #fff;
}
/* Slider logo overlay styles and animation */
.logo-overlay-slider {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 50;
  display: flex;
  justify-content: center;
  align-items: center;
}
.logo-overlay-img {
  position: relative;
  z-index: 3;
  max-width: 300px;
  width: auto;
  height: auto;
  display: block;
  margin: 0 auto;
  opacity: 0.85;
  filter: drop-shadow(0 2px 16px #29291f44);
  transition: opacity 0.5s cubic-bezier(.4,0,.2,1),
              transform 0.7s cubic-bezier(.4,0,.2,1),
              filter 0.5s cubic-bezier(.4,0,.2,1);
  transform: scale(1);
}
@media (max-width: 991px) {
  .logo-overlay-img {
    max-width: 240px;
  }
}
.carousel.slider-animating .logo-overlay-img {
  opacity: 0.5 !important;
  transform: scale(1.01) !important;
  filter: drop-shadow(0 8px 32px #29291f66) blur(1px) brightness(1.1);
}
section#slider {
  position: relative;
  overflow: hidden;
}
.carousel {
  overflow: hidden;
}
/* @import url("https://cdn.jsdelivr.net/npm/swiper@11/swiper-bundle.min.css"); */

@font-face {
  font-family: "KyivType Sans";
  src: url("../fonts/KyivTypeSans-VarGX.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}


/* Gallery Swiper pagination styled like advantages-swiper */
.gallery-swiper .swiper-pagination-bullet {
  background: var(--color-accent) !important;
  opacity: 0.5;
  transition: background 0.2s, opacity 0.2s;
}
.gallery-swiper .swiper-pagination-bullet-active {
  background: var(--color-light) !important;
  opacity: 1;
}
.gallery-swiper .swiper-pagination {
  margin-top: 32px;
  position: static;
}

.navbar.bg-dark,
.navbar-dark.bg-dark,
.navbar.bg-dark.bg-opacity-75 {
  background-color: rgba(41, 41, 31, 0.7) !important;
}

/* Make building plan images smaller and centered */
#plans .tab-pane img {
  max-width: 1000px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

.bg-light .nav-tabs .nav-link {
  color: var(--color-dark) !important;
}

/* Instagram logo SVG filter to match accent color */
.instagram-logo-svg {
  filter: invert(77%) sepia(10%) saturate(386%) hue-rotate(330deg)
    brightness(92%) contrast(88%);
}

.advantages-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  min-height: 140px;
}
.advantages-swiper .card {
  margin-bottom: 0;
  min-height: 120px;
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.advantages-swiper .icon-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 36px;
}
.advantages-swiper .swiper-pagination-bullet {
  background: var(--color-accent) !important;
  opacity: 0.5;
}
.advantages-swiper .swiper-pagination-bullet-active {
  background: var(--color-dark) !important;
  opacity: 1;
}
.advantages-swiper .swiper-slide {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  height: auto;
  min-height: 180px;
}
.advantages-swiper .card {
  margin-bottom: 0;
  min-height: 120px;
  max-width: 350px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
.advantages-swiper .icon-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  height: 36px;
}
/* Swiper pagination bullets styled to match site palette */
.advantages-swiper .swiper-pagination-bullet {
  background: var(--color-accent) !important;
  opacity: 0.5;
}
.advantages-swiper .swiper-pagination-bullet-active {
  background: var(--color-dark) !important;
  opacity: 1;
}
/* Fix Swiper pagination overlap in advantages section */

.advantages-swiper .swiper-pagination {
  position: static;
}
.advantages-swiper .card-body {
  margin-top: 16px;
}
.nav-tabs .nav-link {
  color: var(--color-dark) !important;
  background: transparent;
  border: none;
  border-bottom: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
}
.nav-tabs .nav-link:hover,
.nav-tabs .nav-link:focus {
  color: var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
}
.nav-tabs .nav-link.active {
  color: var(--color-dark);
  background: var(--color-light);
  border: 1px solid var(--color-accent);
  border-bottom: none;
  border-radius: 0.5rem 0.5rem 0 0;
  font-weight: 600;
}
:root {
  --color-dark: #29291f;
  --color-accent: #c1b1a4;
  --color-light: #f3ede4;
}

.carousel-item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
.navbar .nav-link {
  font-weight: 500;
}
.object-fit-cover {
  object-fit: cover;
}
.navbar-dark {
  background-color: rgba(41, 41, 31, 0.7) !important;
}
.navbar-dark .navbar-nav .nav-link {
  color: var(--color-light);
  opacity: 0.85;
}
.navbar-dark .navbar-nav .nav-link:hover {
  color: var(--color-accent);
  opacity: 1;
}
.navbar {
  backdrop-filter: blur(6px);
  transition: transform 0.3s ease-in-out;
}
.carousel-item.active .logo-overlay {
  opacity: 1;
}
#slider .carousel-item > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

body {
  background-color: var(--color-dark) !important;
  font-family: "merriweather", serif;
  font-weight: 400;
  font-style: normal;
}
.bg-light {
  background-color: var(--color-light) !important;
}
.navbar,
header,
h1,
h2,
h3,
h4,
h5,
h6,
.fw-bold,
.navbar-brand,
.card-title,
.section-title {
  font-family: "KyivType Sans", Arial, sans-serif !important;
  font-weight: 600;
  color: var(--color-dark) !important;
}

footer,
footer * {
  font-family: "KyivType Sans", Arial, sans-serif !important;
  font-weight: 600;
  color: var(--color-accent) !important;
}
/* Accent text color for dark text on light backgrounds */
.text-on-light,
.bg-light .text-accent,
.bg-light .nav-link {
  color: var(--color-accent) !important;
}
.bg-dark {
  background-color: var(--color-dark) !important;
}
.btn-primary {
  background-color: var(--color-accent) !important;
  border-color: var(--color-accent) !important;
  color: var(--color-dark) !important;
}
.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-dark) !important;
  color: var(--color-light) !important;
  border-color: var(--color-dark) !important;
}
.text-primary {
  color: var(--color-accent) !important;
}
.text-dark {
  color: var(--color-dark) !important;
}
.text-light {
  color: var(--color-light) !important;
}
