/* PHP RADYO - Responsive Stylesheet */

/* Large Tablets and Small Desktops */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-section h1 {
        font-size: 42px;
    }
    
    .hero-section p {
        font-size: 18px;
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .djs-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .player-main {
        flex-direction: column;
        text-align: center;
    }
    
    .album-art {
        margin: 0 auto;
    }
}

/* Tablets */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .hero-section p {
        font-size: 16px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        width: 200px;
        text-align: center;
    }
    
    .now-playing {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .programs-grid {
        grid-template-columns: 1fr;
    }
    
    .djs-grid {
        grid-template-columns: 1fr;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-card.featured {
        grid-column: span 1;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .newsletter-form {
        flex-direction: column;
        gap: 15px;
    }
    
    .newsletter-form input {
        width: 100%;
    }
    
    .player-container {
        padding: 20px;
    }
    
    .player-main {
        gap: 20px;
    }
    
    .album-art {
        width: 120px;
        height: 120px;
    }
    
    .track-info h2 {
        font-size: 24px;
    }
    
    .track-info p {
        font-size: 16px;
    }
    
    .player-controls {
        flex-direction: column;
        gap: 20px;
    }
    
    .main-controls {
        order: 2;
    }
    
    .volume-controls {
        order: 1;
    }
    
    .extra-controls {
        order: 3;
    }
    
    .player-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .schedule-filter {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .filter-btn {
        font-size: 14px;
        padding: 6px 12px;
    }
    
    .schedule-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .schedule-item .time {
        min-width: auto;
        align-self: center;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .faq-question {
        padding: 15px;
    }
    
    .faq-question h3 {
        font-size: 16px;
    }
}

/* Mobile Phones */
@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .header {
        padding: 10px 0;
    }
    
    .logo h1 {
        font-size: 20px;
    }
    
    .logo img {
        width: 30px;
        height: 30px;
    }
    
    .nav-menu {
        gap: 10px;
    }
    
    .nav-menu a {
        font-size: 14px;
    }
    
    .live-button {
        padding: 6px 15px;
        font-size: 14px;
    }
    
    .hero-section {
        padding: 40px 0;
    }
    
    .hero-section h1 {
        font-size: 28px;
    }
    
    .hero-section p {
        font-size: 14px;
    }
    
    .page-header {
        padding: 40px 0;
    }
    
    .page-header h1 {
        font-size: 28px;
    }
    
    .page-header p {
        font-size: 16px;
    }
    
    .features-section,
    .programs-section,
    .djs-section,
    .news-section,
    .contact-section,
    .schedule-section {
        padding: 40px 0;
    }
    
    .features-section h2,
    .programs-section h2,
    .djs-section h2,
    .news-section h2,
    .contact-section h2,
    .schedule-section h2 {
        font-size: 24px;
    }
    
    .feature-card,
    .program-card,
    .dj-card,
    .news-card {
        margin-bottom: 20px;
    }
    
    .program-content,
    .dj-content,
    .news-content {
        padding: 15px;
    }
    
    .program-content h3,
    .dj-content h3,
    .news-content h3 {
        font-size: 18px;
    }
    
    .player-container {
        padding: 15px;
    }
    
    .album-art {
        width: 100px;
        height: 100px;
    }
    
    .track-info h2 {
        font-size: 20px;
    }
    
    .track-info p {
        font-size: 14px;
    }
    
    .waveform {
        height: 40px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .control-btn.play-pause {
        width: 45px;
        height: 45px;
        font-size: 18px;
    }
    
    .chat-messages {
        height: 200px;
    }
    
    .chat-input {
        flex-direction: column;
        gap: 10px;
    }
    
    .chat-input button {
        width: 100%;
    }
    
    .recent-tracks {
        padding: 30px 0;
    }
    
    .recent-tracks h3 {
        font-size: 20px;
    }
    
    .track-item {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }
    
    .track-time {
        min-width: auto;
    }
    
    .newsletter-section {
        padding: 40px 0;
    }
    
    .newsletter-section h2 {
        font-size: 24px;
    }
    
    .contact-form {
        padding: 20px;
    }
    
    .contact-info h2,
    .contact-form h2 {
        font-size: 24px;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .contact-icon {
        margin: 0 auto;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .map-section {
        padding: 40px 0;
    }
    
    .map-section h2 {
        font-size: 24px;
    }
    
    .faq-section {
        padding: 40px 0;
    }
    
    .faq-section h2 {
        font-size: 24px;
    }
    
    .faq-question {
        padding: 12px 15px;
    }
    
    .faq-question h3 {
        font-size: 14px;
    }
    
    .faq-toggle {
        font-size: 18px;
    }
    
    .faq-answer {
        font-size: 14px;
    }
    
    .day-schedule {
        padding: 20px;
    }
    
    .day-schedule h3 {
        font-size: 20px;
    }
    
    .schedule-item {
        padding: 15px;
    }
    
    .program-info h4 {
        font-size: 16px;
    }
    
    .program-info .description {
        font-size: 13px;
    }
    
    .dj-stats {
        padding: 40px 0;
    }
    
    .dj-stats h2 {
        font-size: 24px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .stat-item {
        padding: 20px;
    }
    
    .stat-item h3 {
        font-size: 28px;
    }
    
    .weekend-programs {
        padding: 40px 0;
    }
    
    .weekend-programs h2 {
        font-size: 24px;
    }
    
    .pagination {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .page-btn {
        font-size: 14px;
        padding: 6px 10px;
    }
    
    .footer {
        padding: 30px 0 15px;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .footer-section h3 {
        font-size: 18px;
    }
}

/* Extra Small Screens */
@media (max-width: 320px) {
    .hero-section h1 {
        font-size: 24px;
    }
    
    .hero-section p {
        font-size: 13px;
    }
    
    .btn {
        width: 180px;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .track-info h2 {
        font-size: 18px;
    }
    
    .track-info p {
        font-size: 13px;
    }
    
    .control-btn {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .control-btn.play-pause {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .album-art {
        width: 80px;
        height: 80px;
    }
}

/* Landscape Orientation for Mobile */
@media (max-width: 768px) and (orientation: landscape) {
    .hero-section {
        padding: 30px 0;
    }
    
    .hero-section h1 {
        font-size: 24px;
    }
    
    .hero-section p {
        font-size: 14px;
    }
    
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
    }
    
    .btn {
        width: auto;
        min-width: 150px;
    }
    
    .player-container {
        padding: 15px;
    }
    
    .player-main {
        flex-direction: row;
        align-items: center;
    }
    
    .album-art {
        margin: 0;
    }
    
    .chat-messages {
        height: 150px;
    }
}

/* High Resolution Screens */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-section h1 {
        font-size: 56px;
    }
    
    .hero-section p {
        font-size: 22px;
    }
    
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .programs-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .djs-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .news-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Print Styles */
@media print {
    .header,
    .live-button,
    .player-controls,
    .chat-section,
    .newsletter-section,
    .contact-form,
    .footer {
        display: none;
    }
    
    .hero-section {
        background: white;
        color: black;
    }
    
    .hero-section h1 {
        font-size: 32px;
    }
    
    .page-header {
        background: white;
        color: black;
    }
    
    .feature-card,
    .program-card,
    .dj-card,
    .news-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    body {
        font-size: 12px;
        line-height: 1.4;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    .wave-bar {
        animation: none;
    }
    
    .feature-card,
    .program-card,
    .dj-card,
    .news-card,
    .control-btn,
    .btn,
    .social-icon,
    .social-link {
        transition: none;
    }
}

/* Dark Mode Support */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1a1a2e;
        color: #eee;
    }
    
    .features-section,
    .weekend-programs,
    .dj-stats,
    .map-section,
    .recent-tracks {
        background-color: #16213e;
    }
    
    .feature-card,
    .program-card,
    .dj-card,
    .news-card,
    .stat-item {
        background-color: #0f3460;
        color: #eee;
    }
    
    .contact-form {
        background-color: #16213e;
    }
    
    .faq-item {
        background-color: #16213e;
    }
    
    .faq-question:hover {
        background-color: #0f3460;
    }
    
    .day-schedule {
        background-color: #16213e;
    }
    
    .schedule-item {
        background-color: #0f3460;
    }
}
