@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;500;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Roboto Slab", serif;
}

body {
    background-color: #f4f4f4;
}

.container {
    display: flex;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}

.left-section {
    flex: 1.5;
    background-image: url('images/viole_manzara_kampanyagorsel.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    position: relative;
    background-color: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
}

.overlay {
    background: rgba(0, 0, 0, 0);
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Sağ taraf form alanı */
.form-section {
    width: 480px;
    min-width: 380px;
    background: #fff;
    padding: 50px 60px 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    margin-top: -40px;
}

.form-logo {
    width: 330px;
    display: block;
}

.form-title {
    font-size: 26px;
    letter-spacing: 1px;
    text-align: center;
    margin-bottom: 30px;
    text-transform: uppercase;
}

.form-title .bold {
    color: #7b3c5f;
    font-weight: 800;
}

.form-title .light {
    color: #444;
    font-weight: 300;
    margin-left: 6px;
    letter-spacing: 0.5px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
}

input, select {
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #ddd;
    font-size: 14px;
    outline: none;
    transition: border 0.3s ease;
}

input:focus, select:focus {
    border-color: #251a55;
}

.checkbox-container {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
    font-size: 13px;
    color: #333;
    position: relative;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    cursor: pointer;
}

.checkbox-label input {
    display: none;
}

.checkmark {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    border: 1.5px solid #251a55;
    margin-right: 10px;
    background: #fff;
    position: relative;
    flex-shrink: 0;
}

.checkbox-label input:checked + .checkmark::after {
    content: "";
    position: absolute;
    left: 4px;
    top: 0px;
    width: 5px;
    height: 10px;
    border: solid #251a55;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    line-height: 1.4;
}

.checkbox-text a {
    color: #6b4df6;
    font-weight: 500;
    text-decoration: underline;
}

/* 🔸 Uyarılar */
.checkbox-error {
    visibility: hidden;
    opacity: 0;
    position: absolute;
    top: -28px;
    left: 0;
    background-color: #e53935;
    color: white;
    font-size: 13px;
    padding: 5px 10px;
    border-radius: 14px;
    white-space: nowrap;
    z-index: 10;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.checkbox-error::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 12px;
    border-width: 6px;
    border-style: solid;
    border-color: #e53935 transparent transparent transparent;
}

/* Görünür olduğunda */
.checkbox-error.visible {
    visibility: visible;
    opacity: 1;
}

.checkbox-container-1,
.checkbox-container-2 {
    position: relative;
}

/* Buton */
button {
    background: #7b3c5f;
    color: #fff;
    border: none;
    padding: 14px;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background 0.3s ease;
}

button:hover {
    background: #251a55;
}

/* Modal */
#kvkkModal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    z-index: 99999;
    justify-content: center;
    align-items: center;
}

#kvkkModal.active {
    display: flex;
}

#kvkkModal .modal-content {
    position: relative;
    background: #fff;
    width: 80%;
    max-width: 900px;
    max-height: 80vh;
    overflow-y: auto;
    border-radius: 12px;
    padding: 40px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.4);
    animation: fadeIn 0.3s ease;
}

#kvkkModal .modal-content h2 {
    color: #251a55;
    margin-bottom: 15px;
}

#kvkkModal .modal-content h3 {
    color: #251a55;
    margin-top: 20px;
    font-size: 16px;
}

#kvkkModal .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    background: #7b3c5f;
    color: #fff;
    border: none;
    padding: 5px 12px;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s;
}

#kvkkModal .close-btn:hover {
    background: #8a1a1d;
}

/* Hemen Ara */
.call-box {
    display: flex;
    align-items: center;
    background-color: #e5e5e5;
    border-radius: 50px;
    width: fit-content;
    padding: 6px;
    overflow: hidden;
    margin-top: 30px;
    box-shadow: 0 3px 8px rgba(0,0,0,0.15);
}

.call-left {
    display: flex;
    align-items: center;
    background-color: transparent;
    padding: 6px 12px;
}

.call-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #4d4d4d;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
    margin-right: 8px;
}

.call-text {
    color: #333;
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.call-number {
    background-color: #7b3c5f;
    color: #fff;
    font-weight: 700;
    font-size: 20px;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 50px;
    margin-left: 5px;
    transition: background 0.3s ease;
}

.call-number:hover {
    background-color: #251a55;
}

/* Responsive Tablet */
@media (max-width: 992px) {
    .container {
        flex-direction: column;
        height: auto;
    }

    .left-section {
        height: 55vh;
        background-size: cover;
        background-position: center center;
    }

    .form-section {
        width: 100%;
        align-items: center;
        padding: 40px 25px;
        box-shadow: none;
        margin-top: 0;
    }

    .form-logo {
        width: 160px;
        margin-bottom: 10px;
    }

    .form-section h4 {
        font-size: 22px;
    }

    .call-box {
        margin-top: 20px;
        transform: scale(0.95);
    }
}

/* Responsive Mobile */
@media (max-width: 576px) {
    .left-section {
        order: -1;
        width: 100%;
        height: 45vh;
        min-height: 300px;
        flex: none;
        background-size: contain;
        background-position: center center;
    }

    .form-section {
        padding: 20px 15px;
        margin-top: 0;
    }

    .form-logo {
        width: 230px;
        margin-bottom: 8px;
    }

    .form-title {
        font-size: 18px;
        margin-bottom: 20px;
    }

    form {
        gap: 10px;
    }

    input, select, button {
        font-size: 13px;
        padding: 12px;
    }

    .checkbox-text {
        font-size: 12px;
    }

    .checkbox-error {
        font-size: 11px;
        padding: 4px 8px;
        top: -32px;
    }

    .checkbox-error::before {
        left: 10px;
        border-width: 5px;
    }

    .call-box {
        transform: scale(0.9);
        margin-top: 15px;
    }

    .call-number {
        font-size: 18px;
        padding: 8px 18px;
    }
}
