/* ===== Main Slider (logisticssolutions.ge) ===== */
#mainSlider {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    z-index: -1;
}

#mainSlider .item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out;
    object-fit: cover;
}

#mainSlider .item:first-child {
    opacity: 1;
}

#mainSlider img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* მობილური ოპტიმიზაცია */
@media (max-width: 768px) {
    #mainSlider {
        height: 100vh;
    }
    
    #mainSlider img {
        object-position: center;
    }
}

/* Content overlay on top of slider */
.page-section {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    padding-top: 60px;
    background: transparent; /* Prevent blocking the slider */
    scroll-snap-align: start; /* Enable slide behavior */
}

.page-section .main-title {
    margin-top: 10px;
    margin-bottom: 20px;
}

.page-section .gold-separator {
    margin: 10px 0 30px 0;
}

/* მობილური რესპონსიულობა */
@media (max-width: 768px) {
    .page-section {
        padding-top: 50px;
        min-height: 90vh;
    }
    
    .page-section .main-title {
        font-size: 2rem;
        margin-top: 5px;
    }
    
    .page-section .gold-separator {
        margin: 5px 0 20px 0;
    }
}

@media (max-width: 480px) {
    .page-section {
        padding-top: 45px;
        min-height: 85vh;
    }
    
    .page-section .main-title {
        font-size: 1.5rem;
        margin-top: 0;
    }
}

/* ===== Services page overrides ===== */
/* sections don't need full viewport height */
.services-section {
    min-height: auto !important;
    padding-top: 20px !important;
    padding-bottom: 40px !important;
}

/* anchor scroll offset = header + subnav height */
#basara-offer,
#shipping,
#loading,
#accounting {
    scroll-margin-top: 130px;
}

@media (max-width: 768px) {
    .services-section {
        padding-top: 15px !important;
        padding-bottom: 25px !important;
    }
}
