/* Ramona Radio Stylesheet */

:root {
    --ramona-blue: #0328D4;
    --ramona-blue-dark: #021ba3;
    --ramona-blue-light: #3352e8;
    --white: #ffffff;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #333333;
    --text-color: #222222;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--white);
}

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

/* Header */
.main-header {
    background: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.logo img {
    height: 60px;
    width: auto;
    border-radius: 8px;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

.main-nav a {
    text-decoration: none;
    color: var(--dark-gray);
    font-weight: 500;
    transition: color 0.3s;
}

.main-nav a:hover {
    color: var(--ramona-blue);
}

.social-links {
    display: flex;
    gap: 15px;
}

.social-links a {
    color: var(--dark-gray);
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--ramona-blue);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--ramona-blue);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--ramona-blue-dark);
    transform: translateY(-2px);
}

.btn-large {
    padding: 16px 40px;
    font-size: 1.1rem;
}

/* Hero Section */
.hero {
    background: var(--white);
    color: var(--text-color);
    text-align: center;
    padding: 60px 20px 80px;
}

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

.hero-logo img {
    max-width: 200px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 8px 30px rgba(3, 40, 212, 0.2);
}

.hero h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    color: var(--ramona-blue);
}

.hero .tagline {
    font-size: 1.3rem;
    color: #666;
    margin-top: 30px;
    margin-bottom: 40px;
}

.listen-options {
    max-width: 800px;
    margin: 0 auto;
}

.listen-options h2 {
    font-size: 1.2rem;
    color: var(--dark-gray);
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.listen-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.listen-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px 20px;
    background: var(--light-gray);
    border-radius: 12px;
    text-decoration: none;
    color: var(--text-color);
    transition: transform 0.3s, box-shadow 0.3s;
}

.listen-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 40, 212, 0.15);
}

.listen-icon {
    width: 60px;
    height: 60px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    color: var(--ramona-blue);
}

.listen-text {
    display: flex;
    flex-direction: column;
}

.listen-label {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 5px;
}

.listen-desc {
    font-size: 0.85rem;
    color: #666;
}

.alexa-option {
    cursor: default;
}

.alexa-option .listen-desc {
    font-style: italic;
    color: var(--ramona-blue);
    font-weight: 500;
}

/* Hero Two-Column Layout */
.hero-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 40px;
}

.hero-main {
    text-align: center;
}

/* Featured Artist Card */
.featured-artist-card {
    background: linear-gradient(135deg, var(--ramona-blue) 0%, var(--ramona-blue-light) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(3, 40, 212, 0.3);
    min-width: 280px;
    max-width: 320px;
}

.featured-label {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    opacity: 0.8;
    margin-bottom: 20px;
}

.featured-artist-photo {
    width: 120px;
    height: 120px;
    margin: 0 auto 15px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.featured-artist-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-artist-name {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
}

.featured-song-title {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 20px;
    font-style: italic;
}

.featured-request-btn {
    background: var(--white);
    color: var(--ramona-blue);
    border: none;
    padding: 12px 30px;
    border-radius: 25px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s, box-shadow 0.2s;
}

.featured-request-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.featured-request-btn:disabled {
    background: rgba(255, 255, 255, 0.7);
    color: #666;
    cursor: default;
    transform: none;
    box-shadow: none;
}

/* Listen Section */
.listen-section {
    padding: 80px 20px;
    background: var(--light-gray);
}

.listen-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--ramona-blue);
    margin-bottom: 40px;
}

.player-container {
    max-width: 600px;
    margin: 0 auto 40px;
    background: var(--white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Request a Song Card */
.request-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 12px;
    padding: 25px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    text-align: center;
}

.request-card h3 {
    font-size: 1.4rem;
    color: var(--ramona-blue);
    margin: 0 0 8px 0;
}

.request-card > p {
    color: #666;
    margin: 0 0 20px 0;
}

.search-box {
    position: relative;
}

.search-box input {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 16px;
    font-family: inherit;
    background: #fafafa;
    transition: border-color 0.2s, background 0.2s;
}

.search-box input:focus {
    outline: none;
    border-color: var(--ramona-blue);
    background: #fff;
}

.search-box input::placeholder {
    color: #999;
}

#search-results {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin-top: 8px;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    max-height: 320px;
    overflow-y: auto;
    z-index: 1000;
    text-align: left;
}

#search-results:empty {
    display: none;
}

.result-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    border-bottom: 1px solid #eee;
    gap: 12px;
    cursor: default;
}

.result-item:last-of-type {
    border-bottom: none;
}

.result-item:hover {
    background: #f5f5f5;
}

.result-art {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    background: #eee;
}

.result-text {
    flex: 1;
    min-width: 0;
}

.result-title {
    display: block;
    font-weight: 600;
    color: #222;
    font-size: 15px;
    line-height: 1.3;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-artist {
    display: block;
    color: #666;
    font-size: 13px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.result-btn {
    padding: 8px 16px;
    background: var(--ramona-blue);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: background 0.2s;
    flex-shrink: 0;
}

.result-btn:hover {
    background: var(--ramona-blue-dark);
}

.result-btn:disabled {
    background: #999;
    cursor: default;
}

.search-status {
    padding: 20px;
    color: #666;
    text-align: center;
}

.search-status.error {
    color: #c00;
}

#request-message {
    margin-top: 15px;
}

#request-message:empty {
    display: none;
}

.request-msg {
    padding: 12px 16px;
    border-radius: 6px;
    font-size: 14px;
}

.request-msg.success {
    background: #d4edda;
    color: #155724;
}

.request-msg.error {
    background: #f8d7da;
    color: #721c24;
}

/* Request Modal */
.request-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.request-modal.show {
    display: flex;
}

.modal-content {
    background: #fff;
    border-radius: 16px;
    padding: 30px 35px;
    max-width: 400px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: modalSlide 0.3s ease;
}

@keyframes modalSlide {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
}

.modal-icon.success {
    background: #d4edda;
    color: #28a745;
}

.modal-icon.error {
    background: #f8d7da;
    color: #dc3545;
}

.modal-icon.warning {
    background: #fff3cd;
    color: #856404;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #222;
    margin-bottom: 10px;
}

.modal-message {
    font-size: 1rem;
    color: #555;
    line-height: 1.5;
    margin-bottom: 25px;
}

.modal-close {
    background: var(--ramona-blue);
    color: #fff;
    border: none;
    padding: 12px 40px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.2s;
}

.modal-close:hover {
    background: var(--ramona-blue-dark);
}

/* Featured Listen Option */
.listen-option.featured {
    background: linear-gradient(135deg, var(--ramona-blue) 0%, var(--ramona-blue-light) 100%);
    color: var(--white);
}

.listen-option.featured .listen-icon {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.listen-option.featured .listen-label {
    color: var(--white);
}

.listen-option.featured .listen-desc {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
}

.listen-option.featured:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 40, 212, 0.4);
}

/* Support Local Artists Section */
.support-section {
    padding: 80px 20px;
    background: var(--white);
}

.support-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    max-width: 1000px;
    margin: 0 auto;
}

.support-text h2 {
    font-size: 2rem;
    color: var(--ramona-blue);
    margin-bottom: 20px;
}

.support-text > p {
    font-size: 1.1rem;
    color: #555;
    line-height: 1.7;
    margin-bottom: 25px;
}

.support-features {
    list-style: none;
    margin-bottom: 30px;
}

.support-features li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 0;
    font-size: 1rem;
    color: var(--dark-gray);
}

.support-features li svg {
    color: var(--ramona-blue);
    flex-shrink: 0;
}

.support-visual {
    display: flex;
    justify-content: center;
}

.tip-card {
    background: linear-gradient(135deg, var(--ramona-blue) 0%, var(--ramona-blue-light) 100%);
    color: var(--white);
    padding: 30px;
    border-radius: 20px;
    width: 280px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(3, 40, 212, 0.3);
}

.tip-header {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
    margin-bottom: 15px;
}

.tip-song {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.tip-artist {
    font-size: 0.95rem;
    opacity: 0.9;
    margin-bottom: 25px;
}

.tip-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--white);
    color: var(--ramona-blue);
    padding: 12px 30px;
    border-radius: 25px;
    font-weight: 600;
}

.tip-icon {
    width: 24px;
    height: 24px;
    background: var(--ramona-blue);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
}

/* Artists Section */
.artists-section {
    padding: 80px 20px;
}

.artists-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--ramona-blue);
    margin-bottom: 20px;
}

.section-intro {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    max-width: 600px;
    margin: 0 auto 50px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.service-card {
    background: var(--light-gray);
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(3, 40, 212, 0.15);
}

.service-icon {
    color: var(--ramona-blue);
    margin-bottom: 20px;
}

.service-card h3 {
    font-size: 1.25rem;
    margin-bottom: 10px;
    color: var(--dark-gray);
}

.service-card p {
    color: #666;
    font-size: 0.95rem;
}

.artist-cta {
    text-align: center;
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: var(--light-gray);
}

.about-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--ramona-blue);
    margin-bottom: 40px;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.about-content p {
    font-size: 1.1rem;
    color: #555;
    margin-bottom: 20px;
}

/* Contact Section */
.contact-section {
    padding: 80px 20px;
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--ramona-blue);
    margin-bottom: 20px;
}

.contact-content {
    max-width: 600px;
    margin: 0 auto;
}

.contact-content > p {
    text-align: center;
    color: #666;
    margin-bottom: 40px;
}

.contact-form {
    background: var(--light-gray);
    padding: 40px;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: var(--dark-gray);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--ramona-blue);
}

.contact-form .btn {
    width: 100%;
    font-size: 1.1rem;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 8px;
    margin-top: 20px;
    text-align: center;
}

.alert-success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert-error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Footer */
.main-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 60px 20px 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
}

.footer-logo {
    height: 50px;
    width: auto;
    border-radius: 6px;
    margin-bottom: 10px;
}

.footer-section p {
    color: #aaa;
}

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

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section a:hover {
    color: var(--white);
}

.footer-section .social-links {
    flex-direction: column;
    align-items: flex-start;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #444;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .header-content {
        flex-wrap: wrap;
        gap: 15px;
    }

    .main-nav ul {
        gap: 15px;
    }

    .hero {
        padding: 40px 20px 60px;
    }

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

    .hero h1 {
        font-size: 2rem;
    }

    .hero .tagline {
        font-size: 1.1rem;
        margin-bottom: 30px;
    }

    .hero-content {
        flex-direction: column;
        gap: 30px;
    }

    .featured-artist-card {
        width: 100%;
        max-width: 320px;
    }

    .featured-artist-photo {
        width: 100px;
        height: 100px;
    }

    .featured-artist-name {
        font-size: 1.1rem;
    }

    .listen-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .listen-option {
        flex-direction: row;
        padding: 20px;
        gap: 15px;
    }

    .listen-icon {
        margin-bottom: 0;
        flex-shrink: 0;
    }

    .listen-text {
        text-align: left;
    }

    .listen-section h2,
    .artists-section h2,
    .about-section h2,
    .contact-section h2,
    .support-text h2 {
        font-size: 1.75rem;
    }

    .support-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .support-text {
        order: 1;
    }

    .support-visual {
        order: 2;
    }

    .support-features li {
        justify-content: center;
    }

    .tip-card {
        width: 100%;
        max-width: 280px;
    }

    .contact-form {
        padding: 25px;
    }
}
