/*
Theme Name: Just Jazz Band
Theme URI: https://justjazzband.com
Author: Just Jazz Band
Author URI: https://justjazzband.com
Description: A custom WordPress theme for Just Jazz Band — Seven Piece Jazz Combo from Dallas/Fort Worth, Texas. Classic jazz, dark elegant design with gold accents.
Version: 1.0.1
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: justjazzband
Tags: one-column, custom-colors, custom-menu, custom-logo, editor-style, featured-images, full-site-editing, microformat, rtl-language-support, sticky-post, translation-ready
*/

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #e8e8e8; background: #111111; line-height: 1.6;
}
a { color: #d4af37; text-decoration: none; transition: color 0.3s; }
a:hover { color: #f0d060; }
img { max-width: 100%; height: auto; display: block; }

/* === NAVIGATION === */
nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
    background: rgba(17, 17, 17, 0.97); backdrop-filter: blur(10px);
    padding: 0 2rem; display: flex; align-items: center; justify-content: space-between;
    height: 60px; border-bottom: 2px solid #d4af37;
}
.nav-logo { font-size: 1.2rem; font-weight: 700; color: #d4af37; letter-spacing: 2px; }
.nav-links { display: flex; gap: 1.5rem; list-style: none; }
.nav-links a { color: #aaa; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 1px; }
.nav-links a:hover { color: #d4af37; }
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; background: none; border: none; }
.hamburger span { display: block; width: 25px; height: 2px; background: #d4af37; transition: 0.3s; }

/* === HERO === */
.hero {
    position: relative; height: 100vh; min-height: 600px;
    display: flex; align-items: center; justify-content: center;
    text-align: center; overflow: hidden;
}
.hero-bg {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
}
.hero::before {
    content: ''; position: absolute; inset: 0;
    background: rgba(0,0,0,0.5);
}
.hero-content { position: relative; z-index: 1; color: #fff; padding: 2rem; }
.hero-content h1 {
    font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 900;
    letter-spacing: 6px; text-transform: uppercase; margin-bottom: 1rem;
    text-shadow: 2px 2px 20px rgba(0,0,0,0.8);
}
.hero-content h1 span { color: #d4af37; }
.hero-content p { font-size: clamp(1rem, 2vw, 1.4rem); color: #aaa; margin-bottom: 2rem; letter-spacing: 2px; }
.hero-btn {
    display: inline-block; padding: 14px 40px; background: #d4af37; color: #111111;
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px; border-radius: 4px;
    transition: all 0.3s;
}
.hero-btn:hover { background: #f0d060; color: #111111; transform: translateY(-2px); }

/* === SECTIONS === */
section { padding: 5rem 2rem; }
.section-title {
    text-align: center; margin-bottom: 3rem;
}
.section-title h2 {
    font-size: clamp(1.8rem, 4vw, 2.8rem); color: #d4af37;
    text-transform: uppercase; letter-spacing: 4px; margin-bottom: 0.5rem;
}
.section-title .divider {
    width: 80px; height: 3px; background: #d4af37; margin: 0.8rem auto; border-radius: 2px;
}
.section-title p { color: #555; font-size: 1rem; max-width: 600px; margin: 0 auto; }
.container { max-width: 1200px; margin: 0 auto; }

/* === ABOUT === */
#about { background: #0a0a0a; }
#about .about-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; align-items: center;
}
#about .about-text p { margin-bottom: 1rem; color: #aaa; }
#about .about-text strong { color: #d4af37; }
#about .about-image { text-align: center; }
#about .about-image img { border-radius: 12px; box-shadow: 0 10px 40px rgba(0,0,0,0.4); }

/* === MUSIC / AUDIO === */
#music { background: #111111; }
.album-card {
    background: #1a1a1a; border-radius: 12px; overflow: hidden;
    margin-bottom: 2.5rem; box-shadow: 0 8px 30px rgba(0,0,0,0.3);
    display: grid; grid-template-columns: 280px 1fr;
}
.album-cover { position: relative; overflow: hidden; }
.album-cover img { width: 100%; height: 100%; object-fit: cover; }
.album-info { padding: 2rem; }
.album-info h3 { font-size: 1.5rem; color: #d4af37; margin-bottom: 0.3rem; letter-spacing: 1px; }
.album-info .album-year { color: #555; font-size: 0.85rem; margin-bottom: 1.2rem; }
.track-list { list-style: none; }
.track-item {
    display: flex; align-items: center; gap: 1rem; padding: 0.6rem 0.8rem;
    border-radius: 6px; transition: background 0.2s; cursor: pointer;
}
.track-item:hover { background: rgba(212, 175, 55, 0.15); }
.track-num {
    width: 28px; height: 28px; display: flex; align-items: center; justify-content: center;
    background: #222222; border-radius: 50%; font-size: 0.75rem; color: #d4af37; font-weight: 700; flex-shrink: 0;
}
.track-item.playing .track-num { background: #d4af37; color: #111111; }
.track-name { flex: 1; color: #aaa; font-size: 0.95rem; }
.track-item.playing .track-name { color: #fff; font-weight: 600; }
.track-play { color: #d4af37; font-size: 1.2rem; }
.audio-player-wrap { margin-top: 1rem; }
.audio-player-wrap audio { width: 100%; height: 40px; border-radius: 8px; }

/* === MEMBERS === */
#members { background: #0a0a0a; }
.members-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}
.member-card {
    background: #1a1a1a; border-radius: 12px; overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}
.member-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.member-photo {
    width: 100%; aspect-ratio: 1/1; object-fit: cover;
    border-bottom: 3px solid #d4af37;
}
.member-bio { padding: 1.5rem; }
.member-name { font-size: 1.2rem; color: #d4af37; font-weight: 700; margin-bottom: 0.2rem; }
.member-role { font-size: 0.85rem; color: #555; margin-bottom: 0.8rem; font-style: italic; }
.member-text { color: #aaa; font-size: 0.9rem; line-height: 1.7; }

/* === SONG LIST === */
#songs { background: #111111; }
.song-list-grid {
    display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}
.song-column h3 { color: #d4af37; font-size: 1.1rem; margin-bottom: 0.8rem; letter-spacing: 1px; }
.song-column ul { list-style: none; }
.song-column li {
    padding: 0.4rem 0; color: #aaa; border-bottom: 1px solid rgba(255,255,255,0.05);
    font-size: 0.9rem;
}
.song-column li::before { content: '♪ '; color: #d4af37; }

/* === EVENTS === */
#events { background: #0a0a0a; }
.events-list { max-width: 800px; margin: 0 auto; }
.event-item {
    display: flex; gap: 1.5rem; padding: 1.5rem; background: #1a1a1a;
    border-radius: 10px; margin-bottom: 1rem; align-items: flex-start;
    transition: transform 0.2s;
}
.event-item:hover { transform: translateX(4px); }
.event-date {
    min-width: 70px; text-align: center; background: #d4af37; color: #111111;
    border-radius: 8px; padding: 0.8rem;
}
.event-date .month { text-transform: uppercase; font-size: 0.7rem; font-weight: 700; letter-spacing: 1px; }
.event-date .day { font-size: 1.8rem; font-weight: 900; line-height: 1; }
.event-details h4 { color: #fff; font-size: 1.1rem; margin-bottom: 0.2rem; }
.event-details .event-venue { color: #d4af37; font-size: 0.85rem; margin-bottom: 0.15rem; }
.event-details .event-location { color: #555; font-size: 0.8rem; }

/* === BOOKING / CTA === */
#booking {
    background: #111111;
    text-align: center;
}
#booking h2 { color: #d4af37; font-size: clamp(1.8rem, 4vw, 2.8rem); letter-spacing: 4px; text-transform: uppercase; }
#booking p { color: #aaa; font-size: 1.1rem; max-width: 600px; margin: 1rem auto 2rem; }
.booking-btn {
    display: inline-block; padding: 16px 50px; background: #d4af37; color: #111111;
    font-weight: 700; text-transform: uppercase; letter-spacing: 2px; border-radius: 4px;
    font-size: 1rem; transition: all 0.3s;
}
.booking-btn:hover { background: #f0d060; transform: translateY(-2px); color: #111111; }

/* === CONTACT GRID === */
.contact-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 3rem;
    max-width: 900px; margin: 0 auto;
}
.contact-info a { color: #d4af37; }
.contact-info p { color: #aaa; margin-bottom: 1rem; font-size: 1rem; }
.contact-info strong { color: #fff; }
.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.contact-form input, .contact-form textarea {
    padding: 12px 16px; background: #1a1a1a; border: 1px solid #222222;
    border-radius: 8px; color: #fff; font-size: 0.95rem; font-family: inherit;
}
.contact-form input:focus, .contact-form textarea:focus {
    outline: none; border-color: #d4af37;
}
.contact-form textarea { resize: vertical; min-height: 120px; }
.contact-form button {
    padding: 12px 30px; background: #d4af37; color: #111111; border: none;
    border-radius: 6px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; cursor: pointer; transition: 0.3s;
}
.contact-form button:hover { background: #f0d060; }

/* === FORM SUCCESS MESSAGE === */
.form-success {
    background: rgba(212, 175, 55, 0.1); border: 1px solid #d4af37;
    color: #d4af37; padding: 1rem 1.5rem; border-radius: 8px;
    margin-bottom: 1.5rem; text-align: center; font-size: 0.95rem;
}
.form-error {
    background: rgba(200, 50, 50, 0.1); border: 1px solid #c83232;
    color: #ff6b6b; padding: 1rem 1.5rem; border-radius: 8px;
    margin-bottom: 1.5rem; text-align: center; font-size: 0.95rem;
}

/* === FOOTER === */
footer {
    background: #080808; text-align: center; padding: 2rem;
    border-top: 1px solid #1a2a45;
}
footer p { color: #555; font-size: 0.85rem; }
footer .footer-links { margin-bottom: 1rem; }
footer .footer-links a { color: #555; margin: 0 0.8rem; font-size: 0.85rem; }
footer .footer-links a:hover { color: #d4af37; }

/* === RESPONSIVE === */

/* Tablet */
@media (max-width: 1024px) {
    .album-card { grid-template-columns: 200px 1fr; }
    .album-cover img { height: 200px; }
    section { padding: 4rem 1.5rem; }
}

/* Mobile */
@media (max-width: 768px) {
    /* Nav */
    .nav-links { display: none; }
    .hamburger { display: flex; }
    .nav-links.active {
        display: flex; flex-direction: column;
        position: absolute; top: 60px; left: 0; right: 0;
        background: rgba(17,17,17,0.98); padding: 1.5rem 2rem; gap: 1rem;
    }

    /* Hero */
    .hero { min-height: 400px; }
    .hero-content { padding: 1.5rem; }
    .hero-content h1 { letter-spacing: 3px; }

    /* About */
    .about-grid { grid-template-columns: 1fr !important; }
    .about-image { order: -1; }
    section { padding: 3rem 1.25rem; }

    /* Music / Albums */
    .album-card { grid-template-columns: 1fr; }
    .album-cover img { max-height: 250px; }
    .album-info { padding: 1.25rem; }

    /* Members */
    .members-grid { grid-template-columns: 1fr; }

    /* Song list */
    .song-list-grid { grid-template-columns: 1fr; }

    /* Events */
    .event-item { flex-direction: column; gap: 0.5rem; }
    .event-date { min-width: auto; }

    /* Booking */
    #booking { padding: 3rem 1.25rem; }
    .booking-btn { padding: 12px 30px; font-size: 0.9rem; }

    /* Contact */
    .contact-grid { grid-template-columns: 1fr !important; }
    .contact-form input, .contact-form textarea { font-size: 16px; }
}

/* === WP ADMIN BAR OFFSET === */
body.admin-bar nav { top: 32px; }
@media (max-width: 782px) {
    body.admin-bar nav { top: 46px; }
}
