@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap');

.shr-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background-color: #ffffff;
    border-bottom: 1px solid #eaeaea;
    z-index: 9999;
    font-family: 'DM Sans', sans-serif;
    transition: box-shadow 0.3s ease;
}

.shr-header.scrolled {
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.shr-container {
    max-width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 20px;
}

/* Fixed Logo */
.shr-logo {
    display: flex;
    align-items: center;
}

.shr-logo a {
    font-family: Georgia, serif;
    font-weight: bold;
    font-size: 28px;
    color: #0A2540; /* Changed to Navy Blue */
    text-decoration: none;
    line-height: 1;
    display: block; /* Ensure it takes up space */
}

/* Lowered Menu */
.shr-nav {
    display: flex;
    align-items: center;
    margin-top: 15px; /* Lower menu slightly as requested */
}

.shr-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.shr-menu > li {
    position: relative;
    margin: 0 15px;
}

.shr-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    padding: 10px 0;
    display: block;
    transition: color 0.3s ease;
}

.shr-menu a:hover {
    color: #0A2540; /* Changed to Navy Blue */
}

/* Dropdown Styles */
.shr-menu .menu-item-has-children > a::after {
    content: '▾';
    margin-left: 5px;
    font-size: 12px;
}

.shr-menu .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    min-width: 220px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.shr-menu .menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.shr-menu .sub-menu li {
    margin: 0;
}

.shr-menu .sub-menu a {
    padding: 8px 20px;
    font-size: 14px;
}

.shr-menu .sub-menu a:hover {
    background: #f8f9fa;
    color: #0A2540; /* Navy hover inside dropdown */
}

/* Quote Button Styling */
.shr-menu .header-btn-quote a {
    background-color: #0A2540; /* Navy Blue */
    color: #ffffff !important;
    padding: 10px 24px;
    border-radius: 30px;
    transition: background-color 0.3s ease;
}

.shr-menu .header-btn-quote a:hover {
    background-color: #06182a; /* Darker Navy */
}

/* Mobile Toggle */
.shr-mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 5px;
}

.shr-mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background: #333;
    transition: 0.3s;
}

/* Responsive */
@media (max-width: 991px) {
    .shr-mobile-toggle {
        display: flex;
    }

    .shr-nav {
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: #fff;
        flex-direction: column;
        align-items: flex-start;
        padding: 20px;
        box-shadow: 0 10px 15px rgba(0,0,0,0.05);
        display: none;
        margin-top: 0; /* Reset margin on mobile */
    }

    .shr-nav.active {
        display: flex;
    }

    .shr-menu {
        flex-direction: column;
        width: 100%;
        align-items: flex-start;
    }

    .shr-menu > li {
        margin: 0 0 15px 0;
        width: 100%;
    }

    .shr-menu .sub-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

    .shr-menu .menu-item-has-children.open .sub-menu {
        display: block;
    }
    
    .shr-menu .header-btn-quote a {
        display: inline-block;
        margin-top: 10px;
    }
}
