/* assets/css/style.css - Full Islamic Portal Theme */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Amiri:wght@400;700&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css');

:root {
    --primary-green: #145a32; /* Derin İslami Yeşil */
    --light-green: #2ecc71;
    --gold: #d4af37; /* Altın */
    --gold-dark: #b8860b;
    --bg-color: #f4f6f7;
    --white: #ffffff;
    --text-main: #2c3e50;
    --text-light: #7f8c8d;
    --border-color: #e5e8e8;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', sans-serif;
}

body {
    background-color: var(--bg-color);
    background-image: url('https://www.transparenttextures.com/patterns/arabesque.png'); /* Hafif desen */
    color: var(--text-main);
    line-height: 1.6;
}

/* HEADER */
header {
    background: var(--white);
    padding: 1rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.logo i {
    font-size: 2.5rem;
    color: var(--primary-green);
}

.logo-text h1 {
    font-size: 1.8rem;
    color: var(--primary-green);
    line-height: 1;
}

.logo-text span {
    font-size: 0.85rem;
    color: var(--gold-dark);
    font-weight: 500;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 2rem;
}

nav a {
    text-decoration: none;
    color: var(--text-main);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
}

nav a:hover {
    color: var(--primary-green);
}

.menu-toggle {
    display: none;
    font-size: 1.8rem;
    color: var(--primary-green);
    cursor: pointer;
}

/* HERO SECTION (Yeşil Arkaplanlı) */
.hero-section {
    background: linear-gradient(135deg, var(--primary-green) 0%, #0e4020 100%);
    position: relative;
    padding: 4rem 5%;
    overflow: hidden;
}

/* Arkaplan Camii/Mandala Deseni */
.hero-bg-pattern {
    position: absolute;
    top: -50%;
    right: -10%;
    width: 60%;
    opacity: 0.1;
    pointer-events: none;
}

.hero-content-wide {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    max-width: 1300px;
    margin: 0 auto;
    text-align: center;
}

.hero-text-wide {
    color: var(--white);
    max-width: 800px;
}

.hero-text-wide h2 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.hero-text-wide p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* RADYO PLAYER KUTUSU */
.radio-player-card.horizontal {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 20px;
    padding: 1.5rem 2rem;
    width: 100%;
    max-width: 1100px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    text-align: left;
}

.player-left {
    display: flex;
    align-items: center;
}

.radio-cover {
    position: relative;
    width: 110px;
    height: 110px;
}

.player-img {
    width: 100%;
    height: 100%;
    border-radius: 15px;
    object-fit: cover;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

.live-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: #e74c3c;
    color: white;
    font-size: 0.7rem;
    font-weight: bold;
    padding: 4px 8px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3);
}

.pulse {
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(255, 255, 255, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 255, 255, 0); }
}

.player-middle {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.player-middle h4 {
    color: var(--gold);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.player-middle h3 {
    color: var(--white);
    font-size: 1.5rem;
    line-height: 1.2;
}

.listener-info {
    font-size: 0.85rem;
    color: #ccc;
    display: flex;
    gap: 15px;
    align-items: center;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-top: 10px;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--gold);
    border: none;
    font-size: 1.2rem;
    color: #000;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.4);
    transition: transform 0.2s;
}

.play-btn:hover { transform: scale(1.05); }

.vol-slider {
    width: 120px;
}

.player-right {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.action-btn {
    background: rgba(255,255,255,0.1);
    color: white;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 15px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.action-btn:hover {
    background: var(--gold);
    color: black;
    border-color: var(--gold);
}

/* NAMAZ VAKİTLERİ BARI (Resimdeki Gibi Yatay ve Altın) */
.namaz-bar-wrapper {
    background: var(--gold-dark);
    background: linear-gradient(to right, #b8860b, #daa520, #b8860b);
    padding: 1.5rem 5%;
    border-bottom: 5px solid var(--primary-green);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.namaz-bar {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.namaz-title {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.vakitler-container {
    display: flex;
    gap: 2rem;
}

.vakit-box {
    text-align: center;
    color: var(--white);
    border-right: 1px solid rgba(255,255,255,0.3);
    padding-right: 2rem;
}
.vakit-box:last-child { border: none; padding-right: 0; }

.v-name { font-size: 0.9rem; opacity: 0.9; text-transform: uppercase; }
.v-time { font-size: 2.2rem; font-weight: 700; line-height: 1; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); }

.city-select {
    background: rgba(0,0,0,0.2);
    border: 1px solid rgba(255,255,255,0.3);
    color: white;
    padding: 10px;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    outline: none;
}
.city-select option { color: #000; }

/* MAIN LAYOUT (İçerik + Sidebar) */
.main-container {
    max-width: 1300px;
    margin: 3rem auto;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 2.5fr 1fr;
    gap: 3rem;
}

/* SOL TARAF - İÇERİK */
.content-area {
    display: flex;
    flex-direction: column;
    gap: 3rem;
}

/* Filistin Panosu (Büyük) */
.palestine-board {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    border: 1px solid var(--border-color);
}
.p-header {
    background: #c8102e;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.5rem;
}
.p-body {
    padding: 2rem;
    display: flex;
    gap: 2rem;
}
.p-body img {
    width: 300px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}
.p-text h3 { margin-bottom: 1rem; color: var(--text-main); }
.p-text p { color: var(--text-light); margin-bottom: 1rem; }
.p-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #000;
    color: white;
    text-decoration: none;
    border-radius: 5px;
}

/* Dersler / Podcast Listesi */
.lessons-list {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}
.section-title {
    font-size: 1.8rem;
    color: var(--primary-green);
    margin-bottom: 1.5rem;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--gold);
}
.lesson-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s;
}
.lesson-item:hover { background: #f9f9f9; }
.lesson-play {
    width: 40px; height: 40px; border-radius: 50%;
    background: var(--primary-green); color: white;
    border: none; margin-right: 1.5rem; cursor: pointer;
}
.lesson-info flex: 1; }
.lesson-info h4 { color: var(--text-main); font-size: 1.1rem; }
.lesson-info span { color: var(--text-light); font-size: 0.85rem; }

/* SAĞ TARAF - SIDEBAR (Senin Attığın Resimdeki Kartlar) */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.side-card {
    background: var(--white);
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    position: relative;
    overflow: hidden;
    /* Camii Silüeti Arkaplanı */
    background-image: url('https://upload.wikimedia.org/wikipedia/commons/thumb/1/15/Mosque_icon.svg/512px-Mosque_icon.svg.png');
    background-repeat: no-repeat;
    background-position: bottom right -20px;
    background-size: 150px;
}
/* Arkaplan resmini soldurmak için */
.side-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255,255,255,0.92);
    z-index: 1;
}

.card-content {
    position: relative;
    z-index: 2;
}

.card-title {
    color: var(--gold-dark);
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-arabic {
    font-family: 'Amiri', serif;
    font-size: 1.5rem;
    text-align: center;
    color: var(--primary-green);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.card-text {
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    text-align: center;
    margin-bottom: 1rem;
}

.card-source {
    display: block;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    padding-top: 10px;
}

/* İletişim / İstek Kartı */
.request-card {
    background: var(--primary-green);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
}
.request-card i { font-size: 3rem; color: var(--gold); margin-bottom: 1rem; }
.request-btn {
    display: inline-block;
    margin-top: 1rem;
    padding: 10px 20px;
    background: var(--gold);
    color: #000;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* FOOTER */
footer {
    background: #111;
    color: #aaa;
    padding: 4rem 5% 2rem;
    margin-top: 4rem;
}

.footer-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    border-bottom: 1px solid #333;
    padding-bottom: 3rem;
    margin-bottom: 2rem;
}

.footer-col h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
}
.footer-col p { margin-bottom: 1rem; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #aaa; text-decoration: none; }
.footer-links a:hover { color: var(--gold); }

.social-links { display: flex; gap: 15px; margin-top: 1rem; }
.social-links a {
    width: 40px; height: 40px; border-radius: 50%;
    background: #333; color: white;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none; transition: 0.3s;
}
.social-links a:hover { background: var(--primary-green); }

.footer-bottom {
    text-align: center;
    font-size: 0.9rem;
}

/* YENİ EKLENEN 3'LÜ BİLGİ KARTLARI (İkonlu Grid) */
.info-grid-section {
    background-color: #8ce1a4;
    padding: 4rem 5%;
    border-bottom: 5px solid var(--primary-green);
}

.info-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    text-align: center;
}

/* KÜÇÜLTÜLMÜŞ BİLGİ KARTLARI (İstek Hattı Yanı) */
.small-info-grid-section {
    background-color: #8ce1a4; /* Arkaplanı aynı/altın(yeşil) kalsın */
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.small-info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.info-item-small {
    background: rgba(255, 255, 255, 0.4); /* Kartlar hafif şeffaf beyaz */
    padding: 1.5rem 1rem;
    border-radius: 12px;
    transition: transform 0.3s;
}

.info-item-small:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.6);
}

.icon-wrapper-small {
    width: 60px;
    height: 60px;
    background-color: #3498db;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    margin: 0 auto 1rem auto;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.info-item-small h3 {
    color: #1b4d2e;
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.info-item-small p {
    color: #2c6e49;
    font-size: 0.8rem;
    line-height: 1.4;
}

/* MODALS */
.modal {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    animation: modalPop 0.3s ease-out;
}

@keyframes modalPop {
    0% { transform: scale(0.9); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 20px;
    font-size: 1.5rem;
    cursor: pointer;
    color: #666;
}

.close-modal:hover { color: red; }

.modal h2 {
    color: var(--primary-green);
    margin-bottom: 1rem;
    border-bottom: 2px solid var(--gold);
    padding-bottom: 10px;
}

.modal .action-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    font-weight: bold;
    justify-content: center;
}

.modal .action-btn:hover {
    background: #0e4020;
    color: var(--gold);
}

.history-list {
    list-style: none;
}

.history-list li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    align-items: center;
    gap: 10px;
}

.history-list li i {
    color: var(--primary-green);
}

/* RESPONSIVE DESIGN */
@media (max-width: 1024px) {
    .main-container {
        grid-template-columns: 1fr;
    }
    .radio-player-card.horizontal {
        flex-direction: column;
        text-align: center;
    }
    .player-middle {
        align-items: center;
    }
    .namaz-bar {
        flex-direction: column;
        gap: 1.5rem;
    }
    .vakitler-container {
        flex-wrap: wrap;
        justify-content: center;
    }
    .vakit-box {
        border-right: none;
        padding-right: 0;
        margin: 0 10px;
    }
    .small-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hero-text-wide h2 {
        font-size: 2.5rem;
    }
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    header {
        flex-direction: row;
        justify-content: space-between;
    }
    .menu-toggle {
        display: block;
    }
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: white;
        padding: 1rem 0;
        box-shadow: 0 10px 15px rgba(0,0,0,0.1);
    }
    nav ul.active {
        display: flex;
    }
    .small-info-grid {
        grid-template-columns: 1fr;
    }
    .p-body {
        flex-direction: column;
    }
    .p-body img {
        width: 100%;
    }
    .action-btn {
        width: 100%;
        justify-content: center;
    }
}

/* KAYAN İSTEK ŞERİDİ */
.istek-serit{background:#145a32;border-bottom:2px solid #d4af37;padding:8px 0;overflow:hidden;display:flex;align-items:center;}
.istek-serit-label{background:#d4af37;color:#145a32;font-size:0.7rem;font-weight:800;letter-spacing:1.5px;padding:4px 14px;white-space:nowrap;flex-shrink:0;margin-right:16px;}
.istek-serit-track{overflow:hidden;flex:1;}
.istek-serit-inner{display:inline-flex;animation:tickerScroll 35s linear infinite;white-space:nowrap;gap:3rem;}
.istek-serit-inner:hover{animation-play-state:paused;}
.istek-item{font-size:0.82rem;color:rgba(247,243,232,0.9);display:inline-flex;align-items:center;gap:6px;}
.istek-item i{color:#d4af37;}
@keyframes tickerScroll{0%{transform:translateX(0);}100%{transform:translateX(-50%);}}
