:root {
    --theme-green: #017839;
}

.hakkimizda-container {
    display: flex;
    flex-direction: column;
}

.hakkimizda-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    height: 50vh;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 3rem;
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.hakkimizda-header-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.hakkimizda-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
}

.hakkimizda-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    text-align: center;
    position: relative;
    z-index: 2;
    text-shadow: 3px 3px 8px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 0, 0, 0.5);
    top: 3rem;
}

.hakkimizda-content {
    padding: 2rem 0;
}



/* Responsive */
@media (max-width: 991.98px) {
    .hakkimizda-title {
        font-size: 2.5rem;
    }
    
    .hakkimizda-header {
        height: 40vh;
        min-height: 250px;
    }
}

@media (max-width: 767.98px) {
    .hakkimizda-header {
        height: 40vh;
        min-height: 220px;
        margin-bottom: 2rem;
    }
    
    .hakkimizda-title {
        font-size: 2rem;
    }
    
    .stat-value {
        font-size: 2rem;
    }
}
/* Misyon & Vizyon Bölümü */
.misyon-vizyon-section {
    position: relative;
    overflow: hidden;
    padding: 4rem 0 5rem;
    margin-bottom: 3rem;
    min-height: 420px;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
}

.misyon-vizyon-inner {
    max-width: 1180px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

.misyon-vizyon-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

/* Misyon satırında: başlık sağda, metin solda */
.misyon-vizyon-item:first-child {
    flex-direction: row-reverse;
}

.mv-heading {
    flex: 0 0 220px;
    display: flex;
    align-items: center;
    gap: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--theme-green);
}

.mv-title-text {
    font-size: 1.2rem;
    font-weight: 700;
}

.mv-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 2rem;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.3);
    animation: mvIconSpin 7s linear infinite;
}

.mv-icon-misyon {
    background: radial-gradient(circle at 30% 30%, #34d399, #047857);
}

.mv-icon-vizyon {
    background: radial-gradient(circle at 30% 30%, #60a5fa, #1d4ed8);
}

.mv-content {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.9;
}

/* Yaprak Animasyonu */
.mv-leaves {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;
}

.mv-leaves .leaf {
    position: absolute;
    width: 60px;
    height: 60px;
    background-image: url("../images/yaprak.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    opacity: 0.85;
    animation: leafFall 14s linear infinite;
}

.mv-leaves .leaf-1 {
    left: 5%;
    animation-duration: 16s;
    animation-delay: 0s;
}

.mv-leaves .leaf-2 {
    left: 25%;
    animation-duration: 18s;
    animation-delay: -4s;
}

.mv-leaves .leaf-3 {
    left: 50%;
    animation-duration: 15s;
    animation-delay: -7s;
}

.mv-leaves .leaf-4 {
    left: 72%;
    animation-duration: 19s;
    animation-delay: -10s;
}

.mv-leaves .leaf-5 {
    left: 90%;
    animation-duration: 17s;
    animation-delay: -13s;
}

@keyframes leafFall {
    0% {
        transform: translate3d(0, -120%, 0) rotateZ(0deg) rotateY(0deg);
        opacity: 0;
    }
    15% {
        opacity: 1;
    }
    50% {
        transform: translate3d(-25px, 40vh, 0) rotateZ(120deg) rotateY(40deg);
    }
    100% {
        transform: translate3d(35px, 120vh, 0) rotateZ(260deg) rotateY(0deg);
        opacity: 0;
    }
}

@keyframes mvIconSpin {
    0% {
        transform: rotate(0deg) scale(1);
    }
    40% {
        transform: rotate(180deg) scale(1.05);
    }
    80% {
        transform: rotate(340deg) scale(1);
    }
    100% {
        transform: rotate(360deg) scale(1);
    }
}


@media (max-width: 767.98px) {
    .misyon-vizyon-section {
        padding: 2.5rem 0;
    }

    /* Mobilde her iki satırı da üst üste ve sola hizala */
    .misyon-vizyon-item,
    .misyon-vizyon-item:first-child {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    .mv-heading {
        flex: none;
        font-size: 1.05rem;
        width: 100%;
        justify-content: center;
        text-align: center;
    }

    .mv-content {
        font-size: 0.98rem;
        text-align: center;
    }
}
