/*
Theme Name: Harry Strong Child
Template: twentytwentyfive
Description: Child theme Harry L Strong
Version: 2.0.0
*/

/* ── Design Tokens ── */
:root {
    --hl-ivory:       #FFFFF0;
    --hl-gold:        #D4AF37;
    --hl-gold-hover:  #e6c558;
    --hl-charcoal:    #333333;
    --hl-navy:        #673F5E;
    --hl-navy-light:  #804E74;
    --hl-text:        #4A4A4A;
    --hl-bg-light:    #F9F9F9;
    --hl-radius:      8px;
    --hl-shadow:      0 10px 30px rgba(0,0,0,.05);
    --hl-shadow-h:    0 15px 40px rgba(0,0,0,.10);
    --hl-transition:  all .3s cubic-bezier(.25,.8,.25,1);
}

/* ── Google Fonts (add to functions.php enqueue if preferred) ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ── Base ── */
body {
    font-family: 'Inter', sans-serif;
    color: var(--hl-text);
    background-color: var(--hl-ivory);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    line-height: 1.2;
}

/* ── Heading colour helpers ── */
.hl-heading-navy { color: var(--hl-navy) !important; }

/* ── Buttons ── */
.hl-btn {
    display: inline-block;
    padding: .8rem 2rem;
    border-radius: 30px;
    font-weight: 500;
    cursor: pointer;
    border: 2px solid transparent;
    font-family: 'Inter', sans-serif;
    transition: var(--hl-transition);
    text-decoration: none;
}

/* Primary – used inside wp:button via custom class */
.hl-btn-primary .wp-block-button__link,
.wp-block-button.hl-btn-primary .wp-block-button__link {
    background-color: var(--hl-gold) !important;
    color: var(--hl-navy) !important;
    border: 2px solid transparent !important;
    transition: var(--hl-transition);
}
.hl-btn-primary .wp-block-button__link:hover {
    background-color: var(--hl-gold-hover) !important;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(212,175,55,.4);
}

/* Secondary – ghost on dark */
.hl-btn-secondary .wp-block-button__link,
.wp-block-button.hl-btn-secondary .wp-block-button__link {
    background-color: transparent !important;
    color: var(--hl-ivory) !important;
    border: 2px solid var(--hl-ivory) !important;
    transition: var(--hl-transition);
}
.hl-btn-secondary .wp-block-button__link:hover {
    background-color: var(--hl-ivory) !important;
    color: var(--hl-navy) !important;
    transform: translateY(-2px);
}

/* Outline – used in footer */
.hl-btn-outline {
    background-color: transparent;
    color: var(--hl-gold);
    border: 2px solid var(--hl-gold);
    padding: .5rem 1.5rem;
    font-size: .9rem;
    border-radius: 30px;
    cursor: pointer;
    transition: var(--hl-transition);
    font-family: 'Inter', sans-serif;
    margin-top: 0;
}
.hl-btn-outline:hover {
    background-color: var(--hl-gold);
    color: var(--hl-navy);
}

/* ─────────────────────────────────────────
   HERO
───────────────────────────────────────── */
.hl-hero {
    background-attachment: fixed;
}

.hl-hero .wp-block-cover__background {
    background: linear-gradient(to bottom, rgba(103,63,94,.6), rgba(103,63,94,.3)) !important;
    opacity: 1 !important;
}

.hl-hero__title {
    font-size: 4rem;
    color: var(--hl-ivory) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,.5);
    margin-bottom: 2rem;
}

/* ─────────────────────────────────────────
   BOOK SECTION
───────────────────────────────────────── */
.hl-book-section {
    background-color: var(--hl-ivory);
}

.hl-book-section .wp-block-columns {
    align-items: stretch;
    gap: 4rem;
}

.hl-book-text { justify-content: center; }

.hl-book-text .hl-subtitle {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--hl-gold);
    margin-bottom: 1.5rem;
}

.hl-book-image {
    margin: 0;
    height: 100%;
}
.hl-book-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--hl-radius);
    display: block;
    background: linear-gradient(135deg, var(--hl-navy) 0%, var(--hl-navy-light) 100%);
    box-shadow: var(--hl-shadow);
}

/* ─────────────────────────────────────────
   ABOUT SECTION
───────────────────────────────────────── */
.hl-about-section { background-color: var(--hl-bg-light); }

.hl-about-card {
    background: white;
    border-radius: var(--hl-radius);
    padding: 3rem;
    box-shadow: var(--hl-shadow);
}

.hl-about-card .wp-block-columns { align-items: stretch; }

.hl-about-image-col { flex-basis: 350px !important; max-width: 350px; }

.hl-about-image { margin: 0; height: 100%; min-height: 400px; }
.hl-about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--hl-radius);
    display: block;
}

.hl-about-text h2 { margin-bottom: 1.5rem; }
.hl-about-text p  { margin-bottom: 1rem; }

/* ─────────────────────────────────────────
   STORIES / VIDEO CARDS
───────────────────────────────────────── */
.hl-stories-section { background-color: var(--hl-ivory); }

.hl-section-title {
    font-size: 2.5rem;
    margin-bottom: 3rem;
}

.hl-story-card {
    background: white;
    border-radius: var(--hl-radius);
    overflow: hidden;
    box-shadow: var(--hl-shadow);
    transition: var(--hl-transition);
}
.hl-story-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--hl-shadow-h);
}

/* Force 16:9 for embedded iframes */
.hl-video-embed .wp-block-embed__wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    overflow: hidden;
}
.hl-video-embed .wp-block-embed__wrapper iframe {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    border: none;
}

.hl-story-content {
    padding: 1.5rem;
}
.hl-story-content .wp-block-heading {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

/* ─────────────────────────────────────────
   ACCORDION
───────────────────────────────────────── */
.hl-accordion {
    border: 1px solid #eee;
    border-radius: 4px;
    overflow: hidden;
}

.hl-accordion-header {
    width: 100%;
    background: var(--hl-bg-light);
    border: none;
    padding: 1rem;
    text-align: left;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--hl-navy);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: var(--hl-transition);
    font-size: 1rem;
}
.hl-accordion-header:hover { background: #f0f0f0; }

.hl-icon {
    font-size: 1.2rem;
    transition: transform .3s ease;
    line-height: 1;
}
.hl-accordion-header.active .hl-icon { transform: rotate(45deg); }

.hl-accordion-content {
    max-height: 0;
    overflow-y: auto;
    transition: max-height .4s ease;
    background: white;
}
.hl-accordion-content ul {
    padding: 1rem 1.5rem;
    list-style-type: disc;
    font-size: .9rem;
}
.hl-accordion-content ul li { margin-bottom: .6rem; }

/* Scrollbar */
.hl-accordion-content::-webkit-scrollbar { width: 6px; }
.hl-accordion-content::-webkit-scrollbar-track { background: #f9f9f9; }
.hl-accordion-content::-webkit-scrollbar-thumb { background: #ccc; border-radius: 4px; }
.hl-accordion-content::-webkit-scrollbar-thumb:hover { background: var(--hl-gold); }

/* ─────────────────────────────────────────
   FOOTER
───────────────────────────────────────── */
.hl-footer { background-color: var(--hl-navy); }

.hl-footer-content {
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(255,255,240,.1);
    align-items: center;
}

.hl-footer-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hl-ivory) !important;
    margin: 0 !important;
}
.hl-footer-subtitle {
    font-size: .9rem;
    color: #b0b5c1 !important;
    margin-top: .2rem !important;
}

.hl-footer-links { display: flex; align-items: center; gap: 1.5rem; justify-content: center;}

.hl-footer-icon {
    color: var(--hl-ivory);
    display: inline-flex;
    transition: var(--hl-transition);
}
.hl-footer-icon:hover {
    color: var(--hl-gold);
    transform: translateY(-2px);
}

.hl-footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: .8rem;
}

.hl-footer-phone {
    font-size: 1.1rem;
    font-weight: 500;
    font-family: 'Playfair Display', serif;
    display: flex;
    align-items: center;
    gap: .5rem;
    color: var(--hl-ivory);
    text-decoration: none;
    transition: var(--hl-transition);
}
.hl-footer-phone:hover { color: var(--hl-gold); }

.hl-footer-copyright {
    padding-top: 2rem;
    font-size: .85rem;
    color: #b0b5c1 !important;
    
}

/* ─────────────────────────────────────────
   SCROLL ANIMATIONS
───────────────────────────────────────── */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity .8s ease, transform .8s ease;
}
.slide-in-left {
    opacity: 0;
    transform: translateX(-50px);
    transition: opacity .8s ease, transform .8s ease;
}
.slide-in-right {
    opacity: 0;
    transform: translateX(50px);
    transition: opacity .8s ease, transform .8s ease;
}
.is-visible {
    opacity: 1 !important;
    transform: translate(0) !important;
}

.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 992px) {
    .hl-book-section .wp-block-columns,
    .hl-about-card .wp-block-columns {
        flex-direction: column;
    }
    .hl-about-image-col { max-width: 100% !important; flex-basis: auto !important; }
    .hl-hero__title { font-size: 3rem; }
    .hl-stories-grid { flex-direction: column; }
}

@media (max-width: 768px) {
    .hl-hero__title { font-size: 2.5rem; }
    .hl-about-card { padding: 1.5rem; }
    .hl-footer-content { flex-direction: column; text-align: center; }
    .hl-footer-contact { align-items: center; }
    .wp-block-buttons { flex-direction: column; align-items: center; }
}

/* ─────────────────────────────────────────
   HEADER
───────────────────────────────────────── */
.hl-header {
    background-color: rgba(255, 255, 240, 0.95);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    /* Ensures it sits above hero and all other blocks */
    z-index: 1000;
position: fixed;
width: 100% !important;
}
 
/* Remove default WP group padding resets */
.hl-header.wp-block-group {
    margin-bottom: 0;
}
 
/* Logo */
.hl-logo {
    margin: 0 !important;
    line-height: 1 !important;
}
.hl-logo a {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--hl-navy) !important;
    text-decoration: none;
    transition: var(--hl-transition);
    white-space: nowrap;
}
.hl-logo a:hover {
    color: var(--hl-gold) !important;
}
 
/* Navigation */
.hl-header-nav-col .wp-block-navigation__container,
.hl-nav .wp-block-navigation__container {
    
    gap: 2rem;
}
 
.hl-header-nav-col .wp-block-navigation-item__content,
.hl-nav .wp-block-navigation-item__content {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--hl-charcoal) !important;
    text-decoration: none;
    transition: var(--hl-transition);
    padding: 0 !important;
}
.hl-header-nav-col .wp-block-navigation-item__content:hover,
.hl-nav .wp-block-navigation-item__content:hover {
    color: var(--hl-gold) !important;
}
 
/* Phone */
.hl-header-contact {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}
.hl-header-phone {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    font-size: 1.05rem;
    color: var(--hl-navy);
    text-decoration: none;
    white-space: nowrap;
    transition: var(--hl-transition);
}
.hl-icon-phone {
    color: var(--hl-gold);
    flex-shrink: 0;
}
.hl-header-phone:hover {
    color: var(--hl-gold);
}
 
/* Header columns alignment */
.hl-header-container.wp-block-columns {
    align-items: center;
    flex-wrap: nowrap;
    margin-bottom: 0 !important;
}
.hl-header-container .wp-block-column {
    margin-bottom: 0 !important;
}
 
/* ── Responsive Header ── */
@media (max-width: 768px) {
    .hl-header-container.wp-block-columns {
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.75rem;
    }
    .hl-header-logo-col,
    .hl-header-contact-col {
        flex-basis: auto !important;
        width: auto;
    }
    .hl-header-nav-col {
        width: 100%;
        order: 3;
    }
    .hl-header-nav-col .wp-block-navigation__container {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }
    .hl-header-contact {
        justify-content: center;
    }
}

.youtube a{
text-decoration:none;
}

.youtube a:hover{
text-decoration:underline;
}


/* 1-5-26 https://harrystrong.ezsolutionweb.com/ start */

@media (max-width:767px){
    .wp-block-navigation__responsive-container-open {
        display: flex!important;
    }
    .wp-block-navigation__responsive-container {
        bottom: unset;
        margin: auto!important;
        display: flex!important;
        transform: translateY(-100%);
        left: 0;
        position: fixed!important;
        right: 0;
        top: 0;
        width: 100vw!important;
        z-index: 100000!important;
        overflow: auto!important;
        height: fit-content;
        transition: all 0.5s;
        opacity: 1!important;
        visibility: visible!important;
        padding: 0!important;
        background: #fffff0!important;
    }
    body .wp-block-navigation .wp-block-navigation-item:focus,
    body .wp-block-navigation .wp-block-navigation-item:hover,
    body .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:hover,
    body .wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content:focus,
    body .wp-block-navigation .wp-block-navigation__submenu-icon:hover,
    body .wp-block-navigation .wp-block-navigation__submenu-icon:focus{
        border: 0!important;
        box-shadow: 0!important;
        outline: none!important;
    }
    .wp-block-navigation__responsive-close{
        padding: 20px 20px 30px!important;
    }
    .hl-header-nav-col .wp-block-navigation__container{
        flex-direction: column!important;
        align-items: flex-end!important;
        justify-content: flex-end!important;
    }
    .wp-block-navigation__responsive-container.is-menu-open{
        display: flex!important;
        transform: translateY(0);
    }
    .hl-header .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column{
        width: fit-content!important;
        flex-basis: auto!important;
    }
    .hl-footer-content{
        align-content: center!important;
        gap: 10px!important;
    }
    .wp-container-core-columns-is-layout-2eb748b2{
        gap: 0!important;
    }
    .wp-container-core-columns-is-layout-2eb748b2 p{
        text-align: center!important;
        padding-top: 15px!important;
    }
    .hl-footer-phone{
        margin-top: 10px!important;
    }
.hl-footer .wp-block-columns.wp-container-core-columns-is-layout-2eb748b2{
        flex-direction: column-reverse!important;
    }
button#hl-email-btn {
    MARGIN-TOP: 18PX;
}
}
@media (max-width:480px){
    .hl-about-image{
        min-height: fit-content!important;
        aspect-ratio: 1!important;
    }
    .hl-stories-section{
        padding: 2rem 0 1rem!important;
    }
    .hl-about-section{
        padding: 3rem 2rem!important;
    }
    .hl-book-section{
        padding: 2rem 0!important;
    }
    .hl-stories-section .wp-block-spacer{
        height: 0!important;
    }

    .hl-about-card{
        padding: 15px;
    }
}

@media screen and (min-width:767px) and (max-width:992px){

    .hl-header .wp-block-columns:not(.is-not-stacked-on-mobile)>.wp-block-column {

        width: fit-content !important;

        flex-basis: auto !important;

    }
.hl-header.wp-container-core-group-is-layout-23f6b56e > .alignwide{
        justify-content: space-between!important;
    }

}

@media screen and (min-width:767px) and (max-width:780px){
    .hl-footer-content {
        align-content: center !important;
        gap: 10px !important;
        flex-direction: column!important;
        text-align: center!important;
    }
    .hl-footer-contact {
        align-items: center;
    }
    .hl-footer .wp-block-columns.wp-container-core-columns-is-layout-2eb748b2 {
        flex-direction: column-reverse !important;
        gap: 0!important;
    }
    .wp-container-core-columns-is-layout-2eb748b2 p {
        text-align: center !important;
        padding-top: 15px !important;
    }
    button#hl-email-btn {
        margin-top: 18px;
    }
    .hl-footer-phone {
        margin-top: 10px !important;
    }
}

/* 1-5-26 https://harrystrong.ezsolutionweb.com/ end */
