/*
Theme Name: Turkiye Partners
Theme URI: https://www.turkiye.partners/
Description: Tinder tarzı, modern ve hafif bir arkadaşlık teması.
Author: Gemini & Developer
Version: 1.1.0
Text Domain: turkiye-partners
*/

@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;800&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #f5f7fa;
    margin: 0;
    padding: 0;
}

/* ==========================================================
   1. GİRİŞ VE KAYIT SAYFASI (GÖRSELDEKİ BİREBİR TASARIM)
========================================================== */
.fullscreen-bg {
    /* Alan adı değişse bile kırılmayacak göreceli (relative) resim yolu */
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.6)), url('/wp-content/uploads/2026/02/arkaplan.jpg') no-repeat center center/cover;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.login-wrapper {
    width: 100%;
    max-width: 460px;
    z-index: 1;
}

/* Üst Başlık ve Slogan */
.login-hero {
    text-align: center;
    color: #fff;
    margin-bottom: 30px;
}

.serif-title {
    font-family: 'Poppins', sans-serif;
    font-size: 3.5rem;
    font-weight: 800;
    margin: 0 0 10px 0;
    text-shadow: 0 4px 15px rgba(0,0,0,0.5);
    letter-spacing: -1px;
}

.login-hero p {
    font-size: 1.1rem;
    line-height: 1.5;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    margin-bottom: 0;
}

/* Ana Kutu */
.auth-box {
    width: 100%;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.4);
}

/* Sekmeler (Giriş / Kayıt) */
.auth-tabs {
    display: flex;
    background: #f0f2f5; /* İnaktif sekme için gri arka plan */
}

.auth-tab {
    flex: 1;
    padding: 20px 0;
    border: none;
    background: transparent;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #888;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-tab.active {
    background: #fff; /* Aktif sekme bembeyaz */
    color: #ff4b2b; /* Yazı rengi turuncu */
}

/* Kutunun Gövdesi (Buzlu Cam) */
.auth-body {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    padding: 40px 30px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: none;
    border-radius: 0 0 15px 15px;
}

.auth-form h2 {
    color: #fff;
    font-size: 1.7rem;
    font-weight: 800;
    margin-top: 0;
    margin-bottom: 25px;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

/* Input Alanları */
.form-group {
    position: relative;
    margin-bottom: 20px;
}

.form-group input {
    width: 100%;
    padding: 16px 20px 16px 55px; /* İkon boşluğu */
    border: none;
    border-radius: 50px; /* Tam yuvarlak hatlar */
    background: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    color: #333;
    outline: none;
    box-sizing: border-box;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-group::before {
    content: '';
    position: absolute;
    left: 22px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    background-size: cover;
    opacity: 0.4;
    z-index: 2;
}

.icon-user::before { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%23333" xmlns="http://www.w3.org/2000/svg"><path d="M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"/></svg>'); }
.icon-lock::before { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%23333" xmlns="http://www.w3.org/2000/svg"><path d="M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2zm-6 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2zm3.1-9H8.9V6c0-1.71 1.39-3.1 3.1-3.1 1.71 0 3.1 1.39 3.1 3.1v2z"/></svg>'); }
.icon-email::before { background-image: url('data:image/svg+xml;utf8,<svg viewBox="0 0 24 24" fill="%23333" xmlns="http://www.w3.org/2000/svg"><path d="M20 4H4c-1.1 0-1.99.9-1.99 2L2 18c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V6c0-1.1-.9-2-2-2zm0 4l-8 5-8-5V6l8 5 8-5v2z"/></svg>'); }

/* Ana Giriş/Kayıt Butonu */
.auth-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(to right, #ff756b, #ff4b2b);
    color: #fff;
    border: none;
    border-radius: 50px;
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    margin-top: 10px;
    box-shadow: 0 8px 20px rgba(255, 75, 43, 0.4);
    transition: all 0.3s ease;
}

.auth-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 75, 43, 0.6);
}

.auth-msg { margin-top: 20px; text-align: center; font-size: 0.9rem; color: #ffcccc; font-weight: 600; background: rgba(255,0,0,0.2); padding: 10px; border-radius: 10px; }

/* ==========================================================
   2. DİĞER SAYFALAR (KEŞFET, EŞLEŞMELER, MESAJLAR, PROFİL)
========================================================== */
.swipe-container { display: flex; justify-content: center; align-items: center; height: 80vh; padding: 20px; }
#user-card-stack { position: relative; width: 100%; max-width: 400px; height: 600px; }
.card { background: #fff; border-radius: 20px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); overflow: hidden; position: absolute; width: 100%; height: 100%; }
.card-image-wrapper img { width: 100%; height: 450px; object-fit: cover; }
.card-info { padding: 20px; }
.card-actions { display: flex; justify-content: space-around; padding: 10px; position: absolute; bottom: 20px; width: 100%; }
.action-btn { border: none; border-radius: 50%; width: 60px; height: 60px; font-size: 24px; cursor: pointer; transition: transform 0.2s; }
.like { background: #4CAF50; color: white; box-shadow: 0 5px 15px rgba(76, 175, 80, 0.3); }
.dislike { background: #FF5252; color: white; box-shadow: 0 5px 15px rgba(255, 82, 82, 0.3); }
.action-btn:hover { transform: scale(1.1); }
.matches-container { max-width: 800px; margin: 40px auto; padding: 20px; }
.matches-header { text-align: center; margin-bottom: 30px; }
.matches-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px; }
.match-card { background: #fff; border-radius: 15px; padding: 15px; text-align: center; box-shadow: 0 4px 15px rgba(0,0,0,0.05); transition: transform 0.3s ease; }
.match-card:hover { transform: translateY(-5px); }
.match-avatar { position: relative; width: 100px; height: 100px; margin: 0 auto 15px; }
.match-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid #ff4b2b; }
.online-status { position: absolute; bottom: 5px; right: 5px; width: 15px; height: 15px; background: #4CAF50; border: 2px solid #fff; border-radius: 50%; }
.match-details h3 { font-size: 1.1rem; margin: 10px 0 5px; color: #333; }
.match-details p { font-size: 0.85rem; color: #888; }
.message-btn { display: inline-block; margin-top: 10px; padding: 8px 15px; background: linear-gradient(45deg, #ff4b2b, #ff416c); color: #fff; border-radius: 20px; text-decoration: none; font-size: 0.9rem; }
.messaging-container { display: flex; max-width: 1000px; margin: 20px auto; background: #fff; height: 80vh; border-radius: 10px; box-shadow: 0 5px 20px rgba(0,0,0,0.1); }
.messages-sidebar { width: 30%; border-right: 1px solid #eee; overflow-y: auto; }
.chat-main { width: 70%; display: flex; flex-direction: column; }
.chat-item { display: flex; align-items: center; padding: 15px; text-decoration: none; color: #333; border-bottom: 1px solid #f9f9f9; }
.chat-item.active { background: #fff1f0; border-left: 4px solid #ff4b2b; }
.chat-item img { width: 40px; height: 40px; border-radius: 50%; margin-right: 10px; }
.chat-window { flex: 1; padding: 20px; overflow-y: auto; background: #fdfdfd; }
.chat-input-area { padding: 20px; border-top: 1px solid #eee; display: flex; }
.chat-input-area input { flex: 1; padding: 10px; border: 1px solid #ddd; border-radius: 20px; outline: none; }
.chat-input-area button { margin-left: 10px; padding: 10px 20px; background: #ff4b2b; color: #fff; border: none; border-radius: 20px; cursor: pointer; }
.message { display: flex; margin-bottom: 10px; width: 100%; }
.message.sent { justify-content: flex-end; }
.message.received { justify-content: flex-start; }
.bubble { max-width: 70%; padding: 10px 15px; border-radius: 18px; font-size: 14px; }
.sent .bubble { background: #ff4b2b; color: #fff; border-bottom-right-radius: 2px; }
.received .bubble { background: #eee; color: #333; border-bottom-left-radius: 2px; }
.profile-edit-container { max-width: 500px; margin: 50px auto; background: #fff; padding: 30px; border-radius: 15px; box-shadow: 0 5px 25px rgba(0,0,0,0.1); }
.profile-pic-section { text-align: center; margin-bottom: 25px; }
.current-pic img { width: 150px; height: 150px; border-radius: 50%; object-fit: cover; border: 4px solid #ff4b2b; }
.upload-label { display: inline-block; margin-top: 10px; color: #ff4b2b; cursor: pointer; font-weight: bold; }
.form-group label { display: block; margin-bottom: 5px; font-weight: 600; color: #555; }
.profile-edit-container .form-group input, .profile-edit-container .form-group textarea { width: 100%; padding: 12px; border: 1px solid #ddd; border-radius: 8px; box-sizing: border-box; }
.save-btn { width: 100%; padding: 12px; background: linear-gradient(45deg, #ff4b2b, #ff416c); color: #fff; border: none; border-radius: 25px; cursor: pointer; font-size: 16px; font-weight: bold;}
/* ==========================================================
   3. DİNAMİK UYGULAMA MENÜSÜ (HEADER / NAVİGASYON)
========================================================== */
.app-header {
    background: #fff;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 70px;
    display: flex;
    align-items: center;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.header-logo a {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: #333;
    text-decoration: none;
    letter-spacing: -0.5px;
}

.header-logo span {
    color: #ff4b2b;
}

.header-nav {
    display: flex;
    gap: 40px;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: #bbb;
    font-size: 0.8rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    height: 70px; /* Header yüksekliği ile aynı */
}

.nav-item svg {
    width: 26px;
    height: 26px;
    margin-bottom: 3px;
    transition: transform 0.3s ease;
}

.nav-item:hover, .nav-item.active {
    color: #ff4b2b;
}

.nav-item.active svg {
    transform: scale(1.15);
}

/* Aktif sayfanın altında çıkan modern çizgi */
.nav-item.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 4px;
    background: #ff4b2b;
    border-radius: 4px 4px 0 0;
}

.logout-btn {
    color: #bbb;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
}

.logout-btn svg { width: 28px; height: 28px; }
.logout-btn:hover { color: #FF5252; }

/* Bilgisayarda Header sabit olduğu için içerik ezilmesin diye boşluk */
.main-content-wrapper {
    padding-top: 90px; 
    min-height: calc(100vh - 90px);
}

/* ==========================================================
   MOBİL EKRANLAR İÇİN ALT MENÜ (BOTTOM NAVIGATION)
========================================================== */
@media (max-width: 768px) {
    .app-header {
        top: auto;
        bottom: 0; /* Menüyü ekranın altına yapıştır */
        box-shadow: 0 -4px 15px rgba(0,0,0,0.08);
        padding-bottom: env(safe-area-inset-bottom); /* iPhone çentik uyumu */
    }
    
    .header-logo, .header-logout { 
        display: none; /* Mobilde logo ve çıkış butonunu gizle, temiz kalsın */
    }
    
    .header-nav { 
        width: 100%; 
        justify-content: space-around; 
        gap: 0; 
    }
    
    /* Çizgiyi mobilde alta değil üste al */
    .nav-item.active::after {
        bottom: auto;
        top: 0; 
        border-radius: 0 0 4px 4px;
    }
    
    /* Mobil cihazlarda içerik boşluklarını menü altta olacak şekilde ayarla */
    .main-content-wrapper {
        padding-top: 20px; 
        padding-bottom: 90px; 
    }
}