/* Navbar Component Styles */

.navbar {
    position: sticky;
    top: 0;
    background-color: white;
    box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    z-index: 50;
    padding: 20px 40px;
}

.navbar__container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar__logo-wrapper {
    display: flex;
    align-items: center;
}

.navbar__logo {
    width: 190px;
    height: 48px;
    object-fit: contain;
}

/* Hamburger Menu Icon */
.navbar__hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.navbar__hamburger-line {
    width: 25px;
    height: 3px;
    background-color: #111827;
    transition: all 0.3s ease;
    border-radius: 2px;
}

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

.navbar__hamburger--active .navbar__hamburger-line:nth-child(2) {
    opacity: 0;
}

.navbar__hamburger--active .navbar__hamburger-line:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.navbar__menu {
    display: flex;
    align-items: center;
    gap: 24px;
    font-family: 'Inter', sans-serif;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar__menu-item {
    margin: 0;
}

.navbar__menu-link {
    font-size: 16px;
    line-height: 24px;
    color: #111827;
    text-decoration: none;
    transition: color 0.3s ease;
}

.navbar__menu-link:hover {
    color: #FD025F;
}

.navbar__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 127px;
    height: 48px;
    border-radius: 16px;
    color: white;
    font-weight: 600;
    font-size: 16px;
    background: linear-gradient(135deg, #FD025F 0%, #B2004B 100%);
    font-family: 'Inter', sans-serif;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.navbar__button:hover {
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.06);
    transform: translateY(-2px);
}

/* Responsive Design */

/* Large (lg) - max-width: 1350px */
@media (max-width: 1350px) {
    .navbar {
        padding: 18px 32px;
    }

    .navbar__logo {
        width: 170px;
        height: 44px;
    }

    .navbar__menu {
        gap: 20px;
    }

    .navbar__menu-link {
        font-size: 15px;
    }

    .navbar__button {
        width: 118px;
        height: 44px;
        font-size: 15px;
    }
}

/* Tablet (md) - max-width: 1024px */
@media (max-width: 1024px) {
    .navbar {
        padding: 16px 24px;
    }

    .navbar__logo {
        width: 150px;
        height: 40px;
    }

    .navbar__menu {
        gap: 16px;
    }

    .navbar__menu-link {
        font-size: 14px;
    }

    .navbar__button {
        width: 110px;
        height: 40px;
        font-size: 14px;
    }
}

/* Small Tablet (sm) - max-width: 768px */
@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }

    .navbar__container {
        position: relative;
    }

    /* Hamburger on the left */
    .navbar__hamburger {
        display: flex;
        order: 1;
    }

    /* Logo in the center */
    .navbar__logo-wrapper {
        order: 2;
        flex: 1;
        justify-content: center;
    }

    .navbar__logo {
        width: 120px;
        height: 32px;
    }

    /* Hide default menu, show as dropdown */
    .navbar__menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background-color: white;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0;
        margin-top: 12px;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        border-radius: 12px;
        overflow: hidden;
        max-height: 0;
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
    }

    .navbar__menu--active {
        max-height: 300px;
        opacity: 1;
        visibility: visible;
    }

    .navbar__menu-item {
        width: 100%;
        border-bottom: 1px solid #E5E7EB;
    }

    .navbar__menu-item:last-child {
        border-bottom: none;
    }

    .navbar__menu-link {
        display: block;
        width: 100%;
        padding: 16px 20px;
        font-size: 15px;
    }

    /* Button on the right */
    .navbar__button-wrapper {
        order: 3;
    }

    .navbar__button {
        width: 100px;
        height: 36px;
        font-size: 13px;
    }
}

/* Mobile (xs) - max-width: 400px */
@media (max-width: 400px) {
    .navbar {
        padding: 10px 12px;
    }

    .navbar__logo {
        width: 90px;
        height: 24px;
    }

    .navbar__hamburger {
        padding: 4px;
    }

    .navbar__hamburger-line {
        width: 20px;
        height: 2px;
    }

    .navbar__menu-link {
        padding: 14px 16px;
        font-size: 14px;
    }

    .navbar__button {
        width: 80px;
        height: 28px;
        font-size: 11px;
        padding: 0 8px;
    }
}