/*
Theme Name: MesRadio
Description: Ένα σύγχρονο θέμα WordPress για ραδιοφωνικούς σταθμούς με ενσωματωμένο player και playlist
Author: Mesradio Team
Version: 1.0
Text Domain: mesradio
*/

/* Reset CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Βασικές μεταβλητές CSS */
:root {
    --primary-color: #10B981;
    --secondary-color: #0B1020;
    --accent-color: #F59E0B;
    --text-color: #111827;
    --text-light: #6B7280;
    --background-color: #ffffff;
    --border-color: #E5E7EB;
    --shadow: 0 2px 10px rgba(0,0,0,0.1);
    --border-radius: 8px;
    --font-family: 'Noto Sans', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-family-secondary: 'Noto Serif', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-base: 16px;
    --font-size-headings: 1.5em;
    --line-height: 1.6;
    --font-weight: 400;
}

/* Βασικά στυλ */
body {
    font-family: var(--font-family);
    font-size: var(--font-size-base);
    line-height: var(--line-height);
    font-weight: var(--font-weight);
    color: var(--text-color);
    background-color: var(--background-color);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-secondary);
    font-size: var(--font-size-headings);
    line-height: 1.2;
    font-weight: 600;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.site-title {
    font-size: 2rem;
    font-weight: bold;
    color: white;
    text-decoration: none;
}

.site-title a {
    color: white;
    text-decoration: none;
}

.site-description {
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0.25rem;
}

/* Live Indicator */
.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #10B981;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.live-text {
    font-size: 0.8rem;
    font-weight: bold;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes pulse {
    0% { opacity: 1; }
    50% { opacity: 0.5; }
    100% { opacity: 1; }
}

/* Navigation */
.main-navigation {
    position: relative;
}

.nav-menu-container {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.main-navigation a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
    font-weight: 500;
}

.main-navigation a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Submenu Styling */
.main-navigation ul ul {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(11, 16, 32, 0.95);
    backdrop-filter: blur(10px);
    border-radius: var(--border-radius);
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    min-width: 200px;
    z-index: 1000;
    border: 1px solid rgba(16, 185, 129, 0.2);
}

.main-navigation ul li {
    position: relative;
}

.main-navigation ul li:hover > ul,
.main-navigation ul li.hover > ul {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.main-navigation ul ul li {
    display: block;
    width: 100%;
}

.main-navigation ul ul a {
    display: block;
    padding: 0.75rem 1rem;
    border-radius: 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
    font-size: 0.9rem;
}

.main-navigation ul ul a:hover {
    background-color: rgba(16, 185, 129, 0.2);
    transform: none;
}

.main-navigation ul ul li:last-child a {
    border-bottom: none;
}

/* Submenu Arrow Indicator */
.main-navigation ul li.menu-item-has-children > a::after {
    content: '\f107';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.main-navigation ul li.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Animation για submenu */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Header Social Links */
.header-social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-social-links a {
    color: white;
    text-decoration: none;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(16, 185, 129, 0.2);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.header-social-links a:hover {
    background: rgba(16, 185, 129, 0.3);
    transform: translateY(-2px);
}

.header-social-links i {
    font-size: 1rem;
}

/* Radio Player Section */
.radio-player-section {
    background: var(--secondary-color);
    color: white;
    padding: 2rem 0;
    text-align: center;
}

.radio-player {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
}

.now-playing {
    margin-bottom: 1rem;
}

.track-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.track-info p {
    opacity: 0.8;
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin: 2rem 0;
}

.play-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-btn:hover {
    transform: scale(1.1);
    background: var(--accent-color);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.volume-slider {
    width: 100px;
}

/* Main Content */
.site-main {
    padding: 3rem 0;
}

.content-area {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
}

/* Posts */
.post {
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    margin-bottom: 2rem;
    overflow: hidden;
}

.post-header {
    padding: 2rem 2rem 1rem;
}

.post-title {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
}

.post-title a {
    color: inherit;
    text-decoration: none;
}

.post-title a:hover {
    color: var(--primary-color);
}

.post-meta {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.post-content {
    padding: 0 2rem 2rem;
    line-height: 1.8;
}

.post-content img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* Sidebar */
.sidebar {
    background: #f8f9fa;
    padding: 2rem;
    border-radius: var(--border-radius);
    height: fit-content;
}

.widget {
    margin-bottom: 2rem;
}

.widget-title {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--secondary-color);
    border-bottom: 2px solid var(--primary-color);
    padding-bottom: 0.5rem;
}

/* Playlist Widget */
.playlist-widget {
    background: white;
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: var(--shadow);
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    border-bottom: 1px solid var(--border-color);
    cursor: pointer;
    transition: background 0.3s ease;
}

.playlist-item:hover {
    background: #f8f9fa;
}

.playlist-item:last-child {
    border-bottom: none;
}

.playlist-item img {
    width: 50px;
    height: 50px;
    border-radius: var(--border-radius);
    margin-right: 1rem;
}

.playlist-info h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
}

.playlist-info p {
    font-size: 0.9rem;
    color: var(--text-light);
}

/* Footer */
.site-footer {
    background: var(--secondary-color);
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 3rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 992px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

.footer-column {
    min-height: 200px;
}

.footer-widget {
    height: 100%;
}

.footer-widget h3 {
    color: var(--accent-color, #F59E0B);
    margin-bottom: 1rem;
    font-size: 1.2em;
    border-bottom: 2px solid var(--accent-color, #F59E0B);
    padding-bottom: 0.5rem;
}

.now-playing-widget {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.now-playing-widget .track-info h4 {
    margin: 0 0 0.5rem 0;
    color: var(--accent-color, #F59E0B);
    font-size: 1.1em;
}

.now-playing-widget .track-info p {
    margin: 0 0 1rem 0;
    opacity: 0.8;
    font-size: 0.9em;
}

.mini-controls {
    text-align: center;
}

.mini-play-btn {
    background: var(--primary-color, #10B981);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mini-play-btn:hover {
    background: var(--accent-color, #F59E0B);
    transform: scale(1.1);
}

.footer-widget h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-widget ul {
    list-style: none;
}

.footer-widget ul li {
    margin-bottom: 0.5rem;
}

.footer-widget a {
    color: white;
    text-decoration: none;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-widget a:hover {
    opacity: 1;
    color: var(--primary-color);
}

.site-info {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(16, 185, 129, 0.2);
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 1rem;
    }
    
    .site-branding {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
    
    .site-title {
        font-size: 1.5rem;
    }
    
    .live-indicator {
        align-self: center;
    }
    
    .main-navigation {
        width: 100%;
    }
    
    .mobile-menu-toggle {
        display: flex;
        position: absolute;
        top: -50px;
        right: 0;
    }
    
    .nav-menu-container {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
    }
    
    .nav-menu-container.active {
        max-height: 500px;
    }
    
    .main-navigation ul {
        flex-direction: column;
        gap: 0;
        width: 100%;
    }
    
    .main-navigation li {
    width: 100%;
    border-bottom: 1px solid rgba(16, 185, 129, 0.2);
}
    
    .main-navigation a {
        display: block;
        padding: 1rem;
        border-radius: 0;
    }
    
    /* Mobile Submenu Styling */
.main-navigation ul ul {
    position: static;
    display: none;
    background: rgba(16, 185, 129, 0.1);
    box-shadow: none;
    border: none;
    border-radius: 0;
    margin-left: 1rem;
    min-width: auto;
}
    
    .main-navigation ul li.menu-item-has-children > a::after {
        content: '\f107';
        font-family: 'Font Awesome 6 Free';
        font-weight: 900;
        margin-left: 0.5rem;
        transition: transform 0.3s ease;
    }
    
    .main-navigation ul li.menu-item-has-children.submenu-open > a::after {
        transform: rotate(180deg);
    }
    
    .main-navigation ul li.menu-item-has-children.submenu-open > ul {
        display: block;
    }
    
    .header-social-links {
        justify-content: center;
        padding: 1rem 0;
    }
    
    .content-area {
        grid-template-columns: 1fr;
    }
    
    .player-controls {
        flex-wrap: wrap;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .site-title {
        font-size: 1.5rem;
    }
    
    .post-header {
        padding: 1.5rem;
    }
    
    .post-content {
        padding: 0 1.5rem 1.5rem;
    }
    
    .radio-player {
        padding: 1.5rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: var(--border-radius);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn:hover {
    background: var(--accent-color);
    transform: translateY(-2px);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-secondary:hover {
    background: var(--text-color);
}

/* Footer Radio Player - Removed (use [radio_player] shortcode instead) */

/* Hero Section */
.hero-section {
    position: relative;
    background: linear-gradient(135deg, rgba(11,16,32,0.9), rgba(11,16,32,0.6));
    color: white;
    padding: 5rem 0 4rem;
    overflow: hidden;
    background-size: cover;
    background-position: center;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(11,16,32,0.6), rgba(11,16,32,0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
}

.hero-title {
    font-size: 3rem;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.hero-subtitle {
    font-size: 1.125rem;
    opacity: 0.9;
    max-width: 720px;
}

.hero-actions {
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-btn-primary {
    background: var(--primary-color);
}

.hero-btn-primary:hover {
    background: var(--accent-color);
}

.hero-btn-secondary {
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.25);
}

.hero-btn-secondary:hover {
    background: rgba(255,255,255,0.25);
}

@media (max-width: 768px) {
    .hero-section { padding: 4rem 0 3rem; }
    .hero-title { font-size: 2.25rem; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 1.75rem; }
}

/* Removed footer radio player CSS - use [radio_player] shortcode instead */
