/*
Theme Name: Siesta Theme
Description: Custom theme for Siesta
*/

/* Parallax Background Global Fix */
.vc_row[data-vc-parallax-image] {
    background-size: cover !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    /* We don't set background-image here because it's in data-vc-parallax-image attribute, 
       but we ensure the row has a minimum height if needed by content. */
}

/* Force showing background images from data-attribute if JS fails */
/* Note: We use a small JS snippet in functions.php to map these. */

/* Submenu Fixes */
.header {
    position: relative !important;
    z-index: 9999 !important;
}

.wrapper.st-body {
    overflow: visible !important;
}

.iw-nav-wrapper, .content-main {
    z-index: 9999 !important;
}

/* Hero Section (Page Heading) */
.page-heading {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 50px;
    z-index: 1;
}

.page-heading::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: -1;
}

.page-heading h1 {
    font-family: 'Playfair Display', serif !important;
    text-shadow: 2px 2px 10px rgba(0,0,0,0.8);
    color: #ffffff !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
}
