/*AUTHOR: REJEP MAMMEDOV*/
/*URL: https://rejep.com*/
/*GITHUB: https://github.com/reppon97*/
/*EMAIL: reppon97@gmail.com*/

:root {
    --color-bg: #063951;
    --color-bg-2: #5396b0;
}

*, *::before, *::after {
    box-sizing: border-box;
}

body {
    background-image: url("/static/img/bg.webp");
    background-size: cover;
    background-attachment: fixed;
    background-position: center;
}

.v-light #site_menu_header {
    background-color: rgba(255, 255, 255, 0.65);
}

.main-brand img, .dsnload__img img {
    width: 180px;
}

.v-light #site_menu_header {
    background-color: rgba(6, 57, 81, 0.65);
}

.logo-light {
    display: block !important;
}

.logo-dark {
    display: none !important;
}

.site-header:not(.dsn-hamburger) ul.primary-nav > li {
    color: #fff;
}

.main-slider .dsn-nex-prev .prev.dsn-active h5, .main-slider .dsn-nex-prev .next.dsn-active h5 {
    bottom: 20px;
    font-size: 37px;
}

.site-header ul.primary-nav {
    letter-spacing: 1px;
}

.customer-form-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 9px 18px;
    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 999px;
    background-color: #fff;
    color: var(--color-bg) !important;
    font-weight: 600;
    line-height: 1.15;
    text-align: center;
    box-shadow: 0 5px 18px rgba(0, 0, 0, 0.22);
    transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.customer-form-link:hover,
.customer-form-link:focus-visible {
    background-color: var(--color-bg-2);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.28);
}

.customer-form-link:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 3px;
}

.form-alert {
    padding: 14px 20px;
    border-radius: 12px;
    background: var(--color-bg);
    color: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.form-alert--success {
    border: 1px solid #8cffb8;
}

.form-alert--error {
    border: 1px solid #ff9b9b;
}

.site-messages {
    position: fixed;
    z-index: 110;
    top: 135px;
    left: 50%;
    width: min(560px, calc(100% - 40px));
    transform: translateX(-50%);
}

.site-messages .form-alert + .form-alert {
    margin-top: 10px;
}

.hcaptcha-wrap {
    display: flex;
    justify-content: flex-start;
    overflow-x: auto;
}

.customer-form-link--mobile {
    display: none;
}

.site-header:not(.dsn-hamburger) ul.primary-nav > li.customer-form-nav-item {
    padding-top: 2px;
    padding-bottom: 2px;
}

@media only screen and (min-width: 992px) and (max-width: 1250px) {
    .site-header {
        padding-right: 30px;
        padding-left: 30px;
    }

    .main-brand img {
        width: 140px;
    }

    .site-header:not(.dsn-hamburger) ul.primary-nav > li {
        font-size: 12px;
    }

    .site-header:not(.dsn-hamburger) ul.primary-nav > li:not(:first-of-type) {
        margin-left: 14px;
    }

    .customer-form-link {
        min-height: 38px;
        padding: 8px 12px;
    }
}

@media only screen and (max-width: 991px) {
    .customer-form-link--mobile {
        display: inline-flex;
        position: relative;
        z-index: 2;
    }
}

li.has-sub-menu ul {
    color: #0a0909;
}

.preloader-logo {
    width: 300px;
    margin-bottom: 20px;
}

.footer .logo-wrap {
    width: 180px;
    height: 180px;
}

.footer .logo-wrap .logo {
    width: 140px;
}

.bg-solana {
    background-color: var(--color-bg);
}

.bg-solana-2 {
    background-color: var(--color-bg-2);
}

.bg-white {
    background-color: #fff;
}

.text-white {
    color: #fff;
}

.footer .logo-wrap {
    background-color: var(--color-bg-2);
}

.footer .logo-wrap .shape-one path, .footer .logo-wrap .shape-two path {
    fill: var(--color-bg-2);
}

.dsn-socials li a {
    background-color: var(--color-bg-2);
}

.floorplan-link {
    position: absolute;
    z-index: 9;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.title {
    text-align: center;
    margin-bottom: 30px;
    color: #000;
}

.contact-form p, .contact-form h2, .contact-form h4, .contact-form a {
    color: #fff;
}

.dsn-form input[type=submit] {
    color: #fff;
}

.contact-form .dsn-form .entry-box textarea,
.contact-form .dsn-form .entry-box input:not([type=submit]) {
    color: #fff;
    caret-color: #fff;
}

.contact-form .dsn-form .entry-box textarea::placeholder,
.contact-form .dsn-form .entry-box input:not([type=submit])::placeholder {
    color: rgba(255, 255, 255, 0.78);
    opacity: 1;
}

.contact-form .dsn-form .entry-box input:-webkit-autofill,
.contact-form .dsn-form .entry-box input:-webkit-autofill:hover,
.contact-form .dsn-form .entry-box input:-webkit-autofill:focus {
    -webkit-text-fill-color: #fff;
    caret-color: #fff;
    box-shadow: 0 0 0 1000px var(--color-bg) inset;
}

.footer .copyright p {
    text-transform: none;
}

.submit-btn, .map-btn {
    background-color: var(--color-bg-2);
    color: #fff;
    border-radius: 40px;
    text-align: center;
    padding: 16px 40px;
    cursor: pointer;
    transition: background-color .3s ease-in-out;
}

.map-btn-wrapper {
    display: flex;
    gap: 1rem;
    padding-top: 1.5rem;
}

.dsnload .dsnload__img img {
    display: none !important;
}


.fj-gallery-item img {
    width: 100%;
}

.features-grid {
    gap: 1rem;
}

.feature-item {
    width: 24%;
    overflow: hidden;
}

.feature-inner {
    background-position: center;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    height: 210px;
    border-radius: 1.5rem;
    overflow: hidden;
}

.feature-inner::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    opacity: .5;
}

.feature-item__content {
    position: relative;
}

.flex {
    display: flex;
}

.feature-item__content h4 {
    color: #fff;
    text-align: center;
    letter-spacing: 1px;
}

.custom-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.custom-modal.show {
    display: flex;
}

.custom-modal-content {
    background: white;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    overflow-x: hidden;
    border-radius: 10px;
    position: relative;
    transition: all 0.5s ease;
}

.custom-modal-close {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 20;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    font-size: 30px;
    line-height: 1;
    font-weight: bold;
    cursor: pointer;
    color: #fff;
    transition: background-color .3s ease, transform .3s ease;
}

.custom-modal-close:hover {
    background: var(--color-bg-2);
    transform: scale(1.04);
}

.modal-nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.6);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 10;
    border-radius: 4px;
}

.modal-nav.prev {
    left: 50px;
}

.modal-nav.next {
    right: 50px;
}


.modal-img-wrapper {
    height: 480px;
    overflow: hidden;
}

.modal-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

#modalBody {
    padding: 2rem;
}

h4#modalTitle {
    position: absolute;
    top: 0;
    left: 0;
    background: rgb(0, 0, 0, .6);
    color: #fff;
    padding: 10px;
    font-size: 19px;
    letter-spacing: 1px;
    font-weight: 300;
}

.modal-scroll {
    max-height: 50vh;
    overflow-y: auto;
}

body.modal-open {
    overflow: hidden;
}

.gallery-portfolio .link-pop {
    padding: 1rem;
}

.gallery-item {
    width: calc(100% / 3);
    padding: 1rem;
}

.gallery-item img {
    width: 100%;
}

.gallery-item .cap {
    left: 1rem;
    bottom: 1rem;
    position: absolute;
    background-color: #000;
    padding: 4px 15px;
    color: #fff;
    z-index: 10;
    display: none;
}

.filter-button-group {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;

}

button.submit-btn.active {
    background-color: #1d3b47;
}

.hero {
    height: 100vh;
    position: relative;
    overflow: hidden;
}

.heroSwiper,
.swiper-slide {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
            to bottom,
            rgba(0, 0, 0, calc(var(--overlay-opacity) * 0.7)),
            rgba(0, 0, 0, var(--overlay-opacity))
    );
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 600px;
    padding: 20px 40px;
    border-radius: 24px;
    color: #fff;
}

.glass {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.hero-content h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: #fff;
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    background: rgba(0, 140, 255, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    text-decoration: none;
    transition: 0.3s ease;
}

.hero-btn:hover {
    background: rgba(0, 140, 255, 1);
}

/* Custom Navigation */
.hero-nav {
    position: absolute;
    bottom: 50px;
    right: 60px;
    z-index: 3;
    display: flex;
    gap: 20px;
}

.hero-prev,
.hero-next {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: white;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: 0.3s ease;
}

.hero-prev:hover,
.hero-next:hover {
    background: rgba(0, 140, 255, 0.8);
}

/* Custom Pagination */
.hero-pagination {
    position: absolute;
    left: 60px;
    bottom: 60px;
    z-index: 3;
}

.hero-pagination .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    margin: 0 6px !important;
}

.hero-pagination .swiper-pagination-bullet-active {
    background: #008cff;
    width: 28px;
    border-radius: 10px;
}

.hero h1 {
    position: relative;
    z-index: 2;
    color: #fff;
    margin-bottom: 40px;
}

.story-section {
    background: #fff;
}

.custom-features {
    display: none !important;
}

.story-slider-wrap {
    position: relative;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 74px 54px;
}

.storySwiper {
    overflow: hidden;
    border-radius: 24px;
}

.storySwiper .swiper-slide {
    height: auto;
}

.story-slide-link {
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 9 / 16;
    width: 100%;
    background:
            linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(244, 239, 232, 0.66)),
            var(--color-bg);
    border: 1px solid rgba(0, 0, 0, 0.06);
    border-radius: 24px;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.10);
    overflow: hidden;
}

.story-slide-link img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.story-nav {
    position: absolute;
    top: calc(50% - 27px);
    z-index: 3;
    width: 54px;
    height: 54px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.45);
    border-radius: 50%;
    color: #fff;
    background: rgba(29, 59, 71, 0.82);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.16);
    cursor: pointer;
    transition: transform .3s ease, background-color .3s ease, box-shadow .3s ease;
}

.story-nav:hover {
    transform: translateY(-2px);
    background: var(--color-bg-2);
    box-shadow: 0 20px 42px rgba(0, 0, 0, 0.20);
}

.story-prev {
    left: 0;
}

.story-next {
    right: 0;
}

.story-pagination {
    position: absolute;
    left: 50%;
    bottom: 0;
    z-index: 3;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.story-slider-wrap .story-pagination.swiper-pagination-bullets {
    left: 50% !important;
    bottom: 0;
    width: fit-content !important;
}

.story-pagination .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    padding: 0;
    border: 0;
    margin: 0 !important;
    border-radius: 999px;
    background: rgba(29, 59, 71, 0.28);
    opacity: 1;
    cursor: pointer;
    transition: width .3s ease, background-color .3s ease;
}

.story-pagination .swiper-pagination-bullet-active {
    width: 28px;
    background: var(--color-bg-2);
}

.floorplan-section {
    /*padding: 100px 20px;*/
    /*background: #ffffff;*/
}

.floorplan-wrapper {
    max-width: 900px;
    margin: auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

/* EACH ITEM */
.floorplan-item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    text-align: center;
}

/* IMAGE */
.floorplan-image img {
    width: 100%;
    border-radius: 24px;

    background: white;

    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.08),
    0 10px 30px rgba(0, 0, 0, 0.05);

    transition: 0.5s ease;
}

.floorplan-image img:hover {
    transform: scale(1.02);
}

/* CONTENT */
.floorplan-content {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

/* LABEL */
.label {
    font-size: 12px;
    letter-spacing: 2px;
    color: #94a3b8;
    text-transform: uppercase;
}

/* TITLE */
.floorplan-content h2 {
    font-size: 34px;
    font-weight: 500;
    color: #0f172a;
}

/* BUTTON */
.btn-glass {
    margin-top: 10px;
    padding: 12px 24px;
    border-radius: 999px;

    font-size: 14px;
    text-decoration: none;

    color: #0f172a;

    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);

    border: 1px solid rgba(0, 0, 0, 0.08);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);

    transition: 0.3s ease;
}

.btn-glass:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.floorplan-item:not(:last-child) {
    padding-bottom: 60px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.btn-glass:hover {
    border-color: #3b82f6;
    color: #3b82f6;
}
