/*
 Theme Name:   Jacqueline Child Theme
 Theme URI:    http://jacqueline.themerex.net
 Description:  Jacqueline Child Theme
 Author:       ThemeREX
 Author URI:   https://themerex.net/
 Template:     jacqueline
 Version:      1.0
 Tags:         flexible-header, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, full-width-template, microformats, post-formats, theme-options, threaded-comments, translation-ready
 Text Domain:  jacqueline
*/


/* =Theme customization starts here
------------------------------------------------------------ */

html {
    scroll-behavior: smooth;
}

.widget_contacts .contacts_info .contacts_left> :before {
    left: 0 !important;
    right: auto !important;
    text-align: left;
}

.widget_contacts .contacts_info .contacts_left,
.widget_contacts .contacts_info .contacts_right {
    text-align: left;
    padding-right: 0em !important;
    padding-left: 1em;
}

.widget_contacts .contacts_info .contacts_left,
.widget_contacts .contacts_info .contacts_right {
    margin-bottom: 1em;
}

.widget_contacts .contacts_info .contacts_left,
.widget_contacts .contacts_info .contacts_right {
    width: 100%;
}

.widget_contacts .contacts_info .contacts_left>*,
.widget_contacts .contacts_info .contacts_right>* {
    padding-right: 0em !important;
    padding-left: 2em !important;
}

.widget_contacts .contacts_info .contacts_left> :before,
.widget_contacts .contacts_info .contacts_right> :before {
    text-align: center;
}

.sc_team .post_featured.hover_link .link {
    pointer-events: none;
    cursor: default;
}

.sc_services_price .sc_services_item_price {
    font-size: 1.3em;
}

/* Premium Hero Section */
.front_page_section_hero_premium {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
    background-attachment: scroll;
}

.front_page_video_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.front_page_video_bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.front_page_section_hero_premium::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.6) 40%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 1;
    pointer-events: none;
}

.front_page_section_hero_premium .front_page_section_title_inner {
    align-items: center !important;
    /* Center vertically in the hero */
    width: 100%;
}

.front_page_section_hero_premium .front_page_section_content_wrap {
    position: relative;
    z-index: 2;
    text-align: left !important;
    width: 100%;
    max-width: none !important;
    /* Remove max-width constraint */
    margin: 0 !important;
    /* No auto margin — stay left */
    padding: 0 40px 100px 8%;
    /* Left padding pushes it inward elegantly */
}

/* Ensure text elements within aren't centered by default */
.front_page_section_hero_premium .front_page_section_caption {
    font-family: 'Playfair Display', serif;
    font-size: 5em;
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
    margin-bottom: 0.2em;
    letter-spacing: -1px;
    font-weight: 500;
    text-align: left !important;
    /* Prevent hyphenation */
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word;
}

.front_page_section_hero_premium .front_page_section_description {
    font-size: 1.5em;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.95);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    margin: 20px 0 0 0;
    /* Removing auto centering margin */
    line-height: 1.5;
    letter-spacing: 0.5px;
    text-align: left !important;
    /* Prevent hyphenation */
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
}

/* Premium Hero Buttons */
.premium_hero_buttons {
    margin-top: 40px;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: flex-start;
    /* Left buttons */
}

.premium_hero_buttons a.sc_button {
    font-family: inherit;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.9em;
    padding: 16px 40px;
    border-radius: 50px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.hero_btn_primary {
    background: #d4af37 !important;
    /* Gold */
    color: #fff !important;
    border: 1px solid #d4af37 !important;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.hero_btn_primary:hover {
    background: #fff !important;
    color: #000 !important;
    border-color: #fff !important;
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.hero_btn_secondary {
    background: rgba(255, 255, 255, 0.1) !important;
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.5) !important;
    color: #fff !important;
}

.hero_btn_secondary:hover {
    background: rgba(255, 255, 255, 0.2) !important;
    border-color: #fff !important;
    transform: translateY(-2px);
}

/* Massage Filter Blocks */
.massage_filter_container {
    display: flex;
    gap: 40px;
    margin-top: -60px;
    /* Overlap slightly with hero for dynamic look */
    margin-bottom: 60px;
    flex-wrap: wrap;
    position: relative;
    z-index: 10;
}

.massage_filter_block {
    flex: 1;
    min-width: 350px;
    height: 500px;
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: #1a1a1a;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.massage_filter_block:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.massage_filter_block.premium_block {
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.massage_filter_block.premium_block:hover {
    border-color: rgba(212, 175, 55, 0.8);
}

.massage_filter_link {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: flex-end;
    padding: 40px;
    box-sizing: border-box;
    text-decoration: none !important;
    background-size: cover;
    background-position: center;
    transition: transform 1s ease;
}

.massage_filter_block:hover .massage_filter_link {
    transform: scale(1.05);
}

.premium_block .massage_filter_link {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.1)), url(images/premium-bg.jpeg);
    background-color: #1a1a1a;
}

.traditional_block .massage_filter_link {
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.1)), url(images/traditional-bg.jpeg);
    background-color: #222;
}

.massage_filter_content {
    position: relative;
    z-index: 2;
    width: 100%;
}

.massage_filter_title {
    color: #fff;
    margin-bottom: 20px;
    font-size: 2.2em;
    line-height: 1.1;
    font-weight: 500;
    /* Prevent hyphenation and weird breaking */
    -webkit-hyphens: none !important;
    -moz-hyphens: none !important;
    -ms-hyphens: none !important;
    hyphens: none !important;
    word-break: normal !important;
    overflow-wrap: break-word;
}

.massage_filter_button {
    display: inline-block;
    padding: 12px 35px;
    background: #d4af37;
    color: #fff;
    border-radius: 50px;
    /* Pill shape */
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9em;
    transition: all 0.3s ease;
}

.traditional_block .massage_filter_button {
    background: rgba(255, 255, 255, 0.1);
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.massage_filter_block:hover .massage_filter_button {
    background: #fff;
    color: #000;
    transform: scale(1.05);
}

.premium_block .massage_filter_button {
    background: #d4af37;
    border: 1px solid #d4af37;
}

.premium_block:hover .massage_filter_button {
    background: #fff;
    border-color: #fff;
}

/* Mobile Adjustments */
@media (max-width: 767px) {
    .front_page_section_hero_premium .front_page_section_caption {
        font-size: 2.5em !important;
    }

    .massage_filter_container {
        margin-top: 20px;
        gap: 20px;
    }

    .massage_filter_block {
        height: auto;
        min-height: 400px;
        min-width: 100%;
    }

    .massage_filter_link {
        padding: 40px 25px;
        justify-content: center;
        align-items: center;
        text-align: center;
    }

    .massage_filter_title {
        font-size: 1.7em !important;
        margin-bottom: 20px;
    }
}