/* --- SITE HEADER --- */
.site-header {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 40px 20px 60px 20px;
    background: linear-gradient(135deg, #007bff 0%, #28a745 100%);
    color: white;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    box-sizing: border-box;
}

.site-header h1 {
    margin: 0;
    font-size: 4rem;
    font-weight: 800;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.site-header p {
    margin: 10px 0 0;
    font-size: 1.2rem;
    opacity: 0.9;
}

/* --- SEARCH CONTAINER --- */
.search-container {
    margin-top: 25px;
    width: 100%;
    max-width: 450px;
    margin-left: auto;
    margin-right: auto;
}

#site-search {
    width: 100%;
    padding: 14px 25px;
    border-radius: 30px;
    border: none;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
    outline: none;
    box-sizing: border-box;
}

/* --- CATEGORY NAVIGATION --- */
.category-nav {
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    background: #ffffff;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: center;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    box-sizing: border-box;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-links a, .dropbtn {
    padding: 15px 20px;
    text-decoration: none;
    color: #444;
    font-weight: 600;
    font-size: 0.95rem;
    transition: 0.3s;
    border: none;
    background: none;
    cursor: pointer;
}

.nav-links a:hover, .dropdown:hover .dropbtn {
    color: #007bff;
    background: #f0f7ff;
}

/* --- DROPDOWN LOGIC --- */
.dropdown { position: relative; display: inline-block; }
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #ffffff;
    min-width: 160px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.1);
    border-radius: 0 0 8px 8px;
    z-index: 1;
}
.dropdown-content a {
    color: #444; padding: 12px 16px; display: block; text-decoration: none; text-align: left;
}
.dropdown:hover .dropdown-content { display: block; }

@media (max-width: 900px) {
    .site-header h1 { font-size: 2.5rem; }
}

