/* İletişim Sayfası Stilleri */

.contact-container {
    max-width: 1200px;
    margin: 50px auto;
    padding: 0 20px;
}

.contact-header {
    padding: 15px 0;
    text-align: center;
    margin-bottom: 25px;
    position: relative;
}

.contact-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    position: relative;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contact-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #c00;
    margin: 15px auto 0;
    border-radius: 3px;
}

/* İletişim Kutuları */
.contact-boxes {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 40px;
    justify-content: space-between;
}

.contact-box {
    flex: 1;
    min-width: 250px;
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 25px 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
}

.contact-box:hover {
    background-color: #c00;
    color: white;
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(204,0,0,0.2);
}

.box-icon {
    width: 60px;
    height: 60px;
    background-color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    color: #c00;
    font-size: 24px;
    transition: all 0.3s ease;
}

.contact-box:hover .box-icon {
    background-color: #fff;
    color: #c00;
    transform: scale(1.1);
}

.contact-box h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.contact-box p {
    font-size: 14px;
    line-height: 1.5;
    transition: all 0.3s ease;
}

/* Harita ve Form */
.contact-map-form {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    position: relative;
    align-items: flex-start;
    margin-bottom: 60px;
    scroll-margin-top: 120px; /* Header ile çakışmayı önlemek için */
    padding-top: 20px; /* Üst tarafta ekstra boşluk */
}

.contact-map-container {
    flex: 1;
    min-width: 300px;
    width: calc(50% - 15px);
}

.contact-map {
    width: 100%;
    height: 100%;
    min-height: 500px;
    border: none;
    border-radius: 5px;
}





.contact-form {
    flex: 1;
    min-width: 300px;
    width: calc(50% - 15px);
    padding-top: 50px;
    position: relative;
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 25px;
    color: #333;
    position: relative;
    padding-bottom: 12px;
    text-align: left;
}

.contact-form h3:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: #c00;
    border-radius: 3px;
}

.form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 0;
}

.form-group {
    margin-bottom: 25px;
    position: relative;
    width: 100%;
}

.form-group.half {
    flex: 0 0 calc(50% - 10px);
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-control:focus {
    border-color: #c00;
    outline: none;
}

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

.submit-btn {
    background-color: #c00;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(204,0,0,0.2);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
}

.submit-btn:hover {
    background-color: #a00;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(204,0,0,0.3);
}

.submit-btn:active {
    transform: translateY(0);
    box-shadow: 0 3px 10px rgba(204,0,0,0.2);
}

.social-section {
    background: linear-gradient(135deg, #121117, #333);
    padding: 50px 0;
    text-align: center;
    margin: 60px 0;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.social-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCI+CjxyZWN0IHdpZHRoPSI2MCIgaGVpZ2h0PSI2MCIgZmlsbD0idHJhbnNwYXJlbnQiPjwvcmVjdD4KPHBhdGggZD0iTTAgMCBMNjAgNjAgTTYwIDAgTDAgNjAiIHN0cm9rZT0icmdiYSgyNTUsMjU1LDI1NSwwLjA1KSIgc3Ryb2tlLXdpZHRoPSIxIj48L3BhdGg+Cjwvc3ZnPg==');
    opacity: 0.3;
}

.social-title {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 25px;
    color: #fff;
    position: relative;
    z-index: 1;
}

.social-title:after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: #c00;
    margin: 15px auto 0;
    border-radius: 3px;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 25px;
    position: relative;
    z-index: 1;
}

.social-icon {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.1);
    position: relative;
    overflow: hidden;
}

.social-icon:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #c00, #ff3333);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.social-icon:hover {
    color: white;
    transform: translateY(-8px) scale(1.1);
    box-shadow: 0 10px 25px rgba(204,0,0,0.3);
    border-color: rgba(255,255,255,0.2);
}

.social-icon:hover:before {
    opacity: 1;
}

.social-icon:active {
    transform: translateY(-3px) scale(1.05);
}

.contact-map {
    margin-top: 60px;
    width: 100%;
    height: 450px;
    border: none;
    margin-bottom: 40px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

/* Mobil Uyumluluk */
@media (max-width: 992px) {
    .contact-map-form {
        flex-direction: column;
        scroll-margin-top: -600px; /* Header ile çakışmayı önlemek için */
    }
    
    .contact-map-container, .contact-form {
        width: 100%;
    }
    
    .contact-map-container {
        margin-bottom: 30px;
    }
    
    .contact-map {
        min-height: 350px;
    }
    
    .contact-header {
        padding: 40px 20px;
    }
    
    .contact-title {
        font-size: 36px;
    }
    
    .contact-subtitle {
        font-size: 16px;
        padding: 0 15px;
    }
    
    .contact-boxes {
        gap: 15px;
    }
    
    .contact-box {
        min-width: calc(50% - 15px);
        flex: 0 0 calc(50% - 15px);
    }
    
    .social-section {
        padding: 40px 20px;
    }
    
    .social-icons {
        flex-wrap: wrap;
        gap: 15px;
    }
}

@media (max-width: 576px) {
    .contact-title {
        font-size: 28px;
    }
    
    .contact-box {
        min-width: 100%;
        flex: 0 0 100%;
    }
    
    .form-group.half {
        flex: 0 0 100%;
    }
    
    .form-row {
        gap: 0;
    }
    
    .contact-form h3 {
        text-align: left;
    }
    
    .contact-form h3:after {
        left: 0;
    }
    
    .contact-map {
        min-height: 300px;
    }
}

/* Animasyonlar */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(30px); }
    to { opacity: 1; transform: translateX(0); }
}

.contact-header {
    animation: fadeIn 0.8s ease-out forwards;
}

.contact-info {
    animation: slideInLeft 0.8s ease-out forwards;
}

.contact-form {
    animation: slideInRight 0.8s ease-out forwards;
}

.contact-map, .social-section {
    animation: fadeIn 1s ease-out forwards;
    animation-delay: 0.3s;
    opacity: 0;
    animation-fill-mode: forwards;
}