/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Navbar Container */
.navbar {
    background: linear-gradient(135deg, #e70c72 0%, #cc0853 100%);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    transition: all 0.3s ease;
}

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

/* Logo */
.navbar-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    transition: transform 0.3s ease;
}

.navbar-logo:hover {
    transform: scale(1.05);
}

.logo-icon {
    font-size: 1.8rem;
    margin-right: 10px;
}

.logo-text {
    letter-spacing: 1px;
}

/* Navigation Menu */
.navbar-menu {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 10px;
}

.navbar-item {
    position: relative;
}

.navbar-link {
    display: block;
    padding: 10px 20px;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.navbar-link::before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20px;
    width: 0;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.navbar-link:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.navbar-link:hover::before {
    width: calc(100% - 40px);
}

/* Active Link Styles */
.navbar-link.active {
    background-color: rgba(255, 255, 255, 0.2);
    font-weight: 600;
}

.navbar-link.active::before {
    width: calc(100% - 40px);
    background-color: #fff;
}

/* Hamburger Menu Button */
.navbar-toggle {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
}

.hamburger {
    width: 28px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    margin: 3px 0;
    transition: all 0.3s ease;
}

/* Mobile Styles */
@media screen and (max-width: 768px) {
    .navbar-container {
        padding: 0 15px;
    }

    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        flex-direction: column;
        background: linear-gradient(135deg, #e70c72 0%, #cc0853 100%);
        width: 100%;
        height: calc(100vh - 70px);
        text-align: left;
        transition: left 0.3s ease;
        padding: 40px 0;
        gap: 0;
        overflow-y: auto;
    }

    .navbar-menu.active {
        left: 0;
    }

    .navbar-item {
        width: 100%;
        padding: 0 20px;
    }

    .navbar-link {
        display: block;
        padding: 20px;
        font-size: 1.2rem;
        width: 100%;
        border-radius: 0;
    }

    .navbar-link::before {
        display: none;
    }

    .navbar-link:hover {
        background-color: rgba(255, 255, 255, 0.15);
        transform: none;
    }

    /* Hamburger Animation */
    .navbar-toggle.active .hamburger:nth-child(1) {
        transform: rotate(45deg) translate(8px, 8px);
    }

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

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

/* Tablet Styles */
@media screen and (max-width: 1024px) and (min-width: 769px) {
    .navbar-container {
        padding: 0 30px;
    }

    .navbar-menu {
        gap: 5px;
    }

    .navbar-link {
        padding: 10px 15px;
        font-size: 0.95rem;
    }
}

/* Main Content Spacing */
main {
    margin-top: 20px;
    padding: 0 20px;
}

/* Scroll Effects */
@media screen and (min-width: 769px) {
    .navbar.scrolled {
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    }
}