.header-icon-phone {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-icon-phone.clickable {
    cursor: pointer !important;
}

.header-icon-phone.clickable:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.header-icon-phone.clickable:active {
    transform: scale(0.95);
}

.header-icon-phone::after {
    content: "+63 28 2517 141 / +63 917 5665 811"; /* Default tooltip text - will be overridden by plugin settings */
    position: absolute;
    top: 100%;
    left: 100%;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    margin-top: 5px;
    pointer-events: none; /* Prevent tooltip from interfering with clicks */
}

.header-icon-phone::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 100%;
    border: 5px solid transparent;
    border-bottom-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1001;
}

.header-icon-phone:hover::after,
.header-icon-phone:hover::before {
    opacity: 1;
    visibility: visible;
}

.header-icon-email {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
}

.header-icon-email.clickable {
    cursor: pointer !important;
}

.header-icon-email.clickable:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.header-icon-email.clickable:active {
    transform: scale(0.95);
}

.header-icon-email::after {
    content: "bliss@twoseasonsresorts.com"; /* Default tooltip text - will be overridden by plugin settings */
    position: absolute;
    top: 100%;
    left: 100%;
    background-color: #333;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 14px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1000;
    margin-top: 5px;
    pointer-events: none; /* Prevent tooltip from interfering with clicks */
}

.header-icon-email::before {
    content: "";
    position: absolute;
    top: 100%;
    left: 100%;
    border: 5px solid transparent;
    border-bottom-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1001;
}

.header-icon-email:hover::after,
.header-icon-email:hover::before {
    opacity: 1;
    visibility: visible;
}

.desktop-navigation {
    position: relative; /* Start with relative position (non-sticky) */
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw; /* Prevent horizontal overflow */
    box-sizing: border-box;
    z-index: 9999;
    background-color: rgba(0, 0, 0, 0);
    transition: all var(--nav-animation-duration, 0.3s) cubic-bezier(0.25, 0.46, 0.45, 0.94);
    transform: translateY(0);
    opacity: 1;
    overflow-x: hidden; /* Prevent horizontal scrollbar */
}

.desktop-navigation.sticky-header {
    position: fixed; /* Becomes fixed when sticky */
    background-color: var(--nav-sticky-bg-color, rgba(255, 255, 255, 1));
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transform: translateY(-100%);
    opacity: 0;
    animation: slideDownDelayed 0.4s ease forwards;
    width: 100%;
    max-width: 100vw;
    left: 0;
    right: 0;
}

/* Slide down animation for delayed sticky state */
@keyframes slideDownDelayed {
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.navigation-links-mobile > #modal-1{
    height: 100vh;
    width: 100vw;
    max-width: 100%;
    overflow-x: hidden;
}

.navigation-links-mobile > .wp-block-navigation__responsive-container-close svg, 
.wp-block-navigation__responsive-container-open svg {
    width: 35px;
    height: 35px;
}

.navigation-links-mobile > .wp-block-navigation__responsive-container-close, 
.wp-block-navigation__responsive-container-open {
    border-top: 1px solid white;
    border-bottom: 1px solid white;
    padding: 5px;
    box-sizing: border-box;
}

.desktop-navigation.sticky-header > .navigation-links-mobile > .wp-block-navigation__responsive-container-close, 
.wp-block-navigation__responsive-container-open {
    border-top: 1px solid #d7a02a;
    border-bottom: 1px solid #d7a02a;
    padding: 5px;
}

/* Add bullet separators between navigation items */
.navigation-links-desktop .wp-block-navigation__container li:not(:last-child)::after {
    content: "\2022";
    margin: 0 15px;
    color: currentColor;
    font-weight: normal;
}

/* Alternative: if you want to style the bullet differently */
.navigation-links-desktop .wp-block-navigation__container li:not(:last-child)::after {
    content: "\2022";
    margin: 0 15px;
    color: var(--nav-normal-text-color, rgba(255, 255, 255, 0.7)); /* For white navigation */
    font-weight: normal;
    transition: color 0.3s ease;
}

/* Bullet color when header is sticky */
.desktop-navigation.sticky-header .navigation-links-desktop .wp-block-navigation__container li:not(:last-child)::after {
    color: var(--nav-sticky-text-color, rgb(102, 102, 102)); /* Matches your golden color theme */
}

/* Mobile-specific fixes */
@media screen and (max-width: 768px) {
    .desktop-navigation {
        width: 100%;
        max-width: 100%;
        padding-left: 0;
        padding-right: 0;
        margin-left: 0;
        margin-right: 0;
        overflow-x: hidden;
    }
    
    .desktop-navigation.sticky-header {
        width: 100%;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    
    /* Ensure navigation container doesn't overflow */
    .desktop-navigation .wp-block-navigation {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    /* Fix navigation items wrapping */
    .navigation-links-desktop .wp-block-navigation__container {
        flex-wrap: wrap;
        justify-content: center;
        max-width: 100%;
    }
    
    .navigation-links-desktop .wp-block-navigation__container li {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    /* Mobile hamburger menu fixes */
    .navigation-links-mobile {
        width: 100%;
        max-width: 100%;
        overflow-x: hidden;
    }
    
    .navigation-links-mobile .wp-block-navigation__responsive-container {
        width: 100vw;
        max-width: 100%;
        left: 0;
        right: 0;
    }
    
    /* Fix tooltip positioning on mobile */
    .header-icon-phone::after,
    .header-icon-email::after {
        left: 50%;
        transform: translateX(-50%);
        max-width: 90vw;
        word-wrap: break-word;
        white-space: normal;
    }
    
    .header-icon-phone::before,
    .header-icon-email::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

/* Extra small mobile devices */
@media screen and (max-width: 480px) {
    .desktop-navigation {
        padding-left: 10px;
        padding-right: 10px;
    }
    
    /* Make tooltips smaller on very small screens */
    .header-icon-phone::after,
    .header-icon-email::after {
        font-size: 12px;
        padding: 6px 8px;
        max-width: 85vw;
    }
    
    /* Reduce navigation item font size if needed */
    .navigation-links-desktop .wp-block-navigation__container li {
        font-size: 0.9em;
    }
    
    /* Ensure bullets don't cause overflow */
    .navigation-links-desktop .wp-block-navigation__container li:not(:last-child)::after {
        margin: 0 8px;
    }
}
