
.hw-referans-wrapper {
    font-family: sans-serif;
    position: relative;
    overflow: hidden;
    background-color: #fff;
}

.hw-referans-top-section {
    background: #212529;
    color: white;
    padding: 80px 20px 200px;
    position: relative;
    z-index: 1;
}

.hw-referans-bottom-section {
    background: #fff;
    position: relative;
    z-index: 2;
    margin-top: -100px;
    border-top-left-radius: 50% 80px;
    border-top-right-radius: 50% 80px;
    height: 500px;
}

.hw-referans-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 3;
    padding: 0 20px;
}

.hw-referans-text-content {
    max-width: 40%;
}

.hw-referans-text-content h2 {
    font-size: 3rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hw-referans-text-content p {
    font-size: 1rem;
    line-height: 1.6;
    color: #ccc;
    max-width: 400px;
    margin-bottom: 30px;
}

.hw-referans-text-content .btn-tumunu-gor {
    background-color: #F6861F;
    color: white;
    padding: 12px 25px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 3px 3px 0 0 white;
}

.hw-referans-text-content .btn-tumunu-gor:hover {
    background-color: transparent;
    color: #F6861F;
    border: 1px solid white;
}

.hw-referans-images-container {
    position: absolute;
    top: 120px;
    right: 5%;
    width: 55%;
    max-width: 800px;
    height: 500px;
    z-index: 2;
}

.hw-ref-item {
    position: absolute;
    transition: transform 0.3s ease, z-index 0s 0.1s;
}

.hw-ref-item:hover {
    transform: scale(1.05) !important;
    z-index: 10 !important;
}

.hw-ref-image {
    width: 100%;
    border-radius: 8px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    border: 4px solid #fff;
}

.hw-ref-review-card {
    background: #fff;
    color: #333;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
    width: 280px;
    position: absolute;
}

.hw-ref-review-card .stars {
    color: #d3d3d3;
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.hw-ref-review-card .stars .filled {
    color: #ffc107;
}

.hw-ref-review-card h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0 0 5px 0;
}

.hw-ref-review-card p {
    font-size: 0.8rem;
    color: #777;
    line-height: 1.5;
    margin: 0;
}

/* Positioning */
.hw-ref-item-1 { width: 45%; top: 50px; left: 0; transform: rotate(-5deg); z-index: 2; }
.hw-ref-item-1 .hw-ref-review-card { bottom: -40px; left: 20px; }

.hw-ref-item-2 { width: 50%; top: -20px; left: 25%; transform: rotate(2deg); z-index: 3; }
.hw-ref-item-2 .hw-ref-review-card { top: 10px; right: -150px; }

.hw-ref-item-3 { width: 48%; top: 100px; right: 0; transform: rotate(4deg); z-index: 1; }
.hw-ref-item-3 .hw-ref-review-card { bottom: -30px; left: -50px; }


@media (max-width: 1200px) {
    .hw-referans-bottom-section {
        height: 250px;
    }
}


@media (max-width: 992px) {
    .hw-referans-container { grid-template-columns: 1fr; text-align: center; }
    .hw-referans-text-content {
        margin-bottom: 50px;
        padding-right: 2rem;
    }
    .hw-referans-text-content p { margin-left: auto; margin-right: auto; }
    .hw-referans-images-container { height: 450px; }
}

@media (max-width: 768px) {
    .hw-referans-wrapper {
        display: none;
    }
    .hw-referans-images-container { display: none; }
    .hw-referans-top-section { padding-bottom: 80px; }
    .hw-referans-top-section::after { display: none; }

    .hw-referans-bottom-section {
        border-top-left-radius: 90% 30px;
        border-top-right-radius: 90% 30px;
    }
}
