/* Sticky Header Styles */
.shmn-sticky-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    z-index: 999999;
    transition: transform 0.3s ease;
    min-height: 65px;
}

.shmn-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.shmn-logo {
    flex: 0 0 auto;
}

.shmn-logo img {
    max-height: 50px;
    width: auto;
}

.shmn-header-content {
    flex: 1;
    text-align: center;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.shmn-sticky-content {
    flex: 1;
    padding: 0 15px;
}

.shmn-sticky-content p {
    margin: 0;
}

.shmn-sticky-content * {
    color: inherit;
}

@media (max-width: 768px) {
    .shmn-sticky-content {
        display: none;
    }
}

/* Mobile Toggle Button */
.shmn-mobile-toggle {
    display: block;
    background: none;
    border: none;
    padding: 10px;
    cursor: pointer;
    z-index: 1001;
}

.shmn-mobile-toggle span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    margin: 5px 0;
    transition: 0.3s;
}


.shmn-mobile-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.shmn-mobile-toggle.active span:nth-child(2) {
    opacity: 0;
}

.shmn-mobile-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Navigation Menu */
.shmn-nav {
    position: fixed;
    top: 0;
    right: 0;
    width: 300px;
    height: 100vh;
    background: #fff;
    padding: 80px 20px 20px;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
    z-index: 1001;
    overflow-y: auto;
    box-shadow: 2px 1px 11px #949494;
}

.shmn-nav.active {
    transform: translateX(0);
}

.shmn-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-end;
    flex-direction: column;
    align-items: flex-start;
}

.shmn-menu li {
    margin: 10px 0;
    width: 100%;
}

.shmn-menu a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    display: block;
    padding: 5px;
    font-size: 16px;
}


/* Mobile App Nav */
#mobile-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    background: #fff;
    display: none;
}
@media(max-width: 768px) {
    #mobile-nav {
        display: block;
    }
}

.mobile-nav-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: #fff;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    position: relative;
    z-index: inherit;
}

.mobile-nav-buttons button,
.mobile-nav-buttons a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: none;
    border: none;
    text-decoration: none;
    color: inherit;
    text-align: center;
}

.mobile-nav-buttons i {
    font-size: 20px;
    margin-bottom: 5px;
}

.mobile-nav-buttons span {
    font-size: 12px;
    line-height: 1.2;
}

/* Services Drawer */
#services-drawer {
    position: fixed;
    bottom: 60px;
    left: 0;
    width: 100%;
    background: #fff;
    box-shadow: 0 -2px 5px rgba(0,0,0,0.1);
    transform: translateY(100%);
    transition: transform 0.3s ease;
    z-index: 99998;
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

#services-drawer.active {
    transform: translateY(0);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 20px;
}




.close-services {
    position: absolute;
    top: 10px;
    right: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    z-index: 999;
}

/* Admin bar adjustment */
.admin-bar .shmn-sticky-header {
    top: 32px;

}
/* 
.admin-bar .shmn-nav {
    top: 32px;
    height: calc(100vh - 32px);
} */

/* Responsive Styles */
@media (max-width: 768px) {




    body {
        padding-bottom: 60px;
    }

    .shmn-header-content {
        display: none;
    }

    .shmn-logo img {
        max-height: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    /* .admin-bar .shmn-sticky-header {
        top: 46px;
    } */
    .admin-bar .shmn-sticky-header {
        top: 0;
    }
    
  
}

/* Utility Classes */
.d-sm-none {
    display: block;
}

@media (min-width: 769px) {
    .d-sm-none {
        display: none;
    }
}

.d-xl-none {
    display: block;
}
.d-lg-none {
    display: block;
}

@media (min-width: 1200px) {
    .d-xl-none {
        display: none;
    }
}
@media (min-width: 992px) {
    .d-lg-none {
        display: none;
    }
}

.zindex-5 {
    z-index: 5;
}

.space-fill {
    width: 100%;
    height: 100%;
}

.bg-full {
    background-size: cover;
    background-position: center;
}

/* Admin Styles */
.service-item {
    background: #fff;
    padding: 15px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.service-fields {
    margin-bottom: 10px;
}

.service-fields label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

.service-fields input[type="text"],
.service-fields input[type="url"] {
    width: 100%;
    max-width: 400px;
}

.service-image-preview {
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-top: 10px;
}

.mobile-menu-drawer {
    display: none;
}
.menu-button:focus,.menu-button:hover{
    text-decoration: none;
}
#wpadminbar {
    z-index: 999999 !important;
}

.close-services {
    position: absolute;
    top: 5px;
    right: 5px;
    background: none;
    border: none;
    color: inherit;
    font-size: 20px;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: background-color 0.3s ease;
    z-index: 999;
}

.close-services:hover {
    background-color: rgba(0, 0, 0, 0.1);
}

.close-services i {
    color: inherit;
}

.service-tile {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    background-size: cover;
    background-position: center;
    color: #fff;
    text-decoration: none;
    text-align: center;
    padding: 20px;
    transition: all 0.3s ease;
    
}
/* create overlay ::after */
.service-tile::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.3s ease;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
}
.service-tile:hover::after {
    opacity: 0.8;
}

.service-name {
    position: relative;
    z-index: 1;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.service-tile:nth-child(5) {
    grid-column: span 2;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0px;
    padding: 0px;
}

/* Sticky Nav Form */
.shmn-nav-form {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.shmn-nav-form p {
    margin-bottom: 15px;
}

.shmn-nav-form input[type="text"],
.shmn-nav-form input[type="email"],
.shmn-nav-form input[type="tel"],
.shmn-nav-form textarea {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 10px;
}

.shmn-nav-form input[type="submit"],
.shmn-nav-form button {
    background: #0073aa;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.shmn-nav-form input[type="submit"]:hover,
.shmn-nav-form button:hover {
    background: #005177;
}

/* Make sure form is responsive */
@media (max-width: 768px) {
    .shmn-nav-form {
        margin: 20px 10px;
        padding: 15px;
    }
}
