/*--------------------------------------------------------------
# Contact Page CSS
--------------------------------------------------------------*/

/* İletişim formu mesajları */
.contact-message {
    padding: 1rem 1.5rem;
    margin-bottom: 2rem;
    border-radius: 8px;
    font-weight: 500;
}

.contact-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.contact-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-message p {
    margin: 0.5rem 0;
}

.contact-message p:first-child {
    margin-top: 0;
}

.contact-message p:last-child {
    margin-bottom: 0;
}

/* İletişim formu wrapper */
.contact-form-wrapper {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 3rem;
}

/* Form stilleri */
.contact-form {
    max-width: 100%;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #2c3644;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: #fff;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #2baae1;
    box-shadow: 0 0 0 3px rgba(43, 170, 225, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* Gönder butonu */
.contact-submit-btn {
    background: linear-gradient(135deg, #2baae1 0%, #1e88e5 100%);
    color: #fff;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(43, 170, 225, 0.3);
}

.contact-submit-btn:hover {
    background: linear-gradient(135deg, #ff6644 0%, #e53935 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 102, 68, 0.4);
}

.contact-submit-btn .btn-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.contact-submit-btn:hover .btn-icon {
    transform: translateX(3px);
}

/* İletişim bilgileri */
.contact-info {
    margin-top: 3rem;
}

.contact-info-grid {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.contact-info-item {
    background: #fff;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: transform 0.3s ease;
    max-width: 350px;
    width: 100%;
}

.contact-info-item:hover {
    transform: translateY(-5px);
}

.contact-icon {
    background: linear-gradient(135deg, #2baae1 0%, #1e88e5 100%);
    color: #fff;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.contact-details h3 {
    margin: 0 0 0.5rem 0;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3644;
}

.contact-details p {
    margin: 0;
    color: #666;
    line-height: 1.5;
}

/* Responsive tasarım */
@media (max-width: 768px) {
    .contact-form-wrapper {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .contact-submit-btn {
        width: 100%;
        justify-content: center;
        padding: 1rem;
    }
    
    .contact-info-grid {
        justify-content: center;
    }
    
    .contact-info-item {
        padding: 1.5rem;
        text-align: center !important;
    }
    
    .contact-details {
        text-align: center !important;
        width: 100% !important;
    }
    
    .contact-details h3 {
        text-align: center !important;
        margin: 0.5rem auto !important;
    }
    
    .contact-details p {
        text-align: center !important;
        margin: 0 auto !important;
    }
}

@media (max-width: 480px) {
    .contact-form-wrapper {
        padding: 1rem;
    }
    
    .form-group input,
    .form-group textarea {
        padding: 0.6rem 0.8rem;
        font-size: 0.95rem;
    }
    
    .contact-info-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .contact-icon {
        align-self: center;
    }
    
    .contact-details {
        text-align: center !important;
        width: 100% !important;
    }
    
    .contact-details h3 {
        text-align: center !important;
        margin: 0.5rem auto !important;
    }
    
    .contact-details p {
        text-align: center !important;
        margin: 0 auto !important;
    }
}

/* Entry content için özel stiller */
.page-template-page-contact .entry-content {
    display: block !important;
}

.page-template-page-contact .entry-title {
    text-align: center;
    margin-bottom: 2rem;
}