/*
Theme Name: Elite Hybrid Child
Theme URI: https://theelitehybrid.com
Description: Official Divi Child Theme for The Elite Hybrid — Dr. Eddie Lawing
Author: Dr. Eddie Lawing
Template: Divi
Version: 1.0.0
Text Domain: elite-hybrid-child
*/

/* ============================================================
   ELITE HYBRID CHILD THEME — BASE GLOBAL OVERRIDES
   Gold: #C9A84C | Black: #080808 | Font: Bebas Neue / Inter
   ============================================================ */

/* --- CSS Custom Properties (Design Tokens) --- */
:root {
    --gold:        #C9A84C;
    --gold-dark:   #A8893C;
    --gold-light:  #D4B86A;
    --black:       #080808;
    --black-2:     #111111;
    --black-3:     #1A1A1A;
    --white:       #FFFFFF;
    --white-dim:   rgba(255, 255, 255, 0.65);
    --white-faint: rgba(255, 255, 255, 0.12);
    --gold-dim:    rgba(201, 168, 76, 0.15);
    --gold-border: rgba(201, 168, 76, 0.3);

    --font-heading: 'Bebas Neue', sans-serif;
    --font-body:    'Inter', sans-serif;

    --radius-sm:  4px;
    --radius-md:  8px;
    --radius-lg:  16px;

    --transition: 0.3s ease;
    --shadow-gold: 0 0 40px rgba(201, 168, 76, 0.25);
}

/* --- Global Reset & Base --- */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--black) !important;
    color: var(--white-dim) !important;
    font-family: var(--font-body) !important;
    font-size: 16px;
    line-height: 1.7;
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* --- Typography Global --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading) !important;
    color: var(--white) !important;
    line-height: 1.1;
    letter-spacing: 0.04em;
    margin-top: 0;
}

h1 { font-size: clamp(48px, 8vw, 96px); }
h2 { font-size: clamp(36px, 5vw, 64px); }
h3 { font-size: clamp(28px, 3.5vw, 48px); }
h4 { font-size: clamp(22px, 2.5vw, 36px); }
h5 { font-size: clamp(18px, 2vw, 28px); }
h6 { font-size: clamp(16px, 1.5vw, 22px); }

p {
    color: var(--white-dim);
    line-height: 1.75;
    margin-bottom: 1.25em;
}

strong {
    color: var(--white);
    font-weight: 700;
}

em {
    color: var(--gold);
    font-style: italic;
}

/* --- Links --- */
a {
    color: var(--gold) !important;
    text-decoration: none;
    transition: color var(--transition);
}

a:hover,
a:focus {
    color: var(--gold-light) !important;
    text-decoration: none;
}

/* --- Selection --- */
::selection {
    background: var(--gold);
    color: var(--black);
}

/* --- Scrollbar --- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--black-2); }
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover { background: var(--gold-light); }

/* --- Divi Builder Global Overrides --- */
#page-container {
    background-color: var(--black) !important;
}

.et_pb_section {
    background-color: var(--black);
}

.et_pb_text p,
.et_pb_text li {
    font-family: var(--font-body) !important;
    color: var(--white-dim);
}

.et_pb_text h1,
.et_pb_text h2,
.et_pb_text h3,
.et_pb_text h4,
.et_pb_text h5,
.et_pb_text h6 {
    font-family: var(--font-heading) !important;
    color: var(--white) !important;
}

/* --- Divi Button Reset → Our Button System --- */
.et_pb_button {
    font-family: var(--font-heading) !important;
    letter-spacing: 0.12em !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition) !important;
    padding: 16px 40px !important;
    font-size: 18px !important;
}

.et_pb_button_0,
.et_pb_button:not(.et_pb_button_1):not(.et_pb_button_2) {
    background-color: var(--gold) !important;
    color: var(--black) !important;
    border: 2px solid var(--gold) !important;
}

.et_pb_button_0:hover,
.et_pb_button:not(.et_pb_button_1):not(.et_pb_button_2):hover {
    background-color: var(--gold-dark) !important;
    border-color: var(--gold-dark) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(201, 168, 76, 0.4) !important;
}

/* --- Utility: Gold Text --- */
.text-gold {
    color: var(--gold) !important;
}

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

/* --- Lists Global --- */
ul, ol {
    color: var(--white-dim);
    padding-left: 1.5em;
}

ul li, ol li {
    margin-bottom: 0.5em;
    line-height: 1.65;
}

/* --- Horizontal Rule --- */
hr {
    border: none;
    border-top: 1px solid var(--gold-border);
    margin: 40px 0;
}

/* --- Focus Visible --- */
:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}
