
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, rgba(30, 58, 138, 0.85) 0%, rgba(59, 130, 246, 0.85) 50%, rgba(30, 64, 175, 0.85) 100%), url('background-image.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    min-height: 100vh;
    color: white;
}

.header {
    background: rgba(30, 58, 138, 0.95);
    padding: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar {
    width: 100%;
}

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

.logo {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 20px;
}

.logo-icon {
    background: #ffffff;
    color: #1e40af;
    padding: 8px 12px;
    border-radius: 0;
    margin-right: 8px;
    font-weight: 900;
    font-size: 18px;
    transform: rotate(45deg);
    display: inline-block;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: -1px;
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: rotate(45deg) scale(1.05);
}

.logo-text {
    color: white;
    font-size: 24px;
    font-weight: 700;
    letter-spacing: 0px;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 15px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    padding: 10px 20px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 14px;
    white-space: nowrap;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.nav-link.login {
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.login:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link.register {
    background: #4ade80;
    color: white;
    font-weight: 600;
    border: none;
}

.nav-link.register:hover {
    background: #22c55e;
    transform: translateY(-1px);
}

.nav-link.job-alert {
    background: transparent;
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.job-alert:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link.recruiting {
    color: white;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-link.recruiting:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.nav-link:not(.register):not(.login):not(.job-alert):not(.recruiting) {
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: transparent;
}

.nav-link:not(.register):not(.login):not(.job-alert):not(.recruiting):hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
}

.hero-section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 500px;
    text-align: center;
}

.hero-content {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 40px;
    text-align: center;
}

.highlight {
    color: #22c55e;
}

.search-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    max-width: 1100px;
    margin: 0 auto;
    width: 100%;
}

.search-inputs {
    display: grid;
    grid-template-columns: 3fr 3fr 1.3fr;
    gap: 24px;
    margin-bottom: 20px;
    align-items: center;
}

.search-input {
    padding: 16px 20px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #374151;
    outline: none;
    transition: all 0.3s ease;
    background: #fafafa;
    font-weight: 500;
    min-height: 52px;
    line-height: 1.2;
    vertical-align: middle;
}

.search-input:focus {
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
    transform: translateY(-1px);
}

.search-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.location-wrapper {
    display: flex;
    gap: 16px;
    align-items: center;
}

.location-wrapper .search-input {
    flex: 1;
}

.distance-select {
    padding: 16px 24px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 15px;
    color: #374151;
    background: #fafafa;
    min-width: 160px;
    width: 160px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 52px;
    line-height: 1.2;
    vertical-align: middle;
}

.distance-select:focus {
    border-color: #3b82f6;
    background: white;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-btn {
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 100%);
    color: white;
    border: none;
    padding: 16px 32px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    min-height: 52px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.25);
    text-transform: none;
    letter-spacing: 0.25px;
}

.search-btn:hover {
    background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.35);
}

.more-options {
    text-align: left;
}

.more-search-link {
    color: #3b82f6;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.more-search-link:hover {
    text-decoration: underline;
}



@media (max-width: 768px) {
    .nav-container {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-menu {
        gap: 15px;
    }
    
    .hero-container {
        text-align: center;
    }
    
    .hero-content {
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .search-form {
        padding: 30px 20px;
    }
    
    .search-inputs {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    
    .location-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .search-btn {
        padding: 20px 32px;
        font-size: 18px;
    }
}
