@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,400;0,500;0,700;1,400&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    width: 100%;
    height: 100%;
    font-family: 'Roboto';
}

.roboto-regular {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.roboto-medium {
    font-family: "Roboto", sans-serif;
    font-weight: 500;
    font-style: normal;
}

.roboto-bold {
    font-family: "Roboto", sans-serif;
    font-weight: 700;
    font-style: normal;
}

.roboto-regular-italic {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: italic;
}

li {
    list-style: none;
}

a {
    text-decoration: none;
}

header {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 80px;
    background-color: #005BAA;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 50%;
}

.header-logo {
    font-size: 20px;
    font-weight: 500;
    color: white;
}

.image-logo {
    width: 70px;
    height: 60px;
}

.nav-desktop {
    width: 100%;
    display: flex;
    align-content: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1280px;
    margin: 0 1rem;
}

.text-blue-servis {
    color: #005BAA;
}

.wrapper {
    width: 100%;
    min-height: 100vh;
    max-width: 1280px;
    padding: 0 24px;
    margin: 0 auto;
}

.nav-items {
    display: flex;
    width: 100%;
    align-items: center;
    gap: 1rem;
    justify-content: flex-end;
}

.nav-link {
    color: #fff;
    font-size: 17px;
    font-weight: 500;
}

.top-bar {
    width: 100%;
    position: relative;
    top: 0;
    height: 55px;
    background-color: #fff;
}

.text-topbar {
    color: white;
}

.dropbtn {
    padding: 16px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #fff;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
    padding: 10px 0;
}

.dropdown-content a {
    color: #005BAA;
    font-weight: 500;
    padding: 5px 10px;
    font-size: 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #f1f1f1
}

.dropdown:hover .dropdown-content {
    display: block;
}

#map {
    height: 400px;
    /* Harita yüksekliği */
}

.dropdown:hover .dropbtn {
    background-color: #005BAA;
    color: white;
    transition: 0.5s;
}

.nav-mobile {
    display: none;
}

.nav-items-mobile {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: 99999;
    background-color: #fff;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    padding: 1rem;
}

.max-height-250 {
    max-height: 250px !important;
}

.nav-items-mobile .nav-link {
    color: black;
    font-size: 20px;
}

footer {
    background-color: #111827 !important;
}

.truncate-description {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    /* 3 satır görünmesini sağlar */
    overflow: hidden;
    /* Taşan metni gizler */
    text-overflow: ellipsis;
    /* Üç nokta ekler */
}


@media(max-width:1100px) {
    .image-logo {
        width: 50px;
        height: 50px;
    }

    .nav-link {
        font-size: 16px;
    }

    .header-logo {
        font-size: 18px;
    }

}

@media(max-width:900px) {
    .top-bar {
        height: 70px;
    }

    .logo {
        width: 100%;
    }

    .nav-desktop {
        display: none;
    }

    .logo {
        gap: 5px;
    }

    .image-logo {
        width: 40px;
        height: 40px;
    }

    .header-logo {
        font-size: 18px;
    }

    .nav-mobile {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        margin: 1rem;
    }
}

@media(max-width:330px) {
    .top-bar {
        display: none !important;
    }

    .header-logo {
        font-size: 15px;
    }

    .svg-hamburger {
        width: 18px;
        height: 18px;
    }
}