/**
 * Circular Phone Button for Bentol Navbar Two
 * Transform phone button into a clean circular design
 */

/* ================================
   CIRCULAR PHONE BUTTON STYLES
   ================================ */

.header-right .header-btn {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 44px !important;
    height: 44px !important;
    border-radius: 50% !important;
    background: var(--secondary-color, #C9302C) !important;
    color: white !important;
    text-decoration: none !important;
    border: none !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
}

/* Hide the original phone icon and any text content */
.header-right .header-btn .fa-solid,
.header-right .header-btn .fa-solid::before {
    display: none !important;
}

/* Ensure no text content appears at all */
.header-right .header-btn {
    font-size: 0 !important;
    line-height: 0 !important;
    overflow: hidden !important;
}

/* Custom phone icon */
.header-right .header-btn::before {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 20px !important;
    height: 20px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24'%3E%3Cg fill='none' stroke='white' stroke-width='1.5'%3E%3Cpath d='m16.1 13.359l.456-.453c.63-.626 1.611-.755 2.417-.317l1.91 1.039c1.227.667 1.498 2.302.539 3.255l-1.42 1.412c-.362.36-.81.622-1.326.67M4.003 5.745c-.035-.62.255-1.178.689-1.61l1.57-1.56c.874-.87 2.348-.735 3.111.284l1.261 1.684c.617.824.55 1.952-.157 2.654l-.286.286'/%3E%3Cpath d='M18.676 18.965c-1.63.152-5.614-.016-9.86-4.238c-4.005-3.982-4.723-7.395-4.813-8.981' opacity='0.5'/%3E%3Cpath stroke-linecap='round' d='M16.1 13.359s-1.082 1.076-4.037-1.862s-1.872-4.015-1.872-4.015' opacity='0.5'/%3E%3C/g%3E%3C/svg%3E") !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
}

/* Hover effects */
.header-right .header-btn:hover {
    background: #b52628ff !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15) !important;
}

.header-right .header-btn:hover::before {
    transform: translate(-50%, -50%) scale(1.1) !important;
}

/* Active state */
.header-right .header-btn:active {
    transform: translateY(-1px) !important;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1) !important;
}

/* Focus state */
.header-right .header-btn:focus {
    outline: 2px solid rgba(255, 255, 255, 0.5) !important;
    outline-offset: 2px !important;
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

@media (max-width: 991px) {
    .header-right .header-btn {
        width: 40px !important;
        height: 40px !important;
    }

    .header-right .header-btn::before {
        width: 18px !important;
        height: 18px !important;
    }
}

@media (max-width: 767px) {
    .header-right .header-btn {
        width: 36px !important;
        height: 36px !important;
    }

    .header-right .header-btn::before {
        width: 16px !important;
        height: 16px !important;
    }
}

/* ================================
   STICKY HEADER VARIATIONS
   ================================ */

.header-sticky .header-right .header-btn {
    background: var(--secondary-color, #C9302C) !important;
}

.header-sticky .header-right .header-btn:hover {
    background: #b52628ff !important;
}

/* ================================
   DARK MODE SUPPORT
   ================================ */

@media (prefers-color-scheme: dark) {
    .header-right .header-btn {
        background: var(--secondary-color, #C9302C) !important;
    }
}

/* ================================
   ACCESSIBILITY ENHANCEMENTS
   ================================ */

/* High contrast mode */
@media (prefers-contrast: high) {
    .header-right .header-btn {
        border: 1px solid rgba(255, 255, 255, 0.5) !important;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .header-right .header-btn,
    .header-right .header-btn:hover,
    .header-right .header-btn:active,
    .header-right .header-btn::before,
    .header-right .header-btn:hover::before {
        transition: none !important;
    }
}

/* ================================
   NAVIGATION MENU SPACING
   ================================ */

/* Reduce main menu item spacing */
.main-menu ul li {
    margin-right: 35px !important;
}

/* Responsive menu spacing */
@media (max-width: 1200px) {
    .main-menu ul li {
        margin-right: 30px !important;
    }
}

@media (max-width: 991px) {
    .main-menu ul li {
        margin-right: 25px !important;
    }
}

@media (max-width: 768px) {
    .main-menu ul li {
        margin-right: 20px !important;
    }
}

@media (max-width: 576px) {
    .main-menu ul li {
        margin-right: 15px !important;
    }
}

/* ================================
   SPACING ADJUSTMENTS
   ================================ */


.navbar-two-language-switcher + .sidebar-icon {
    margin-left: 12px !important;
}

/* Adjust header-right flex layout */
.header-right {
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
}

/* ================================
   ANIMATION ENHANCEMENTS
   ================================ */

/* Pulse animation for phone button */
@keyframes phonePulse {
    0% {
        box-shadow: 0 2px 4px rgba(201, 48, 44, 0.2);
    }
    50% {
        box-shadow: 0 2px 4px rgba(201, 48, 44, 0.4);
    }
    100% {
        box-shadow: 0 2px 4px rgba(201, 48, 44, 0.2);
    }
}

/* Optional: Add pulse animation */
.header-right .header-btn {
    animation: phonePulse 2s infinite;
}

/* Pause animation on hover */
.header-right .header-btn:hover {
    animation-play-state: paused;
}

/* ================================
   BROWSER COMPATIBILITY
   ================================ */

/* Safari support */
@supports (-webkit-appearance: none) {
    .header-right .header-btn {
        -webkit-transition: all 0.3s ease;
    }
}

/* Firefox support */
@-moz-document url-prefix() {
    .header-right .header-btn {
        -moz-transition: all 0.3s ease;
    }
}