
/* =========================================================================
   CONTACT FORM 7 - MODERN STYLING
   Integral Çevre Teknolojisi Teması İçin
   Buzlu Cam Efekti + Yeşil Vurgular + Animasyonlar
========================================================================= */

/* FORM CONTAINER */
.wpcf7 {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* FORM ROW */
.wpcf7 p {
    margin-bottom: 24px;
}

/* LABEL STYLİNG */
.wpcf7 label {
    display: block;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* INPUT & TEXTAREA BASE STYLE */
.wpcf7 input[type="text"],
.wpcf7 input[type="email"],
.wpcf7 input[type="tel"],
.wpcf7 input[type="url"],
.wpcf7 input[type="number"],
.wpcf7 input[type="date"],
.wpcf7 select,
.wpcf7 textarea {
    width: 100%;
    padding: 16px 20px;
    border-radius: 14px;
    border: 1px solid rgba(0, 255, 65, 0.25);
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: #fff;
    font-size: 15px;
    font-family: inherit;
    transition: all 0.3s ease;
    outline: none;
}

/* PLACEHOLDER */
.wpcf7 input::placeholder,
.wpcf7 textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-style: italic;
}

/* FOCUS STATE */
.wpcf7 input:focus,
.wpcf7 textarea:focus,
.wpcf7 select:focus {
    border-color: #00ff41;
    background: rgba(0, 0, 0, 0.5);
    box-shadow: 
        0 0 0 4px rgba(0, 255, 65, 0.1),
        0 0 20px rgba(0, 255, 65, 0.4),
        inset 0 2px 10px rgba(0, 0, 0, 0.3);
    transform: translateY(-1px);
}

/* TEXTAREA SPECİFİC */
.wpcf7 textarea {
    min-height: 150px;
    resize: vertical;
}

/* SUBMIT BUTTON */
.wpcf7 input[type="submit"],
.wpcf7 button[type="submit"] {
    width: 100%;
    padding: 18px 40px;
    border: none;
    border-radius: 14px;
    background: linear-gradient(135deg, #00cc33 0%, #00ff41 100%);
    color: #000;
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 10px 30px rgba(0, 255, 65, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
}

.wpcf7 input[type="submit"]::before {
    content: '✉️';
    margin-right: 10px;
    font-size: 18px;
}

/* SUBMIT HOVER */
.wpcf7 input[type="submit"]:hover,
.wpcf7 button[type="submit"]:hover {
    background: linear-gradient(135deg, #00ff41 0%, #00cc33 100%);
    box-shadow: 
        0 15px 40px rgba(0, 255, 65, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

/* SUBMIT ACTIVE */
.wpcf7 input[type="submit"]:active {
    transform: translateY(0);
    box-shadow: 
        0 5px 20px rgba(0, 255, 65, 0.5),
        inset 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* VALIDATION ERRORS */
.wpcf7-not-valid-tip {
    color: #ff4444;
    font-size: 13px;
    margin-top: 6px;
    display: block;
}

.wpcf7 input.wpcf7-not-valid,
.wpcf7 textarea.wpcf7-not-valid,
.wpcf7 select.wpcf7-not-valid {
    border-color: #ff4444 !important;
    box-shadow: 0 0 20px rgba(255, 68, 68, 0.3) !important;
}

/* SUCCESS MESSAGE */
.wpcf7-mail-sent-ok {
    border: 2px solid #00ff41 !important;
    background: rgba(0, 255, 65, 0.1) !important;
    color: #00ff41 !important;
    padding: 16px 20px;
    border-radius: 14px;
    margin: 20px 0;
    text-align: center;
    font-weight: 600;
}

/* ERROR MESSAGE */
.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    border: 2px solid #ff4444 !important;
    background: rgba(255, 68, 68, 0.1) !important;
    color: #ff4444 !important;
    padding: 16px 20px;
    border-radius: 14px;
    margin: 20px 0;
    text-align: center;
}

/* SPINNER (LOADING) */
.wpcf7 .ajax-loader {
    display: inline-block;
    margin-left: 10px;
    vertical-align: middle;
}

/* CHECKBOX & RADIO */
.wpcf7 input[type="checkbox"],
.wpcf7 input[type="radio"] {
    width: auto;
    margin-right: 8px;
    accent-color: #00ff41;
}

.wpcf7 .wpcf7-list-item {
    margin: 0 0 10px 0;
}

.wpcf7 .wpcf7-list-item label {
    display: inline;
    margin: 0;
    font-weight: normal;
    text-transform: none;
}

/* FILE UPLOAD */
.wpcf7 input[type="file"] {
    padding: 12px;
    background: rgba(0, 0, 0, 0.3);
    border: 2px dashed rgba(0, 255, 65, 0.3);
    cursor: pointer;
}

.wpcf7 input[type="file"]:hover {
    border-color: rgba(0, 255, 65, 0.6);
    background: rgba(0, 0, 0, 0.4);
}

/* ACCEPTANCE (GDPR/KVKK) */
.wpcf7-acceptance {
    margin: 20px 0;
    padding: 16px;
    background: rgba(255, 204, 0, 0.05);
    border: 1px solid rgba(255, 204, 0, 0.2);
    border-radius: 12px;
}

/* =========================================================================
   LIGHT MODE STYLES
========================================================================= */

body.light-mode .wpcf7 {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 1);
}

body.light-mode .wpcf7 label {
    color: rgba(0, 0, 0, 0.75);
}

body.light-mode .wpcf7 input[type="text"],
body.light-mode .wpcf7 input[type="email"],
body.light-mode .wpcf7 input[type="tel"],
body.light-mode .wpcf7 input[type="url"],
body.light-mode .wpcf7 input[type="number"],
body.light-mode .wpcf7 input[type="date"],
body.light-mode .wpcf7 select,
body.light-mode .wpcf7 textarea {
    background: rgba(0, 0, 0, 0.04);
    border-color: rgba(0, 200, 50, 0.3);
    color: #1a1a1a;
}

body.light-mode .wpcf7 input::placeholder,
body.light-mode .wpcf7 textarea::placeholder {
    color: rgba(0, 0, 0, 0.4);
}

body.light-mode .wpcf7 input:focus,
body.light-mode .wpcf7 textarea:focus,
body.light-mode .wpcf7 select:focus {
    background: rgba(0, 0, 0, 0.06);
    border-color: #00cc33;
    box-shadow: 
        0 0 0 4px rgba(0, 200, 50, 0.1),
        0 0 20px rgba(0, 200, 50, 0.3);
}

body.light-mode .wpcf7 input[type="submit"],
body.light-mode .wpcf7 button[type="submit"] {
    background: linear-gradient(135deg, #00aa2a 0%, #00cc33 100%);
    color: #fff;
    box-shadow: 
        0 10px 30px rgba(0, 170, 42, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

body.light-mode .wpcf7 input[type="submit"]:hover {
    box-shadow: 
        0 15px 40px rgba(0, 170, 42, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

body.light-mode .wpcf7 input[type="file"] {
    background: rgba(0, 0, 0, 0.02);
    border-color: rgba(0, 200, 50, 0.3);
}

/* =========================================================================
   RESPONSIVE (MOBİL UYUM)
========================================================================= */

@media (max-width: 768px) {
    .wpcf7 {
        padding: 24px 20px;
        border-radius: 18px;
    }

    .wpcf7 input[type="text"],
    .wpcf7 input[type="email"],
    .wpcf7 input[type="tel"],
    .wpcf7 textarea {
        padding: 14px 16px;
        font-size: 16px; /* iOS zoom engellemek için */
    }

    .wpcf7 input[type="submit"] {
        padding: 16px 30px;
        font-size: 15px;
    }

    .wpcf7 textarea {
        min-height: 120px;
    }
}

@media (max-width: 480px) {
    .wpcf7 {
        padding: 20px 16px;
    }

    .wpcf7 label {
        font-size: 13px;
    }
}

/* =========================================================================
   OPTIONAL: TWO COLUMN LAYOUT (İKİ SÜTUN DÜZENİ)
========================================================================= */

.wpcf7-form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.wpcf7-form-col {
    flex: 1;
    min-width: 250px;
}

@media (max-width: 768px) {
    .wpcf7-form-row {
        flex-direction: column;
        gap: 0;
    }
}
