/*
Theme Name: Bad to the Bone DJ Productions
Theme URI: https://badtothebonedj.com
Author: Bad to the Bone DJ Productions
Author URI: https://badtothebonedj.com
Description: A bold, dark, high-energy WordPress theme built for Bad to the Bone DJ Productions. Features a full-screen hero, service grid, gallery, testimonials, and booking form. Black and crimson color scheme with condensed display type for a rock/metal aesthetic.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: badtothebonedj
Tags: one-column, custom-logo, custom-menu, custom-colors, featured-images, theme-options, translation-ready, full-width-template, dark-mode
*/

/* ==========================================================================
   RESET & BASE
   ========================================================================== */

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: 'Inter', 'Helvetica Neue', Arial, sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #e6e6e6;
    background-color: #0a0a0a;
    background-image:
        radial-gradient(circle at 20% 0%, rgba(200, 16, 46, 0.08) 0%, transparent 40%),
        radial-gradient(circle at 80% 100%, rgba(200, 16, 46, 0.05) 0%, transparent 40%);
    background-attachment: fixed;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }

a { color: #e63946; text-decoration: none; transition: color .2s ease; }
a:hover { color: #ffffff; }

h1, h2, h3, h4, h5, h6 {
    font-family: 'Oswald', 'Bebas Neue', 'Impact', sans-serif;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #ffffff;
    margin: 0 0 .6em;
    line-height: 1.1;
}

h1 { font-size: clamp(2.5rem, 6vw, 5rem); }
h2 { font-size: clamp(2rem, 4.5vw, 3.5rem); }
h3 { font-size: clamp(1.4rem, 2.5vw, 1.8rem); }
h4 { font-size: 1.25rem; }

p { margin: 0 0 1.2em; }

/* ==========================================================================
   LAYOUT
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 110px 0;
    position: relative;
}

.section--dark { background: #050505; }
.section--striped { background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%); }

.section-header {
    text-align: center;
    margin-bottom: 70px;
}

.section-header .eyebrow {
    display: inline-block;
    color: #e63946;
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    font-size: 0.85rem;
    margin-bottom: 14px;
    position: relative;
    padding: 0 40px;
}

.section-header .eyebrow::before,
.section-header .eyebrow::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 30px;
    height: 2px;
    background: #e63946;
}

.section-header .eyebrow::before { left: 0; }
.section-header .eyebrow::after  { right: 0; }

.section-header p.lead {
    max-width: 680px;
    margin: 16px auto 0;
    color: #b8b8b8;
    font-size: 1.1rem;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.btn {
    display: inline-block;
    padding: 16px 38px;
    font-family: 'Oswald', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all .25s ease;
    position: relative;
    overflow: hidden;
    text-align: center;
    line-height: 1.2;
}

.btn--primary {
    background: #c8102e;
    color: #fff;
    border-color: #c8102e;
}
.btn--primary:hover {
    background: #e63946;
    border-color: #e63946;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -10px rgba(230, 57, 70, 0.6);
}

.btn--ghost {
    background: transparent;
    color: #fff;
    border-color: #fff;
}
.btn--ghost:hover {
    background: #fff;
    color: #0a0a0a;
}

.btn--block { display: block; width: 100%; }

/* ==========================================================================
   HEADER / NAV
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    transition: all .3s ease;
    padding: 18px 0;
    background: rgba(10, 10, 10, 0);
}

.site-header.is-scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(230, 57, 70, 0.2);
    padding: 10px 0;
}

.site-header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.site-branding {
    display: flex;
    align-items: center;
    gap: 14px;
}

.site-logo img {
    height: 64px;
    width: auto;
    transition: height .3s ease;
}
.site-header.is-scrolled .site-logo img { height: 48px; }

.site-logo-text {
    font-family: 'Oswald', sans-serif;
    font-weight: 700;
    font-size: 1.3rem;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    line-height: 1.1;
}
.site-logo-text span { color: #e63946; display: block; font-size: 0.75rem; font-weight: 400; letter-spacing: 0.25em;}

.primary-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 36px;
    align-items: center;
}

.primary-nav a {
    color: #e6e6e6;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 6px 0;
    position: relative;
}

.primary-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: #e63946;
    transition: width .25s ease;
}
.primary-nav a:hover::after,
.primary-nav .current-menu-item > a::after { width: 100%; }
.primary-nav a:hover { color: #fff; }

.nav-toggle {
    display: none;
    background: transparent;
    border: 0;
    color: #fff;
    padding: 10px;
    cursor: pointer;
    width: 44px;
    height: 44px;
}
.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    transition: all .3s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ==========================================================================
   HERO
   ========================================================================== */

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 140px 0 80px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at center, rgba(200, 16, 46, 0.18) 0%, transparent 60%),
        linear-gradient(180deg, transparent 0%, #0a0a0a 100%);
    pointer-events: none;
}

.hero__waveform {
    position: absolute;
    left: 0; right: 0;
    bottom: 10%;
    height: 120px;
    opacity: 0.25;
    pointer-events: none;
    z-index: 0;
}
.hero__waveform svg { width: 100%; height: 100%; }

.hero__inner {
    position: relative;
    z-index: 2;
    max-width: 880px;
    padding: 0 20px;
}

.hero__logo {
    max-width: 360px;
    margin: 0 auto 30px;
    animation: pulse-glow 4s ease-in-out infinite;
    filter: drop-shadow(0 0 30px rgba(230, 57, 70, 0.3));
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 30px rgba(230, 57, 70, 0.3)); }
    50% { filter: drop-shadow(0 0 50px rgba(230, 57, 70, 0.6)); }
}

.hero__title {
    font-size: clamp(2.8rem, 7vw, 5.5rem);
    margin-bottom: 20px;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.6);
}

.hero__title span {
    color: #e63946;
    display: inline-block;
    position: relative;
}

.hero__tagline {
    font-size: clamp(1.05rem, 1.8vw, 1.35rem);
    color: #cccccc;
    max-width: 640px;
    margin: 0 auto 40px;
    letter-spacing: 0.04em;
}

.hero__cta {
    display: flex;
    gap: 18px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-family: 'Oswald', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    animation: bob 2s ease-in-out infinite;
}
@keyframes bob { 0%,100% { transform: translate(-50%, 0); } 50% { transform: translate(-50%, 8px); } }

/* ==========================================================================
   SERVICES
   ========================================================================== */

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 28px;
}

.service-card {
    background: linear-gradient(145deg, #161616 0%, #0f0f0f 100%);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 40px 32px;
    text-align: center;
    transition: all .3s ease;
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #c8102e, #e63946);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .35s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(230, 57, 70, 0.4);
    box-shadow: 0 20px 40px -20px rgba(200, 16, 46, 0.4);
}

.service-card:hover::before { transform: scaleX(1); }

.service-card__icon {
    width: 68px;
    height: 68px;
    margin: 0 auto 20px;
    color: #e63946;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(230, 57, 70, 0.08);
    border-radius: 50%;
    border: 1px solid rgba(230, 57, 70, 0.3);
}
.service-card__icon svg { width: 32px; height: 32px; }

.service-card h3 { margin-bottom: 12px; }
.service-card p { color: #b0b0b0; font-size: 0.95rem; margin-bottom: 0; }

/* ==========================================================================
   ABOUT
   ========================================================================== */

.about {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.about__image {
    position: relative;
}
.about__image::before {
    content: '';
    position: absolute;
    inset: -15px -15px 15px 15px;
    border: 2px solid #c8102e;
    z-index: -1;
}
.about__image img {
    width: 100%;
    filter: grayscale(20%) contrast(1.05);
}

.about__content h2 { margin-bottom: 24px; }
.about__content p { font-size: 1.05rem; color: #c8c8c8; }

.about__stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.stat__number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.4rem;
    font-weight: 700;
    color: #e63946;
    display: block;
    line-height: 1;
}
.stat__label {
    font-size: 0.8rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    margin-top: 8px;
    display: block;
}

/* ==========================================================================
   GALLERY
   ========================================================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 18px;
}

.gallery-item {
    aspect-ratio: 4 / 3;
    background: #1a1a1a;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    border: 1px solid rgba(255, 255, 255, 0.05);
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .5s ease;
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 50%, rgba(200, 16, 46, 0.7) 100%);
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-item:hover::after { opacity: 1; }

.gallery-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-size: 0.85rem;
    background: repeating-linear-gradient(45deg, #141414, #141414 10px, #1a1a1a 10px, #1a1a1a 20px);
}

/* ==========================================================================
   TESTIMONIALS
   ========================================================================== */

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}

.testimonial {
    background: #121212;
    border-left: 4px solid #c8102e;
    padding: 36px 32px;
    position: relative;
}
.testimonial::before {
    content: '\201C';
    position: absolute;
    top: -10px;
    right: 20px;
    font-size: 6rem;
    color: rgba(230, 57, 70, 0.2);
    line-height: 1;
    font-family: Georgia, serif;
}
.testimonial__quote {
    font-size: 1.05rem;
    color: #d8d8d8;
    font-style: italic;
    margin-bottom: 20px;
}
.testimonial__author {
    font-family: 'Oswald', sans-serif;
    font-weight: 600;
    color: #e63946;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 0.9rem;
}
.testimonial__role {
    color: #888;
    font-size: 0.8rem;
    margin-top: 2px;
}

/* ==========================================================================
   CTA / BOOKING
   ========================================================================== */

.cta-band {
    background:
        linear-gradient(135deg, rgba(10, 10, 10, 0.85) 0%, rgba(200, 16, 46, 0.75) 100%),
        #0a0a0a;
    padding: 80px 0;
    text-align: center;
}
.cta-band h2 { margin-bottom: 16px; }
.cta-band p { font-size: 1.15rem; color: #f5f5f5; max-width: 600px; margin: 0 auto 30px; }

/* ==========================================================================
   CONTACT / BOOKING FORM
   ========================================================================== */

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    gap: 50px;
    background: #0f0f0f;
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 50px;
}

.contact-info h3 { font-size: 1.5rem; margin-bottom: 20px; }
.contact-info p { color: #b0b0b0; }

.contact-info ul {
    list-style: none;
    padding: 0;
    margin: 30px 0 0;
}
.contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 18px;
    color: #d0d0d0;
    font-size: 0.95rem;
}
.contact-info li svg {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
    color: #e63946;
    margin-top: 2px;
}
.contact-info a { color: #d0d0d0; }
.contact-info a:hover { color: #e63946; }

.contact-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 16px;
}
.contact-form .form-field { margin-bottom: 16px; }

.contact-form label {
    display: block;
    font-family: 'Oswald', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    font-size: 0.78rem;
    color: #aaa;
    margin-bottom: 6px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    background: #1a1a1a;
    border: 1px solid #2a2a2a;
    color: #f0f0f0;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color .2s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: #e63946;
    background: #141414;
}

.contact-form textarea { resize: vertical; min-height: 140px; }

.form-feedback {
    padding: 14px 18px;
    margin-bottom: 18px;
    font-size: 0.95rem;
    display: none;
}
.form-feedback.is-success {
    display: block;
    background: rgba(40, 167, 69, 0.15);
    border: 1px solid rgba(40, 167, 69, 0.4);
    color: #82d98e;
}
.form-feedback.is-error {
    display: block;
    background: rgba(200, 16, 46, 0.15);
    border: 1px solid rgba(200, 16, 46, 0.5);
    color: #ff8b9a;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
    background: #050505;
    padding: 70px 0 30px;
    border-top: 1px solid rgba(230, 57, 70, 0.2);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 50px;
}

.footer-brand img { max-width: 160px; margin-bottom: 16px; }
.footer-brand p { color: #888; font-size: 0.92rem; }

.footer-col h4 {
    font-size: 0.95rem;
    color: #e63946;
    margin-bottom: 20px;
    letter-spacing: 0.2em;
}

.footer-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #b0b0b0; font-size: 0.92rem; }
.footer-col a:hover { color: #fff; }

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 20px;
}
.social-links a {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all .25s ease;
    border-radius: 50%;
}
.social-links a:hover {
    background: #c8102e;
    border-color: #c8102e;
    transform: translateY(-2px);
}
.social-links svg { width: 18px; height: 18px; color: #ddd; }

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 24px;
    text-align: center;
    color: #666;
    font-size: 0.85rem;
}
.footer-bottom span { color: #e63946; }

/* ==========================================================================
   PAGE / POST CONTENT
   ========================================================================== */

.page-hero {
    padding: 180px 0 80px;
    text-align: center;
    background: linear-gradient(180deg, #141414 0%, #0a0a0a 100%);
    border-bottom: 1px solid rgba(230, 57, 70, 0.15);
}
.page-hero h1 { margin-bottom: 10px; }
.page-hero p { color: #aaa; font-size: 1.1rem; }

.entry-content { max-width: 760px; margin: 0 auto; padding: 60px 24px; }
.entry-content h2, .entry-content h3, .entry-content h4 { margin-top: 1.5em; }
.entry-content img { margin: 20px 0; }
.entry-content blockquote {
    border-left: 4px solid #e63946;
    padding: 12px 20px;
    margin: 24px 0;
    color: #d0d0d0;
    font-style: italic;
    background: #121212;
}

/* ==========================================================================
   RESPONSIVE
   ========================================================================== */

@media (max-width: 900px) {
    .section { padding: 70px 0; }
    .section-header { margin-bottom: 50px; }
    .about { grid-template-columns: 1fr; gap: 40px; }
    .contact-wrapper { grid-template-columns: 1fr; padding: 30px; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
    .footer-brand { grid-column: span 2; }

    .primary-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 85%);
        height: 100vh;
        background: #0a0a0a;
        border-left: 1px solid rgba(230, 57, 70, 0.2);
        padding: 100px 30px 30px;
        transition: right .3s ease;
        z-index: 99;
    }
    .primary-nav.is-open { right: 0; }
    .primary-nav ul {
        flex-direction: column;
        align-items: stretch;
        gap: 0;
    }
    .primary-nav li { border-bottom: 1px solid rgba(255,255,255,0.08); }
    .primary-nav a {
        display: block;
        padding: 16px 0;
        font-size: 1rem;
    }
    .nav-toggle { display: block; z-index: 101; }
}

@media (max-width: 600px) {
    .contact-form .form-row { grid-template-columns: 1fr; }
    .about__stats { grid-template-columns: 1fr; gap: 20px; }
    .footer-grid { grid-template-columns: 1fr; }
    .footer-brand { grid-column: auto; }
    .hero__cta { flex-direction: column; align-items: stretch; padding: 0 20px; }
    .hero__cta .btn { width: 100%; }
}

/* ==========================================================================
   ANIMATIONS ON SCROLL
   ========================================================================== */

.reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .6s ease, transform .6s ease;
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    left: -9999px;
    top: 10px;
    padding: 8px 16px;
    background: #c8102e;
    color: #fff;
    z-index: 999;
}
.skip-link:focus { left: 10px; color: #fff; }

/* Alignment utilities for WP core */
.alignleft { float: left; margin: 0 20px 20px 0; }
.alignright { float: right; margin: 0 0 20px 20px; }
.aligncenter { display: block; margin: 0 auto 20px; }
.wp-caption { max-width: 100%; }
.wp-caption-text { font-size: 0.85rem; color: #888; text-align: center; }
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}
