/*
 Theme Name:   GeneratePress Child
 Theme URI:    https://generatepress.com
 Description:  Default GeneratePress child theme
 Author:       Tom Usborne
 Author URI:   https://tomusborne.com
 Template:     generatepress
 Version:      0.2
*/

/* =======================================
   Global Layout Fixes
   ======================================= */
body.home .site-header,
body.home .site-footer,
body.home .site-content,
body.home .site-main.zen-u-fullwidth {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
html, body {
    max-width: 100%;
    overflow-x: hidden;
}
body {
    background: linear-gradient(180deg, #f9f9fb 0%, #f0f0f8 100%);
    color: var(--zenu-text);
}

/* =======================================
   Color Style Guide
   ======================================= */
:root {
    --zenu-primary: #7f5af0;
    --zenu-primary-hover: #a788ff;
    --zenu-secondary: #ffb800;
    --zenu-bg: #f7f6ff;
    --zenu-surface: #ffffff;
    --zenu-text: #1b1b1b;
    --zenu-muted: #6b7280;
    --zenu-heading: #4c1d95;
    --zenu-subheading: #7f5af0;
    --zenu-border: #d1d5db;
    --zenu-footer-bg: #1f1f2e;
    --zenu-footer-text: #e5e7eb;
}

/* =======================================
   Hero Section
   ======================================= */
.zenu-hero-section {
    background: url('https://www.zenu.name.ng/wp-content/uploads/2025/07/portrait-spiritual-awakening.jpg') no-repeat center center/cover;
    color: #fff;
    text-align: center;
    padding: 250px 90px;
    position: relative;
}
.hero-title {
    font-size: 3.2rem;
    max-width: 900px;
    margin: 0 auto 25px auto;
    line-height: 1.3;
}
.hero-buttons {
    display: inline-grid;
    grid-template-columns: repeat(2, auto);
    gap: 25px;
    margin: 40px auto 0 auto;
}
.zenu-hero-button {
    background: linear-gradient(120deg, var(--zenu-primary), var(--zenu-secondary));
    color: #fff;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    box-shadow: 0 0 10px rgba(167,139,250,0.5);
    transition: all 0.3s ease;
}
.zenu-hero-button:hover {
    background: var(--zenu-primary-hover);
    box-shadow: 0 0 20px rgba(167,139,250,0.7);
}
@media (max-width: 768px) {
    .zenu-hero-section { padding: 100px 20px; }
    .hero-title { font-size: 2rem; max-width: 90%; }
    .hero-buttons { grid-template-columns: 1fr 1fr; gap: 15px; }
}

/* =======================================
   Card Grid (Strict 2-column on Mobile)
   ======================================= */
.zenu-card-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px;
    max-width: 1200px;
    margin: 0 auto;
}
@media (max-width: 1024px) { .zenu-card-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .zenu-card-grid { grid-template-columns: repeat(2, 1fr) !important; gap: 15px; } }

.zenu-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    padding: 30px 15px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.zenu-card:hover { transform: translateY(-5px); box-shadow: 0 8px 25px rgba(0,0,0,0.15); }
.zenu-card-title { font-size: 1.6rem; color: #3a0d8e; margin-bottom: 15px; }

/* Glowing orb behind cards */
.zenu-card::after {
    content: "";
    position: absolute;
    top: -30px;
    left: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(167,139,250,0.6) 0%, rgba(192,132,252,0) 70%);
    filter: blur(25px);
    animation: orbFloat 5s ease-in-out infinite alternate;
    z-index: 0;
}
@keyframes orbFloat { 0% { transform: translate(0, 0) scale(1); opacity: 0.7; } 100% { transform: translate(20px, -20px) scale(1.1); opacity: 1; } }

/* Premium Locked Box Styling */
.premium-lock-box { background: linear-gradient(135deg, rgba(32,32,32,0.95), rgba(0,0,0,0.8)); border: 2px solid rgba(255,215,0,0.6); box-shadow: 0 0 25px rgba(255,215,0,0.7); border-radius: 15px; padding: 30px; text-align: center; margin: 40px auto; max-width: 600px; position: relative; overflow: hidden; }
.premium-lock-box:before { content: ""; position: absolute; top: -50%; left: -50%; width: 200%; height: 200%; background: radial-gradient(circle, rgba(255,215,0,0.2) 0%, transparent 70%); animation: pulseGlow 5s infinite; }
@keyframes pulseGlow { 0% { transform: scale(1); opacity: 0.5; } 50% { transform: scale(1.2); opacity: 1; } 100% { transform: scale(1); opacity: 0.5; } }
.premium-lock-button { display: inline-block; padding: 12px 25px; background: gold; border-radius: 8px; font-weight: bold; text-decoration: none; transition: all 0.3s ease-in-out; box-shadow: 0 0 10px gold; }
.premium-lock-button:hover { background: #fff200; box-shadow: 0 0 20px gold; }

/* =======================================
   Premium Member Badge Dropdown Animation
   ======================================= */
.premium-badge > .sub-menu {
    display: none;
    position: absolute;
    background: #fff;
    list-style: none;
    margin: 0;
    padding: 10px 0;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    transform: translateY(10px);
    opacity: 0;
    transition: all 0.3s ease-in-out;
}
.premium-badge:hover > .sub-menu {
    display: block;
    transform: translateY(0);
    opacity: 1;
}

/* =======================================
   Subscribe Section
   ======================================= */
.subscribe-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    max-width: 500px;
    margin: 40px auto;
    background: #fff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(167, 139, 250, 0.3);
}
.subscribe-section input[type="email"] { width: 100%; padding: 12px; border-radius: 25px; text-align: center; }
.subscribe-section button { max-width: 200px; padding: 12px; border: none; border-radius: 25px; font-weight: bold; background: linear-gradient(120deg, var(--zenu-primary), var(--zenu-secondary)); color: #fff; transition: 0.3s ease; }
.subscribe-section button:hover { box-shadow: 0 0 15px rgba(167, 139, 250, 0.5); }

/* =======================================
   Support Button
   ======================================= */
#zenu-support-btn {
    position: fixed;
    top: 40%;
    right: 0;
    transform: translateY(-50%);
    background: #4B0082;
    color: #fff;
    padding: 12px 20px;
    font-weight: bold;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    z-index: 99999;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}
#zenu-support-btn:hover { background: #6A0DAD; }


/* =======================================
   News Ticker (Fixed crisp text & pause)
   ======================================= */
.zenu-news-ticker {
    background: linear-gradient(90deg, #2e0854, #4b0082);
    padding: 6px 0;
    overflow: hidden;
    position: relative;
    z-index: 2;
    font-smooth: always; /* crisp font rendering */
    -webkit-font-smoothing: antialiased;
}
.ticker-container {
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    white-space: nowrap;
}
.ticker-list {
    display: inline-flex;
    animation: ticker-scroll 40s linear infinite;
    padding: 0;
    margin: 0;
    list-style: none;
}
.ticker-list li {
    color: #fff;
    font-weight: 600;
    font-size: 1rem;
    padding: 0 2rem;
    text-shadow: 0 0 3px rgba(255,255,255,0.6); /* subtle glow but sharp */
    transition: transform 0.3s ease;
    will-change: transform; /* prevents blur */
}
.ticker-list li:hover {
    transform: scale(1.08);
}
.ticker-container:hover .ticker-list {
    animation-play-state: paused;
}
@keyframes ticker-scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
@media (max-width: 768px) {
    .ticker-list li {
        font-size: 0.9rem;
        padding: 0 1rem;
    }
}

/* =======================================
   Premium Badge (Fixed size & position)
   ======================================= */
.premium-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    transform: rotate(0); /* no rotation for clean look */
    background: linear-gradient(135deg, #FFD700, #FFC300);
    color: #111;
    font-size: 0.75rem;
    font-weight: bold;
    padding: 3px 10px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.3), 0 0 8px rgba(255,215,0,0.7);
    z-index: 3;
}
.premium-badge::before {
    content: "★ ";
    font-size: 0.85rem;
    color: #111;
}



.zen-social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr !important;
    gap: 15px;
    max-width: 600px;
    margin: 30px auto;
    justify-items: center;
}
.zen-social-buttons .zen-btn {
    width: 100%;
    max-width: 280px;
}



.zen-social-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    justify-content: center;
    align-items: center;
    margin: 50px auto;
    max-width: 1000px;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeSlideIn 0.8s ease forwards;
}
.zen-social-buttons .zen-btn {
    display: block;
    text-align: center;
    padding: 20px 25px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 18px;
    text-decoration: none;
    color: #FFD700;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.zen-social-buttons .zen-btn:hover,
.zen-social-buttons .zen-btn:focus {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
}
.zen-social-buttons .whatsapp { background:#6A0DAD; }
.zen-social-buttons .telegram { background:#4B0082; }

/* Mobile adjustments */
@media(max-width: 768px){
    .zen-social-buttons {
        grid-template-columns: 1.2fr 1fr;
        gap: 25px;
    }
    .zen-social-buttons .zen-btn {
        width: 100%;          /* take full column width */
        padding: 24px 28px;   /* slightly larger touch area */
        font-size: 18px;      /* slightly bigger font */
    }
}


/* Fade & Slide Animation */
@keyframes fadeSlideIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
