/* =============================
   FOOTER BİLEŞENİ (YENİ TASARIM)
============================= */
.main-footer {
    background-color: var(--primary-blue);
    color: var(--pure-white);
    padding: 80px 0 0 0;
    margin-top: 60px;
    position: relative;
}
.main-footer .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 20px;
}
.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr; /* Sütun genişlikleri */
    gap: 50px;
    margin-bottom: 60px;
}
.footer-column {
    min-width: 0;
}
.footer-column.about {
    padding-right: 30px;
}
.footer-logo {
    font-family: 'Playfair Display', serif;
    color: var(--pure-white);
    font-size: 28px;
    margin-bottom: 20px;
}
.footer-description {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 25px;
}
.social-icons {
    display: flex;
    gap: 15px;
}
.social-icons a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--pure-white);
    font-size: 16px;
    transition: all 0.3s ease;
}
.social-icons a:hover {
    background-color: var(--accent-orange);
    color: var(--primary-blue);
    transform: translateY(-3px);
}
.footer-heading {
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    margin-bottom: 25px;
    color: var(--pure-white);
}
.footer-column.links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-column.links li a {
    color: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    display: block;
    padding: 6px 0;
}
.footer-column.links li a:hover {
    color: var(--accent-orange);
    padding-left: 8px;
}
.footer-cta-btn {
    padding: 12px 25px;
    font-size: 15px;
    font-weight: 700;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.5);
}
.footer-bottom-contact a {
    color: rgba(255, 255, 255, 0.7);
    font-weight: bold;
    text-decoration: none;
}
.footer-bottom-contact a:hover {
    color: var(--pure-white);
}
/* YUKARI ÇIK BUTONU (ORTALANMIŞ VE ALT BOŞLUKLU) */
#back-to-top {
    position: fixed;
    bottom: 25px; /* Alt kenardan 25px yukarıda durmasını sağlar. Değeri artırabilirsiniz. */
    left: 50%;   /* Yatayda ortaya hizalamanın ilk adımı */
    width: 50px;
    height: 50px;
    background-color: var(--accent-orange);
    color: var(--primary-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    z-index: 1000;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    /* Hem ortalama (translateX) hem dikey animasyon (translateY) için */
    transform: translateX(-50%) translateY(20px); 
    transition: all 0.4s ease;
}

#back-to-top.show {
    opacity: 1;
    visibility: visible;
    /* Görünür olduğunda da ortalama korunur */
    transform: translateX(-50%) translateY(0);
}

#back-to-top:hover {
    background-color: #ffc42e;
    /* Üzerine gelindiğinde de ortalama korunur */
    transform: translateX(-50%) translateY(-5px) !important;
}

/* =============================
   TRINK SAT MODAL STİLLERİ (DUYARLI - RESPONSIVE)
============================= */

.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6); backdrop-filter: blur(8px);
    display: flex; justify-content: center; align-items: center; z-index: 9999;
    
    /* GÜNCELLEME: Küçük ekranlarda kenarlara yapışmasını önlemek için boşluk eklendi */
    padding: 15px; 
    
    opacity: 0; visibility: hidden; transition: all 0.3s ease-in-out;
}
.modal-overlay.active { 
    opacity: 1; 
    visibility: visible; 
}

.modal-content {
    background-color: white; 
    color: var(--warm-gray);
    border-radius: 12px;
    position: relative; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    
    /* GÜNCELLEME: Esnek Genişlik */
    width: 100%; /* İçinde bulunduğu padding'li alanın tamamını kaplar */
    max-width: 550px; /* Ama 550px'den daha fazla genişlemez */
    
    /* GÜNCELLEME: Dikey Taşmayı Önleme */
    max-height: 90vh; /* Ekranın %90'ından daha uzun olamaz */
    overflow-y: auto;   /* İçerik sığmazsa, modal içinde kendi kaydırma çubuğu çıkar */
    padding: 30px 40px; 
    
    /* Animasyon (Mevcut kodunuz, aynı kalıyor) */
    transform: scale(0.95) translateY(10px);
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.modal-overlay.active .modal-content { 
    transform: scale(1) translateY(0); 
}

.modal-close {
    position: absolute; top: 10px; right: 15px; background: none;
    border: none; font-size: 32px; color: #ccc; cursor: pointer;
    transition: color 0.3s ease, transform 0.3s ease;
}
.modal-close:hover { 
    color: var(--danger-red); 
    transform: rotate(90deg); 
}

.modal-header { text-align: center; margin-bottom: 25px; }
.modal-header h2 { font-family: 'Playfair Display', serif; color: var(--primary-blue); margin-bottom: 10px; font-size: 28px; }
.modal-header p { font-size: 15px; line-height: 1.6; max-width: 400px; margin: 0 auto; }

.styled-form-modal .form-group-modal { margin-bottom: 15px; }
.styled-form-modal label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14px; color: #333; }
.styled-form-modal input, .styled-form-modal select, .styled-form-modal textarea {
    width: 100%; padding: 12px 15px; border: 1px solid #ccc;
    border-radius: 6px; font-size: 15px; font-family: 'Lato', sans-serif;
}
.styled-form-modal textarea { resize: vertical; min-height: 80px; }

/* =======================================================
   YENİ EKLENDİ: MOBİL CİHAZLAR İÇİN ÖZEL STİLLER
======================================================= */
@media (max-width: 600px) {
    .modal-content {
        /* İç boşlukları küçük ekranlar için azaltıyoruz */
        padding: 30px 20px; 
    }
    .modal-header h2 {
        /* Başlığı biraz küçültüyoruz */
        font-size: 24px; 
    }
    .modal-header p {
        /* Açıklamayı biraz küçültüyoruz */
        font-size: 14px; 
    }
}

/* =============================
   FORM MESAJ STİLLERİ
============================= */
.form-message {
    padding: 15px;
    margin-bottom: 20px; /* Form gruplarıyla aynı boşluğu bırakır */
    border: 1px solid transparent;
    border-radius: 6px; /* Diğer inputlarla aynı yuvarlaklık */
    font-size: 15px; /* Diğer inputlarla aynı font boyutu */
    text-align: center;
    font-weight: 500;
}
.form-message.success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}
.form-message.error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

/* =============================
   SOSYAL MEDYA SVG İKON STİLİ
============================= */
.social-icons a .social-svg-icon {
    width: 22px;  /* SVG'nin genişliğini ayarlar. İsteğe göre değiştirebilirsiniz. */
    height: 22px; /* SVG'nin yüksekliğini ayarlar. */
    transition: transform 0.3s ease; /* Yumuşak bir geçiş efekti ekler */
}

/* Üzerine gelindiğinde SVG'nin de tepki vermesi için (isteğe bağlı) */
.social-icons a:hover .social-svg-icon {
    transform: scale(1.1); /* Hafifçe büyütür */
}

/* =============================
   FOOTER MOBİL UYUMLULUK
============================= */
@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr; /* Sütunları tek bir sütuna indirge */
        text-align: center;
        gap: 40px;
    }
    .social-icons {
        justify-content: center;
    }
    .footer-bottom {
        flex-direction: column; /* Alt kısmı da alt alta getir */
        gap: 15px;
        padding-top: 30px;
    }
}

