* {
  padding: 0;
  margin: 0;
}

:root {
  --primary-color: #9c8273;
}
img.img-fluid.mb-2.footer-logo.mx-auto {
    max-width: 250px;
    filter: invert(1) brightness(2);
}

a.navbar-brand img {
    max-height: 65px;
}

p.mb-2.mb-md-0.footer-copyright {
    text-align: center;
    width: 100%;
    font-size: 14px;
}

body {
  font-family: "Montserrat", sans-serif !important;
}

.text-brown {
  color: #9c8273;
}

.row.logo-center-pdf img {
    max-width: 250px;
    text-align: center;
    margin: 0 auto;
    padding-bottom: 2rem;
}

label.form-check-label a {
    color: #9c8273;
}

.btn-brown {
  padding: 0.5rem 2rem !important;
  background-color: var(--primary-color) !important;
  border-radius: 0 !important;
  color: white !important;
  transition: scale 0.5s !important;
}

.btn-brown:hover {
  scale: 1.05;
  transition: scale 0.5s;
}

.btn-brown-outline {
  padding: 0.5rem 2rem !important;
  border-radius: 0 !important;
  color: var(--primary-color) !important;
  border-color: var(--primary-color) !important;
  transition: scale 0.5s;
}

.btn-brown-outline:hover {
  padding: 0.7rem 1rem;
  scale: 1.05;
  border-radius: 0;
  color: var(--primary-color);
  border-color: var(--primary-color);
  transition: all 0.5s;
}

.container {
  width: 100%;
  max-width: 1400px !important;
  margin: 0 auto;
}

/* NAV BAR */
.navbar-nav {
  display: flex;
  gap: 1.25rem;
}
a.nav-link {
    font-size: 15px;
}

.navbar-nav .nav-link {
  position: relative;
  display: inline-block;
  color: black;
  text-decoration: none;
  padding-bottom: 4px;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: var(--primary-color);
}

.navbar-nav .nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after {
  transform: scaleX(1);
}

.navbar-toggler {
  background-color: var(--primary-color);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}

/* Hero Section*/
.hero-section {
  background-image: url("../images/building.png");
  background-repeat: no-repeat;
  background-position: right;
  min-height: 517px;
  margin-left: auto;
}

.hero-section h1 {
  color: black;
  font-weight: 400;
  max-width: 100%;
  font-size: 3.5rem;
}

/* Project Section */

.smaller-img {
  width: auto;
  height: 267px;
  object-fit: cover;
}

.bigger-img {
  width: auto;
  height: 550px;
  object-fit: cover;
}

.gallery-btn {
  bottom: 20px;
  right: 20px;
  transition: transform 0.5s ease;
}

.gallery-btn:hover {
  scale: 1.05;
  transition: transform 0.5s ease;
}

.gallery-btn img {
  bottom: 20px;
  right: 20px;
  padding-right: 0.2rem;
}

/* Feature section*/

.features-section p {
  font-size: 1rem;
}

.features-section h5::after {
  content: "";
  display: block;
  width: 50px;
  min-height: 2px;
  background-color: var(--primary-color);
  margin-top: 8px;
  margin-bottom: 16px;
}

/* Slider */
/* Sekcia slidera */
.slider-section {
  padding: 2rem 0;
}

.carousel-item img {
  width: 100%;
  height: 579px;
  object-fit: cover;
}

.carousel-indicators {
  background-color: white;
  border-radius: 20px;
  width: 120px;
  margin: 0 auto;
  bottom: 20px;
  justify-content: center;
}

.carousel-indicators .active {
  background-color: var(--primary-color) !important;
  width: 20px !important;
  border-radius: 4px;
  transition: width 0.5s;
}

.carousel-indicators button {
  width: 8px !important;
  height: 8px !important;
  border-radius: 100%;
  background-color: #c9c6c6 !important;
  opacity: 1 !important;
}

/* Apartments section*/

.apartments-section h2 {
  font-size: 3rem;
}

.building-section {
  position: relative;
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.building-wrapper {
  position: relative;
}

.building-img {
  width: 100%;
  max-height: auto;
  object-fit: cover;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.hover-area {
  fill: rgba(0, 0, 0, 0.3);
  stroke: #ffffff;
  stroke-width: 2;
  cursor: pointer;
  transition: fill 0.3s ease;
  opacity: 0;
}

/* TOOLTIP */

.custom-floor-tooltip {
  position: absolute;
  background-color: white;
  padding: 50px 45px;

  z-index: 10;
  display: block;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.custom-floor-tooltip h5 {
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.custom-floor-tooltip p {
  border-top: 1px solid #b2937b;
  border-bottom: 1px solid #b2937b;
  padding: 0.5rem 0;
  margin: 0;
  font-weight: 600;
}

/* LOCATION */

.section-lokalita {
  background-image: url("../images/mapa.png");
  background-repeat: no-repeat;
  background-position: left center;
  background-size: contain;
  height: 569px;
}

.lokalita-whole {
  background-color: white;
  padding: 60px 20px;
}

.lokalita-heading {
  font-weight: 700;
  color: var(--primary-color);
  font-size: 3rem;
}

.lokalita-text {
  font-size: 1rem;
  color: #000000;
  line-height: 1.6;
}

/* VYSTAVBA */
.vystavba-heading {
  color: var(--primary-color);
  font-size: 3rem;
}

.vystavba-text {
  margin: 0 auto;
}

/* KONTAKT */

.text-contact {
  font-size: 3rem;
}

textarea.form-control::placeholder {
  color: #000000;
}

input.form-control::placeholder {
  color: #000000;
}

.btn-contact {
  padding: 0.5rem 3.5rem !important;
}

/* FOOTER */

.footer-section {
  overflow: hidden;
}

.img-gray {
  right: 0;
  bottom: 0;
}

.footer-section a {
  position: relative;
}

.footer-section a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background-color: var(--primary-color);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

/* Toto je kľúčové: len pri hoveri sa zobrazí */
.footer-section a:hover::after {
  transform: scaleX(1);
}


/* APARTMENTS PAGE */
/* APARTMENTS*/

.apartments-text h2 {
  font-size: 2.5rem !important;
}

.apartments-text p {
  font-size: 1rem !important;
}

.floorplan img {
  max-width: 100%;
  height: auto;
}

/* TABLE SECTION */
.table-section .container {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.table-header {
  border-bottom: 2px solid var(--primary-color);
  color: var(--primary-color);
  padding-bottom: 0.5rem;
}

.table-row {
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--primary-color);
}

.table-header div,
.table-row div {
  flex: 1;
}

.table-header,
.table-row {
  display: flex;
  flex-direction: row;
  gap: 7rem;
}

.table-row:hover {
  background-color: #f4f1f18f;
}

/* BADGE STYLE */
.badge-status {
  display: inline-block;
  padding: 0.4rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 500;
  white-space: nowrap;
}

.bg-warning {
  background-color: #f5cd6f !important;
  color: #6d3a00 !important;
}

.bg-success {
  background-color: #c0dd78 !important;
  color: #2c5000 !important;
}

.bg-danger {
  background-color: #ffc3c9 !important;
  color: #8c161f !important;
}

/* APARTMENT PAGE*/
/* Apartment*/
.spanApartment {
  font-size: 2.5rem;
}

.apartment-number {
  font-size: 3rem;
}

.rowbyt {
  padding-right: 5rem;
}

.border-bottom {
  border-color: var(--primary-color) !important;
  margin-top: 0.5rem;
}

.btn-apartment {
  background-color: white;
  border-style: solid;
  border-color: black;
  border-radius: 20px;
  font-size: 0.85rem !important;
}

/* GALERY APARTMENT*/

.splide__slide img {
  width: 100%;
  height: 579px;
  object-fit: cover;
}

.splide__slide {
  width: 100%;
}

.splide__track {
  padding: 0 2rem;
}

.splide__list {
  align-items: center;
}

.splide__pagination {
  display: flex !important;
  align-items: center;
  margin: 0 auto !important;
  background-color: white;
  width: fit-content;
  border-radius: 20px;
  padding: 7px 15px !important;
}

.splide__pagination__page {
  background: #c9c6c6;
  width: 10px;
  height: 10px;
  border-radius: 100%;
}

.splide__pagination__page.is-active {
  background: var(--primary-color) !important;
  width: 20px;
  border-radius: 20px !important;
  transform: scale(1.1) !important;
}



/* MATERIALS PAGE */
/* SPECIFICATIONS */
.materials-section h {
  font-size: 2rem;
}

.materials-section h4 {
  font-size: 2rem;
}

.materials-section h6 {
  font-size: 1.5rem;
}

/* Download */

.btn-download {
  border-radius: 20px !important;
}

/* FLOOR STATUS */

  .active-status .floor-title {
        font-size: 1.5rem !important;
    }

    .active-status .floor-info {
        font-size: 1rem !important;
    }

    .active-status .floor-description {
        font-size: 1rem !important;
    }

    .active-status hr.floor-divider {
    border-color: var(--primary-color) !important;
    }

    /* APARTMENT */

    .flat-info-label{
        font-size: 0.9rem !important;
    }

    .flat-info-value{
        font-size: 2rem !important;
    }

    /* Linky */
    a{
        text-decoration: none;
        color: black;
    }

    .lg-thumb-outer.lg-grab {
    display: flex; 
    flex-direction: row-reverse;
    border: none;
    gap: 1rem; 
  }

  .lg-thumb-item{
    border: none;
  }

  .lg-outer .lg-thumb-item.active {
    transform: scaleX(1.1);
    border: none;
    
  }

    .obytna-plocha{
    font-size:0.9rem;
    font-weight: 400;
    }

    .flat-info-table-label{
        font-size: 0.9rem;
    }

    .custom-vystavba-img {
  width: 442.47px;
  height: 364px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.lg-backdrop.in{
    opacity: 0.75;
}

.lg-outer .lg-thumb-outer.lg-thumb-align-middle{
    opacity: 0.75;
}
/* STICKY FOOTER */
html, body {
  height: 100%;
}
body {
  display: flex;
  flex-direction: column;
}
.content {
  flex: 1 0 auto;
}
.footer {
  flex-shrink: 0;
}

/* STAVEBNE SPECIFIKACIE */
.specifikacie-grid{
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

.specifikacie-grid li{
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.pdf-export .flat-header{
    margin-top: 0 !important;
}

.pdf-export .flat-image{
  width: 370px !important;
  height: auto !important;
}

.pdf-export .flat-info-value{
    font-size: 1rem !important;
}

.pdf-export .text-end{
    font-size: 1rem !important;
}

.pdf-export .flat-section{
    flex-direction: column !important;
    align-items: start !important;
    gap: 1 !important;
}

/* CONTACT PDF */
.contact-wrapper {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  padding: 1rem 0;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.contact-avatar{
    border-radius: 50%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.contact-wrapper .contact-info {
  list-style: none;
  padding-left: 0;
  margin-top: 1rem;
}

.contact-wrapper .contact-info li {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}
