/********************************************/
/*********** BONAMED FINAL STYLE ************/
/********************************************/

/********** Ümumi font və rəng **********/
body {
    font-family: 'Montserrat', sans-serif;
    color: #00dd6f;
    background: #ffffff;
    margin: 0;
    padding: 0;
}

/********** Link rəngi **********/
a {
    color: #ffffff;
    transition: 0.3s;
    text-decoration: none;
}

a:hover {
    color: #ffffff;
}

/********** ÜST ƏLAQƏ PANELİ üçün yer **********/
#top-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #ffffff;
    color: white;
    font-size: 14px;
    z-index: 1001;
    padding: 6px 0;
}

/********** NAV **********/
#nav {
    background: #fff;
    margin-top: 35px;
    padding: 10px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

#nav #logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

#nav #logo img {
    max-height: 60px;
    transition: 0.3s;
}

/********** MENYU **********/
.nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    list-style: none;
    margin: 10px 0 0;
    padding: 0;
}

.nav-menu li {
    margin: 0 12px;
}

.nav-menu a {
    position: relative;
    color: #222;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 5px 0;
    transition: color 0.3s ease;
}

.nav-menu a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0%;
    height: 3px;
    background: #ffffff;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover {
    color: #ffffff;
}

/********** Mobil menyu ikonu **********/
#mobile-nav-toggle {
    position: fixed;
    right: 15px;
    top: 12px;
    z-index: 2001;
    background: none;
    border: none;
    font-size: 30px;
    color: #f3f7fa;
    display: none;
}

#mobile-nav-toggle i {
    color: #fafdff;
}

/* Mobil görünüş */
@media (max-width: 767.98px) {
    #nav-menu-container {
        display: none;
    }

    #mobile-nav-toggle {
        display: inline-block;
    }
}

/********** Karusel **********/
.carousel {
    margin-top: 120px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.15);
}

.carousel img {
    object-fit: cover;
    width: 100%;
    height: 550px;
}

.carousel-caption h2 {
    font-size: 42px;
    font-weight: 700;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.carousel-caption p {
    font-size: 20px;
    color: #fff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.carousel-indicators li {
    background-color: #f2f5f8;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(34%) sepia(95%) saturate(2000%) hue-rotate(195deg);
}

/********** BONAMED Loading (Preloader) **********/
#bonamed-preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    color: white;
    font-family: 'Quicksand', sans-serif;
}

#bonamed-preloader .loader-logo {
    width: 120px;
    margin-bottom: 15px;
    animation: pulse 1.5s infinite;
}

#bonamed-preloader h3 {
    font-weight: 600;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.1);
        opacity: 0.8;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/********** Mobil menyu JS üçün siniflər **********/
body.mobile-nav-active {
    overflow: hidden;
}

body.mobile-nav-active #mobile-nav {
    left: 0;
}

#mobile-nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 1999;
    text-align: center;
    transition: 0.4s;
    padding-top: 80px;
}

#mobile-nav ul {
    list-style: none;
    padding: 0;
}

#mobile-nav ul li {
    margin: 15px 0;
}

#mobile-nav ul li a {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
}

#mobile-nav ul li a:hover {
    color: #4F84C4;
}