/* Genel Sıfırlama ve Temel Ayarlar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #ffffff 0%, #fff2e6 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem;
    overflow-x: hidden;
    position: relative;
}

/* Ana Konteyner */
.container {
    display: flex;
    width: 100%;
    max-width: 1100px;
    background-color: #fff;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    z-index: 20;
}

/* Sol Taraf: İletişim Bilgileri */
.contact-info {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: #fff;
    padding: 40px;
    flex-basis: 35%;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-info::before,
.contact-info::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    z-index: 0;
}

.contact-info::before {
    width: 250px;
    height: 250px;
    bottom: -100px;
    right: -100px;
}

.contact-info::after {
    width: 180px;
    height: 180px;
    bottom: -50px;
    right: -150px;
}

.contact-info h3 {
    font-size: 18px;
    font-weight: 500;
    opacity: 0.9;
    z-index: 1;
    position: relative;
}

.contact-info h2 {
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    z-index: 1;
}

.contact-info .subtitle {
    font-size: 15px;
    color: #eee;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.info-list {
    list-style: none;
    position: relative;
    z-index: 1;
}

.info-list li {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    font-size: 16px;
}

.info-list li i {
    font-size: 20px;
    width: 30px;
    color: #fff;
    opacity: 0.8;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.info-list li a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
}

.info-list li a:hover i {
    transform: translateY(-4px);
    opacity: 1;
}

/* --- SOSYAL MEDYA İKONLARI  --- */
.social-icons-red {
    margin-top: 20px;
    position: relative;
    z-index: 1;
    margin-left: 122px;
}

.social-icons-red a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color:rgba(229, 83, 43, 1);
    color: #fff;
    text-align: center;
    line-height: 40px;
    margin-right: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons-red a:hover {
    background-color: rgba(255, 255, 255, 0.4);
    transform: scale(1.15);
}

.social-icons {
    margin-top: 20px;
    position: relative;
    z-index: 1;
}

.social-icons a {
    display: inline-block;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-align: center;
    line-height: 40px;
    margin-right: 15px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.social-icons a:hover {
    background-color: rgba(229, 83, 43, 1);
    transform: scale(1.15);
}

/* V Şeklindeki Ürün Resimleri için Stiller */
.product-images {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    margin: 30px 0;
    padding-bottom: 20px;
}

.product-images img {
    max-width: 140px;
    height: auto;
    transform-origin: bottom center;
    transition: transform 0.4s ease, margin 0.4s ease;
}

.product-images img:first-child {
    transform: rotate(-15deg);
    margin-right: -35px;
}

.product-images img:last-child {
    transform: rotate(15deg);
    margin-left: -35px;
}

.product-images:hover img {
    transform: rotate(0deg);
    margin: 0 5px;
}

/* Sağ Taraf: Form */
.contact-form-wrapper {
    padding: 40px;
    flex-basis: 65%;
    position: relative;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.contact-form-wrapper > img {
    max-width: 400px;
    height: auto;
    align-self: center;
    margin-top: 30px;
}

form {
    display: flex;
    flex-direction: column;
}

.form-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.form-group {
    flex: 1;
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
}

.form-group label {
    font-size: 14px;
    color: #555;
    margin-bottom: 5px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    border: 1px solid #ccc;
    padding: 10px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    outline: none;
    transition: border-color 0.3s ease;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    border-color: #ffa500;
}

.form-group select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23555' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px 12px;
    padding-right: 2rem;
}

.message-group {
    margin-top: 0;
}

.form-group textarea {
    resize: vertical;
    height: 120px;
}

/* --- BUTON, UÇAK VE KVKK BÖLÜMÜ --- */

/* DEĞİŞTİ: Buton ile KVKK metnini ayırmak için justify-content güncellendi ve genişlik/boşluk eklendi */
.button-container {
    display: flex;
    align-items: center;
    justify-content: space-between; /* flex-end'den space-between'e değiştirildi */
    margin-top: 20px;
    position: relative;
    width: 100%; /* space-between'in doğru çalışması için */
    gap: 20px; /* Elemanlar arasına boşluk koyar */
}

.send-button {
    background: linear-gradient(135deg, #ffa500, #ff8c00);
    color: #fff;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
    position: relative;
    z-index: 2;
    flex-shrink: 0; /* Butonun küçülmesini engeller */
}

.send-button:hover {
    background: #ff8c00;
}

.fly-button {
    position: absolute;
    width: 218px;
    height: auto;
    bottom: 8px;
    right: -41px;
    transform: rotate(-28deg);
    pointer-events: none;
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.button-container:hover .fly-button {
    opacity: 1;
    transform: translate(25px, -25px) rotate(-20deg) scale(1);
}

/* YENİ EKLENDİ: KVKK Onay Kutusu Stilleri */
.kvkk-container {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-grow: 1; /* Mevcut alanı doldurmasını sağlar */
}

.kvkk-container input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #ff8c00; /* Onay kutusu rengini marka rengi yapar */
    flex-shrink: 0; /* Küçülmesini engeller */
    cursor: pointer;
}

.kvkk-container label {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    cursor: pointer;
}

.kvkk-container label a {
    color: #ff8c00;
    text-decoration: underline;
    font-weight: 500;
}

.kvkk-container label a:hover {
    text-decoration: none;
}
/* --- KVKK Stilleri Sonu --- */


/* === TELEFON BİLEŞENİ STİLLERİ === */
#phone-input-container {
    display: flex;
    width: 100%;
    border: 1px solid #ccc;
    border-radius: 4px;
    background-color: #f9f9f9;
    transition: box-shadow 0.3s ease;
}

#phone-input-container:focus-within {
    border-color: #ffa500;
    box-shadow: 0 0 0 2px rgba(255, 165, 0, 0.5);
}

.country-selector {
    position: relative;
    flex-shrink: 0;
}

#country-selector-button {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px;
    background-color: #eee;
    border: none;
    border-right: 1px solid #ccc;
    border-radius: 3px 0 0 3px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
}
#country-selector-button:hover {
    background-color: #e0e0e0;
}
#selected-flag {
    font-size: 1.2em;
}

#phone-number-input {
    border: none;
    background: none;
    padding: 10px;
    font-size: 16px;
    width: 100%;
}
#phone-number-input:focus {
    outline: none;
}

#country-list {
    position: absolute;
    top: 105%;
    left: 0;
    z-index: 100;
    width: 300px;
    max-height: 250px;
    overflow-y: auto;
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
#country-list.hidden {
    display: none;
}

#country-search-input {
    width: 100%;
    padding: 10px;
    border: none;
    border-bottom: 1px solid #eee;
    font-size: 15px;
    position: sticky;
    top: 0;
}
#country-search-input:focus {
    outline: none;
}

#countries-ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#countries-ul li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    cursor: pointer;
}
#countries-ul li:hover {
    background-color: #f0f0f0;
}
#countries-ul li .flag {
    font-size: 1.2em;
}
#countries-ul li .dial-code {
    margin-left: auto;
    color: #888;
}

/* === Mobil Cihazlar için Medya Sorguları === */
@media (max-width: 992px) {
    body {
        padding: 1rem;
        align-items: flex-start;
    }
    .container {
        flex-direction: column;
    }
    .contact-info, .contact-form-wrapper {
        flex-basis: auto;
    }

    /* DEĞİŞTİ: Mobil görünümde buton ve KVKK metnini alt alta getirir */
    . .button-container {
        flex-direction: column; /* DEĞİŞİKLİK BURADA */
        gap: 15px;
        justify-content: center;
    }

    /* YENİ EKLENDİ: Mobil için KVKK metnini ortalar */
    .kvkk-container {
        text-align: center;
    }

    .fly-button {
        display: none;
    }

    .button-container:hover .fly-button {
        transform: translate(20px, -20px) rotate(-20deg) scale(1);
    }
}

@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
        gap: 0;
    }
    .form-group {
        margin-bottom: 20px;
    }
    .button-container {
        flex-direction: column !important;
    }
}

@media (max-width: 390px) {
    .social-icons-red {
        margin-left: 0 !important;
    }
    .contact-form-wrapper > img {
        max-width: 313px;
    }
    .button-container {
        flex-direction: column; /* DEĞİŞİKLİK BURADA */
        gap: 15px;
        justify-content: center;
    }
    }
@media (max-width: 820px) {

    .button-container {
        flex-direction: column; /* DEĞİŞİKLİK BURADA */
        gap: 15px;
        justify-content: center;
    }
}