@import url("nav.css");
@import url("footer.css");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


body {
    font-family: Arial, sans-serif;
    background: #f2f2f2;
    color: #333;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.MAIN-content {
    flex: 1;
}

.social-section {
    text-align: center;
    padding: 30px;
    background: #f5f5f5;
}

.social-section h2 {
    font-size: 28px;
    margin-top: 30px;
    margin-bottom: 20px;
    color: #3498db;
}

.social-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 4%;
    max-width: 1920px;
    margin: 0 auto;
}

.social-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: calc(80% / 3);
    padding: 15px;
    background-color: whitesmoke;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    text-decoration: none;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.social-box i {
    font-size: 28px;
    margin-bottom: 8px;
}

.social-box span {
    font-size: 14px;
    font-weight: 500;
}

.social-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2);
}

/* SOCIAL MEDIA LOGOS*/
.youtube {
    border: none;
    background: #ff0000;
    color: white;
}

.youtube:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.instagram {
    border: none;
    background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
    color: white;
}

.instagram:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(220, 39, 67, 0.4);
}

.facebook {
    border: none;
    background: #1877f2;
    color: white;
}

.facebook:hover {
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 20px rgba(24, 119, 242, 0.4);
}

/* CONTACT US BOX*/
.contact-section {
    max-width: calc(1820px - 80px);
    margin: 0 auto;
    margin-bottom: 5vh;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    margin-top: 5vh;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.contact-section h1 {
    text-align: center;
    color: #3498db;
}

.contact-section hr {
    border: none;
    height: 3px;
    border-radius: 3px;
    background-color: #3498db;
}

.contact-container {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    justify-content: space-between;
}

.contact-info {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size: large;
    gap: 40px;
}


.contact-container hr {
    border: none;
    height: 5px;
    border-radius: 5px;
    background-color: #3498db;
    margin: 20px 0;
}

.contact-form {
    flex: 1 1 300px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input,
.contact-form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
}

.contact-form textarea {
    min-height: 120px;
}

.contact-form button {
    padding: 12px;
    font-size: 16px;
    background-color: #3498db;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background-color: #2c80b4;
}

/* MAP & FEEDBACK SECTION */
.map-feedback-section {
    max-width: calc(1820px - 80px);
    margin: 8vh auto;
    background: #fff;
    padding: 40px;
    border-radius: 30px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Başlıkları yatayda tam aynı hizaya getirir */
    gap: 50px;
}

.map-container,
.feedback-container {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.map-container h2 {
    color: #d9383a;
    /* Şık Sıcak Kırmızı Tonu */
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
}

.feedback-container h2 {
    color: #27ae60;
    /* İyimser ve Canlı Yeşil Tonu */
    font-size: 28px;
    text-align: center;
    margin-bottom: 10px;
}

.feedback-container hr {
    border: none;
    height: 5px;
    border-radius: 5px;
    background-color: #27ae60;
    margin-bottom: 20px;
    width: 100%;
}

.map-container iframe {
    width: 100%;
    border-radius: 15px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}


.map-card {
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(217, 56, 58, 0.2);
    box-shadow: 0 4px 12px #6b141690;
    padding: 10px;
    position: relative;
    overflow: hidden;
    display: flex;
}

.map-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: #d9383a;
    z-index: 2;
}

/* iframe içi tam uyum */
.map-card iframe {
    width: 100%;
    height: 400px;
    border-radius: 12px;
    border: none;
}

.map-feedback-section .feedback-container {
    text-align: center;
}

.feedback-container p {
    margin-bottom: 15px;
    font-size: 15px;
    color: #555;
}

.feedback-container form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.feedback-container form input,
.feedback-container form textarea {
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 16px;
    resize: vertical;
}

.feedback-container form textarea {
    min-height: 120px;
}

.feedback-container form button {
    padding: 12px;
    font-size: 16px;
    background-color: #27ae60;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.3s;
}

.feedback-container form button:hover {
    background-color: #219150;
}

textarea {
    font-family: Arial, Helvetica, sans-serif;
}

/* KVKK Kutu ve Onay Alanı Stilleri */
.kvkk-box {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    padding: 12px 15px;
    margin: 15px 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

/* Açık renkli arka planlar için (Görüş Formu & İlan Formu) */
.kvkk-box-light {
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.kvkk-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    font-size: 0.85rem;
    line-height: 1.4;
    color: inherit;
}

.kvkk-label input[type="checkbox"] {
    margin-top: 3px;
    width: 16px;
    height: 16px;
    accent-color: #007bff;
    cursor: pointer;
    flex-shrink: 0;
}

.kvkk-label a {
    color: #ffcc00;
    text-decoration: underline;
    font-weight: 500;
}

.kvkk-box-light .kvkk-label a {
    color: #007bff;
}

.required-star {
    color: #ff4d4d;
    font-weight: bold;
}

@media (max-width: 900px) {

    /* 1. Sosyal Medya Kutularının Genişliği */
    .social-grid {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }

    .social-box {
        width: 100%;
        max-width: 350px;
    }

    /* 2. İletişim Bölümü Kapsayıcısı */
    .contact-section {
        padding: 20px;
        margin-top: 2vh;
        margin-bottom: 2vh;
        border-radius: 15px;
    }

    .contact-container {
        flex-direction: column;
        gap: 25px;
    }

    .contact-info {
        font-size: 16px;
        gap: 20px;
        text-align: center;
    }

    /* 3. Çakışan Konum ve Görüş/Öneri Bölümü */
    .map-feedback-section {
        flex-direction: column;
        /* Yan yana olan düzeni alt alta getirir */
        padding: 20px;
        margin: 4vh auto;
        border-radius: 15px;
        gap: 40px;
        /* Konum ve Öneri formu arasına boşluk koyar */
    }

    .map-container,
    .feedback-container {
        width: 100%;
        /* Tam genişlik kaplamalarını sağlar */
    }

    /* Haritanın Mobilde Taşmasını Önleme */
    .map-container iframe {
        width: 100%;
        height: 300px;
        /* Mobilde daha uygun bir yükseklik */
    }
}

.footer {
    margin-top: auto;
}