/* ======================================
   İLETİŞİM SAYFASI - MODERN & ŞIK
   ====================================== */

/* Hero Bölümü */
.contact-hero {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 80px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.03)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
}

.contact-hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: white;
    margin-bottom: 15px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.contact-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 600px;
    margin: 0 auto;
}

/* İletişim Ana Bölüm */
.contact-section {
    padding: 80px 0;
    background: #f8f9fa;
}

/* İletişim Bilgileri */
.contact-info-cards {
    margin-bottom: 60px;
}

.info-card {
    background: white;
    padding: 30px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    border: 3px solid transparent;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(230, 0, 35, 0.15);
    border-color: #e60023;
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #e60023, #c00020);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: transform 0.3s ease;
}

.info-card:hover .info-icon {
    transform: scale(1.1) rotate(5deg);
}

.info-icon i {
    font-size: 2rem;
    color: white;
}

.info-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 15px;
}

.info-card p {
    color: #7f8c8d;
    margin: 0;
    line-height: 1.8;
}

.info-card a {
    color: #e60023;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: #c00020;
}

/* Harita Bölümü */
.map-section {
    background: white;
    padding: 60px 0;
}

.map-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.map-container iframe {
    width: 100%;
    height: 450px;
    border: none;
    display: block;
}

.map-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.map-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    border-radius: 30px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.map-btn.google {
    background: #4285F4;
    color: white;
}

.map-btn.google:hover {
    background: #357ae8;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(66, 133, 244, 0.4);
    color: white;
}

.map-btn.yandex {
    background: #FFCC00;
    color: #000;
    font-weight: 700;
}

.map-btn.yandex:hover {
    background: #FFD700;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 204, 0, 0.4);
    color: #000;
}

.map-btn i {
    font-size: 1.2rem;
}

/* Form Bölümü */
.form-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 80px 0;
}

.form-container {
    background: white;
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.form-title {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 10px;
    text-align: center;
}

.form-subtitle {
    color: #7f8c8d;
    text-align: center;
    margin-bottom: 40px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group label .required {
    color: #e60023;
    margin-left: 3px;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-control:focus {
    outline: none;
    border-color: #e60023;
    background: white;
    box-shadow: 0 0 0 3px rgba(230, 0, 35, 0.1);
}

.form-control::placeholder {
    color: #adb5bd;
}

textarea.form-control {
    min-height: 150px;
    resize: vertical;
}

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23e60023"><path d="M7 10l5 5 5-5z"/></svg>');
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 24px;
    padding-right: 45px;
}

/* Makine Bilgisi Alert */
.machine-info-alert {
    background: linear-gradient(135deg, #e60023, #c00020);
    color: white;
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 30px;
    display: none;
}

.machine-info-alert.show {
    display: block;
    animation: slideDown 0.5s ease;
}

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

.machine-info-alert h5 {
    margin: 0 0 10px 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.machine-info-alert p {
    margin: 0;
    opacity: 0.9;
}

/* Güvenlik Kodu */
.captcha-container {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    border: 2px solid #e9ecef;
    text-align: center;
}

.captcha-code {
    font-size: 2rem;
    font-weight: 700;
    color: #2c3e50;
    letter-spacing: 8px;
    background: white;
    padding: 15px 30px;
    border-radius: 8px;
    display: inline-block;
    user-select: none;
    font-family: 'Courier New', monospace;
    text-decoration: line-through;
    text-decoration-color: #e60023;
    margin-bottom: 15px;
}

.captcha-refresh {
    background: none;
    border: none;
    color: #e60023;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    padding: 5px 15px;
    border-radius: 5px;
    transition: all 0.3s ease;
}

.captcha-refresh:hover {
    background: #e60023;
    color: white;
}

.captcha-refresh i {
    margin-right: 5px;
}

/* Submit Button */
.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #e60023, #c00020);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(230, 0, 35, 0.3);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 0, 35, 0.5);
}

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

.submit-btn:disabled {
    background: #95a5a6;
    cursor: not-allowed;
    transform: none;
}

/* WhatsApp Submit Button */
.submit-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25D366, #128C7E);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.submit-btn.whatsapp-btn:hover {
    background: linear-gradient(135deg, #128C7E, #075E54);
    box-shadow: 0 6px 25px rgba(37, 211, 102, 0.5);
}

/* Success/Error Messages */
.alert-message {
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: none;
    animation: slideDown 0.5s ease;
}

.alert-message.show {
    display: block;
}

.alert-message.success {
    background: #d4edda;
    color: #155724;
    border: 2px solid #c3e6cb;
}

.alert-message.error {
    background: #f8d7da;
    color: #721c24;
    border: 2px solid #f5c6cb;
}

/* Responsive */
@media (max-width: 991px) {
    .contact-hero h1 {
        font-size: 2.2rem;
    }
    
    .form-container {
        padding: 35px;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 60px 0 40px;
    }
    
    .contact-hero h1 {
        font-size: 2rem;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .form-container {
        padding: 25px;
    }
    
    .map-container iframe {
        height: 350px;
    }
    
    .map-buttons {
        flex-direction: column;
    }
    
    .map-btn {
        width: 100%;
        justify-content: center;
    }
    
    .captcha-code {
        font-size: 1.5rem;
        letter-spacing: 5px;
        padding: 12px 20px;
    }
}
