/**
 * WP1002 Custom Styling - Maximalist Aesthetic
 * Lively background with vibrant colors and enhanced typography
 */

/* Lively gradient background with animated colors */
body.home,
body.page-id-5 {
    background: linear-gradient(
        135deg,
        #667eea 0%,
        #764ba2 25%,
        #f093fb 50%,
        #f5576c 75%,
        #feca57 100%
    ) !important;
    background-size: 400% 400% !important;
    animation: gradientShift 15s ease infinite !important;
    min-height: 100vh !important;
    position: relative !important;
}

/* Animated gradient movement */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Add a subtle pattern overlay for maximalist effect */
body.home::before,
body.page-id-5::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(255, 255, 255, 0.03) 10px,
            rgba(255, 255, 255, 0.03) 20px
        );
    pointer-events: none;
    z-index: 1;
}

/* Enhanced h1 styling - Large, centered, maximalist */
body.home h1,
body.page-id-5 h1 {
    font-size: 8rem !important;
    font-weight: 900 !important;
    text-align: center !important;
    margin: 0 auto !important;
    padding: 2rem !important;

    /* Vibrant text styling */
    background: linear-gradient(
        45deg,
        #ffffff,
        #ffe66d,
        #ff6b6b,
        #4ecdc4,
        #45b7d1,
        #ffffff
    );
    background-size: 300% 300%;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: textGradient 8s ease infinite;

    /* Bold text shadow for depth */
    text-shadow:
        0 0 20px rgba(255, 255, 255, 0.5),
        0 0 40px rgba(255, 255, 255, 0.3),
        0 0 60px rgba(255, 255, 255, 0.2);

    /* Letter spacing for impact */
    letter-spacing: 0.1em !important;

    /* Transform for emphasis */
    transform: scale(1);
    transition: transform 0.3s ease;

    position: relative;
    z-index: 10;
}

/* Text gradient animation */
@keyframes textGradient {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* Hover effect for interactivity */
body.home h1:hover,
body.page-id-5 h1:hover {
    transform: scale(1.05);
}

/* Center content container */
body.home .entry-content,
body.page-id-5 .entry-content,
body.home .site-content,
body.page-id-5 .site-content {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    min-height: 70vh !important;
    position: relative;
    z-index: 10;
}

/* Style the main content area */
body.home article,
body.page-id-5 article {
    background: rgba(255, 255, 255, 0.15) !important;
    backdrop-filter: blur(10px) !important;
    border-radius: 30px !important;
    padding: 4rem !important;
    box-shadow:
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 100px rgba(255, 255, 255, 0.2),
        inset 0 0 100px rgba(255, 255, 255, 0.1) !important;
    border: 3px solid rgba(255, 255, 255, 0.3) !important;
    position: relative;
}

/* Add decorative elements */
body.home article::before,
body.page-id-5 article::before {
    content: "✨";
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

body.home article::after,
body.page-id-5 article::after {
    content: "✨";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 3rem;
    animation: float 3s ease-in-out infinite 1.5s;
}

/* Floating animation for decorative elements */
@keyframes float {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

/* Responsive design for tablets */
@media (max-width: 1024px) {
    body.home h1,
    body.page-id-5 h1 {
        font-size: 6rem !important;
    }
}

/* Responsive design for mobile */
@media (max-width: 768px) {
    body.home h1,
    body.page-id-5 h1 {
        font-size: 4rem !important;
        letter-spacing: 0.05em !important;
    }

    body.home article,
    body.page-id-5 article {
        padding: 2rem !important;
        border-radius: 20px !important;
    }
}

@media (max-width: 480px) {
    body.home h1,
    body.page-id-5 h1 {
        font-size: 3rem !important;
    }
}
