/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Almarai', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #F8F8F8;
    direction: rtl;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
.header {
    background: #554a38;
    color: #FFFFFF;
    padding: 0.5rem 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #554a38;
    color: #FFFFFF;
}

.header-text {
    text-align: center;
}

.header-text h1 {
    font-size: 1.5rem;
    margin: 0;
    font-weight: bold;
}

.header-text p {
    font-size: 0.9rem;
    margin: 0;
    opacity: 0.9;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(rgba(255,255,255,0.85) 0%, rgba(212,201,191,0.7) 60%, rgba(234,229,224,0.7) 100%), url('4e6f90d2-2d7f-4b1b-986c-e4ae18ef84a8.png') no-repeat center center;
    background-size: cover;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 60px 0 40px 0;
}

.hero-logo {
    margin-bottom: 20px;
}

.hero-logo img {
    width: 150px;
    height: 150px;
}

.hero-content h1,
.hero-content h2,
.hero-content .frequency,
.hero-content .location {
    color: #fff;
    text-shadow: 0 2px 8px rgba(0,0,0,0.18);
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 10px;
    font-weight: bold;
    letter-spacing: 1px;
}

.hero-content h2 {
    font-size: 2rem;
    margin-bottom: 20px;
    opacity: 0.95;
}

.frequency {
    font-size: 3rem;
    font-weight: bold;
    color: #FFC107;
    margin: 20px 0;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.25);
}

.play-button {
    background: linear-gradient(45deg, #5D4037, #6B5142);
    color: #FFFFFF;
    border: none;
    padding: 15px 40px;
    font-size: 1.2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    margin: 20px 0;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.play-button i {
    font-size: 1.1em;
    transition: all 0.3s ease;
}

.play-button.playing {
    background: linear-gradient(45deg, #554a38, #6B5142);
    animation: pulse-light 2s infinite;
}

@keyframes pulse-light {
    0% {
        box-shadow: 0 4px 15px rgba(85, 74, 56, 0.2);
    }
    50% {
        box-shadow: 0 4px 25px rgba(85, 74, 56, 0.4);
    }
    100% {
        box-shadow: 0 4px 15px rgba(85, 74, 56, 0.2);
    }
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.play-button:active {
    transform: translateY(1px);
}

.location {
    font-size: 1.2rem;
    opacity: 0.9;
    margin-top: 20px;
}

/* Section Styles */
.about-section, .mission-section {
    padding: 80px 0;
}

.about-section {
    background: #FFFFFF;
}

.mission-section {
    background: #F8F8F8;
}

.about-section h2, .mission-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
    color: #5D4037;
    position: relative;
}

.about-section h2::after, .mission-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #5D4037, #6B5142);
    border-radius: 2px;
}

.about-content p {
    font-size: 1.1rem;
    line-height: 1.8;
    text-align: justify;
    max-width: 900px;
    margin: 0 auto;
    color: #4A4A4A;
}

.mission-content ul {
    list-style: none;
    max-width: 800px;
    margin: 0 auto;
}

.mission-content li {
    background: #FFFFFF;
    margin: 15px 0;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: relative;
    padding-right: 60px;
    transition: transform 0.3s ease;
    color: #4A4A4A;
}

.mission-content li:hover {
    transform: translateX(-5px);
}

.mission-content li::before {
    content: '✓';
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #5D4037;
    color: #FFFFFF;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
}

/* Footer Styles */
.footer {
    background: #554a38;
    color: #FFFFFF;
    padding: 30px 0 120px;
}

.footer * {
    color: #FFFFFF !important;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1.2fr 1fr;
    gap: 25px;
    margin-bottom: 30px;
    align-items: start;
}

.footer-about .footer-logo {
    width: 100px;
    margin-bottom: 15px;
    border-radius: 50%;
    padding: 5px;
}

.footer-about p {
    font-size: 0.95rem;
    line-height: 1.7;
    opacity: 0.9;
}

.footer-about h3, .contact-section h3, .app-links-section h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #FFC107;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
}

.contact-item {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    padding: 5px 0;
}

.contact-item i {
    font-size: 1.2em;
    color: #FFC107;
    margin-left: 15px;
}

.contact-item a {
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.app-links-section {
    text-align: center;
}

.app-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.app-link img {
    width: 160px;
    height: auto;
    transition: transform 0.3s ease;
}

.app-link:hover img {
    transform: scale(1.05);
}

.copyright {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.2);
    opacity: 0.8;
}

/* Audio Player */
.audio-player {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: #554a38;
    color: #FFFFFF;
    padding: 15px 20px;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 20px;
    transition: transform 0.3s ease;
    overflow: hidden;
}

.audio-player:hover {
    transform: translateY(0);
}

.audio-player * {
    color: #FFFFFF !important;
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}

#play-pause-btn {
    background: #FFC107;
    color: #5D4037;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

#play-pause-btn:hover {
    background: #FFD700;
    transform: scale(1.1);
}

.player-info {
    flex: 1;
    text-align: center;
    margin: 0 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.player-info h3 {
    margin-bottom: 5px;
    color: #FFC107;
}

#audio-player .audio-waves span {
    background-color: #FFC107; /* Gold color */
    width: 3px;
}

#audio-player .audio-waves {
    height: 25px;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .header-text h1 {
        font-size: 1.2rem;
    }
    
    .header-text p {
        font-size: 0.8rem;
    }
    
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .hero-content h2 {
        font-size: 1.3rem;
    }
    
    .frequency {
        font-size: 1.7rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .audio-player {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
        justify-content: center;
    }
    
    .about-section, .mission-section {
        padding: 60px 0;
    }
    
    .about-section h2, .mission-section h2 {
        font-size: 2rem;
    }
    
    .footer {
        padding-bottom: 150px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .play-button {
        padding: 12px 30px;
        font-size: 1rem;
    }
    
    .logo img {
        width: 60px;
        height: 60px;
    }
}

/* Animations */
@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.loading {
    animation: pulse 2s infinite;
}

/* Accessibility */
html {
    scroll-behavior: smooth;
}

button:focus, a:focus {
    outline: 2px solid #FFC107;
    outline-offset: 2px;
}

.sound-waves {
    display: inline-flex;
    align-items: flex-end;
    margin-right: 10px;
    height: 24px;
    vertical-align: middle;
}
.sound-waves .bar {
    width: 4px;
    height: 12px;
    margin: 0 2px;
    background: #FFC107;
    border-radius: 2px;
    animation: sound-wave 1s infinite;
}
.sound-waves .bar:nth-child(2) {
    animation-delay: 0.2s;
}
.sound-waves .bar:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes sound-wave {
    0%, 100% { height: 12px; }
    50% { height: 24px; }
}

body, p, li, .about-content, .mission-content, .location, .contact-info, .app-links, .copyright {
    font-family: 'Almarai', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

h1, h2, h3, h4, h5, h6, .header-text h1, .hero-content h1, .hero-content h2, .about-section h2, .mission-section h2 {
    font-family: 'Cairo', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.hero-content h1,
.hero-content h2 {
    color: #554a38;
    text-shadow: 0 2px 8px rgba(255,255,255,0.5);
}

.hero-content .frequency {
    color: #554a38;
    text-shadow: 0 2px 8px rgba(255,255,255,0.5);
}

.hero-content .location {
    color: #554a38;
    text-shadow: 0 2px 8px rgba(255,255,255,0.5);
}

.audio-waves {
    display: none;
    justify-content: center;
    align-items: center;
    gap: 4px;
    height: 40px;
    margin: 20px auto;
}

.audio-waves.playing {
    display: flex;
}

.audio-waves span {
    display: block;
    width: 4px;
    height: 100%;
    background-color: #554a38;
    border-radius: 8px;
    animation: wave 1.2s linear infinite;
    transform-origin: bottom;
}

.audio-waves span:nth-child(2) {
    animation-delay: 0.1s;
}

.audio-waves span:nth-child(3) {
    animation-delay: 0.2s;
}

.audio-waves span:nth-child(4) {
    animation-delay: 0.3s;
}

.audio-waves span:nth-child(5) {
    animation-delay: 0.4s;
}

.audio-waves span:nth-child(6) {
    animation-delay: 0.5s;
}

@keyframes wave {
    0% {
        transform: scaleY(0.1);
    }
    50% {
        transform: scaleY(1);
    }
    100% {
        transform: scaleY(0.1);
    }
}

#audio-player {
    display: flex;
    justify-content: space-between;
    align-items: center;
    overflow: hidden;
}

.marquee-container {
    flex: 1;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 32px;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, black 10%, black 90%, transparent 100%);
}

.marquee-text {
    display: inline-flex;
    width: max-content;
    white-space: nowrap;
    animation: marquee 300s linear infinite;
    font-size: 1.1rem;
    color: #FFC107;
    opacity: 0.9;
    font-weight: bold;
    will-change: transform;
}

.marquee-text:hover {
    animation-play-state: paused;
}

.marquee-text span {
    padding: 0 1rem;
    color: #FFC107;
    opacity: 0.9;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(50%);
    }
} 