.colorcontact {
    background: rgba(10,37,64,1);
    max-width: 100%;
    margin: 0 auto;
}

/* INPUT HATA */
.contact-form input.input-error,
.contact-form textarea.input-error {
    border-color: #CC0000;
    box-shadow: inset 0 0 0 2px #CC0000;
}

/* INPUT DOĞRU */
.contact-form input.input-valid,
.contact-form textarea.input-valid {
    border-color: #00a000;
    box-shadow: inset 0 0 0 2px #00a000;
}

.form-consent input.input-error {
    outline: 2px solid #CC0000; /* sadece dış çizgi */
}

/* =========================
   CONTACT – GENEL
========================= */
.contact {
    padding-top: 100px;
    padding-bottom: 100px;
    padding-left: 40px;
    padding-right: 40px;
    max-width: 1600px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: rgba(242,246,252,1);
    background-color: rgba(242, 246, 252, 0);
}

/* =========================
   BAŞLIK
========================= */
.contact-title {
    font-size: 2rem;
    line-height: 1.2;
    margin: 0 0 0 0;
    font-weight: 700;
    text-align: center;
}

.contact-title strong {
    font-weight: 900;
}

/* =========================
   AÇIKLAMA
========================= */
.contact-subtitle {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-top: 20px;
}

.contact-subtitle strong {
    font-weight: 700;
}

/* =========================
   FORM
========================= */
.contact-form {
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    font-size: 1rem;
    border: 1px solid rgba(0,0,0,0.25);
    border-radius: 15px;
    color: #0A2540;
    background-color:  rgba(242, 246, 252, 1);
}

.contact-form textarea {
    resize: vertical;   /* sadece yukarı–aşağı */
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    /* border-color: rgba(0,0,0,0.5); */
}

/* =========================
   ONAYA CHECKBOX
========================= */

.form-consent {
    display: flex;
    gap: 10px;                 /* checkbox ile yazı arası boşluk */
    font-size: 1rem;
    text-align: left;
    color: rgba(242, 246, 252, 0.8);
    margin-top: 0px;          /* form elemanlarıyla arası boşluk */
}

.form-consent input[type="checkbox"] {
    width: 16px;
    height: 16px;
    vertical-align: top; /* checkbox yazının üstüne hizalanır */
    margin-top: 4px; /* checkbox hafif yukarı kaydırmak için opsiyonel */
    -webkit-appearance: checkbox; /* iOS / Safari */
    appearance: checkbox;         /* diğer tarayıcılar */
    border-radius: 3px; /* biraz yuvarlaklık ekleyebilirsin */
    accent-color: #00a000; /* check işaret rengi */
}

.form-consent label a.consent-link {
    text-decoration: none;
    color: inherit; /* mevcut metin rengiyle uyumlu */
    transition: color 0.2s ease;
}

.form-consent label a.consent-link:hover {
    color: rgba(242, 246, 252, 0.8);
    text-decoration: underline;
}

/* =========================
   BUTON
========================= */
.contact-form button {
    margin-top: 10px;
    padding: 14px;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 20px;
    background-color: #383C3F;
    color: rgba(242,246,252,1);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    letter-spacing: 1px;
    border: 1px solid rgba(242,246,252,0);
}

.contact-form button:hover {
    transform: scale(1.05);
    color: rgba(242, 246, 252, 1);
    background-color: #494B4E;
    border: 1px solid rgba(242,246,252,0.15);
}

/* =========================
   FORM MESAJLARI
========================= */
.form-message {
    margin-top: 12px;
    font-size: 1rem;
    display: none; /* JS / PHP ile açılacak */
    padding: 10px 12px;
    border-radius: 15px;
    font-weight: 500;
    line-height: 1.4;
    display: flex;
    align-items: center;
    gap: 8px; /* ikon ile yazı arası */
}

/* Hata mesajı */
.form-message.error {
    background-color: rgba(242, 246, 252, 1);
    color: #CC0000;
    border: 1px solid #CC0000;
}

/* Başarılı mesaj */
.form-message.success {
    background-color: rgba(242, 246, 252, 1);
    color: #00a000;
    border: 1px solid #00a000;
}

/* Opsiyonel: ikon eklemek için */
.form-message.error::before {
    content: "⚠️";
    margin-right: 0.5em;
}

.form-message.success::before {
    content: "✅";
    margin-right: 0.5em;
}

/* =========================
   TABLET ≤1024px
========================= */
@media (max-width:1024px){
    .contact {
        padding-left: 40px;
        padding-right: 40px;
    }

    .contact-title {
        font-size: 1.75rem;
    }

    .contact-subtitle {
        font-size: 1.2rem;
    }
}

/* =========================
   TELEFON ≤768px
========================= */
@media (max-width:768px){
    .contact {
        padding-left: 40px;
        padding-right: 40px;
    }

    .contact-title {
        font-size: 1.5rem;
    }

    .contact-subtitle {
        font-size: 1.1rem;
    }

    .contact-form {
        margin-top: 40px;
    }
}
