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

#spinner.show {
    visibility: visible;
    opacity: 1;
    transition: opacity .5s ease-out;
}

/* ==================================================
   BACK TO TOP
   ================================================== */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    transition: 0.5s;
    z-index: 99;
}

/* ==================================================
   BUTTONS (BOOTSTRAP SAFE)
   ================================================== */
.btn {
    font-weight: 600;
    transition: all .3s ease;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square,
.btn-xl-square {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.btn-square { width: 32px; height: 32px; }
.btn-sm-square { width: 34px; height: 34px; }
.btn-md-square { width: 40px; height: 40px; }
.btn-lg-square { width: 46px; height: 46px; }
.btn-xl-square { width: 56px; height: 56px; }

/* ==================================================
   NAVBAR
   ================================================== */
.nav-bar .navbar {
    z-index: 9;
}

.navbar-light .navbar-nav .nav-item {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.navbar-light .navbar-nav .nav-item:hover,
.navbar-light .navbar-nav .nav-item.active {
    color: var(--bs-primary);
}

/* Dropdown animation desktop */
@media (min-width: 992px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav {
        background: var(--bs-light);
        border-radius: 10px;
        justify-content: center;
        align-items: center;
    }

    .navbar .nav-item .dropdown-menu {
        visibility: hidden;
        opacity: 0;
        transform: rotateX(-75deg);
        transition: .4s ease;
        border: none;
    }

    .navbar .nav-item:hover .dropdown-menu {
        visibility: visible;
        opacity: 1;
        transform: rotateX(0deg);
        margin-top: 18px;
    }
}

/* Mobile navbar */
@media (max-width: 991px) {
    .navbar {
        padding: 20px 0;
    }

    .navbar .navbar-nav {
        margin-top: 20px;
        padding: 20px;
        background: var(--bs-light);
        align-items: flex-start;
    }
}

/* ==================================================
   HERO / CAROUSEL
   ================================================== */
.hero-section {
    background: url("../img/carousel-1.jpg") center/cover no-repeat;
    height: 700px;
    display: flex;
    align-items: center;
    position: relative;
}

/* ==================================================
   SECTIONS (BLOG / SERVICE / PROJECTS)
   ================================================== */
.blog .blog-item,
.projects-item .projects-content {
    box-shadow: 0 0 30px rgba(0,0,0,.1);
    background: var(--bs-light);
}

.blog .blog-item:hover img {
    transform: scale(1.15);
}

/* ==================================================
   TESTIMONIAL
   ================================================== */
.testimonial {
    background: var(--bs-dark);
}

.testimonial .testimonial-item {
    margin-top: 35px;
    position: relative;
}

/* ==================================================
   FOOTER
   ================================================== */
.footer {
    background: var(--bs-dark);
}

.footer a {
    color: var(--bs-white);
    transition: .3s;
}

.footer a:hover {
    color: var(--bs-primary);
    letter-spacing: 1px;
}

.copyright {
    background: var(--bs-dark);
    border-top: 1px solid rgba(255,255,255,.08);
}

/* ===== HEADER SCROLL HIDE / SHOW ===== */

/* facem header-ul fix sus */
.header-top {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    transition: transform 0.35s ease-in-out, box-shadow 0.35s ease-in-out;
}

/* când e ascuns */
.header-top.header-hidden {
    transform: translateY(-100%);
    box-shadow: none;
}

/* să nu intre conținutul sub header */
body {
    padding-top: 125px; /* înălțimea header-ului */
}

