/* General Body Styling */
body {
    margin: 0;
    padding: 0;
    font-family: var(--prata-font);
}

/* Header Section */
.header-section {
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Navbar Styling */
.navbar {
    padding: 20px 0;
}

/* Logo Styling */
.navbar-brand {
    font-size: 28px;
    font-weight: 600;
    text-decoration: none;
}

.premier-text {
    color: #2ecc71;
    font-weight: 700;
}

.mall-text {
    color: #2c3e50;
    font-weight: 400;
}

/* Navigation Links */
.navbar-nav {
    gap: 15px;
}

.nav-item {
    position: relative;
}

.nav-link {
    color: #2c3e50 !important;
    font-size: 16px;
    font-weight: 400;
    padding: 8px 16px !important;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #2ecc71 !important;
}

/* Active Link Styling */
.nav-link.active {
    color: #2c3e50 !important;
    font-weight: 500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 16px;
    right: 16px;
    height: 2px;
    background-color: #2c3e50;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        width: 0;
        left: 50%;
    }
    to {
        width: calc(100% - 32px);
        left: 16px;
    }
}

/* Hover Underline Effect */
.nav-link:not(.active)::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: #2ecc71;
    transition: width 0.3s ease, left 0.3s ease;
}

.nav-link:not(.active):hover::before {
    width: calc(100% - 32px);
    left: 16px;
}

/* Mobile Toggle Button */
.navbar-toggler {
    border: none;
    padding: 8px 12px;
}

.navbar-toggler:focus {
    box-shadow: none;
    outline: none;
}

.navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(44, 62, 80, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Responsive Design */
@media (max-width: 991px) {
    .navbar-nav {
        margin-top: 20px;
        gap: 0;
    }

    .nav-link {
        padding: 12px 16px !important;
    }

    .nav-link.active::after {
        left: 0;
        right: auto;
        width: 4px;
        height: 100%;
        bottom: auto;
        top: 0;
    }

    .nav-link:not(.active)::before {
        display: none;
    }

    .navbar-brand {
        font-size: 24px;
    }
}

@media (max-width: 576px) {
    .navbar {
        padding: 15px 0;
    }

    .navbar-brand {
        font-size: 22px;
    }
}