﻿/* contact.css */
/* --- Kurumsal Değişkenler --- */
:root {
    --primary-teal: #008080;
    --dark-teal: #004d4d;
    --light-teal: #f0fafa;
    --text-dark: #1a202c;
    --text-muted: #4a5568;
}

.contact-section {
    background: #fafbfc;
}

.contact-hero {
    background: linear-gradient(135deg, #008080 0%, #091000 100%);
    /* background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);*/
    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"><circle cx="50" cy="50" r="2" fill="white" opacity="0.1"/></svg>');
        background-size: 50px 50px;
    }
.contact-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
}

/* Form & Info Card */
.contact-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.08);
    overflow: hidden;
}

.contact-info-side {
    background: linear-gradient(185deg, #427b83 30%, #0f1c47 90%);
    /* background: linear-gradient(135deg, var(--primary-teal) 0%, var(--dark-teal) 100%);*/
    position: relative;
    overflow: hidden;
    color: white;
    padding: 125px 40px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.contact-info-title {
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 15px;
}

    .contact-info-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 3px;
        background: rgba(255,255,255,0.5);
    }

.contact-info-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

    .contact-info-item:hover {
        transform: translateX(10px);
    }

.contact-form-side {
    padding: 25px 40px;
}
/* Floating Labels */
.form-group-floating {
    position: relative;
    margin-bottom: 25px;
}

    .form-group-floating input,
    .form-group-floating textarea {
        height: 60px;
        padding: 25px 15px 10px;
        border: 2px solid #e1e5e9;
        border-radius: 5px;
        font-size: 16px;
        transition: all 0.3s;
        width: 100%;
        background: #f8f9fa;
    }

    .form-group-floating textarea {
        height: auto;
        min-height: 150px;
        resize: vertical;
    }

    .form-group-floating label {
        position: absolute;
        top: 0;
        left: 0;
        height: 100%;
        padding: 20px 15px;
        pointer-events: none;
        border: 1px solid transparent;
        transform-origin: 0 0;
        transition: opacity .1s ease-in-out, transform .1s ease-in-out;
        color: #6c757d;
        font-size: 14px;
    }

    .form-group-floating input:focus ~ label,
    .form-group-floating input:not(:placeholder-shown) ~ label,
    .form-group-floating textarea:focus ~ label,
    .form-group-floating textarea:not(:placeholder-shown) ~ label {
        transform: scale(.85) translateY(-.5rem) translateX(.15rem);
        color: #169a85;
    }

    .form-group-floating input:focus,
    .form-group-floating textarea:focus {
        border-color: #169a85;
        background: white;
        box-shadow: 0 0 0 4px rgba(9, 180, 248, 0.1);
        outline: none;
    }

/* Button & Success Message */
.btn-submit {
    background: linear-gradient(185deg, #427b83 30%, #0f1c47 100%);
    color: white;
    border: none;
    padding: 20px 40px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1.1rem;
    width: 100%;
    transition: all 0.3s ease;
}

    .btn-submit:hover {
        transform: translateY(-3px);
        box-shadow: 0 10px 20px rgba(4, 20, 70, 0.3);
        color: white;
    }

.success-message {
    background: linear-gradient(135deg, #09524b 0%, #146c43 100%);
    color: white;
    border-radius: 10px;
    padding: 25px;
    margin-bottom: 30px;
}


/* Sosyal Medya İkonları - Yatay Dizilim */
.social-contacts a.footer-link-icon {
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 4px 8px;
    border-radius: 5px;
}

    .social-contacts a.footer-link-icon i {
        transition: transform 0.3s ease, color 0.3s ease;
    }

    .social-contacts a.footer-link-icon:hover {
        color: #ffffff !important;
        background-color: rgba(255, 255, 255, 0.05);
        padding-left: 12px;
        text-decoration: none;
    }

        .social-contacts a.footer-link-icon:hover i {
            transform: scale(1.2);
            color: #ffffff;
        }
/* Map Section */
.map-card {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.map-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.map-iframe {
    position: absolute;
    border-radius: 10px;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.map-info {
    padding: 40px 30px;
    height: 100%;
    background: #f8f9fa;
    display: flex;
    flex-direction: column;
}

.map-info-header {
    text-align: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

    .map-info-header i {
        font-size: 2.5rem;
        margin-bottom: 15px;
        display: block;
    }

    .map-info-header h4 {
        color: #1a1a1a;
        font-weight: 700;
        margin-bottom: 10px;
    }

.map-info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    padding: 15px;
    background: white;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

    .map-info-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 20px rgba(0,0,0,0.08);
    }

    .map-info-item i {
        color: #198754;
        font-size: 1.2rem;
        margin-right: 15px;
        margin-top: 3px;
        flex-shrink: 0;
    }

    .map-info-item p {
        color: #666;
        font-size: 0.9rem;
        line-height: 1.5;
        margin-bottom: 0;
    }

@media (max-width: 768px) {
    .contact-info-side, .contact-form-side {
        padding: 30px;
    }
}
