* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background-color: rgba(255, 243, 222, 0.884);
    font-family: 'Roboto', sans-serif;
    padding: 24px 16px;
    color: #4a2c11;
}

.contact-page-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 580px;
    gap: 14px;
}

.top-bar {
    width: 100%;
    text-align: left;
}

a {
    text-decoration: none;
    cursor: pointer;
    color: inherit;
}

.back-btn {
    background: #ff6600;
    color: #ffffff;
    border: none;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    box-shadow: 0 4px 12px rgba(255, 102, 0, 0.25);
}

.back-btn:hover {
    background: #e65c00;
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(255, 102, 0, 0.35);
}

.contact-card {
    background: #ffffff;
    width: 100%;
    border-radius: 24px;
    padding: 32px 28px;
    box-shadow: 0 12px 36px rgba(230, 100, 0, 0.12);
    border: 2px solid rgba(255, 146, 43, 0.35);
}

.card-header {
    text-align: center;
    margin-bottom: 24px;
}

.card-header h1 {
    font-size: 1.5rem;
    font-weight: 800;
    color: #7c2d12;
    margin-bottom: 8px;
}

.card-header .subtitle {
    font-size: 0.95rem;
    color: #6c4b2d;
    line-height: 1.5;
    margin-bottom: 54px;
}

.privacy-note-container {
    position: relative;
    width: 100%;
}

.privacy-note {
    background-color: #fff7ed;
    border: 1px dashed #ff922b;
    border-radius: 12px;
    padding: 10px 14px;
    font-size: 0.85rem;
    color: #9a3412;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    text-align: left;
    line-height: 1.4;
    position: relative;
    z-index: 2;
}

/*fotoğrafın privacy-note div etiketi ile birleştirilmesi için*/
.warning-bar-face,
.warning-bar-teeth {
    position: absolute;
    width: 18%;
    height: 200%;
    top: -83px;
    right: 42.5%;
    pointer-events: none;
}

.warning-bar-face {
    z-index: 1;
}

.warning-bar-teeth {
    z-index: 3;
}

.privacy-note i {
    font-size: 1.1rem;
    color: #ea580c;
    margin-top: 2px;
    flex-shrink: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    text-align: left;
}

.form-group label {
    font-size: 0.95rem;
    font-weight: 700;
    color: #7c2d12;
    display: flex;
    align-items: center;
    gap: 6px;
}

.form-group label i {
    color: #ff6600;
}

.optional-tag {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 3px dashed #ff9900;
    border-radius: 8px;
    background: #fffdf5;
    color: #7c2d12;
    font-weight: 600;
    cursor: text;
    outline: none;
    transition: all 0.2s ease;
}

.form-control:hover {
    border-color: #ff6600;
    background-color: #ffffff;
    box-shadow: 0 0 0 4px rgba(255, 102, 0, 0.15);
}

.message-box-container {
    position: relative;
}

.message-box-sitter {
    width: 25%;
    height: 90%;
    transform: scaleX(-1);
    position: absolute;
    bottom: 29%;
    left: 84.5%;
    pointer-events: none;
    z-index: 0;
}

.form-control.textarea {
    margin-top: 35px;
    resize: vertical;
    min-height: 110px;
    line-height: 1.5;
}

.helper-text {
    font-size: 0.8rem;
    color: #78716c;
    line-height: 1.3;
    margin-top: 2px;
}

.helper-text i {
    color: #ff922b;
}

.btn-submit {
    background: linear-gradient(135deg, #ff922b, #ff5500);
    color: #ffffff;
    border: none;
    border-radius: 30px;
    padding: 14px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 6px;
    box-shadow: 0 8px 20px rgba(255, 85, 0, 0.3);
}

.btn-submit:hover:not(:disabled) {
    background: linear-gradient(135deg, #ff7a00, #e64500);
    transform: translateY(-2px);
    box-shadow: 0 12px 24px rgba(255, 85, 0, 0.4);
}

.btn-submit:active:not(:disabled) {
    transform: translateY(0);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.status-box {
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 600;
    text-align: center;
    animation: fadeIn 0.3s ease;
}

.status-box.success {
    background-color: #ecfdf5;
    border: 1px solid #10b981;
    color: #065f46;
}

.status-box.error {
    background-color: #fef2f2;
    border: 1px solid #ef4444;
    color: #991b1b;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==========================================
   FOOTER
   ========================================== */
.contact-footer {
    margin-top: 12px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 0.88rem;
    color: #8c6239;
}

.policy-btn {
    background: transparent;
    border: none;
    color: #d9480f;
    font-size: 0.88rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.policy-btn:hover {
    color: #b02a00;
    background-color: rgba(255, 146, 43, 0.15);
}

/* ==========================================
   KVKK MODAL
   ========================================== */
.kvkk-modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(40, 20, 10, 0.65);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: 20px;
    animation: modalFadeIn 0.25s ease;
}

.kvkk-modal-box {
    background: #ffffff;
    width: 100%;
    max-width: 650px;
    max-height: 85vh;
    border-radius: 20px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalSlideUp 0.3s ease;
    border: 2px solid #fed7aa;
}

.kvkk-modal-header {
    background: linear-gradient(135deg, #fff7ed, #ffedd5);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #fed7aa;
}

.kvkk-header-title {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kvkk-header-title i {
    font-size: 1.3rem;
    color: #ea580c;
}

.kvkk-header-title h2 {
    font-size: 1.15rem;
    color: #7c2d12;
    margin: 0;
    font-weight: 700;
}

.kvkk-close-btn {
    background: transparent;
    border: none;
    font-size: 1.8rem;
    line-height: 1;
    color: #9a3412;
    cursor: pointer;
    padding: 0 4px;
    border-radius: 6px;
    transition: color 0.15s;
}

.kvkk-close-btn:hover {
    color: #e11d48;
}

.kvkk-modal-body {
    padding: 20px 24px;
    overflow-y: auto;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #4a2c11;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.kvkk-section h3 {
    font-size: 1rem;
    color: #9a3412;
    margin-bottom: 6px;
    font-weight: 700;
}

.kvkk-section p {
    margin-bottom: 8px;
    color: #4a3828;
}

.kvkk-section ul {
    margin-left: 20px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.kvkk-section li {
    color: #4a3828;
}

.kvkk-modal-footer {
    padding: 12px 20px;
    background: #fffdfa;
    border-top: 1px solid #fed7aa;
    display: flex;
    justify-content: flex-end;
}

.btn-agree {
    background: #ff6600;
    color: #ffffff;
    border: none;
    padding: 8px 24px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-agree:hover {
    background: #e65c00;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes modalSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@media (max-width: 600px) {
    .contact-card {
        padding: 24px 18px;
        border-radius: 20px;
    }

    .card-header h1 {
        font-size: 1.35rem;
    }

    /* 425px, 375px ve 320px mobil ekranlarda birebir aynı ve sabit kalması için */
    .warning-bar-face,
    .warning-bar-teeth {
        width: 78px;
        height: auto;
        top: -81px;
        right: 37.5%;
    }

    .message-box-sitter {
        width: 120px;
        left: 70%;
    }

    .kvkk-modal-box {
        max-height: 90vh;
        border-radius: 16px;
    }

    .kvkk-modal-body {
        padding: 16px;
        font-size: 0.88rem;
    }
}