/* Mobile Navigation Styles */

/* Hide desktop nav on mobile, show mobile nav */
@media (max-width: 1023px) {
    .desktop-nav {
        display: none !important;
    }
    
    .mobile-nav {
        display: block !important;
    }
}

/* Show desktop nav on larger screens, hide mobile nav */
@media (min-width: 1024px) {
    .desktop-nav {
        display: block !important;
    }
    
    .mobile-nav {
        display: none !important;
    }
}

/* Mobile Navigation Base Styles */
.mobile-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    background: white;
    z-index: 1000;
    box-shadow: 0px 1px 13.8px rgba(0, 0, 0, 0.15);
    display: none;
}

.mobile-nav-container {
    max-width: 1512px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    height: 70px;
}

.mobile-logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.mobile-logo img {
    height: 55px;
    width: auto;
}

.mobile-logo span {
    font-size: 1.3rem;
    font-weight: 600;
    color: #333;
}

.hamburger-menu {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    width: 32px;
    height: 28px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1001;
    position: relative;
}

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

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(8px, -8px);
}

.mobile-menu-overlay {
    position: fixed;
    top: 70px;
    left: -100%;
    width: 280px;
    height: calc(100vh - 70px);
    background: white;
    box-shadow: 2px 0 15px rgba(0, 0, 0, 0.1);
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.mobile-menu-overlay.active {
    left: 0;
}

.mobile-nav-links {
    list-style: none;
    padding: 20px;
    margin: 0;
}

.mobile-nav-links li {
    margin-bottom: 5px;
}

.mobile-nav-link {
    display: block;
    padding: 15px 20px;
    color: #000;
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    background: rgba(216, 76, 76, 0.1);
    color: #D84C4C;
}

/* Mobile Banner Fixes */
@media (max-width: 1023px) {
    .hero-banner {
        height: 100vh !important;
        min-height: 100vh !important;
        margin-top: 70px !important;
        display: flex !important;
        align-items: flex-start !important;
        padding-top: 20px !important;
    }

    .banner-content {
        padding: 15px 20px !important;
        display: flex !important;
        align-items: flex-start !important;
        height: auto !important;
        width: 100% !important;
        justify-content: flex-start !important;
        box-sizing: border-box !important;
    }

    .banner-text {
        width: 100% !important;
        max-width: 100% !important;
        padding: 0 5px !important;
        box-sizing: border-box !important;
    }

    .banner-title {
        font-size: 2rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.8rem !important;
        word-wrap: break-word !important;
        overflow-wrap: break-word !important;
        margin-top: 0 !important;
        max-width: 100% !important;
    }

    .banner-subtitle {
        font-size: 1.2rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.8rem !important;
        max-width: 100% !important;
    }

    .banner-description {
        font-size: 0.95rem !important;
        line-height: 1.5 !important;
        margin-bottom: 1rem !important;
        max-width: 100% !important;
    }

    .banner-buttons {
        display: flex !important;
        flex-direction: column !important;
        gap: 0.75rem !important;
        width: 100% !important;
    }

    .banner-btn {
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.95rem !important;
        display: block !important;
        text-align: center !important;
    }

    .banner-dots {
        bottom: 15px !important;
    }
}

@media (max-width: 768px) {
    .banner-content {
        padding: 15px 18px !important;
    }

    .banner-text {
        padding: 0 5px !important;
    }

    .banner-title {
        font-size: 1.8rem !important;
        line-height: 1.3 !important;
    }

    .banner-subtitle {
        font-size: 1.1rem !important;
    }

    .banner-description {
        font-size: 0.9rem !important;
    }
}

@media (max-width: 480px) {
    .hero-banner {
        min-height: 100vh !important;
        padding-top: 15px !important;
    }

    .banner-content {
        padding: 10px 15px !important;
    }

    .banner-text {
        padding: 0 5px !important;
    }

    .banner-title {
        font-size: 1.6rem !important;
        line-height: 1.3 !important;
        margin-bottom: 0.6rem !important;
    }

    .banner-subtitle {
        font-size: 1rem !important;
        margin-bottom: 0.6rem !important;
    }

    .banner-description {
        font-size: 0.85rem !important;
        line-height: 1.4 !important;
        margin-bottom: 0.8rem !important;
    }

    .banner-btn {
        padding: 10px 18px !important;
        font-size: 0.9rem !important;
    }
}

@media (max-width: 375px) {
    .hero-banner {
        min-height: 100vh !important;
        padding-top: 10px !important;
    }

    .banner-content {
        padding: 10px 12px !important;
    }

    .banner-text {
        padding: 0 3px !important;
    }

    .banner-title {
        font-size: 1.5rem !important;
    }

    .banner-subtitle {
        font-size: 0.95rem !important;
    }

    .banner-description {
        font-size: 0.8rem !important;
    }

    .banner-btn {
        font-size: 0.85rem !important;
    }
}