/* Apply Lemon Tuesday Font to all headings */
h1, h2, h3, h4, h5, h6, 
.elementor-heading-title, 
.e-heading,
.e-heading__title {
    font-family: 'Lemon Tuesday', cursive !important;
}

/* Sticky Header & Shrink Effect */
.elementor-location-header {
    position: sticky !important;
    top: 0;
    z-index: 9999;
    transition: all 0.3s ease;
    background-color: #FAF9F6; /* Fallback to theme background */
}

body.admin-bar .elementor-location-header {
    top: var(--wp-admin--admin-bar--height, 32px) !important;
}

@media screen and (max-width: 782px) {
    body.admin-bar .elementor-location-header {
        top: 46px !important;
    }
}

.elementor-location-header.is-scrolled {
    padding-top: 10px !important;
    padding-bottom: 10px !important;
    box-shadow: 0 4px 20px rgba(0,0,0,0.05);
    background-color: rgba(250, 249, 246, 0.98) !important;
}

.elementor-location-header.is-scrolled img {
    max-height: 50px !important;
    width: auto;
    transition: max-height 0.3s ease;
}

/* Portfolio Photos Adjustments */
.e-grid .e-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.e-grid .e-image:hover img {
    transform: scale(1.03);
}

/* Split Menu with Centered Logo */
.elementor-location-header .elementor-widget-nav-menu ul.elementor-nav-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Add a gap after the second menu item to make room for the absolute logo */
.elementor-location-header .elementor-widget-nav-menu ul.elementor-nav-menu > li:nth-child(2) {
    margin-right: 200px; /* Adjust this value based on your logo width */
}

/* Position the logo absolutely in the center of the header */
.elementor-location-header .centered-logo {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

@media screen and (max-width: 1024px) {
    .elementor-location-header .elementor-widget-nav-menu ul.elementor-nav-menu > li:nth-child(2) {
        margin-right: 0;
    }
    .elementor-location-header .centered-logo {
        position: relative;
        left: 0;
        top: 0;
        transform: none;
        display: block;
        margin: 0 auto 15px auto;
    }
}