/*
Theme Name: Ritimle
Theme URI: https://ritimle.com
Author: Ritimle Media Group
Description: Yüksek performanslı, SEO odaklı radyo dinleme platformu teması.
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: ritimle
*/

/* 1. ROOT & VARIABLES */
:root {
    --primary: #ff2d55;
    --surface: #ffffff;
    --bg-page: #f8fafc;
    --dark: #0f172a;
    --text-muted: #94a3b8;
    --radius-card: 24px;
    --font-main: 'Plus Jakarta Sans', sans-serif;
    --transition: 0.3s ease;
}

/* 2. RESET & BASE */
* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; }
body { 
    font-family: var(--font-main); 
    background: var(--bg-page); 
    color: var(--dark); 
    line-height: 1.6;
    overflow-x: hidden;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
img { max-width: 100%; height: auto; }
button, input { font-family: inherit; }

/* 3. HEADER & NAVIGATION */
header { 
    height: 80px; 
    background: #fff; 
    display: flex; 
    align-items: center; 
    border-bottom: 1px solid #eee; 
    position: sticky; 
    top: 0; 
    z-index: 1000; 
}
.header-inner { display: flex; justify-content: space-between; align-items: center; width: 100%; }
.logo { text-decoration: none; color: var(--dark); font-weight: 900; font-size: 1.5rem; display: flex; align-items: center; gap: 8px; }
.logo i { color: var(--primary); }

.desktop-nav { display: flex; gap: 30px; margin: 0 40px; }
.desktop-nav a { text-decoration: none; color: var(--dark); font-weight: 700; font-size: 0.95rem; transition: var(--transition); }
.desktop-nav a:hover { color: var(--primary); }

.btn-user-action { background: none; border: none; font-size: 1.6rem; cursor: pointer; color: var(--dark); display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; }

/* 4. TYPE NAV */
.type-nav { background: var(--surface); border-bottom: 1px solid #f1f5f9; padding: 15px 0; overflow-x: auto; white-space: nowrap; -webkit-overflow-scrolling: touch; }
.type-nav::-webkit-scrollbar { display: none; }
.type-list { display: flex; gap: 12px; }
.type-item { padding: 0 24px; height: 44px; background: #f1f5f9; border-radius: 50px; font-size: 0.9rem; font-weight: 700; color: var(--dark); border: 2px solid transparent; cursor: pointer; transition: var(--transition); display: flex; align-items: center; }
.type-item.active { background: var(--primary); color: white; border-color: var(--primary); }

/* 5. COMPONENTS (Cards, Banners, Ads) */
.ads-wrap { margin: 30px 0; padding: 12px; border: 1px dashed var(--primary); border-radius: 16px; background: rgba(255, 45, 85, 0.02); text-align: center; position: relative; min-height: 110px; display: flex; align-items: center; justify-content: center; }
.ads-wrap::before { content: 'SPONSORLU REKLAM'; position: absolute; top: -10px; left: 50%; transform: translateX(-50%); background: var(--primary); padding: 2px 12px; border-radius: 50px; font-size: 9px; font-weight: 800; color: #fff; }

.banner-slider { margin: 20px 0; overflow: hidden; border-radius: var(--radius-card); background: var(--dark); aspect-ratio: 16/5; box-shadow: 0 10px 30px rgba(15, 23, 42, 0.1); }
.slide { height: 100%; display: flex; align-items: center; padding: 40px; color: white; background: linear-gradient(90deg, rgba(0,0,0,0.85) 40%, transparent 100%); }

.pop-scroller { overflow-x: auto; display: flex; gap: 15px; padding: 10px 0 20px; -webkit-overflow-scrolling: touch; }
.pop-scroller::-webkit-scrollbar { display: none; }
.pop-card { min-width: 160px; background: #fff; padding: 25px 15px; border-radius: 24px; text-align: center; border: 1px solid #f1f5f9; transition: var(--transition); cursor: pointer; }
.pop-card:hover { transform: translateY(-8px); border-color: var(--primary); }

/* 6. FOOTER */
footer { background: var(--dark); color: white; padding: 80px 0 40px; border-radius: 50px 50px 0 0; margin-top: 80px; }
.f-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 40px; }
.f-col h4 { margin-bottom: 25px; border-left: 3px solid var(--primary); padding-left: 15px; font-weight: 800; }
.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: 12px; }
.f-col ul li a { color: #94a3b8; text-decoration: none; transition: var(--transition); }
.f-col ul li a:hover { color: #fff; padding-left: 5px; }

/* 7. MODAL */
.login-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); display: none; align-items: center; justify-content: center; z-index: 2000; backdrop-filter: blur(5px); }
.login-card { background: white; padding: 40px; border-radius: 35px; width: 90%; max-width: 420px; }

/* 8. RESPONSIVE */
@media (max-width: 992px) {
    .desktop-nav { display: none; }
    .banner-slider { aspect-ratio: 16/7; }
}
@media (max-width: 768px) {
    header { height: 70px; }
    .slide-content h2 { font-size: 1.4rem; }
    footer { border-radius: 30px 30px 0 0; }
}