/* ================================
   Kohinoor Latin – Font Family
   ================================ */

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-Light-BF63c76513209af.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-LightItalic-BF63c7651347850.otf') format('opentype');
    font-weight: 300;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-Book-BF63c76513e60f1.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-BookItalic-BF63c76513bc679.otf') format('opentype');
    font-weight: 400;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-Medium-BF63c76513dba4c.otf') format('opentype');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-MediumItalic-BF63c76513cfcb2.otf') format('opentype');
    font-weight: 500;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-Demi-BF63c765144638d.otf') format('opentype');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-Bold-BF63c76513f09da.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-BoldItalic-BF63c7651386cfd.otf') format('opentype');
    font-weight: 700;
    font-style: italic;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-Black-BF63c76510c679a.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Kohinoor Latin';
    src: url('/fonts/kohinoor-latin/KohinoorLatin-BlackItalic-BF63c76510c5583.otf') format('opentype');
    font-weight: 900;
    font-style: italic;
    font-display: swap;
}


/* hero section */
.enter-overlay {
    position: absolute;
    inset: 0;
    z-index: 10;
}

.fullscreen-btn {
    z-index: 11;
}

.fullscreen-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url("/assets/img/Naslovna.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.fullscreen-btn {
    position: absolute;
    bottom: 120px;
    left: 50%;
    transform: translateX(-50%);
    width: 180px;
    height: 100px;
    background-color: #7f854e;
    border: none;
    border-radius: 15px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    text-decoration: none;
    color: black;
}

.fullscreen-btn img {
    max-width: 90%;
    height: auto;
}

.fullscreen-btn:hover {
    background-color: #525638;
}

/* navigation section */

.nav-header {
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.05rem;
    color: #fff;
}


.bg-graphite {
    background-color: #262626;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .nav-section {
        column-gap: 1rem;
        row-gap: .75rem;
    }

    .nav-section .btn {
        width: auto;
    }

    .nav-section>.col-auto {
        padding-inline: .5rem;
    }
}

@media (max-width: 767.98px) {

    .nav-section>.col-auto {
        flex: 0 0 100%;
        max-width: 100%;
        padding-inline: 1rem;
    }

    .nav-section .btn {
        width: 100%;
        padding-block: .9rem;
    }

    .nav-section .btn h4 {
        font-size: 1.1rem;
    }

    .btn-cta span {
        font-size: 1.1rem !important;
    }

    .about-us-page img {
        max-height: 220px !important;
    }
}

.nav-section h4 {
    font-weight: 200 !important;
}

.btn-cta span {
    font-size: 1.5rem;
    font-weight: 200;
    line-height: 1.2;
}

.kohinoor-font {
    font-family: 'Kohinoor Latin', sans-serif;
}


.shantell {
    /* font-family: "Anek Latin", sans-serif; */
    font-family: 'Kohinoor Latin', sans-serif;
    /* font-family: 'DIN Next Rounded', sans-serif; */
    font-optical-sizing: auto;
    font-weight: 200;
    /* white-space: nowrap; */
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: 0.1rem;
}

.apartments-details-btn a,
.apartments-details-btn button {
    font-size: 16px !important;
}

.din-next-font {
    font-family: 'DIN Next Rounded', sans-serif !important;
}

.navbar-elements h4 {
    letter-spacing: 1px !important;
}

.homepage-navbar {
    font-family: 'DIN Next Rounded', sans-serif !important;
}


/* hover 1 */
.btn-pop-hover {
    color: #9F876A;
    transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

@media (hover: hover) and (pointer: fine) {
    .btn-pop-hover:hover {
        transform: scale(1.06);
        background-color: #574c3e;
        color: #fff;
    }
}

.btn-pop-hover:active {
    transform: scale(0.98);
    background-color: #574c3e;
    color: #fff;
}

.btn-pop-hover {
    -webkit-tap-highlight-color: transparent;
}

.tehn-desc .shantell {
    line-height: 1.2 !important;
}

.image-swap {
    position: relative;
}

.image-swap .hover-img {
    display: none;
}

.image-swap:hover .default-img {
    display: none;
}

.image-swap:hover .hover-img {
    display: inline;
}


/* catalog section */
.img-fit {
    max-height: calc(100vh - 300px);
    width: auto;
    object-fit: contain;
}

.img-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.img-container .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    flex-direction: column;


}


.img-container:hover .overlay {
    opacity: 1;
}


.overlay-red {
    background-color: rgb(218 68 44 / 30%);
}

.overlay-green {
    background-color: rgba(0, 128, 0, 0.5);
}

.custom-table {
    --bs-table-bg: #262626;
    --bs-table-color: #d2b48c;
    font-size: 1.5rem;
}

.custom-table thead th {
    border-bottom: 1px solid #d2b48c;
}

.custom-table tbody tr {
    border-top: 1px solid #d2b48c;
}

.custom-table td,
.custom-table th {
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}

.border-red {
    border-color: #da442c !important;
}

/* header */
.page-header-box {
    max-width: 1024px;
}


.page-header-title {
    --title-min: 1.125rem;
    --title-fluid: 3.2vw;
    --title-max: 2.5rem;

    font-size: clamp(var(--title-min), var(--title-fluid), var(--title-max));
    line-height: 1.12;
    text-wrap: balance;
    overflow-wrap: anywhere;
}


@media (min-width: 1400px) {
    .page-header-title {
        --title-max: 2.75rem;
    }

    .about-us-page img {
        width: 1024px !important;
    }
}

@media (max-width: 450px) {
    .page-header-title {
        --title-min: 0.9rem;
    }
}

.header-icon {
    max-width: 60px;
}

@media (max-width: 768px) {
    .header-icon {
        max-width: 45px;
    }
}

@media (max-width: 480px) {
    .header-icon {
        max-width: 35px;
    }

    .nav-header {
        font-size: 18px;
    }

}


@media (max-width: 767.98px) {
    .about-copy {
        font-size: 1rem;
        line-height: 1.6;
        text-align: center;
        text-justify: inter-word;
    }


}

@media (max-width: 767.98px) {
    .location-list {
        font-size: 1.05rem;
        line-height: 1.45;
        text-align: center;
        text-justify: inter-word;
    }

    .location-list li+li {
        border-top: 1px solid rgba(210, 180, 140, .25);
    }
}

@media (max-width: 767.98px) {
    .location-text {
        color: #fff;
        text-align: center !important;
    }
}


/* catalog */

.plan-block {
    --btn-h: 58px;
    --btn-gap: .5rem;
    --btn-inset: 8px;
    position: relative;
    padding-bottom: calc(var(--btn-h) + var(--btn-gap));
}

.plan-wrap {
    position: relative;
    overflow: hidden;
}

.plan-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hotspot {
    position: absolute;
    top: 0;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-decoration: none;
    transition: background-color .2s ease;
    z-index: 3;
}

.hotspot:hover {
    background-color: rgba(255, 48, 37, 0.35);
}

.hotspot .label {
    display: none;
    color: #fff;
    font-weight: 700;
    text-shadow: 0 1px 2px rgba(0, 0, 0, .5);
}

.hotspot:hover .label {
    display: block;
}

.hotspot::before {
    display: none !important;
}

.btn-row {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: var(--btn-h);
    margin-top: var(--btn-gap);
    z-index: 4;
}

.btn-slot {
    position: absolute;
    top: 0;
    bottom: 0;
}

.plan-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    margin: 0 var(--btn-inset);
    padding: .4rem .5rem;
    line-height: 1.1;
    white-space: nowrap;
}

.sep {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 2px;
    background: rgba(255, 255, 255, 0.85);
    pointer-events: none;
    z-index: 2;
}

@media (max-width: 767.98px) {

    .hotspot:hover .label {
        display: none;
    }

    .plan-block {
        padding-bottom: 0;
    }

    .btn-row {
        position: static;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: .5rem;
        margin-top: .5rem;
        height: auto;
    }

    @media (max-width: 480px) {
        .btn-row {
            grid-template-columns: repeat(2, 1fr);
        }
    }

    .btn-slot {
        position: static !important;
        left: auto !important;
        width: auto !important;
        bottom: auto !important;
    }

    .plan-btn {
        height: auto;
        margin: 0;
        padding: .55rem .6rem;
        line-height: 1.15;
        white-space: normal;
        font-size: .95rem;
    }

    .sep {
        display: none;
    }
}

/* tehnical description */
.tech-text {
    font-size: 1rem;
    line-height: 1.5;
}

@media (min-width: 992px) {
    .tech-text {
        font-size: 1.125rem;
    }
}

.text-justify {
    text-align: justify;
    text-justify: inter-word;
}

/* sales page */
@media (max-width: 991.98px) {
    .unit-card {
        max-width: 560px;
        margin-inline: auto;
    }

    .unit-card-body {
        padding: 1.25rem 1rem;
    }

    .unit-label {
        color: #b8a07a;
        letter-spacing: .02em;
    }

    .unit-value {
        color: #fff;
    }

    .unit-row {
        align-items: start;
        padding: .55rem .5rem;
    }

    .unit-row+.unit-row {
        border-top: 1px solid rgba(210, 180, 140, .35);
    }

    .unit-value {
        border-left: 1px solid rgba(210, 180, 140, .35);
        padding-left: .75rem;
    }

    .unit-card-body {
        padding: 1.5rem 0rem;
    }

    .unit-label {
        font-size: 0.9rem;
        line-height: 1.5rem;
    }

    .unit-value {
        font-size: 0.9rem;
        line-height: 1.5rem;
    }

    #unitsCarousel .carousel-indicators [data-bs-target] {
        width: .55rem;
        height: .55rem;
        border-radius: 50%;
        background-color: #b8a07a;
        opacity: .4;
    }

    #unitsCarousel .carousel-indicators .active {
        opacity: 1;
    }

    #unitsCarousel .carousel-indicators {
        z-index: 1;
    }
}

/* contact */
.contact-icon {
    max-width: 250px;
}

@media (max-width: 767.98px) {

    .contact-icon {
        max-width: 160px;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {

    .contact-icon {
        max-width: 200px;
    }
}

/* contact floating button */

.contact-fab {
    left: 4rem;
    bottom: 1rem;
    width: 64px;
    height: 64px;
    transition: transform .15s ease, box-shadow .15s ease, opacity .15s ease;
    opacity: .5;
}

.contact-fab img {
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}

@media (hover:hover) {
    .contact-fab:hover {
        transform: scale(1.04);
        box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .40) !important;
        opacity: 1;
    }
}

@media (min-width: 768px) and (max-width: 1199.98px) {
    .contact-fab {
        left: 1.25rem;
        bottom: 1.25rem;
        width: 58px;
        height: 58px;
    }
}

@media (max-width: 767.98px) {
    .contact-fab {
        left: auto !important;
        right: 0.9rem !important;
        bottom: 0.9rem !important;
        width: 52px;
        height: 52px;
    }
}

@media print {
    .contact-fab {
        display: none !important;
    }
}

/* apartments */

.img-stage img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.specs-text {
    font-size: 1rem;
    line-height: 1.35;
}

.total-text {
    font-size: 1.25rem;
}

@media (min-width: 992px) {
    .img-stage-500 {
        height: 500px;
    }

    .right-stage-600 {
        height: 600px;
    }


    .right-stage-600 img {
        height: 100%;
    }

    .specs-text {
        font-size: 1.5625rem;
        line-height: 1.0;
    }


    .total-text {
        font-size: 1.875rem;
    }


    .btn-lg-desktop {
        padding-block: .9rem;
        padding-inline: 2rem;
        font-size: 1.25rem;
    }
}

/*  */
/* infohouse */
.image-container {
    position: relative;
    max-width: 1300px;
    margin: auto;
}

@media screen and (max-width:1399.98px) {
    .about-us-page img {
        width: 100% !important;
        max-width: 800px !important;
    }

    .fullscreen-btn {
        bottom: 144px;
    }

}

.main-image {
    width: 100%;
    display: block;
}

.info-icon {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #b8a07a;
    border: 2px solid #fff;
    cursor: pointer;
}

.info-icon::before,
.info-icon::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
}

.info-icon::before {
    width: 10px;
    height: 2px;
}

.info-icon::after {
    width: 2px;
    height: 10px;
}

.info-icon:hover {
    filter: brightness(1.1);
}

.pulse {
    animation: pulse 2s ease-out infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(210, 180, 140, .9);
    }

    100% {
        box-shadow: 0 0 0 10px rgba(210, 180, 140, .5);
    }
}


.info-box {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 400px;
    background: rgba(228, 228, 228, 0.9);
    border: 1px solid #ccc;
    padding: 5px;
    z-index: 10;
    opacity: 0;
    transform: translateY(-10px);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.info-box.left-corner {
    top: 10px;
    left: 20px;
}

.info-box.right-corner {
    top: 10px;
    right: 20px;
}

.info-box.show {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
}

.info-box-content {
    display: none;
    text-align: left;
}

.info-box-content.active {
    display: block;
}

.info-image-container {
    height: 200px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-image-container img {
    max-height: 100%;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

@media (max-width: 991px) {
    .info-box {
        left: 12px;
        /* pin to both sides */
        right: 12px;
        width: auto;
        max-width: min(640px, 92vw);
        margin: 0 auto;
        max-height: 70vh;
        overflow-y: auto;
    }

    .info-box.left-corner,
    .info-box.right-corner {
        left: 12px;
        right: 12px;
    }

    .info-image-container {
        height: 100px;
    }

}

.info-box {
    scrollbar-width: thin;
    scrollbar-color: #999 #e4e4e4;
}

.info-box::-webkit-scrollbar {
    width: 6px;
}

.info-box::-webkit-scrollbar-thumb {
    background-color: #999;
    border-radius: 3px;
}

.info-box::-webkit-scrollbar-track {
    background-color: #e4e4e4;
}

@media (min-width:768px) and (max-width:991.98px) {

    .about-copy {
        font-size: 20px;
    }

    .about-us-page img {
        max-height: 250px !important;
    }
}

@media screen and (max-width:576px) {

    .about-copy {
        font-size: 16px;
    }

}

@media (max-width: 480px) {
    .btn-row {
        grid-template-columns: repeat(2, 1fr);
    }

    .btn-row .slot-a {
        grid-column: 1;
    }

    .btn-row .slot-b {
        grid-column: 2;
    }

    .btn-row .slot-a:nth-of-type(1) {
        grid-row: 1;
    }

    .btn-row .slot-a:nth-of-type(2) {
        grid-row: 2;
    }

    .btn-row .slot-a:nth-of-type(3) {
        grid-row: 3;
    }


    .btn-row .slot-b:nth-of-type(1) {
        grid-row: 1;
    }

    .btn-row .slot-b:nth-of-type(2) {
        grid-row: 2;
    }

    .btn-row .slot-b:nth-of-type(3) {
        grid-row: 3;
    }

    .about-us-page img {
        max-height: 130px !important;
    }
}

.btn-cta img {
    transition: transform .2s ease;
}

.btn-cta a:hover img {
    transform: scale(1.1);
}

/* Container needs positioning context for the left contact */
.contact-left {
    position: absolute;
    top: 60px;
    left: 50px;
    z-index: 50;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.contact-left img {
    max-width: 80px;
    height: auto;
    display: block;
}

@media (max-width: 1100px) {
    .contact-left img {
        max-width: 60px;
    }
}

.contact-float {
    position: fixed;
    right: 14px;
    top: 16px;
    z-index: 9999;

    width: 54px;
    height: 54px;
    border-radius: 999px;

    background: rgba(0, 0, 0, .45);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);

    display: flex;
    align-items: center;
    justify-content: center;

    box-shadow: 0 10px 28px rgba(0, 0, 0, .35);
    text-decoration: none;
}

.contact-float img {
    width: 28px;
    height: auto;
    display: block;
}

.contact-float:hover {
    background: rgba(0, 0, 0, .65);
}