/********** Template CSS **********/

/*** Spinner ***/
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    visibility: visible;
    opacity: 1;
}

.back-to-top {
    position: fixed !important;
    display: none;
    right: 45px;
    bottom: 45px;
    z-index: 99;
}


/*** Fonts ***/
.font-work-sans {
    font-family: "Work Sans", sans-serif;
}

.font-playfair-display {
    font-family: "Playfair Display", serif;
}

.font-dancing-script {
    font-family: "Dancing Script", cursive;
}


/*** Button ***/
.btn {
    position: relative;
    transition: .5s;
}

.btn-primary::before,
.btn-primary::after {
    position: absolute;
    content: "";
    width: calc(100% + 10px);
    height: calc(100% + 10px);
    top: -5px;
    left: -5px;
}

.btn-primary::before {
    top: -10px;
    height: calc(100% + 20px);
    border-left: 2px solid var(--bs-primary);
    border-right: 2px solid var(--bs-primary);
}

.btn-primary::after {
    left: -10px;
    width: calc(100% + 20px);
    border-top: 2px solid var(--bs-primary);
    border-bottom: 2px solid var(--bs-primary);
}


/*** Navbar ***/
.sticky-top {
    top: -150px;
    transition: .5s;
}

/* 🔥 NAVBAR PREMIUM HEIGHT */
.navbar {
    padding-top: 20px;
    padding-bottom: 20px;
}

/* NAV LINKS */
.navbar .navbar-nav .nav-link {
    margin: 0 12px;
    font-family: "Playfair Display", serif;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--bs-dark);
}

.navbar .navbar-nav .nav-link:hover {
    color: var(--bs-primary)
}


/*** 🔥 LOGO PREMIUM (MAIN MAGIC) ***/
.navbar-brand {
    position: relative;
    z-index: 10;
}

.logo-img {
    height: 110px;
    width: auto;
    object-fit: contain;

    filter: drop-shadow(0 8px 20px rgba(0,0,0,0.35));
    transition: transform 0.3s ease;

    position: relative;
    top: 10px; /* излиза от navbar */
}

/* DESKTOP BIG */
@media (min-width: 992px) {
    .logo-img {
        height: 150px;
    }
}

/* HOVER */
.logo-img:hover {
    transform: scale(1.05);
}


/*** Hero Header ***/
.hero-header {
    background: url(../img/hero-bg.jpg) top left no-repeat;
    background-size: cover;
}


/*** Service ***/
.service .service-item img {
    width: 70px;
}


/*** Footer ***/
.footer .btn.btn-link {
    display: block;
    margin-bottom: 5px;
    color: rgba(255, 255, 255, .5);
}

.footer .btn.btn-link:hover {
    color: var(--bs-primary);
}

/* ===== PREMIUM NAVBAR ===== */

.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.7) !important;
    transition: all 0.3s ease;
}

/* при scroll */
.navbar.scrolled {
    background: rgba(255,255,255,0.95) !important;
    box-shadow: 0 5px 25px rgba(0,0,0,0.1);
    padding-top: 10px;
    padding-bottom: 10px;
}

/* logo shrink при scroll */
.navbar.scrolled .logo-img {
    height: 90px;
}

@media (min-width: 992px) {
    .navbar.scrolled .logo-img {
        height: 110px;
    }
}


