/**
 * İletişim Sayfası CSS
 */

/* Hero Section */
.iletisim-hero {
    position: relative;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.iletisim-hero .hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.iletisim-hero .hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 40%;
}

.iletisim-hero .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 58, 110, 0.65) 0%, rgba(42, 82, 152, 0.55) 100%);
    z-index: 1;
}

.iletisim-hero .hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.iletisim-hero h1 {
    font-size: 36px;
    font-weight: 700;
    margin: 0 0 8px !important;
    text-shadow: 0 2px 15px rgba(0,0,0,0.3);
}

.iletisim-hero p {
    font-size: 16px;
    color: rgba(255,255,255,0.95);
    margin: 0 !important;
    text-shadow: 0 1px 8px rgba(0,0,0,0.2);
}

/* İletişim Section */
.iletisim-section {
    padding: 60px 20px 80px;
    background: #f8fafc;
}

.iletisim-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Contact Cards */
.contact-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-top: -80px;
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.contact-card {
    background: #fff;
    border-radius: 16px;
    padding: 35px 30px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.15);
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #2a5298 0%, #1e3a6e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.card-icon i {
    font-size: 28px;
    color: #fff;
}

.contact-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 15px;
}

.contact-card p {
    color: #64748b;
    font-size: 14px;
    line-height: 1.6;
    margin: 0 0 10px;
}

.contact-card .address-detail,
.contact-card .phone-detail,
.contact-card .email-detail {
    color: #94a3b8;
    font-size: 13px;
}

.contact-card .phone-number a,
.contact-card .email-address a {
    color: #2a5298;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
}

.contact-card .phone-number a:hover,
.contact-card .email-address a:hover {
    color: #1e3a6e;
}

.card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border-radius: 25px;
    color: #2a5298;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.card-link:hover {
    background: linear-gradient(135deg, #2a5298 0%, #1e3a6e 100%);
    color: #fff;
}

/* Contact Main */
.contact-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 50px;
}

/* Map Section */
.map-section {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.map-header {
    padding: 25px 30px;
    border-bottom: 1px solid #e2e8f0;
}

.map-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.map-header h2 i {
    color: #2a5298;
}

.map-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.map-container {
    width: 100%;
    height: 400px;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.map-footer {
    padding: 20px 30px;
    background: #f8fafc;
    border-top: 1px solid #e2e8f0;
}

.transport-info {
    display: flex;
    flex-wrap: wrap;
    gap: 25px;
}

.transport-item {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #64748b;
    font-size: 14px;
}

.transport-item i {
    color: #2a5298;
    font-size: 16px;
}

/* Form Section */
.form-section {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}

.form-header {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e2e8f0;
}

.form-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 5px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-header h2 i {
    color: #2a5298;
}

.form-header p {
    color: #64748b;
    font-size: 14px;
    margin: 0;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 600;
    color: #475569;
}

.form-group .required {
    color: #ef4444;
}

.form-control {
    padding: 14px 16px;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-size: 15px;
    color: #1e293b;
    background: #fff;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: #2a5298;
    box-shadow: 0 0 0 3px rgba(42, 82, 152, 0.1);
}

.form-control::placeholder {
    color: #94a3b8;
}

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

select.form-control {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    padding-right: 40px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, #2a5298 0%, #1e3a6e 100%);
    color: #fff;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #1e3a6e 0%, #162d54 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(42, 82, 152, 0.3);
}

.btn-submit {
    width: 100%;
}

/* Success & Error Boxes */
.success-box {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: linear-gradient(135deg, #d1fae5 0%, #a7f3d0 100%);
    border-radius: 12px;
    margin-bottom: 20px;
}

.success-box i {
    font-size: 32px;
    color: #059669;
}

.success-box strong {
    display: block;
    color: #065f46;
    font-size: 16px;
    margin-bottom: 4px;
}

.success-box p {
    margin: 0;
    color: #047857;
    font-size: 14px;
}

.error-box {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.error-box i {
    color: #ef4444;
    font-size: 20px;
    margin-top: 2px;
}

.error-box ul {
    margin: 0;
    padding-left: 20px;
    color: #b91c1c;
    font-size: 14px;
}

/* Social Section */
.social-section {
    text-align: center;
    padding: 40px 0 0;
    scroll-margin-top: 200px;
}

#sosyal-medya {
    scroll-margin-top: 200px;
}

#harita {
    scroll-margin-top: 200px;
}

.social-section h3 {
    font-size: 18px;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 25px !important;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
}

.social-btn.facebook { background: linear-gradient(135deg, #1877f2 0%, #0d65d9 100%); }
.social-btn.twitter { background: linear-gradient(135deg, #1da1f2 0%, #0c8de4 100%); }
.social-btn.instagram { background: linear-gradient(135deg, #e1306c 0%, #c13584 100%); }
.social-btn.linkedin { background: linear-gradient(135deg, #0077b5 0%, #005e94 100%); }
.social-btn.youtube { background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%); }

/* Breadcrumb Override */
body:has(.iletisim-hero) .breadcrumb-section {
    background: linear-gradient(147deg, #4f92dc38 0%, #b9c9e600 100%);
    border-bottom: none;
}

body:has(.iletisim-hero) .breadcrumb-section .breadcrumb-list li:last-child {
    color: #333;
}

/* Responsive */
@media (max-width: 1024px) {
    .contact-cards {
        grid-template-columns: repeat(3, 1fr);
        gap: 15px;
    }
    
    .contact-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .iletisim-hero {
        height: 280px;
    }
    
    .iletisim-hero h1 {
        font-size: 32px;
    }
    
    .contact-cards {
        grid-template-columns: 1fr;
        margin-top: -60px;
    }
    
    .contact-card {
        padding: 25px 20px;
    }
    
    .map-container {
        height: 300px;
    }
    
    .form-section {
        padding: 25px 20px;
    }
    
    .social-links {
        flex-wrap: wrap;
    }
    
    .social-btn {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
}

