@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Naskh Arabic', serif;
    line-height: 1.6;
    background-color: #f5f5f5;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    background-color: #004d40;
    color: white;
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #b2dfdb;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,77,64,0.9), rgba(0,77,64,0.9)), url('https://source.unsplash.com/random/1920x1080/?islamic-architecture') center/cover;
    color: white;
    text-align: center;
    padding: 4rem 0;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Hadith Section */
.hadith-section {
    background-color: white;
    padding: 3rem 0;
    text-align: center;
}

.hadith-content {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    border-radius: 10px;
    background-color: #f8f8f8;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.hadith-text {
    font-size: 1.3rem;
    line-height: 2;
    margin-bottom: 1rem;
    color: #004d40;
}

.hadith-number {
    color: #666;
    font-size: 0.9rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #eee;
}

/* Quick Links Section */
.quick-links {
    padding: 4rem 0;
    background-color: #fff;
}

.quick-links .container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.card {
    text-align: center;
    padding: 2rem;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card i {
    font-size: 3rem;
    color: #004d40;
    margin-bottom: 1rem;
}
a{
    text-decoration: none;
    color: #004d40;
}
a:hover{
    text-decoration: none;
    color: #004d40;
}
.card h3 {
    margin-bottom: 1rem;
    color: #004d40;
}

/* Footer */
footer {
    background-color: #004d40;
    color: white;
    text-align: center;
    padding: 1rem 0;
    margin-top: 2rem;
}

/* Live TV Styles */
.live-section {
    padding: 2rem 0;
    background-color: #fff;
}

.live-section h2 {
    text-align: center;
    color: #004d40;
    margin-bottom: 2rem;
}

.channels-container {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.channel-list {
    background-color: #f5f5f5;
    padding: 1rem;
    border-radius: 10px;
}

.channel-button {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 5px;
    background-color: #004d40;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.channel-button:hover {
    background-color: #00695c;
    transform: translateX(-5px);
}

.channel-button.active {
    background-color: #00897b;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.video-container {
    background-color: #000;
    border-radius: 10px;
    overflow: hidden;
    aspect-ratio: 16/9;
}

/* Responsive Design */
@media (max-width: 768px) {
    nav {
        flex-direction: column;
        text-align: center;
    }

    .nav-links {
        margin-top: 1rem;
        flex-direction: column;
        gap: 1rem;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .channels-container {
        grid-template-columns: 1fr;
    }
    
    .channel-list {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .channel-button {
        flex: 1;
        min-width: 150px;
        margin-bottom: 0;
    }
}