/* ==== ÜMUMİ FONTLAR ==== */
html, body {
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    margin: 0;
    padding: 0;
}




/* Default scroll açıqdı, aşağıda yalnız desktop üçün bağlayacam */
body {
    overflow-x: hidden;
}

/* ==== CONTAINER ==== */
.container {
    max-width: 1140px;
}

/* ==== HEADER ==== */
.site-header {
    background-color: #fff;
    padding: 8px 0 !important; /* header-i incəldirik */
}

.site-logo {
    max-height: 65px;
    height: auto;
}

.site-title {
    font-size: 25px;
    font-weight: 700;
    color: #52658c;
}

/* Burger */
.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}
.navbar-toggler:focus { box-shadow: none; }

/* ==== MENYU – DESKTOP ÜÇÜN DAHA ŞIQLI VARİANT ==== */

/* Ümumi menyu zolağı */
.main-nav {
    border-top: 1px solid #eee;
    padding-top: 6px;
    gap: 0.5rem;
}

/* Linklərin əsas stili */
.main-nav .nav-link {
    position: relative;
    font-weight: 600;
    font-size: 16px;
    color: #555;
    padding: 6px 14px;
    border-radius: 999px;         /* pill forması */
    text-transform: none;
    transition: all 0.2s ease;
}

/* Hover effekti */
.main-nav .nav-link:hover {
    color: #fff;
    background-color: #f58220;    /* brend rənginə yaxın */
    text-decoration: none;
}

/* Active link – həmişə rəngli pill kimi qalsın */
.main-nav .nav-link.active {
    color: #fff;
    background-color: #f58220;
    text-decoration: none;
}

/* Aşağıda nazik xətt animasiyası (hover + active) */
.main-nav .nav-link::after {
    content: "";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: -4px;
    width: 0;
    height: 2px;
    background-color: #f58220;
    transition: width 0.2s ease;
}

.main-nav .nav-link:hover::after,
.main-nav .nav-link.active::after {
    width: 60%;
}

/* Mobile menyuya bu pill-rəngi keçməsin deyə ayrıca yazırıq */
.mobile-main-nav .nav-link {
    border-radius: 0;
    background: transparent !important;
    color: #555;
}

.site-header {
    background-color: #fff;
    padding: 8px 0 !important;
    box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}




/* Dil switch */
.lang-switch {
    font-size: 14px;
}
.lang-switch a {
    font-weight: 700;
    text-decoration: none;
    color: #f58220;
    margin: 0 1px;
}
.lang-switch a.active {
    text-decoration: underline;
}
.lang-switch span { color: #999; }

/* ==== ANA SƏHİFƏ MƏTNİ ==== */

.home-title {
    font-size: 18px;
    font-weight: 700;
    margin-top: 25px;
}

.home-divider {
    border: 0;
    border-top: 1px dashed #999;
    margin-top: 6px;
    margin-bottom: 16px;
}

/* Məzmun qutusu */
.content-box {
    font-size: 14px;
    line-height: 1.5;
}

/* Paraqraflar */
.content-box p,
.home-text p {
    font-size: 14px;
    line-height: 1.55;
    text-align: justify;
    margin-bottom: 8px;
}

/* Sağdakı şəkillər – yenilənmiş ölçü */
.home-side-img {
    width: 100%;
  /* ə  height: 170px;              vvəl 120 idi, böyütdük */
    display: block;
    margin-bottom: 14px;
    object-fit: cover;
    border-radius: 4px;
}

/* ==== FOOTER ==== */
.site-footer {
    border-top: 1px solid #eee;
    background-color: #fafafa;
}

/* ==== XİDMƏTLƏR GRID ==== */
.services-grid {
    margin-top: 10px;
}

/* Kartın özü */
.service-card {
    position: relative;
    overflow: hidden;
    border: 1px solid #dddddd;
    cursor: pointer;
}

.service-card-img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Aşağıdakı qara strip – adətən görünən hissə */
.service-card-title {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.75);
    color: #ffffff;
    font-size: 15px;
    font-weight: 600;
    white-space: normal;
}

/* Hover overlay – mavi blok + bulletlər */
.service-card-overlay {
    position: absolute;
    inset: 0;
    background: #435681;
    color: #ffffff;
    padding: 18px 22px;
    opacity: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    transition: opacity 0.25s ease-in-out;
}

.service-card-overlay h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

/* Bullet list */
.service-list {
    list-style: none;
    padding-left: 0;
    margin: 0;
    font-size: 14px;
}

.service-list li {
    margin-bottom: 4px;
}

.service-list li::before {
    content: "- ";
}

/* Hover davranışı */
.service-card:hover .service-card-overlay {
    opacity: 0.98;
}

.service-card:hover .service-card-title {
    opacity: 0;
}

/* ==== ƏLAQƏ SƏHİFƏSİ ==== */
.contact-box {
    padding: 10px;
}

.contact-company {
    font-size: 17px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #1a2a4a;
}

.contact-text {
    font-size: 14px;
    line-height: 1.6;
    color: #1a2a4a;
    margin-bottom: 6px;
}

.contact-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border: 1px solid #ddd;
}

/* ==== RESPONSIVE DÜZƏLİŞLƏR ==== */

/* Desktop üçün – burda scroll-u söndürürəm və hər şeyi 1 ekrana sığdırıram */
/* Desktop üçün – burda artıq SCROLL-U AÇIRIQ */
@media (min-width: 992px) {
    html, body {
        height: auto;          /* 100% olmasına ehtiyac yoxdur */
    }

    body {
        overflow-y: auto;      /* scroll normal işləsin */
    }

    /* Content container-ın yuxarı/aşağı boşluğunu bir az azaldırıq */
    .container.my-4.my-md-5 {
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    /* İstəsən kontenti yenə limitləyə bilərsən, amma scroll-u bağlama! */
    .content-box {
        max-height: none;      /* istəyirsənsə bu sətri silmə, belə qalsın */
        overflow: visible;
    }

    /* Şəkillər desktopda bir az iri olsun */
    .home-side-img {
        height: 180px;
        margin-bottom: 16px;
    }
}





    /* Content container-ın yuxarı/aşağı boşluğunu bir az azaldırıq */
    .container.my-4.my-md-5 {
        margin-top: 1.5rem !important;
        margin-bottom: 1rem !important;
    }

    /* Məzmun qutusu – hündürlük limiti, amma iç scroll YOXDUR */
    .content-box {
        max-height: calc(100vh - 230px); /* header + footer + margin-lər üçün pay */
        overflow: hidden;
    }

    /* Şəkillər desktopda daha iri olsun 
    .home-side-img {
        height: 180px;
        margin-bottom: 16px;
    }
}*/

/* Tablet və aşağısı */
@media (max-width: 991.98px) {
    .site-logo {
        max-height: 60px;
    }

    .site-title {
        font-size: 18px;
    }

    .main-nav .nav-link {
        font-size: 15px;
    }

    .home-title {
        margin-top: 15px;
        text-align: left;
    }

    /* Tablet ölçüdə şəkillər bir az kiçiltsin */
    .home-side-img {
        height: 150px;
    }
}

/* Telefonlar */
@media (max-width: 767.98px) {
    body {
        font-size: 13px;
        overflow-y: auto; /* mobil üçün normal scroll qalsın */
    }

    .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .site-title {
        font-size: 17px;
    }

    .home-text p,
    .content-box p {
        font-size: 13px;
    }

    .home-side-img {
        height: auto;   /* telefon üçün adaptiv olsun */
    }

    .contact-company {
        font-size: 16px;
    }

    .contact-text {
        font-size: 13px;
    }
}
