* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: system-ui, Arial, sans-serif;
}

body {
    background: #ffffff;
    color: #1a1a1a;
    line-height: 1.6;
}

/* header */
.site-header {
    background: #f5faf2; 
    border-bottom: 1px solid #e0e0e0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.header-inner {
    max-width: 1100px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.logo-link {
    text-decoration: none;
    color: #2c2c2c;
    display: flex;
    align-items: center;
}

.logo-link:hover h1 {
    opacity: 0.8;
}

header h1 {
    font-size: 1.5rem;
    color: #333333;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: opacity 0.3s ease;
    margin: 0;
}

/* navbar */
.navbar {
    padding: 0;
}

.navbar-toggler {
    border: none;
    padding: 0.25rem 0.5rem;
}

.navbar-toggler:focus {
    box-shadow: none;
}

.navbar-toggler-icon {
    width: 1.2em;
    height: 1.2em;
}

.navbar-nav {
    gap: 30px;
}

.nav-link {
    color: #2d5016 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.25rem 0 !important;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:not(.dropdown-toggle)::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a7c2c;
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: #4a7c2c !important;
}

.nav-link:not(.dropdown-toggle):hover::after {
    width: 100%;
}


/* Dropdown */
.dropdown-toggle {
    color: #2d5016 !important;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.25rem 0 !important;
    position: relative;
    transition: color 0.3s ease;
    background: transparent;
    border: none;
}

.dropdown-toggle::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: #4a7c2c;
    transition: width 0.3s ease;
}

.dropdown-toggle:hover::before {
    width: calc(100% - 1.2em);
}

.dropdown-toggle:hover {
    color: #4a7c2c !important;
}

.dropdown-toggle::after {
    vertical-align: 0.15em;
    margin-left: 0.4em;
}

.dropdown-menu {
    border: 1px solid #e0ead6;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(45, 80, 22, 0.15);
    padding: 0.5rem 0;
    min-width: 180px;
    margin-top: 0.5rem !important;
}

.dropdown-item {
    color: #2d5016;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: #f3f7f1;
    color: #4a7c2c;
}

/* footer */
footer {
    text-align: center;
    padding: 15px 20px;
    border-top: 1px solid #d4e5cc;
    font-size: 0.85rem;
    color: #666;
    background: #fafcf9;
}

@media (max-width: 767px) {

    header h1 {
        font-size: 1rem;
    }

    .navbar-nav {
        gap: 0;
    }

    .nav-link {
        padding: 12px 20px !important;
        border-bottom: 1px solid #f5f5f5;
    }

    .nav-link::after {
        display: none;
    }

    .dropdown-toggle {
        padding: 12px 20px !important;  
        width: 100%;  
        text-align: left; 
        justify-content: space-between;  
        display: flex;
    }

    .dropdown-toggle::before {  
        display: none;
    }

    .dropdown-menu {
        border: none;
        box-shadow: none;
        border-radius: 0;
        background: #fafcf9;
        margin-top: 0 !important;
        padding: 0;
    }

    .dropdown-item {
        padding: 10px 0 10px 20px;
        font-size: 0.9rem;
        border-bottom: 1px solid #f0f0f0;
    }

    .dropdown-item:last-child {
        border-bottom: none;
    }
}