/* ============================================
   AkerHoca Site - Ana Stil Dosyası
   Instagram tarzı profesyonel tasarım
   ============================================ */

:root {
    --bg: #fafafa;
    --surface: #ffffff;
    --border: #dbdbdb;
    --border-light: #efefef;
    --text: #262626;
    --text-secondary: #8e8e8e;
    --primary: #0095f6;
    --instagram: #dc2743;
    --youtube: #ff0000;
    --twitter: #000000;
    --tiktok: #000000;
    --facebook: #1877f2;
    --linkedin: #0077b5;
    --telegram: #0088cc;
    --whatsapp: #25d366;
    --success: #22c55e;
    --warning: #f59e0b;
    --error: #ef4444;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
button { font-family: inherit; }

.container { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* === PROFİL HEADER === */
.profile-section {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
}
.profile-content {
    display: flex;
    gap: 42px;
    align-items: center;
    flex-wrap: wrap;
    padding: 42px 24px 28px;
    max-width: 1080px;
    margin: 0 auto;
}
.profile-pic-wrapper {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    padding: 4px;
    flex-shrink: 0;
}
.profile-pic-inner {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.profile-pic-inner img { width: 100%; height: 100%; object-fit: cover; }
.profile-pic-text { font-weight: 700; font-size: 48px; color: var(--text); }

.profile-info { flex: 1; min-width: 280px; }
.profile-header-row {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
}
.profile-name {
    margin: 0;
    font-size: 24px;
    font-weight: 300;
    color: var(--text);
}
.follow-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 8px 22px;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: opacity 0.2s;
}
.follow-btn:hover { opacity: 0.9; }
.profile-stats {
    display: flex;
    gap: 36px;
    margin-bottom: 16px;
    font-size: 15px;
    flex-wrap: wrap;
}
.profile-stats div { color: var(--text); }
.profile-stats b { font-weight: 600; }
.profile-bio { font-size: 14px; line-height: 1.5; color: var(--text); }

/* === KATEGORİ MENÜSÜ === */
.category-menu {
    padding: 20px 0 8px;
    display: flex;
    gap: 10px;
    overflow-x: auto;
    flex-wrap: wrap;
    scrollbar-width: none;
}
.category-menu::-webkit-scrollbar { display: none; }
.cat-btn {
    padding: 10px 18px;
    background: white;
    color: var(--text);
    border: 1.5px solid var(--border);
    border-radius: 24px;
    cursor: pointer;
    font-size: 13px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    transition: all 0.2s ease;
    text-decoration: none;
}
.cat-btn:hover { transform: translateY(-1px); }
.cat-btn.active {
    color: white !important;
    border-color: transparent !important;
}
.cat-btn .cat-icon { display: inline-flex; align-items: center; }
.cat-btn .cat-count {
    background: #f0f0f0;
    color: var(--text-secondary);
    font-size: 11px;
    padding: 2px 8px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
}
.cat-btn.active .cat-count {
    background: rgba(255,255,255,0.25);
    color: white;
}

/* === VİDEO GRID === */
.video-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    padding: 14px 0 40px;
}
.video-card {
    position: relative;
    aspect-ratio: 1 / 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
    background: linear-gradient(135deg, #667eea, #764ba2);
}
.video-card .icon-display {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 64px;
    color: rgba(255,255,255,0.92);
    font-weight: 700;
    font-family: Georgia, serif;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
}
.video-card .source-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    color: white;
    filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}
.video-card .overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.6);
    opacity: 0;
    transition: opacity 0.25s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px;
}
.video-card:hover .overlay { opacity: 1; }
.video-card .overlay-title {
    color: white;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    line-height: 1.3;
}
.video-card .overlay-stats {
    display: flex;
    gap: 18px;
    color: white;
    font-size: 13px;
    font-weight: 600;
}
.video-card .overlay-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* === FOOTER === */
.site-footer {
    background: var(--surface);
    border-top: 1px solid var(--border);
    padding: 36px 24px;
    position: relative;
    margin-top: 40px;
}
.footer-content {
    max-width: 1080px;
    margin: 0 auto;
    text-align: center;
}
.social-icons {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.social-icon {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}
.social-icon:hover { transform: scale(1.1); }
.footer-title {
    font-size: 14px;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 6px;
}
.footer-text {
    font-size: 12px;
    color: var(--text-secondary);
}
.admin-key {
    position: absolute;
    bottom: 14px;
    right: 18px;
    width: 24px;
    height: 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    opacity: 0.18;
    transition: opacity 0.3s;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.admin-key:hover { opacity: 0.7; }

/* === MODAL (VİDEO OYNATICI) === */
.video-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.92);
    z-index: 1000;
    padding: 20px;
    overflow-y: auto;
}
.video-modal.active { display: block; }
.modal-close {
    position: fixed;
    top: 20px;
    right: 30px;
    background: transparent;
    border: none;
    color: white;
    font-size: 36px;
    cursor: pointer;
    z-index: 1001;
    line-height: 1;
}
.modal-inner {
    max-width: 920px;
    margin: 40px auto 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
}
.modal-player {
    background: black;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 9;
}
.modal-player iframe,
.modal-player video,
.modal-player blockquote { max-width: 100%; max-height: 100%; }
.modal-sidebar {
    padding: 20px;
    max-height: 80vh;
    overflow-y: auto;
}
.modal-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}
.modal-author-pic {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(45deg, #f09433, #dc2743, #bc1888);
    padding: 2px;
}
.modal-author-pic > div {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 12px;
    overflow: hidden;
}
.modal-author-pic img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }
.modal-title { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.modal-desc { font-size: 13px; color: var(--text); line-height: 1.5; margin-bottom: 16px; }

/* === REAKSIYON BUTONLARI === */
.reactions-label,
.share-label,
.comments-label {
    font-size: 11px;
    color: var(--text-secondary);
    font-weight: 600;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.reactions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.react-btn {
    background: white;
    border: 1.5px solid var(--border);
    padding: 8px 14px;
    border-radius: 24px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    transition: all 0.2s;
}
.react-btn:hover {
    border-color: var(--primary);
    transform: translateY(-2px);
}
.react-btn.active {
    border-color: var(--primary);
    background: #e0f2fe;
}
.react-btn .emoji { font-size: 18px; }
.react-btn .count { font-weight: 600; }

/* === PAYLAŞIM BUTONLARI === */
.share-buttons {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.share-btn {
    color: white;
    border: none;
    padding: 8px 14px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s;
}
.share-btn:hover { opacity: 0.9; }
.share-btn.copy { background: white; color: var(--text); border: 1.5px solid var(--border); }

/* === YORUMLAR === */
.comments-section {
    border-top: 1px solid var(--border-light);
    padding-top: 16px;
}
.comments-header {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 12px;
}
.comment-form {
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 14px;
}
.comment-form input,
.comment-form textarea {
    width: 100%;
    padding: 7px 10px;
    border: 1px solid var(--border);
    border-radius: 6px;
    font-size: 13px;
    margin-bottom: 6px;
    font-family: inherit;
    resize: vertical;
}
.comment-form textarea { min-height: 60px; }
.comment-form-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-top: 4px;
}
.comment-form-info {
    font-size: 10px;
    color: var(--text-secondary);
    line-height: 1.4;
}
.comment-submit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 7px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}
.comment-list { display: flex; flex-direction: column; }
.comment-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}
.comment-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
}
.comment-content { flex: 1; min-width: 0; }
.comment-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
    flex-wrap: wrap;
}
.comment-name { font-weight: 600; font-size: 13px; }
.comment-date { font-size: 11px; color: var(--text-secondary); }
.comment-text { font-size: 13px; line-height: 1.5; color: var(--text); }
.no-comments {
    color: var(--text-secondary);
    font-size: 13px;
    text-align: center;
    padding: 20px;
}

/* === TOAST === */
.toast {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--text);
    color: white;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 13px;
    z-index: 2000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    display: none;
}
.toast.show { display: block; animation: toastIn 0.3s ease; }
@keyframes toastIn {
    from { opacity: 0; transform: translate(-50%, 20px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

/* === COOKIE BANNER === */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--text);
    color: white;
    padding: 16px 20px;
    z-index: 1500;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    box-shadow: 0 -4px 12px rgba(0,0,0,0.15);
    flex-wrap: wrap;
}
.cookie-banner .content { flex: 1; min-width: 250px; font-size: 13px; line-height: 1.5; }
.cookie-banner .actions { display: flex; gap: 8px; flex-shrink: 0; }
.cookie-banner button {
    padding: 8px 16px;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    border: none;
}
.cookie-banner .accept { background: var(--success); color: white; }
.cookie-banner .reject { background: transparent; color: white; border: 1px solid #555; }

/* === MOBİL UYUM === */
@media (max-width: 768px) {
    .profile-content { padding: 24px 20px 20px; gap: 24px; }
    .profile-pic-wrapper { width: 100px; height: 100px; }
    .profile-pic-text { font-size: 36px; }
    .profile-name { font-size: 20px; }
    .profile-stats { gap: 20px; font-size: 13px; }
    .video-grid { grid-template-columns: repeat(3, 1fr); gap: 4px; padding: 8px 0 30px; }
    .video-card .icon-display { font-size: 40px; }
    .video-card .overlay-title { font-size: 11px; }
    .modal-inner {
        grid-template-columns: 1fr;
        margin-top: 20px;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }
    .modal-sidebar { max-height: none; }
    .react-btn { padding: 6px 10px; font-size: 12px; }
    .react-btn .emoji { font-size: 16px; }
    .share-btn { padding: 6px 10px; font-size: 12px; }
    .container { padding: 0 16px; }
}
