/**
 * Contact Section Styles
 * Kısa kod için gerekli stiller
 */

/* Contact Section Container */
.contact.contact-pt {
    padding: 60px 0;
}

.contact.gray-bg {
    background-color: #f5f5f5;
}

.xb-contact {
    position: relative;
}

/* Form Holder */
.xb-item--holder {
    margin-bottom: 25px;
}

.xb-item--holder span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #006233;
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 15px;
}

.xb-item--holder h3 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.3;
    color: #1f2937;
    margin: 0;
}

/* Form Fields */
.xb-item--field {
    position: relative;
    margin-bottom: 20px;
}

.xb-item--field span {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 1;
    pointer-events: none;
}

.xb-item--field span img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.xb-item--field input,
.xb-item--field select,
.xb-item--field textarea,
.xb-item--field .nice-select {
    width: 100%;
    padding: 15px 20px 15px 55px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 15px;
    color: #495057;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

.xb-item--field textarea {
    min-height: 120px;
    resize: vertical;
    padding-top: 20px;
}

.xb-item--field textarea ~ span {
    top: 30px;
    transform: none;
}

.xb-item--field input:focus,
.xb-item--field select:focus,
.xb-item--field textarea:focus {
    outline: none;
    border-color: #006233;
    box-shadow: 0 0 0 3px rgba(0, 98, 51, 0.1);
}

/* Nice Select Override */
.xb-item--field .nice-select {
    height: auto;
    line-height: normal;
    padding: 15px 20px 15px 55px;
}

.xb-item--field .nice-select .current {
    color: #495057;
}

.xb-item--field .nice-select.open .list {
    width: 100%;
}

/* Submit Button */
.xb-item--form .thm-btn {
    background-color: #006233;
    color: #ffffff;
    padding: 15px 40px;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-block;
}

.xb-item--form .thm-btn:hover {
    background-color: #004d26;
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 98, 51, 0.3);
}

/* Google Map Wrapper */
.google-map-wrapper.contact-map {
    position: relative;
    width: 100%;
    height: 600px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.google-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Responsive Styles */
@media (max-width: 991px) {
    .xb-item--holder h3 {
        font-size: 24px;
    }
    
    .google-map-wrapper.contact-map {
        margin-top: 40px;
        height: 400px;
    }
    
    .contact.contact-pt {
        padding: 40px 0;
    }
}

@media (max-width: 767px) {
    .xb-item--field input,
    .xb-item--field select,
    .xb-item--field textarea,
    .xb-item--field .nice-select {
        font-size: 14px;
        padding: 12px 15px 12px 50px;
    }
    
    .xb-item--field span {
        left: 15px;
    }
    
    .xb-item--form .thm-btn {
        width: 100%;
        padding: 12px 30px;
    }
}

/* Success/Error Messages */
.vtc-contact-message {
    padding: 15px 20px;
    margin-bottom: 20px;
    border-radius: 8px;
    font-size: 15px;
    animation: slideInDown 0.3s ease;
}

.vtc-contact-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.vtc-contact-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}