/* Hakkımızda Page Styles */

.hk-wrapper {
    background:
        linear-gradient(180deg,
            #6FCCF5 0%,
            #5BC0F8 20%,
            #3FA0D8 40%,
            #3FA0D8 42%,
            #FFFFFF 42%,
            #FFFFFF 46%,
            #FF8A4D 46%,
            #E86420 62%,
            #FFFFFF 62%,
            #FFFFFF 100%
        );
    padding: 4rem 2rem;
    min-height: calc(100vh - 80px);
    position: relative;
    overflow: hidden;
}

.hk-container {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2.3fr 1fr;
    gap: 0;
    position: relative;
    z-index: 2;
    align-items: center;
}

/* Main Card */
.hk-main {
    background-color: transparent;
    padding: 3rem 2.5rem;
    position: relative;
    z-index: 3;
    display: flex;
    gap: 2rem;
    align-items: flex-start;
    min-height: 520px;
}

/* White shape background behind everything */
.hk-main-bg {
    position: absolute;
    top: -8%;
    left: -6%;
    width: 124%;
    height: 122%;
    z-index: 0;
    object-fit: fill;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.15));
}


/* Child image area */
.hk-child-area {
    position: relative;
    flex: 0 0 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 420px;
    z-index: 3;
}

.hk-white-shape {
    display: none;
}

.hk-child {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 340px;
    height: auto;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.2));
    margin-top: 4rem;
}

/* Text content area */
.hk-content {
    flex: 1;
    position: relative;
    z-index: 3;
    padding-top: 1rem;
}

.hk-content h1 {
    font-family: 'Poppins', sans-serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
    padding-bottom: 0.8rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.hk-content h1::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 280px;
    height: 4px;
    background: linear-gradient(90deg, #5BC0F8 0%, #3FA0D8 100%);
    border-radius: 2px;
}

.hk-content p {
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.6;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

/* Small decorations inside main card */
.hk-deco {
    position: absolute;
    z-index: 2;
    pointer-events: none;
}

.hk-deco-star-1 {
    top: 15%;
    left: 35%;
    width: 30px;
}

.hk-deco-star-2 {
    top: 8%;
    right: 20%;
    width: 35px;
}

.hk-deco-star-3 {
    top: 20%;
    right: 5%;
    width: 25px;
    animation: twinkle 3s ease-in-out infinite;
}

.hk-deco-star-4 {
    bottom: 10%;
    left: 42%;
    width: 28px;
    animation: twinkle 2.5s ease-in-out infinite 0.3s;
}

.hk-deco-star-5 {
    top: 30%;
    left: 32%;
    width: 20px;
}

.hk-deco-cloud-1 {
    top: 4%;
    right: -5%;
    width: 170px;
    opacity: 1;
}

.hk-deco-cloud-2 {
    bottom: 20%;
    right: 15%;
    width: 80px;
    opacity: 0.85;
}

.hk-deco-cloud-3 {
    bottom: -2%;
    right: 3%;
    width: 110px;
    opacity: 1;
}

@keyframes twinkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.85); }
}

/* Stats Sidebar */
.hk-stats {
    position: relative;
    z-index: 1;
    padding: 2.5rem 1.8rem 2.5rem 7rem;
    margin-left: -4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 1.8rem;
    min-height: 400px;
}

.hk-stats-bg {
    position: absolute;
    top: -18%;
    left: -25%;
    width: 125%;
    height: 140%;
    z-index: 0;
    object-fit: fill;
    filter: drop-shadow(0 15px 40px rgba(0, 0, 0, 0.2));
}

.hk-stat-item {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #FFFFFF;
}

.hk-stat-icon {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hk-stat-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.hk-stat-text {
    display: flex;
    flex-direction: column;
}

.hk-stat-number {
    font-family: 'Poppins', sans-serif;
    font-size: 2rem;
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.2rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.hk-stat-label {
    font-family: 'Poppins', sans-serif;
    font-size: 0.85rem;
    font-weight: 500;
    opacity: 0.95;
}

/* Responsive */
@media (max-width: 1280px) {
    .hk-wrapper {
        padding: 3rem 1.5rem;
        background:
            linear-gradient(180deg,
                #6FCCF5 0%,
                #5BC0F8 15%,
                #3FA0D8 32%,
                #3FA0D8 34%,
                #FFFFFF 34%,
                #FFFFFF 38%,
                #FF8A4D 38%,
                #E86420 55%,
                #FFFFFF 55%,
                #FFFFFF 100%
            );
    }

    .hk-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .hk-main {
        flex-direction: row;
        padding: 2.5rem 3rem;
        min-height: auto;
        min-width: 0;
        background: #FFFFFF;
        border-radius: 28px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    }

    .hk-main-bg {
        display: none;
    }

    .hk-content {
        min-width: 0;
        flex: 1 1 0;
        overflow-wrap: break-word;
        word-wrap: break-word;
    }

    .hk-container {
        min-width: 0;
    }

    .hk-stats {
        margin-left: 0;
        padding: 2rem 2.5rem;
        flex-direction: row;
        justify-content: space-around;
        min-height: auto;
        flex-wrap: wrap;
        gap: 1.5rem;
        background: linear-gradient(180deg, #6FCCF5 0%, #4BB0E8 100%);
        border-radius: 28px;
        box-shadow: 0 15px 40px rgba(0, 0, 0, 0.18);
    }

    .hk-stats-bg {
        display: none;
    }

    .hk-stat-item {
        flex-direction: column;
        text-align: center;
        flex: 1 1 140px;
        min-width: 140px;
    }

    .hk-content h1 {
        font-size: 2.1rem;
    }

    .hk-content p {
        font-size: 16px;
        word-break: break-word;
    }
}

@media (max-width: 1280px) and (min-width: 769px) {
    .hk-child-area {
        flex: 0 0 260px;
        min-height: 380px;
    }

    .hk-child {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    .hk-wrapper {
        padding: 2rem 1rem;
        background:
            linear-gradient(180deg,
                #6FCCF5 0%,
                #3FA0D8 40%,
                #3FA0D8 42%,
                #FFFFFF 42%,
                #FFFFFF 46%,
                #FF8A4D 46%,
                #E86420 56%,
                #FFFFFF 56%,
                #FFFFFF 100%
            );
    }

    .hk-main {
        flex-direction: column;
        padding: 2.5rem 1.5rem;
        gap: 1rem;
    }

    .hk-child-area {
        flex: 0 0 auto;
        min-height: 320px;
        width: 100%;
    }

    .hk-child {
        max-width: 240px;
        margin-top: 2rem;
    }

    .hk-content {
        padding-top: 0;
    }

    .hk-content h1 {
        font-size: 1.9rem;
        margin-bottom: 1.2rem;
    }

    .hk-content h1::after {
        width: 180px;
        height: 3px;
    }

    .hk-content p {
        font-size: 15px;
    }

    .hk-stats {
        flex-direction: column;
        padding: 1.8rem 1.5rem;
        gap: 1.2rem;
        align-items: center;
    }

    .hk-stat-item {
        flex-direction: row;
        text-align: left;
        gap: 0.8rem;
    }

    .hk-stat-icon {
        width: 52px;
        height: 52px;
    }

    .hk-stat-number {
        font-size: 1.7rem;
    }

    .hk-stat-label {
        font-size: 0.8rem;
    }

    /* Reduce decorations on mobile */
    .hk-deco-cloud-1 { width: 80px; }
    .hk-deco-cloud-2 { width: 50px; }
    .hk-deco-cloud-3 { width: 70px; }
    .hk-deco-star-1,
    .hk-deco-star-2,
    .hk-deco-star-3,
    .hk-deco-star-4,
    .hk-deco-star-5 {
        width: 20px;
    }
}

@media (max-width: 480px) {
    .hk-wrapper {
        padding: 1.5rem 0.8rem;
    }

    .hk-main {
        padding: 2rem 1.2rem;
    }

    .hk-child-area {
        min-height: 280px;
    }

    .hk-child {
        max-width: 200px;
        margin-top: 1.5rem;
    }

    .hk-content h1 {
        font-size: 1.5rem;
    }

    .hk-content h1::after {
        width: 140px;
    }

    .hk-content p {
        font-size: 14px;
        line-height: 1.5;
    }

    .hk-stats {
        padding: 1.5rem 1rem;
    }

    .hk-stat-icon {
        width: 45px;
        height: 45px;
    }

    .hk-stat-number {
        font-size: 1.6rem;
    }

    .hk-stat-label {
        font-size: 0.75rem;
    }
}
