/* =================================
   Base Components
   ================================= */

/* Cards */
.card {
    background: var(--color-white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: var(--box-shadow-hover);
    transform: translateY(-2px);
}

.card-header {
    position: relative;
    overflow: hidden;
}

.card-body {
    padding: var(--spacing-lg);
}

.card-footer {
    padding: var(--spacing-md) var(--spacing-lg);
    border-top: 1px solid var(--color-border);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-white);
}

.btn-primary:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-1px);
}

.btn-green {
    background-color: var(--color-secondary) !important;
    color: var(--color-white) !important;
}

.btn-green:hover {
    background-color: var(--color-secondary-dark) !important;
    color: var(--color-white) !important;
    transform: translateY(-1px);
}

/* Meta information */
.meta {
    font-size: var(--font-size-small);
    color: var(--color-text-muted);
}

.meta-list {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    list-style: none;
    margin: 0;
    padding: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

/* Images */
.img-responsive {
    width: 100%;
    height: auto;
}

.img-cover {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

/* Utilities */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* =================================
   Header Styles
   ================================= */
header {
    background-color: var(--color-primary);
    color: white;
    position: relative;
}

#header_inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo img {
    height: 40px;
}

.logo .btn {
    padding: 0;
    background: none;
}

.logo .btn:hover {
    background: none;
    transform: none;
}

/* Site Logo Styles */
.site-logo {
    display: inline-block;
    text-decoration: none;
}

.logo-text {
    display: flex;
    align-items: baseline;
    font-weight: 900;
    letter-spacing: -0.5px;
}

.logo-tech {
    font-size: 28px;
    color: var(--color-white);
    margin-right: 6px;
}

.logo-job {
    font-size: 28px;
    color: var(--color-secondary);
    margin-right: 6px;
}

.logo-finder {
    font-size: 28px;
    color: var(--color-white);
}

.site-logo:hover .logo-job {
    color: var(--color-secondary-dark);
}

.site-logo:hover .logo-tech,
.site-logo:hover .logo-finder {
    opacity: 0.9;
}

.sitename a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    font-weight: bold;
}

.utility_navi ul {
    display: flex;
    list-style: none;
    gap: 20px;
    margin: 0;
    padding: 0;
}

.utility_navi a {
    color: white;
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.utility_navi a:hover {
    background-color: var(--color-white-alpha-10);
}

.utility_navi span a {
    background-color: var(--color-accent);
    font-weight: bold;
}

.utility_navi span a:hover {
    background-color: var(--color-accent-dark);
}

/* Drawer Menu */
.drawer {
    display: none;
}

.drawer_checkbox {
    display: none;
}

.drawer_icon {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 24px;
    height: 24px;
    justify-content: space-around;
}

.drawer_icon-parts {
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
}

.drawer_icon-parts::before,
.drawer_icon-parts::after {
    content: '';
    display: block;
    width: 100%;
    height: 3px;
    background-color: white;
    border-radius: 2px;
    transition: 0.3s;
    margin-top: -3px;
}

.drawer_icon-parts::after {
    margin-top: 6px;
}

/* Navigation Drawer Menu */
.drawer_menu {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100vh;
    background-color: var(--color-primary);
    transition: left 0.3s ease;
    z-index: 1000;
    padding-top: 60px;
}

.drawer_checkbox:checked ~ .drawer_menu {
    left: 0;
}

.drawer_menu ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.drawer_item {
    border-bottom: 1px solid var(--color-white-alpha-10);
}

.drawer_item a {
    display: block;
    padding: 15px 20px;
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.drawer_item a:hover {
    background-color: var(--color-white-alpha-10);
}

.drawer_item span a {
    background-color: var(--color-accent);
    color: white;
    font-weight: bold;
    margin: 10px 20px;
    border-radius: 4px;
    padding: 10px 20px;
}

.drawer_item span a:hover {
    background-color: var(--color-accent-dark);
}

/* =================================
   Footer Styles
   ================================= */
footer {
    background-color: var(--color-dark);
    color: white;
    padding: 30px 0;
    text-align: center;
}

.footer_inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer_inner .utility_navi ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer_inner .utility_navi a {
    color: var(--color-text-muted);
    text-decoration: none;
    font-size: 12px;
}

.footer_inner .utility_navi a:hover {
    color: white;
}

.copyright small {
    color: var(--color-text-lighter);
    font-size: 11px;
}

/* Page Top Button */
.pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px var(--color-shadow-darker);
    transition: all 0.3s;
}

.pagetop:hover {
    background-color: var(--color-primary-dark);
    transform: translateY(-2px);
}

.pagetop a {
    color: white;
    text-decoration: none;
}

/* Responsive Design for Header/Footer */
@media (max-width: 767px) {
    .drawer {
        display: block;
    }

    .drawer_icon {
        display: flex;
    }

    .utility_navi {
        display: none;
    }

    #header_inner {
        padding: 10px;
    }

    .logo {
        gap: 10px;
    }
    
    /* Logo responsive styles */
    .logo-tech,
    .logo-job,
    .logo-finder {
        font-size: 20px !important;
    }
    
    .sitename {
        display: none;
    }
}