/*
Theme Name: Wu Tan Alaska
Theme URI: https://wutanalaska.com
Description: Divi child theme for Wu Tan Alaska — Traditional Chinese Martial Arts. Includes custom styling, automatic page creation with full content, SEO optimization, and security hardening.
Author: Wu Tan Alaska
Author URI: https://wutanalaska.com
Template: Divi
Version: 1.0.0
License: GNU General Public License v2 or later
Text Domain: wutan-alaska
*/

/* =========================================
   WU TAN ALASKA — DIVI CHILD THEME STYLES
   ========================================= */

:root {
    --wt-ink: #0a0a0a;
    --wt-cream: #faf8f4;
    --wt-gold: #c9a84c;
    --wt-gold-light: #e8d49a;
    --wt-gold-dark: #a6872e;
    --wt-warm-gray: #6b6560;
    --wt-light-gray: #e8e4df;
    --wt-deep-red: #8b2020;
    --wt-bg-dark: #111111;
    --wt-bg-section: #f5f2ed;
}

/* =========================================
   GLOBAL TYPOGRAPHY
   ========================================= */
body,
.et_pb_module,
.et_pb_text {
    font-family: 'DM Sans', sans-serif !important;
    color: var(--wt-ink);
}

h1, h2, h3, h4, h5, h6,
.et_pb_module h1, .et_pb_module h2, .et_pb_module h3,
.et_pb_module h4, .et_pb_module h5, .et_pb_module h6 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-weight: 600;
    line-height: 1.15;
}

/* =========================================
   DIVI HEADER OVERRIDES
   ========================================= */
#main-header,
#top-header {
    background: rgba(10,10,10,0.95) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,168,76,0.15);
}

#main-header.et-fixed-header {
    background: rgba(10,10,10,0.98) !important;
    box-shadow: 0 4px 30px rgba(0,0,0,0.3);
}

/* Logo area */
#logo {
    max-height: 60px;
}

/* Nav links */
.et_nav_text_color_dark #top-menu > li > a,
#top-menu > li > a,
.et_header_style_left #et-top-navigation nav > ul > li > a {
    color: rgba(250,248,244,0.7) !important;
    font-family: 'DM Sans', sans-serif !important;
    font-size: 13px !important;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

#top-menu > li > a:hover,
#top-menu > li.current-menu-item > a,
#top-menu > li.current_page_item > a {
    color: var(--wt-gold) !important;
}

/* CTA menu item (Sign Up) — add 'cta' CSS class to menu item */
#top-menu > li.cta > a,
#top-menu > li.menu-item-cta > a {
    background: var(--wt-gold) !important;
    color: var(--wt-ink) !important;
    font-weight: 600 !important;
    padding: 8px 18px !important;
    border-radius: 4px;
    margin-left: 8px;
}

#top-menu > li.cta > a:hover,
#top-menu > li.menu-item-cta > a:hover {
    background: var(--wt-gold-light) !important;
}

/* Phone number in header */
#et-info-phone,
#et-info a {
    color: var(--wt-gold) !important;
}

/* =========================================
   DIVI BUTTON OVERRIDES
   ========================================= */
.et_pb_button,
.et_pb_contact_submit,
.et_pb_newsletter_button {
    background-color: var(--wt-gold) !important;
    color: var(--wt-ink) !important;
    border: none !important;
    border-radius: 6px !important;
    font-family: 'DM Sans', sans-serif !important;
    font-weight: 600 !important;
    letter-spacing: 0.04em;
    padding: 12px 28px !important;
    transition: all 0.3s ease !important;
}

.et_pb_button:hover,
.et_pb_contact_submit:hover {
    background-color: var(--wt-gold-light) !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(201,168,76,0.3);
}

/* Outline button variant (add class 'wt-btn-outline') */
.wt-btn-outline .et_pb_button {
    background: transparent !important;
    color: var(--wt-cream) !important;
    border: 1px solid rgba(250,248,244,0.2) !important;
}

.wt-btn-outline .et_pb_button:hover {
    border-color: var(--wt-gold) !important;
    color: var(--wt-gold) !important;
    background: transparent !important;
}

/* =========================================
   SECTION BACKGROUNDS
   ========================================= */
.wt-bg-dark,
.wt-hero {
    background-color: var(--wt-bg-dark) !important;
}

.wt-bg-cream {
    background-color: var(--wt-cream) !important;
}

.wt-bg-section {
    background-color: var(--wt-bg-section) !important;
}

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

.wt-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 50%, rgba(201,168,76,0.06) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 20%, rgba(139,32,32,0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.wt-hero .et_pb_row {
    position: relative;
    z-index: 2;
}

.wt-hero h1 {
    color: var(--wt-cream) !important;
    font-size: clamp(2.8rem, 5.5vw, 4.2rem) !important;
}

.wt-hero h1 em,
.wt-hero h1 span.wt-gold {
    color: var(--wt-gold) !important;
    font-style: italic;
}

.wt-hero .et_pb_text p,
.wt-hero .et_pb_module p {
    color: rgba(250,248,244,0.65) !important;
}

/* Hero badge */
.wt-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wt-gold);
    padding: 0.4rem 1rem;
    border: 1px solid rgba(201,168,76,0.25);
    border-radius: 100px;
    font-family: 'DM Sans', sans-serif;
}

/* Stats bar */
.wt-stat-number {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 2.2rem !important;
    font-weight: 700 !important;
    color: var(--wt-gold) !important;
    line-height: 1 !important;
}

.wt-stat-label {
    font-size: 0.72rem !important;
    font-weight: 500 !important;
    letter-spacing: 0.1em !important;
    text-transform: uppercase !important;
    color: rgba(250,248,244,0.45) !important;
    margin-top: 0.35rem !important;
}

/* =========================================
   SECTION HEADERS
   ========================================= */
.wt-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.72rem !important;
    font-weight: 600;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--wt-gold-dark);
    font-family: 'DM Sans', sans-serif;
}

.wt-eyebrow::before,
.wt-eyebrow::after {
    content: '';
    width: 24px;
    height: 1px;
    background: var(--wt-gold);
}

/* =========================================
   CLASS / CONTENT CARDS
   ========================================= */
.et_pb_blurb.wt-class-card {
    background: #fff;
    border-radius: 12px;
    border: 1px solid var(--wt-light-gray);
    overflow: hidden;
    transition: all 0.35s ease;
}

.et_pb_blurb.wt-class-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(10,10,10,0.08);
    border-color: var(--wt-gold);
}

/* =========================================
   INSTRUCTOR CARDS
   ========================================= */
.wt-instructor-card .et_pb_team_member_image {
    border-radius: 50% !important;
    border: 3px solid var(--wt-gold);
    overflow: hidden;
}

.wt-instructor-card .et_pb_module_header {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
}

.wt-instructor-card .et_pb_member_position {
    color: var(--wt-gold-dark) !important;
    font-size: 0.75rem !important;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* =========================================
   CTA BAND
   ========================================= */
.wt-cta-band {
    background: var(--wt-bg-dark) !important;
    position: relative;
    overflow: hidden;
}

.wt-cta-band::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(201,168,76,0.06), transparent 50%, rgba(139,32,32,0.04));
    pointer-events: none;
}

.wt-cta-band .et_pb_row {
    position: relative;
    z-index: 2;
}

.wt-cta-band h2 {
    color: var(--wt-cream) !important;
}

.wt-cta-band p {
    color: rgba(250,248,244,0.6) !important;
}

/* =========================================
   TESTIMONIALS
   ========================================= */
.wt-testimonial .et_pb_testimonial {
    background: rgba(250,248,244,0.03) !important;
    border: 1px solid rgba(250,248,244,0.06) !important;
    border-radius: 12px !important;
}

.wt-testimonial .et_pb_testimonial_description p {
    color: rgba(250,248,244,0.7) !important;
    font-style: italic;
}

.wt-testimonial .et_pb_testimonial_author {
    color: var(--wt-cream) !important;
    font-weight: 600;
}

/* =========================================
   CONTACT FORM
   ========================================= */
.et_pb_contact_form .et_pb_contact_field input,
.et_pb_contact_form .et_pb_contact_field select,
.et_pb_contact_form .et_pb_contact_field textarea {
    background: var(--wt-cream) !important;
    border: 1px solid var(--wt-light-gray) !important;
    border-radius: 6px !important;
    font-family: 'DM Sans', sans-serif !important;
    padding: 12px 16px !important;
}

.et_pb_contact_form .et_pb_contact_field input:focus,
.et_pb_contact_form .et_pb_contact_field textarea:focus {
    border-color: var(--wt-gold) !important;
}

.et_pb_contact_form label {
    font-size: 0.78rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.06em !important;
    text-transform: uppercase !important;
    color: var(--wt-warm-gray) !important;
}

/* =========================================
   FOOTER
   ========================================= */
#main-footer,
.et-l--footer {
    background: var(--wt-ink) !important;
}

#footer-widgets .footer-widget h4,
.et-l--footer h4 {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    color: var(--wt-cream) !important;
}

#footer-widgets .footer-widget a,
#footer-widgets .footer-widget,
.et-l--footer a {
    color: rgba(250,248,244,0.5) !important;
}

#footer-widgets .footer-widget a:hover {
    color: var(--wt-gold) !important;
}

#footer-bottom {
    background: var(--wt-ink) !important;
    border-top: 1px solid rgba(250,248,244,0.06);
}

#footer-info,
#footer-bottom a {
    color: rgba(250,248,244,0.4) !important;
}

/* =========================================
   PAGE HERO HEADERS
   ========================================= */
.wt-page-hero {
    background: var(--wt-bg-dark) !important;
    padding: 120px 0 60px !important;
    text-align: center;
}

.wt-page-hero h1 {
    color: var(--wt-cream) !important;
}

.wt-page-hero p {
    color: rgba(250,248,244,0.6) !important;
    max-width: 600px;
    margin: 0 auto;
}

/* =========================================
   CONTENT PAGES
   ========================================= */
.wt-content-area h2 {
    margin-top: 2.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--wt-gold);
}

.wt-content-area h3 {
    margin-top: 2rem;
    color: var(--wt-ink);
}

.wt-content-area p {
    color: var(--wt-warm-gray);
    line-height: 1.8;
}

.wt-content-area a {
    color: var(--wt-gold-dark);
    text-decoration: underline;
    text-decoration-color: var(--wt-gold);
    text-underline-offset: 3px;
}

.wt-content-area a:hover {
    color: var(--wt-deep-red);
}

/* Schedule times styling */
.wt-content-area strong {
    color: var(--wt-ink);
}

/* =========================================
   PAYPAL INTEGRATION
   ========================================= */
.wt-paypal-section form {
    display: inline-block;
}

.wt-paypal-section input[type="image"] {
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.wt-paypal-section input[type="image"]:hover {
    opacity: 0.8;
}

/* =========================================
   UTILITY CLASSES
   ========================================= */
.wt-text-gold { color: var(--wt-gold) !important; }
.wt-text-cream { color: var(--wt-cream) !important; }
.wt-text-center { text-align: center !important; }

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 980px) {
    .wt-hero h1 {
        font-size: 2.4rem !important;
    }
    
    #et-top-navigation {
        background: var(--wt-bg-dark) !important;
    }
    
    .et_mobile_menu,
    .et_mobile_menu li a {
        background: var(--wt-bg-dark) !important;
        color: rgba(250,248,244,0.7) !important;
    }
    
    .et_mobile_menu li a:hover {
        color: var(--wt-gold) !important;
    }
}

/* =========================================
   PRINT
   ========================================= */
@media print {
    #main-header, #main-footer, .wt-cta-band { display: none !important; }
    body { background: #fff; color: #000; }
}
