/*
Theme Name: PT Trainer
Theme URI:
Author: Personal Trainer
Description: A clean, modern personal trainer theme with a bold black and red design. Child theme of Twenty Twenty-Five.
Version: 1.0.0
Template: twentytwentyfive
Text Domain: pt-trainer
*/

/* ============================================================
   GOOGLE FONTS
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ============================================================
   CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
    --pt-black:        #0A0A0A;
    --pt-black-mid:    #111111;
    --pt-black-light:  #1A1A1A;
    --pt-red:          #CC0000;
    --pt-red-dark:     #AA0000;
    --pt-white:        #FFFFFF;
    --pt-gray:         #AAAAAA;
    --pt-gray-dark:    #444444;
    --pt-transition:   all 0.25s ease;
}

/* ============================================================
   GLOBAL RESETS & BASE
   ============================================================ */
body {
    background-color: var(--pt-black) !important;
    color: var(--pt-white) !important;
    font-family: 'Inter', sans-serif !important;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif !important;
}

a {
    transition: var(--pt-transition);
}

/* ============================================================
   NAVIGATION / HEADER
   ============================================================ */
.pt-header {
    position: sticky;
    top: 0;
    z-index: 999;
    border-bottom: 1px solid #1A1A1A !important;
    backdrop-filter: blur(10px);
}

.pt-header .wp-block-navigation a {
    color: #DDDDDD !important;
    text-decoration: none !important;
    font-weight: 600 !important;
    font-size: 0.82rem !important;
    letter-spacing: 1.5px !important;
    text-transform: uppercase !important;
    padding: 0.4rem 0 !important;
    border-bottom: 2px solid transparent !important;
    transition: var(--pt-transition) !important;
}

.pt-header .wp-block-navigation a:hover {
    color: var(--pt-red) !important;
    border-bottom-color: var(--pt-red) !important;
}

.pt-header .wp-block-site-title a {
    color: var(--pt-white) !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
}

.pt-header .wp-block-navigation__responsive-container-open,
.pt-header .wp-block-navigation__responsive-container-close {
    color: var(--pt-white) !important;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.pt-hero {
    position: relative;
    overflow: hidden;
}

.pt-hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(204,0,0,0.12) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.pt-hero > .wp-block-group__inner-container,
.pt-hero > * {
    position: relative;
    z-index: 1;
}

.pt-hero-heading {
    font-size: clamp(3rem, 8vw, 6rem) !important;
    line-height: 1 !important;
    text-shadow: 0 4px 30px rgba(0,0,0,0.5);
}

.pt-hero-heading span {
    color: var(--pt-red);
}

/* ============================================================
   EYEBROW LABELS
   ============================================================ */
.pt-eyebrow {
    position: relative;
    display: inline-block;
}

.pt-eyebrow::before {
    content: '';
    display: inline-block;
    width: 30px;
    height: 2px;
    background: var(--pt-red);
    margin-right: 10px;
    vertical-align: middle;
    margin-bottom: 2px;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.pt-btn-primary .wp-block-button__link,
.wp-block-button__link {
    transition: var(--pt-transition) !important;
}

.pt-btn-primary .wp-block-button__link:hover {
    background-color: var(--pt-red-dark) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(204,0,0,0.35) !important;
}

.pt-btn-outline .wp-block-button__link:hover {
    background-color: var(--pt-white) !important;
    color: var(--pt-black) !important;
    transform: translateY(-2px) !important;
}

.pt-btn-white .wp-block-button__link:hover {
    background-color: var(--pt-black) !important;
    color: var(--pt-white) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(0,0,0,0.4) !important;
}

/* ============================================================
   STATS BAR
   ============================================================ */
.pt-stats-bar {
    background: linear-gradient(135deg, #CC0000 0%, #990000 100%) !important;
}

/* ============================================================
   SERVICE CARDS
   ============================================================ */
.pt-service-card {
    transition: var(--pt-transition) !important;
    cursor: default;
}

.pt-service-card:hover {
    transform: translateY(-6px) !important;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4) !important;
    border-top-color: var(--pt-red) !important;
}

.pt-service-card p:last-child {
    cursor: pointer;
}

.pt-service-card p:last-child:hover {
    letter-spacing: 2px !important;
    transition: var(--pt-transition) !important;
}

/* ============================================================
   ABOUT SECTION
   ============================================================ */
.pt-about-image-placeholder {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 2px dashed #2A2A2A !important;
}

.pt-about .wp-block-list {
    list-style: none !important;
    padding-left: 0 !important;
}

.pt-about .wp-block-list li {
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid #1E1E1E !important;
    font-size: 0.95rem !important;
}

/* ============================================================
   TESTIMONIAL CARDS
   ============================================================ */
.pt-testimonial-card {
    transition: var(--pt-transition) !important;
}

.pt-testimonial-card:hover {
    transform: translateY(-4px) !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.35) !important;
}

/* ============================================================
   CTA BANNER
   ============================================================ */
.pt-cta-banner {
    background: linear-gradient(135deg, #CC0000 0%, #880000 100%) !important;
    position: relative;
    overflow: hidden;
}

.pt-cta-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: rgba(255,255,255,0.04);
    pointer-events: none;
}

/* ============================================================
   CONTACT FORM
   ============================================================ */
.pt-contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.pt-form-group {
    display: flex;
    flex-direction: column;
}

.pt-form-input {
    width: 100%;
    padding: 0.85rem 1.1rem;
    background: #0D0D0D;
    border: 1px solid #2A2A2A;
    color: #FFFFFF;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: var(--pt-transition);
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    border-radius: 0;
    box-sizing: border-box;
}

.pt-form-input:focus {
    border-color: var(--pt-red);
    box-shadow: 0 0 0 2px rgba(204,0,0,0.15);
}

.pt-form-input::placeholder {
    color: #555555;
}

.pt-form-input option {
    background: #1A1A1A;
    color: #FFFFFF;
}

.pt-form-textarea {
    resize: vertical;
    min-height: 120px;
}

.pt-form-submit {
    padding: 1rem 2rem;
    background: var(--pt-red);
    color: var(--pt-white);
    border: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: var(--pt-transition);
    border-radius: 0;
}

.pt-form-submit:hover {
    background: var(--pt-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(204,0,0,0.35);
}

/* ============================================================
   FOOTER
   ============================================================ */
.pt-footer {
    border-top: 1px solid #1A1A1A !important;
}

.pt-footer .wp-block-site-title a {
    color: var(--pt-white) !important;
    text-decoration: none !important;
    font-family: 'Montserrat', sans-serif !important;
    font-weight: 900 !important;
}

.pt-footer .wp-block-navigation a {
    color: var(--pt-gray) !important;
    text-decoration: none !important;
    font-size: 0.9rem !important;
    transition: var(--pt-transition) !important;
}

.pt-footer .wp-block-navigation a:hover {
    color: var(--pt-red) !important;
}

/* ============================================================
   WORDPRESS ADMIN BAR FIX
   ============================================================ */
.admin-bar .pt-header {
    top: 32px;
}

@media screen and (max-width: 782px) {
    .admin-bar .pt-header {
        top: 46px;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
    .pt-hero {
        padding-top: 80px !important;
        padding-bottom: 80px !important;
    }

    .pt-hero-heading {
        font-size: clamp(2.5rem, 12vw, 4rem) !important;
    }

    .pt-stats-bar .wp-block-columns {
        flex-wrap: wrap !important;
    }

    .pt-stats-bar .wp-block-column {
        border-right: none !important;
        border-bottom: 1px solid rgba(255,255,255,0.2) !important;
    }

    .pt-about .wp-block-columns {
        flex-direction: column !important;
    }
}

/* ============================================================
   SCROLLBAR STYLING
   ============================================================ */
::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--pt-black);
}

::-webkit-scrollbar-thumb {
    background: var(--pt-red);
    border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--pt-red-dark);
}

/* ============================================================
   SELECTION COLOR
   ============================================================ */
::selection {
    background: var(--pt-red);
    color: var(--pt-white);
}
