/* Logo container styles */
.logo-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    max-height: 80px;
    overflow: hidden;
}

/* Logo image styles */
.logo-container .custom-logo {
    max-height: 60px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Site title styles */
.logo-container .site-title {
    margin: 0;
    font-size: 24px;
    line-height: 1.2;
}

.logo-container .site-title a {
    color: #333;
    text-decoration: none;
    transition: color 0.3s ease;
}

.logo-container .site-title a:hover {
    color: var(--first-theme-color);
}

/* Hamburger menu button styles */
.hamburger-menu {
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    color: #fff;
}

/* SVG icon styles */
.hamburger-menu svg {
    width: 24px;
    height: 24px;
    display: block;
}

/* Change the color of all paths in the SVG to white */
.hamburger-menu svg path {
    stroke: currentColor;
    transition: stroke 0.3s ease;
}

.hamburger-menu:hover svg path {
    stroke: var(--first-theme-color);
}
}

.hamburger-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hamburger-inner {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger-inner::before {
    top: 0;
}

.hamburger-inner::after {
    bottom: 0;
}

/* Active state for when menu is open */
.hamburger-menu.active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger-menu.active .hamburger-inner::before {
    transform: translateY(10px) rotate(0);
    opacity: 0;
}

.hamburger-menu.active .hamburger-inner::after {
    transform: translateY(-10px) rotate(-90deg);
}

/* Hamburger menu styles */
.hamburger-menu {
    background: none;
    border: none;
    cursor: pointer;
    width: 40px;
    height: 40px;
    padding: 0 !important;
    position: relative;
    display: flex !important;
    justify-content: center;
}

.hamburger-box {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.hamburger-inner {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    transition: transform 0.3s ease;
    position: relative;
}

.hamburger-inner::before,
.hamburger-inner::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: #333;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: transform 0.3s ease;
}

.hamburger-inner::before {
    top: -8px;
}

.hamburger-inner::after {
    bottom: -8px;
}

/* Close button styles */
.close-button {
    position: absolute;
    top: 0px;
    right: 20px;
    font-size: 44px !important;
    color: #fff;
    text-decoration: none;
    line-height: 1;
    margin-top: 0px !important;
    transition: color 0.3s ease;
}

.close-button:hover,
.close-button:focus {
    color: var(--first-theme-color);
    text-decoration: none;
}

/* Active state for when menu is open */
.hamburger-menu.active .hamburger-inner {
    transform: rotate(45deg);
}

.hamburger-menu.active .hamburger-inner::before {
    transform: translateY(8px) rotate(0);
    opacity: 0;
}

.hamburger-menu.active .hamburger-inner::after {
    transform: translateY(-8px) rotate(-90deg);
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .logo-container {
        text-align: left;
    }

    .logo-container .site-title {
        font-size: 20px;
    }
}

@media (max-width: 991px) {
    .text-end {
        display: none !important;
    }
}

@media (max-width: 767px) {
    .logo-container .site-title {
        font-size: 18px;
    }

    .text-end {
        display: none !important;
    }
}