/*
Theme Name: Lavalite Theme
Author: Kristie
Description: A custom theme for Lavalite Life Coaching.
Version: 1.0
*/

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Playfair Display', serif;
    background-color: #111;
    display: block;
    min-height: 100vh;
    padding: 0;
    margin: 0;
    color: #111;
}

.sticky-header {
    width: 100% !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #e8e8e8 0%, #d0d0d0 25%, #e8e8e8 50%, #c8c8c8 75%, #dcdcdc 100%) !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    height: 200px !important;
    overflow: visible !important;
    transition: height 0.3s ease !important; /* smooth shrink only */
}

.sticky-header::after,
.sticky-header::before {
    display: none !important;
}

/* Shrunk to 33% when scrolled */
.sticky-header.shrink {
    height: 66px !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2) !important;
}

.header-logo {
    height: 175px !important;
    width: 175px !important;
    max-height: none !important;
    object-fit: contain !important;
    z-index: 10 !important;
    padding: 10px !important;
    mix-blend-mode: multiply !important;
    position: relative !important;
    transition: height 0.3s ease, width 0.3s ease !important;
    display: block !important;
}

.sticky-header.shrink .header-logo {
    height: 58px !important;
    width: 58px !important;
    padding: 4px !important;
}

.brochure-container {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    background: #fff !important;
    position: relative !important;
    overflow: hidden !important;
    padding-top: 200px !important; /* MATCHES HEADER HEIGHT EXACTLY — NO COVERING CONTENT */
}

.page {
    display: flex;
    flex-direction: column;
    width: 100%;
}

/* Real Image Metallic Backgrounds */
.gold-panel {
    background-image: url('assets/images/gold_metal.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.gold-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    pointer-events: none;
}

.silver-panel {
    background-image: url('assets/images/silver_metal.png');
    background-size: cover;
    background-position: center;
    position: relative;
}

.silver-panel::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.panel {
    padding: 60px 5vw;
    /* use viewport width for better responsive padding */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-bottom: 2px solid rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
    transition: transform 0.3s ease;
}

.left-page .panel:last-child,
.right-page .panel:last-child {
    border-bottom: none;
}

.panel>* {
    position: relative;
    z-index: 3;
    max-width: 900px;
    /* Keep text centered and readable */
    width: 100%;
}

h1,
h2,
h3,
h4 {
    font-family: 'Cinzel', serif;
    text-transform: uppercase;
}

/* Title Panel */
.title-panel {
    text-align: center;
    padding: 60px 40px;
}

.title-text {
    font-weight: 900;
    font-size: 3.8rem;
    line-height: 1;
    color: #1a1a1a;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.4), -1px -1px 0 rgba(255, 255, 255, 0.6);
    margin: 5px 0;
    letter-spacing: -1px;
    transition: transform 0.3s ease, text-shadow 0.3s ease;
}

.title-panel:hover .title-text {
    transform: scale(1.02);
    text-shadow: 4px 4px 8px rgba(0, 0, 0, 0.5), -1px -1px 0 rgba(255, 255, 255, 0.6);
}

/* Content Panel */
.content-panel h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 25px;
    letter-spacing: 1px;
    color: #111;
}

.content-panel p {
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
}

.columns-2 {
    display: flex;
    gap: 30px;
    margin-bottom: 15px;
}

.columns-2 p {
    flex: 1;
}

/* Programs Panel */
.programs-panel h3,
.programs-panel-extended h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    letter-spacing: 1px;
    color: #111;
}

.program-item {
    display: flex;
    gap: 25px;
    margin-bottom: 30px;
    transition: transform 0.3s ease;
}

.program-item:hover {
    transform: translateX(10px);
}

.program-item .icon-wrapper {
    font-size: 2.5rem;
    color: #111;
    flex-shrink: 0;
    width: 50px;
    text-align: center;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.5);
}

.program-item h4 {
    font-size: 1.15rem;
    font-weight: 800;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
    color: #111;
}

.program-item p {
    font-size: 0.85rem;
    line-height: 1.5;
    font-weight: 600;
    color: #222;
}

.btn-book {
    display: inline-block;
    margin-top: 15px;
    padding: 12px 25px;
    background-color: #111;
    color: #d4af37;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 1px;
    border: 1px solid #d4af37;
    border-radius: 3px;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.btn-book:hover {
    background-color: #d4af37;
    color: #111;
    transform: translateY(-2px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.4);
}

/* Coach Panel */
.coach-panel h3 {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-align: center;
    letter-spacing: 1px;
    color: #111;
}

.coach-content {
    display: flex;
    gap: 35px;
    align-items: center;
}

.coach-image-wrapper {
    flex-shrink: 0;
}

.coach-image {
    width: 140px;
    height: 140px;
    background: url('assets/images/gold_metal.png');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 5rem;
    color: #222;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    border: 4px solid #fff;
    transition: transform 0.3s ease;
    border-radius: 50%;
}

.coach-image:hover {
    transform: rotate(5deg) scale(1.05);
}

.coach-text p {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 15px;
    font-weight: 600;
    color: #222;
}

.signature {
    font-family: 'Great Vibes', cursive;
    font-size: 2.8rem;
    margin-top: 15px;
    color: #222;
    transform: rotate(-3deg);
    display: inline-block;
}

/* Testimonials Panel */
.testimonials-panel h3 {
    font-size: 1.8rem;
    font-weight: 900;
    margin-bottom: 30px;
    color: #111;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.2);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid #111;
    transition: background 0.3s ease;
}

.testimonial-card:hover {
    background: rgba(255, 255, 255, 0.3);
}

.testimonials-panel p {
    font-size: 0.85rem;
    line-height: 1.6;
    font-weight: 600;
    margin-bottom: 15px;
    font-style: italic;
    color: #222;
}

.testimonials-panel .author {
    font-weight: 800;
    font-size: 1rem;
    font-style: normal;
    text-align: right;
    margin-bottom: 0;
    color: #111;
}

/* Contact Panel */
.contact-panel {
    padding: 40px 45px;
}

.contact-panel h3 {
    font-size: 1.6rem;
    font-weight: 900;
    margin-bottom: 25px;
    text-align: center;
    color: #111;
}

.contact-info {
    display: flex;
    justify-content: space-between;
    font-weight: 800;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 8px;
}

.contact-info p {
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: color 0.3s ease;
    cursor: pointer;
    color: #222;
}

.contact-info p:hover {
    color: #555;
}

.contact-info i {
    font-size: 1.3rem;
    width: 25px;
    text-align: center;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .columns-2 {
        flex-direction: column;
        gap: 20px;
    }

    .coach-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 20px;
        align-items: center;
        text-align: center;
    }

    .title-text {
        font-size: 2.8rem;
    }

    .panel {
        padding: 40px 20px;
    }

    .sticky-header {
        height: 400px !important;
    }
}


/* Update text on gold panels to pop out */
.gold-panel h1,
.gold-panel h2,
.gold-panel h3,
.gold-panel h4,
.gold-panel p,
.gold-panel .author,
.gold-panel .icon-wrapper {
    color: #ffffff !important;
    font-weight: 800 !important;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.8) !important;
}

.gold-panel .title-text {
    color: #ffffff !important;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9), -1px -1px 0 rgba(0, 0, 0, 0.6) !important;
}

.gold-panel .btn-book {
    text-shadow: none !important;
}