body {
    overflow-x: hidden !important;
}

#about {
    transform: translateY(12vh);
    transition: opacity 0.6s ease, transform 0.6s ease;
    padding: 2rem;
    border-radius: 8px;
}

.home-about {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    color: var(--text-dark) !important;
}

.home-about h2 {
    font-size: 60px;
}

.home-about p {
    font-size: 20px;
    color: var(--text-dark) !important;
}

.home-about span {
    font-size: 14px;
}

.home-services {
    display: flex;
    justify-content: center;
    min-height: 100vh;
    padding: 3rem;
    background-color: color-mix(in srgb, var(--primary) 15%, transparent) !important;
}

.home-services .card {
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    min-height: 95vh;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
    padding: 20px;
    color: var(--text-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.home-services .card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.2));
    z-index: 0;
}

.home-services .card * {
    position: relative;
    z-index: 1;
}

.home-services .card span {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 10px;
}

.home-services .card h3 {
    font-size: 40px;
    margin-bottom: 15px;
}

.home-stats {
    color: var(--text-light);
    display: flex;
    font-weight: 500;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    background-color: color-mix(in srgb, var(--primary) 85%, black) !important;
}

.home-stats>div {
    opacity: 0;
    transform: translateY(40px);
}

.home-news .card {
    opacity: 0;
    transform: translateY(20px);
}

#menu {
    background-color: var(--primary);
}

#sub_menu ul li {
    background-color: color-mix(in srgb, var(--primary) 80%, black);
    color: var(--text-light) !important;
}

#sub_sub_menu {
    background-color: var(--background);
}

/* Menü öğeleri */
#menu .list-group-item,
#sub_menu .list-group-item {
    background-color: transparent;
    color: var(--text-light);
    border: none;
}

#sub_menu .list-group-item:hover {
    background-color: var(--neutral);
    color: var(--text-light);
    cursor: pointer;
}

#sub_sub_menu .list-group-item {
    background-color: transparent;
    color: var(--text-dark);
    border: none;
}

#sub_sub_menu .list-group-item:hover {
    background-color: #ddd;
    color: #6e6e6e;
    cursor: pointer;
}

.slider {
    display: flex;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    background-color: var(--background);
}

.left-col {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    height: 100vh;
}

.panel {
    position: absolute;
    top: 30%;
    left: calc(50% - 15vh);
    transform: translate(-25%, -50%);
    max-height: 50vh;
    width: calc(1000px - 20vh);
    opacity: 1;
    visibility: hidden;
    transition: opacity 0.3s ease;
}

.panel.active {
    opacity: 1;
    visibility: visible;
}

.panel img {
    max-width: 80%;
    height: 80vh;
    object-fit: cover;
    width: calc(80% - 20vh);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.right-col {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100vh;
}

@media screen and (max-width: 1280px) {
    .panel {
        transform: translate(-15%, -50%) !important;
    }

}

@media (max-width: 768px) {
    .slider {
        flex-direction: column;
    }

    .left-col,
    .right-col {
        height: auto;
        min-height: 50vh;
    }

    .right-col {
        padding: 1.5rem;
        text-align: center;
    }

    .panel img {
        max-height: calc(60vh - 2rem);
    }

    .panel {
        position: absolute;
        padding: 1rem;
        top: 50%;
        left: calc(50% - 15vh);
        transform: translate(-15%, -50%) !important;

    }

    .home-services {
        height: max-content;
        min-height: max-content;
    }
}

.home-envent {
    display: flex;
    justify-content: space-between;
    align-items: start;
    background-color: var(--primary);
    color: var(--text-light);
    font-weight: 500;
    min-height: 100vh;
    gap: 2rem;
}

.home-envent .feature-img {
    height: calc(100vh - 3rem);
    object-fit: cover;
    width: 100%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}