/**
 * Hero Image Absolute Final Fix
 * Direct inline background approach
 */

/* Add font import at the top level */
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600&family=Cinzel+Decorative:wght@700&display=swap');

/* Direct background image on page header */
body.home .page-header {
    background-image: 
        linear-gradient(to bottom, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0.6) 100%),
        url('http://localhost:10018/wp-content/uploads/2025/06/IMG_1809-optimized.jpg') !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    min-height: 400px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
    margin-bottom: 40px !important;
    padding: 60px 20px !important;
}

/* Ensure title is visible */
body.home .page-header .page-title {
    color: white !important;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.8) !important;
    font-family: 'Cinzel Decorative', 'Georgia', serif !important;
    font-size: 5rem !important;
    font-weight: 400 !important;
    letter-spacing: 3px !important;
    margin: 0 !important;
    text-align: center !important;
    position: relative !important;
    z-index: 10 !important;
}

/* Add subtitle using CSS */
body.home .page-header .page-title::after {
    content: '\A Your Guide To Trekking In Ireland' !important;
    display: block !important;
    font-size: 1.8rem !important;
    font-family: 'Cinzel', 'Georgia', serif !important;
    font-style: italic !important;
    font-weight: 400 !important;
    letter-spacing: 2px !important;
    margin-top: 15px !important;
    white-space: pre !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
    body.home .page-header {
        min-height: 300px !important;
        padding: 40px 20px !important;
    }
    
    body.home .page-header .page-title {
        font-size: 3rem !important;
    }
    
    body.home .page-header .page-title::after {
        font-size: 1.3rem !important;
        margin-top: 10px !important;
    }
}