/* === RESPONSIVE MENU CONTAINER === */
.responsive-menu-container {
    position: relative;
}

/* === DESKTOP MENU === */
.desktop-menu {
    display: block;
}

.desktop-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.menu-item {
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 10px 0;
    text-decoration: none;
    color: #242424;
    font-family: "Poppins", sans-serif;
    font-size: 17px;
    font-weight: 500;
    transition: color 0.3s ease;
}

.menu-link:hover {
    color: #d90d1c;
}

/* Dropdown arrow */
.dropdown-arrow {
    font-size: 12px;
    transition: transform 0.3s ease;
}

.menu-item:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Desktop dropdown */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.menu-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-link {
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    color: #242424;
    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 400;
    transition: all 0.3s ease;
}

.dropdown-link:hover {
    background-color: #f5f5f5;
    color: #d90d1c;
}

/* === MOBILE MENU === */
.mobile-menu {
    display: none;
}

/* Mobile toggle button */
.mobile-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

.hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #242424;
    margin: 2px 0;
    transition: all 0.3s ease;
}

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

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

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

/* Mobile overlay */
.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-overlay.open {
    opacity: 1;
    visibility: visible;
}

/* Mobile content */
.mobile-content {
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 80%;
    max-width: 300px;
    background: white;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow-y: auto;
}

.mobile-overlay.open .mobile-content {
    transform: translateX(0);
}

/* Mobile header */
.mobile-header {
    display: flex;
    justify-content: flex-end;
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.mobile-close {
    background: transparent;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile navigation */
.mobile-nav {
    padding: 20px 0;
}

.mobile-item {
    border-bottom: 1px solid #eee;
}

.mobile-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.mobile-link {
    flex: 1;
    padding: 15px 0;
    text-decoration: none;
    color: #242424;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
}

.mobile-submenu-toggle {
    background: transparent;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
    padding: 10px;
    transition: transform 0.3s ease;
}

.mobile-submenu-toggle.active {
    transform: rotate(45deg);
}

/* Mobile submenu */
.mobile-submenu {
    max-height: 0;
    overflow: hidden;
    background: #f9f9f9;
    transition: max-height 0.3s ease;
}

.mobile-submenu.open {
    max-height: 500px;
}

.mobile-sublink {
    display: block;
    padding: 12px 40px;
    text-decoration: none;
    color: #666;
    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 400;
    border-bottom: 1px solid #eee;
    transition: color 0.3s ease;
}

.mobile-sublink:hover {
    color: #d90d1c;
}

.mobile-sublink:last-child {
    border-bottom: none;
}

/* === RESPONSIVE BREAKPOINTS === */
@media (max-width: 768px) {
    .desktop-menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
}

/* Tablet adjustments */
@media (max-width: 1024px) and (min-width: 769px) {
    .desktop-nav {
        gap: 20px;
    }
    
    .menu-link {
        font-size: 16px;
    }
}

/* Small mobile adjustments */
@media (max-width: 480px) {
    .mobile-content {
        width: 90%;
    }
    
    .mobile-link {
        font-size: 15px;
    }
}