/*
Theme Name: Heron Park Theme
Theme URI: https://heronparktennis.com/
Author: Antigravity
Description: A lightweight, custom canvas theme designed specifically for the Spectra page builder, featuring an Athletic Light Theme with Terracotta Clay and Deep Navy.
Version: 2.1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: heronpark-theme
*/

/* 
 * Base variables for the color palette (Athletic Light)
 */
:root {
    /* Backgrounds */
    --hptc-bg-light: #F7F9FC;
    --hptc-bg-white: #FFFFFF;
    
    /* Accents */
    --hptc-clay: #E05D40;
    --hptc-navy: #0F1C2E;
    --hptc-clay-hover: #C54C32;
    
    /* Text */
    --hptc-text-main: #0F1C2E;
    --hptc-text-muted: #596A83;
    
    /* Structure */
    --hptc-border: #E2E8F0;
    --hptc-shadow-sm: 0 4px 6px rgba(15, 28, 46, 0.05);
    --hptc-shadow-lg: 0 15px 30px rgba(15, 28, 46, 0.1);
    --hptc-border-radius: 12px;
    --hptc-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--hptc-bg-light);
    color: var(--hptc-text-main);
    font-family: 'Plus Jakarta Sans', sans-serif;
    -webkit-font-smoothing: antialiased;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6, .hp-heading {
    font-family: 'Outfit', sans-serif;
    color: var(--hptc-navy);
    font-weight: 700;
    line-height: 1.2;
}

/* 
 * Spectra Component Classes 
 * -------------------------
 * Add these classes to the "Advanced > CSS Classes" field in Spectra blocks.
 */

/* HERO SECTION: .hp-hero */
.hp-hero {
    position: relative;
    padding: 120px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(135deg, var(--hptc-bg-light) 0%, #FFFFFF 100%);
    border-bottom: 4px solid var(--hptc-clay);
}

.hp-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    margin-bottom: 1.5rem;
    color: var(--hptc-navy);
    text-shadow: 0px 4px 10px rgba(15, 28, 46, 0.05);
}

.hp-hero p {
    font-size: 1.25rem;
    color: var(--hptc-text-muted);
    max-width: 600px;
    margin-bottom: 2rem;
}

/* ATHLETIC CARD: .hp-card */
/* Apply this to a Spectra Container to make it a clean, crisp card */
.hp-card {
    background: var(--hptc-bg-white);
    border: 1px solid var(--hptc-border);
    border-radius: var(--hptc-border-radius);
    padding: 2rem;
    transition: var(--hptc-transition);
    height: 100%; /* Ensures cards stretch in grids */
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    box-shadow: var(--hptc-shadow-sm);
    border-top: 4px solid var(--hptc-navy);
}

.hp-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hptc-shadow-lg);
    border-top-color: var(--hptc-clay);
}

/* Force inner content (like buttons) to the bottom */
.hp-card > *:last-child {
    margin-top: auto;
}

/* PRICING CARD: .hp-pricing-card */
.hp-pricing-card {
    background: var(--hptc-bg-white);
    border: 1px solid var(--hptc-border);
    border-radius: var(--hptc-border-radius);
    padding: 2.5rem;
    text-align: center;
    transition: var(--hptc-transition);
    box-shadow: var(--hptc-shadow-sm);
}
.hp-pricing-card:hover {
    transform: scale(1.02);
    border-color: var(--hptc-clay);
    box-shadow: var(--hptc-shadow-lg);
}
.hp-pricing-card h3 {
    font-size: 1.5rem;
    color: var(--hptc-navy);
    margin-bottom: 0.5rem;
}
.hp-pricing-card .price {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    margin: 1rem 0;
    color: var(--hptc-clay);
}
.hp-pricing-card ul {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    text-align: left;
}
.hp-pricing-card ul li {
    padding: 0.5rem 0;
    color: var(--hptc-text-muted);
    border-bottom: 1px solid var(--hptc-border);
    display: flex;
    align-items: center;
}
.hp-pricing-card ul li::before {
    content: '✓';
    color: var(--hptc-clay);
    font-weight: bold;
    margin-right: 10px;
}

/* SCHEDULE LIST: .hp-schedule-list */
/* Apply to a Container holding list items */
.hp-schedule-list {
    position: relative;
    padding-left: 2rem;
}
.hp-schedule-list::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--hptc-navy);
    border-radius: 2px;
}
.hp-schedule-list .schedule-item {
    position: relative;
    padding-bottom: 2rem;
    padding-left: 1rem;
}
.hp-schedule-list .schedule-item::before {
    content: '';
    position: absolute;
    left: -2.4rem;
    top: 0.4rem;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--hptc-clay);
    border: 3px solid var(--hptc-bg-light);
    z-index: 2;
}

/* BUTTONS */
.hp-btn-primary {
    display: inline-block;
    background: var(--hptc-clay);
    color: var(--hptc-bg-white) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: var(--hptc-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hp-btn-primary:hover {
    transform: translateY(-2px);
    background: var(--hptc-clay-hover);
    box-shadow: 0 4px 15px rgba(224, 93, 64, 0.4);
}

.hp-btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--hptc-navy) !important;
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    border: 2px solid var(--hptc-navy);
    cursor: pointer;
    transition: var(--hptc-transition);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.hp-btn-secondary:hover {
    background: var(--hptc-navy);
    color: var(--hptc-bg-white) !important;
    box-shadow: 0 4px 15px rgba(15, 28, 46, 0.2);
}
