﻿.navbar {
    padding: 10px 20px;
    background: #fff;
    border-bottom: 1px solid #e5e5e5;
    box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

    .navbar .navbar-brand {
        font-weight: 700;
        font-size: 22px;
        color: #5a3b8a !important;
        letter-spacing: 0.5px;
        margin-right: 20px;
    }

#adminDropdown {
    font-weight: 600;
    border-radius: 8px;
    padding: 6px 14px;
    font-size: 15px;
    color: #5a3b8a;
    border: 1px solid #764ba2;
    transition: all 0.2s ease;
}

    #adminDropdown:hover {
        background: #f7f2fb;
        color: #4b64d2;
        border-color: #4b64d2;
    }

.dropdown-menu {
    border-radius: 10px;
    box-shadow: 0 6px 16px rgba(0,0,0,0.15);
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
}

    .dropdown-item:hover {
        background: #f0ebf9;
        color: #4b64d2;
    }

.user-navbar {
    display: flex;
    align-items: center;
    gap: 18px;
    margin-left: auto;
    margin-bottom: 0;
}

.hello-user {
    font-weight: 500;
    color: #333;
    margin-right: 6px;
    font-size: 15px;
}

.settings-link {
    color: #764ba2;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.2s ease, transform 0.2s ease;
}

    .settings-link:hover {
        color: #4b64d2;
        transform: rotate(20deg);
    }

.btn-logout {
    background: none;
    border: none;
    font-weight: 600;
    color: #dc3545;
    cursor: pointer;
    transition: color 0.2s ease;
}

    .btn-logout:hover {
        color: #a71d2a;
        text-decoration: underline;
    }

.btn-login {
    font-weight: 600;
    color: #764ba2 !important;
    text-decoration: none;
    transition: color 0.2s ease;
}

    .btn-login:hover {
        color: #4b64d2 !important;
        text-decoration: underline;
    }

.container-flex {
    width: 100%;
    padding: 0;
    margin: 0;
}

main {
    padding: 20px;
}

@media (max-width: 768px) {
    .hello-user {
        display: none;
    }

    #adminDropdown {
        font-size: 14px;
        padding: 5px 10px;
    }

    .btn-logout,
    .btn-login {
        font-size: 14px;
    }
}

.hero-container {
    position: relative;
    z-index: 1;
    padding: 80px 60px;
    max-width: 960px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.hero-content {
    max-width: 680px;
    animation: fadeIn 1.2s ease forwards;
}

.hero-title {
    font-size: clamp(40px, 5vw, 56px);
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 0 3px 20px rgba(0, 0, 0, 0.45);
    white-space: nowrap;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.7;
    color: #e5e3f0;
    font-weight: 400;
    margin-top: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .hero-container {
        padding: 60px 24px;
        text-align: center;
        align-items: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-title {
        font-size: clamp(32px, 6vw, 44px);
        white-space: normal;
    }

    .hero-subtitle {
        font-size: 17px;
        line-height: 1.6;
    }
}

.navbar-logo {
    height: 36px;
    width: auto;
    margin-right: 8px;
    transition: transform 0.2s ease;
}

    .navbar-logo:hover {
        transform: scale(1.05);
    }

@media (max-width: 768px) {

    .user-navbar {
        display: flex !important;
        flex-direction: row !important;
        align-items: center !important;
        justify-content: flex-end !important;
        gap: 14px;
        flex-wrap: nowrap !important;
        width: auto !important;
    }

    .hello-user {
        display: none !important;
    }

    .settings-link {
        font-size: 20px;
        margin-right: 2px;
    }

    .btn-logout {
        white-space: nowrap;
        padding: 6px 4px;
        font-size: 15px;
    }

    .user-navbar li {
        margin: 0 !important;
        padding: 0 !important;
    }
}
