/*
Theme Name: Peak Performance Theme
Author: Bill
Description: Clean, modern theme with tight header and separated hero image + content.
Version: 3.0
*/

/* --------------------------------------------------------------
   BRAND COLORS
-------------------------------------------------------------- */
:root {
    --black: #0D0D0D;
    --white: #FFFFFF;
    --gold: #C8A45A;
    --gold-dark: #A8894D;

    --stone-light: #E5DCC7;
    --stone-medium: #C9BBA3;
    --stone-dark: #3A2F1F;

    --text-dark: #1A1A1A;
    --text-light: #F5F5F5;

    --radius: 6px;
    --transition: 0.25s ease;
}

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

body {
    margin: 0;
    padding: 0;
    font-family: "Inter", Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--white);
}

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

a {
    color: var(--gold);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-dark);
}

/* --------------------------------------------------------------
   LAYOUT
-------------------------------------------------------------- */
.container,
.container-sm {
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
}

.container {
    max-width: 1200px;
}

.container-sm {
    max-width: 900px;
}

/* --------------------------------------------------------------
   HEADER — TIGHT VERSION
-------------------------------------------------------------- */
.site-header {
    background: var(--black);
    color: var(--white);
    padding: 6px 0;
    border-bottom: 3px solid var(--gold);
    position: sticky;
    top: 0;
    z-index: 999;
}

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

.site-branding img {
    max-height: 45px;
}

.main-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

.main-menu li a {
    font-weight: 600;
    color: var(--white);
}

.main-menu li a:hover {
    color: var(--gold);
}

/* --------------------------------------------------------------
   HERO IMAGE ONLY (1920×320)
-------------------------------------------------------------- */
.hero-image {
    width: 100%;
    height: 320px;
    background-image: url('https://always4forever.com/wp-content/uploads/2026/05/hero-1920x320-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 4px solid var(--gold);
}

/* --------------------------------------------------------------
   HERO CONTENT BELOW IMAGE
-------------------------------------------------------------- */
<!-- HERO IMAGE ONLY -->
<section class="hero-image"></section>

<!-- HERO CONTENT BELOW IMAGE -->
<section class="hero-content-section">
    <div class="container">
        <h1>Restore Movement. <br>Relieve Pain. <br>Reclaim Life.</h1>

        <p>Advanced pain management solutions designed to help patients return to peak performance physically, mentally, and emotionally.</p>

        <div class="hero-actions">
            <a href="/schedule-appointment" class="btn-secondary">Request Appointment</a>
            <a href="/patient-stories" class="btn-inline-accent">Watch Patient Stories</a>
        </div>
    </div>
</section>

/* --------------------------------------------------------------
   BUTTONS
-------------------------------------------------------------- */
.btn-secondary,
.btn-inline-accent {
    display: inline-block;
    padding: 10px 18px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
}

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

.btn-secondary:hover {
    background: var(--gold-dark);
}

.btn-inline-accent {
    color: var(--gold);
    border-bottom: 2px solid var(--gold);
}

.btn-inline-accent:hover {
    color: var(--gold-dark);
    border-color: var(--gold-dark);
}

/* --------------------------------------------------------------
   SERVICES GRID
-------------------------------------------------------------- */
.services-section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    margin-bottom: 40px;
}

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

.service-card {
    background: var(--white);
    border: 1px solid var(--stone-medium);
    padding: 25px;
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--gold);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

/* --------------------------------------------------------------
   TEAM CTA
-------------------------------------------------------------- */
.team-cta-section {
    background: var(--stone-light);
    padding: 60px 0;
    border-top: 3px solid var(--gold);
    border-bottom: 3px solid var(--gold);
    text-align: center;
}

/* --------------------------------------------------------------
   APPOINTMENT FORM
-------------------------------------------------------------- */
.appointment-section {
    padding: 60px 0;
}

.appointment-form {
    display: grid;
    gap: 20px;
}

.appointment-form input,
.appointment-form textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--stone-medium);
    border-radius: var(--radius);
    background: var(--stone-light);
}

/* --------------------------------------------------------------
   TESTIMONIALS
-------------------------------------------------------------- */
.testimonials-section {
    padding: 60px 0;
    background: var(--black);
    color: var(--white);
    border-top: 4px solid var(--gold);
}

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

/* --------------------------------------------------------------
   MOBILE RESPONSIVE
-------------------------------------------------------------- */
@media (max-width: 768px) {

    /* Header */
    .site-header .container {
        flex-direction: column;
        gap: 10px;
    }

    .main-menu {
        flex-direction: column;
        gap: 12px;
    }

    /* Mobile hero image */
    .hero-image {
        height: 220px;
    }

    /* Mobile hero content */
    .hero-content-section h1 {
        font-size: 1.8rem;
    }

    .hero-content-section p {
        font-size: 1rem;
    }

    .hero-actions {
        flex-direction: column;
        align-items: flex-start;
    }

    /* Grids */
    .services-grid,
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
}
/* --------------------------------------------------------------
   SLIDE-OUT SIDE MENU
-------------------------------------------------------------- */

.menu-toggle {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.menu-toggle span {
    width: 28px;
    height: 3px;
    background: var(--white);
    display: block;
    transition: var(--transition);
}

/* Side Menu Panel */
.side-menu {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: var(--black);
    color: var(--white);
    padding: 30px;
    transition: right 0.3s ease;
    z-index: 9999;
    border-left: 3px solid var(--gold);
}

.side-menu.open {
    right: 0;
}

/* Close Button */
.close-menu {
    background: none;
    border: none;
    color: var(--white);
    font-size: 32px;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 20px;
}

/* Menu List */
.side-menu-list {
    list-style: none;
    padding: 60px 0 0 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.side-menu-list li a {
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
}

.side-menu-list li a:hover {
    color: var(--gold);
}
/* --------------------------------------------------------------
   RESPONSIVE HERO IMAGE SYSTEM
-------------------------------------------------------------- */

/* Default — Desktop Hero */
.hero-image {
    width: 100%;
    height: 320px;
    background-image: url('https://always4forever.com/wp-content/uploads/2026/05/hero-1920x320-1.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 4px solid var(--gold);
    margin-top: 80px; /* clears sticky header */
}

/* --------------------------------------------------------------
   RESPONSIVE HERO IMAGE SYSTEM (MOBILE-FIRST)
-------------------------------------------------------------- */

/* Mobile default (phones) */
.hero-image {
    width: 100%;
    height: 220px;
    background-image: url('https://always4forever.com/wp-content/uploads/2026/05/hero-mobile-1080x1920.jpg');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    border-bottom: 4px solid var(--gold);
    margin-top: 80px; /* clears sticky header */
}

/* Tablet (≥ 768px) */
@media (min-width: 768px) {
    .hero-image {
        height: 280px;
        background-image: url('https://always4forever.com/wp-content/uploads/2026/05/hero-tablet-1280x280.jpg');
        background-position: center;
    }
}

/* Desktop (≥ 1024px) */
@media (min-width: 1024px) {
    .hero-image {
        height: 320px;
        background-image: url('https://always4forever.com/wp-content/uploads/2026/05/hero-1920x320-1.jpg');
        background-position: center;
    }
}